-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
I think this mod is outstanding. One thing that would help creating "dark mode" themes is controls over text backgrounds.
There are a lot of #FFF values throughout the .css. Bright hot white... They hit you like a searchlight coming out of your smartphone in the dark...
I think we would need a cc_text_background, and a cc_focus_text_background (for the ones that normally change color when given focus).
They would look something like the following. This is definitely incomplete, but it's a start:
// These ones added by sjrb - get rid of glaring white backgrounds, helpful for dark mode...
'txt_background' => array(
array(
'elements' => 'input, button, select, textarea',
'properties' => array('background')
),
),
'focus_txt_bkg' => array(
array(
'elements' => 'input:focus, textarea:focus, button:focus, select:focus',
'properties' => array('background')
),
),
With the corresponding changes to the language file:
$txt['cc_txt_background'] = 'Text Background';
$txt['cc_focus_txt_bkg'] = 'Focus Text Background';
Reactions are currently unavailable