Skip to content
Permalink
Browse files

fixes #20 set colorscheme for each skin

  • Loading branch information
plegall committed Nov 25, 2019
1 parent 8df56c4 commit 36662696dc0a9be6a763b3a982ac6da386c30de2
@@ -1,4 +1,6 @@
<?php
$themeconf['colorscheme'] = 'dark';
/*gradients facebook '#3B5998','#2B4170' ; Google '#E64522','#C33219' ; Pinterest '#CB2027','#A0171C'; Turquoise: '#009CDA','#0073B2'*/
$skin = array(
'BODY' => array(
@@ -1,4 +1,6 @@
<?php
$themeconf['colorscheme'] = 'clear';
/*gradients facebook '#3B5998','#2B4170' ; Google '#E64522','#C33219' ; Pinterest '#CB2027','#A0171C'; Turquoise: '#009CDA','#0073B2'*/
$skin = array(
'BODY' => array(
@@ -1,4 +1,6 @@
<?php
$themeconf['colorscheme'] = 'clear';
/*gradients facebook '#3B5998','#2B4170' ; Google '#E64522','#C33219' ; Pinterest '#CB2027','#A0171C'; Turquoise: '#009CDA','#0073B2'*/
$skin = array(
'BODY' => array(
@@ -1,4 +1,6 @@
<?php
$themeconf['colorscheme'] = 'clear';
/*gradients facebook '#3B5998','#2B4170' ; Google '#E64522','#C33219' ; Pinterest '#CB2027','#A0171C'; Turquoise: '#009CDA','#0073B2'*/
$skin = array(
'BODY' => array(
@@ -1,4 +1,6 @@
<?php
$themeconf['colorscheme'] = 'clear';
/*gradients facebook '#3B5998','#2B4170' ; Google '#E64522','#C33219' ; Pinterest '#CB2027','#A0171C'; Turquoise: '#009CDA','#0073B2'*/
$skin = array(
'BODY' => array(
@@ -1,4 +1,6 @@
<?php
$themeconf['colorscheme'] = 'clear';
$skin = array(
'BODY' => array(
// REQUIRED
@@ -1,5 +1,7 @@
<?php
/*gradients facebook '#3B5998','#2B4170' ; Google '#E64522','#C33219' ; Pinterest '#CB2027','#A0171C'*/
$themeconf['colorscheme'] = 'clear';
$skin = array(
'BODY' => array(
// REQUIRED
@@ -1,4 +1,6 @@
<?php
$themeconf['colorscheme'] = 'clear';
/*gradients facebook '#3B5998','#2B4170' ; Google '#E64522','#C33219' ; Pinterest '#CB2027','#A0171C'; Turquoise: '#009CDA','#0073B2'*/
$skin = array(
'BODY' => array(
@@ -10,6 +10,7 @@
$themeconf = array(
'name' => 'modus',
'parent' => 'default',
'colorscheme' => 'dark',
);
define('MODUS_STR_RECENT', "\xe2\x9c\xbd"); //HEAVY TEARDROP-SPOKED ASTERISK
@@ -23,6 +24,9 @@
if (!empty($_GET['skin']) && !preg_match('/[^a-zA-Z0-9_-]/', $_GET['skin']))
$conf['modus_theme']['skin'] = $_GET['skin'];
// we're mainly interested in an override of the colorscheme
include( dirname(__FILE__).'/skins/'.$conf['modus_theme']['skin'].'.inc.php' );
$this->assign( array(
'MODUS_CSS_VERSION' => crc32(implode(',', array(
'a'.@$conf['modus_theme']['skin'],

0 comments on commit 3666269

Please sign in to comment.
You can’t perform that action at this time.