@@ -59,7 +59,7 @@ $gray-02: #eee;
5959$gray-03 : #e5e4e4 ;
6060$gray-04 : #d9d9d9 ;
6161$gray-05 : #bebebe ;
62- $gray-06 : ;
62+ $gray-06 : #beef69 ;
6363$gray-07 : #666 ;
6464$gray-08 : #444 ;
6565$gray-09 : #272822 ;
@@ -87,3 +87,41 @@ $modifier-colors: $color-guides, $color-docs, $color-community, $color-more,
8787 $color-blog ;
8888
8989$modifier-colors-fg : $white $white $white $white $white $white $white $white ;
90+
91+ @media all {
92+ :root {
93+ /* Dark Mode Support */
94+ color-scheme : light dark ;
95+
96+ --dev-bg-primary : #{$gray-01 } ;
97+ --dev-bg-secondary : #{$white } ;
98+ --dev-bg-tertiary : #{$gray-03 } ;
99+ --dev-bg-prominent : #{$gray-02 } ;
100+ --dev-fg-primary : #{$gray-08 } ;
101+ --dev-fg-secondary : #{$gray-07 } ;
102+ --dev-fg-tertiary : #{$gray-09 } ;
103+ --dev-fg-muted : #{$gray-05 } ;
104+ --dev-border-primary : #{$gray-04 } ;
105+ --dev-border-secondary : #{$gray-03 } ;
106+ --dev-border-tertiary : #{$gray-05 } ;
107+ --dev-link : #{$pebble-blue } ;
108+ --dev-link-hover : #{$pebble-blue-alt } ;
109+ }
110+ }
111+
112+ @media screen and (prefers-color-scheme : dark ) {
113+ :root {
114+ --dev-bg-primary : #{$gray-10 } ;
115+ --dev-bg-secondary : #{$gray-09 } ;
116+ --dev-bg-tertiary : #{$black } ;
117+ --dev-bg-prominent : #{$gray-08 } ;
118+ --dev-fg-primary : #{$white } ;
119+ --dev-fg-secondary : #{$breakfast-room-white } ;
120+ --dev-fg-tertiary : #{$gray-01 } ;
121+ --dev-border-primary : #{$black } ;
122+ --dev-border-secondary : #{$gray-10 } ;
123+ --dev-border-tertiary : #{$gray-09 } ;
124+ --dev-link : #{color .adjust (#16b5d8 , $lightness : 20% , $space : hsl )} ;
125+ --dev-link-hover : #{$pebble-blue } ;
126+ }
127+ }
0 commit comments