Dotclear

Changeset 3828:b9bd59827820 for admin


Ignore:
Timestamp:
08/27/18 13:35:15 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add the two basic colors used as CSS variables (may be used by 3rd party plugins to adjust their CSS)
Add one javascript variable (dotclear_darkMode equal to 1 or 0) with current mode selected

Location:
admin/style
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default-dark.css

    r3823 r3828  
    229229/* Typographie */ 
    230230:root { 
    231   --html-font-size: 62.5%; } 
     231  --html-font-size: 62.5%; 
     232  --body-color: #dcdee0; 
     233  --body-background: #272b30; } 
    232234 
    233235html { 
  • admin/style/default.css

    r3823 r3828  
    229229/* Typographie */ 
    230230:root { 
    231   --html-font-size: 62.5%; } 
     231  --html-font-size: 62.5%; 
     232  --body-color: #323232; 
     233  --body-background: #fff; } 
    232234 
    233235html { 
  • admin/style/scss/partials/_common.scss

    r3763 r3828  
    44     // May be superseed by user pref (typically from 50% to 75%, default 62.5%) 
    55     --html-font-size: #{$html-font-size}; 
     6  // Main colors 
     7  --body-color: #{$body-color}; 
     8  --body-background: #{$body-background}; 
    69} 
    710 
Note: See TracChangeset for help on using the changeset viewer.

Sites map