Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Only changed title and hex codes. I was hoping I could create my own color sets. Didn't seem to work. Should this work?
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedNo idea what you mean.
Comment #2
MochaMan CreditAttribution: MochaMan commentedBelow is a partial cut-and-paste from the "color.inc" file. I was hoping I could create my own color schemes by changing the titles and the hex codes. Several tests have not worked. Is this not the source for the hex codes used in the pre-defined color schems?
// Pre-defined color schemes.
'schemes' => array(
'default' => array(
'title' => t('Girly Pink (default)'),
'colors' => array(
'base' => '#eb52c1',
'page' => '#ffffff',
'sitename' => '#feffff',
'slogan' => '#fefefe',
'header' => '#fdfdfd',
'mmenu' => '#fffffe',
'link' => '#b21f88',
'top' => '#b800a5',
'bottom' => '#ff6bff',
'ftop' => '#181818',
'fbottom' => '#343434',
'text' => '#555555',
'blockh' => '#eb5ac3',
'blockht' => '#fffffc',
'blockbg' => '#f9cbec',
'borders' => '#e9e9e9',
'sticky' => '#f7f7f7',
),
),
'redcarpet' => array(
'title' => t('Red Carpet'),
'colors' => array(
'base' => '#de8291',
'page' => '#ffffff',
'sitename' => '#feffff',
'slogan' => '#fefefe',
'header' => '#fdfdfd',
'mmenu' => '#fffffe',
'link' => '#c55964',
'top' => '#861509',
'bottom' => '#f8306a',
'ftop' => '#181818',
'fbottom' => '#343434',
'text' => '#555555',
'blockh' => '#df8796',
'blockht' => '#fffffc',
'blockbg' => '#f5d9de',
'borders' => '#e9e9e9',
'sticky' => '#f7f7f7',
),
),
Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commentedYou should not change the array keys, only the values (the hex values).
The scheme name needs to unique.
Other than that yes you can create your own schemes and save them in the color.inc file.