1+ /* ==========================================================================
2+ DARK THEME
3+ ========================================================================== */
4+
5+ /* Color codes used throughout the site */
6+ $background : #474747 ;
7+ $background-light : mix (#fff , $background , 80% );
8+ $background-lighter : mix (#fff , $background , 90% );
9+ $text : #ffffff ;
10+ $link : #0ea1c5 ;
11+ $link-dark : mix (#000 , $link , 25% );
12+ $link-light : mix (#fff , $link , 25% );
13+
14+ /* Color codes used for the site */
15+ $danger-color : #ee5f5b ;
16+ $info-color : #2f7f93 ;
17+ $notice-color : #7a8288 ;
18+ $success-color : #62c462 ;
19+ $warning-color : #f89406 ;
20+
21+ /* Other basic settings for the template */
22+ $border-radius : 4px ;
23+ $box-shadow : 0 1px 1px rgba (0 , 0 , 0 , 0.125 );
24+ $global-transition : all 0.2s ease-in-out ;
25+ $navicon-width : 28px ;
26+ $navicon-height : 4px ;
27+ $masthead-height : 70px ;
28+ $sidebar-link-max-width : 250px ;
29+ $sidebar-screen-min-width : 1024px ;
30+
31+ /* Default light theme for the site */
32+ :root {
33+ --global-base-color : #{$background } ;
34+ --global-bg-color : #{$background } ;
35+ --global-border-color : #{$background-light } ;
36+ --global-code-background-color : #fafafa ;
37+ --global-code-text-color : #{$darker-gray } ;
38+ --global-fig-caption-color : #{$dark-gray } ;
39+ --global-link-color : #{$link } ;
40+ --global-link-color-hover : #{$link-dark } ;
41+ --global-link-color-visited : #{$link-light } ;
42+ --global-masthead-link-color : #{$text } ;
43+ --global-masthead-link-color-hover : #{$background-light } ;
44+ --global-text-color : #{$text } ;
45+ --global-text-color-light : #{$light-gray } ;
46+ --global-thead-color : #{$background-lighter } ;
47+ }
0 commit comments