11/* * COLOR VALUES */
2- $surface-100 : #1B1B1B ; // For body background color
3- $surface-200 : #1F1F1F ; // For cards, aside, sidebars background color
2+ $surface-100 : #1b1b1b ; // For body background color
3+ $surface-200 : #1f1f1f ; // For cards, aside, sidebars background color
44$surface-250 : #242424 ;
5- $surface-300 : #2D2D2D ; // Navbar - For chips buttons, dropdowns background color
5+ $surface-300 : #2d2d2d ; // Navbar - For chips buttons, dropdowns background color
66$surface-400 : #353535 ; // For sidebars, navbar background color
7- $surface-500 : #3D3D3D ; // For modal, dialogs background color
7+ $surface-500 : #3d3d3d ; // For modal, dialogs background color
88$surface-600 : #404040 ; // divider, hr, border
99$surface-700 : #696969 ; // For on background texts color | 267 0 41
1010
11- $light-gray : #D6D6D6 ; // hover on secondary text
12- $gray : #A0A0A0 ; // secondary text
11+ $light-gray : #d6d6d6 ; // hover on secondary text
12+ $gray : #a0a0a0 ; // secondary text
1313$dark-gray : #939393 ; // code snippet text
1414
15- $magenta-000 : #C63995 ;
16- $magenta-100 : #DE46A9 ;
17- $magenta-200 : #E25AB2 ;
18- $magenta-300 : #E670BD ;
15+ $magenta-000 : #c63995 ;
16+ $magenta-100 : #de46a9 ;
17+ $magenta-200 : #e25ab2 ;
18+ $magenta-300 : #e670bd ;
1919
2020$pure-white : #ffffff ;
21- $white : #F0F0F0 ; // text, title
21+ $white : #f0f0f0 ; // text, title
2222$red : #e7544c ;
2323$orange : #f5a623 ;
24- $black-pink : #211E21 ;
25- $purple : #B284EB ;
26- $green : #81C42C ;
27- $yellow : #DDB218 ;
28- $blue : #4197E3 ;
29- $lightblue : #56A3E6 ;
24+ $black-pink : #211e21 ;
25+ $purple : #b284eb ;
26+ $green : #81c42c ;
27+ $yellow : #ddb218 ;
28+ $blue : #4197e3 ;
29+ $lightblue : #56a3e6 ;
3030
3131// Each color is associated with a library
3232$tk-lib-runtime : $magenta-200 ;
@@ -37,12 +37,16 @@ $tk-lib-mio: $red;
3737$tk-lib-tracing : $purple ;
3838$tk-lib-bytes : $blue ;
3939
40-
4140// Per lib styling: [ name, bg-color, color, size, logo-adjust ]
42- $libs : " tokio" $white $surface-100 3.8rem -60% , " runtime" $tk-lib-runtime $surface-100 2.2rem -22% ,
43- " hyper" $tk-lib-hyper $surface-100 100% -50% , " tonic" $tk-lib-tonic $surface-100 100% -25% ,
44- " tower" $tk-lib-tower $surface-100 100% -52% , " mio" $tk-lib-mio $surface-100 100% -41% ,
45- " tracing" $tk-lib-tracing $surface-100 100% -31% , " bytes" $tk-lib-bytes $surface-100 100% -30% ;
41+ $libs :
42+ " tokio" $white $surface-100 3.8rem -60% ,
43+ " runtime" $tk-lib-runtime $surface-100 2.2rem -22% ,
44+ " hyper" $tk-lib-hyper $surface-100 100% -50% ,
45+ " tonic" $tk-lib-tonic $surface-100 100% -25% ,
46+ " tower" $tk-lib-tower $surface-100 100% -52% ,
47+ " mio" $tk-lib-mio $surface-100 100% -41% ,
48+ " tracing" $tk-lib-tracing $surface-100 100% -31% ,
49+ " bytes" $tk-lib-bytes $surface-100 100% -30% ;
4650
4751body {
4852 background-color : $surface-100 ;
6872 color : $magenta-200 ;
6973 }
7074 }
71- .navbar-brand , .navbar-menu {
75+ .navbar-brand ,
76+ .navbar-menu {
7277 background-color : $surface-400 ;
7378 }
7479 hr {
8590.hero {
8691 & .is-primary {
8792 background-color : $surface-200 ;
88- .title , .subtitle {
93+ .title ,
94+ .subtitle {
8995 color : $white ;
9096 }
9197 }
@@ -96,14 +102,16 @@ body {
96102 .button :hover {
97103 background-color : $magenta-100 ;
98104 }
99- .title , .subtitle {
105+ .title ,
106+ .subtitle {
100107 color : $white ;
101108 }
102109 }
103110 & .tk-users {
104111 background-color : $surface-100 ;
105112
106- .title , .subtitle {
113+ .title ,
114+ .subtitle {
107115 color : $white ;
108116 }
109117
@@ -237,7 +245,6 @@ body {
237245 color : $magenta-200 ;
238246 }
239247 }
240-
241248 }
242249
243250 li .is-active {
@@ -281,7 +288,7 @@ body {
281288 .tk-markdown {
282289 .is-warning {
283290 background : $black-pink ;
284- color : $light-gray ;// $magenta-100;
291+ color : $light-gray ; // $magenta-100;
285292
286293 strong ,
287294 code {
@@ -373,7 +380,8 @@ strong {
373380 *
374381 */
375382
376- pre , code {
383+ pre ,
384+ code {
377385 background-color : $surface-250 ;
378386}
379387
0 commit comments