forked from jacerider/Wraith
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.php
More file actions
22 lines (19 loc) · 708 Bytes
/
Copy pathtemplate.php
File metadata and controls
22 lines (19 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
$path_to_wraith = drupal_get_path('theme', 'wraith');
require_once $path_to_wraith . '/includes/assets.inc'; // CSS & JS alters
require_once $path_to_wraith . '/includes/preprocess.inc'; // Preprocess hooks
require_once $path_to_wraith . '/includes/theme.inc'; // Theme functions
/**
* Render SASS files.
*/
if (theme_get_setting('wraith_sass')) {
require_once $path_to_wraith . '/includes/sass.inc'; // Sass compiler
require_once $path_to_wraith . '/includes/alter.inc'; // wraith tokens
wraith_sass_compile();
}
/**
* Bootstrap
*/
if (theme_get_setting('wraith_bootstrap_overrides')) {
require_once $path_to_wraith . '/includes/bootstrap.inc'; // Bootstrap hooks
}