File tree Expand file tree Collapse file tree 7 files changed +20
-38
lines changed Expand file tree Collapse file tree 7 files changed +20
-38
lines changed Original file line number Diff line number Diff line change 1616</ div >
1717< script type ="text/javascript ">
1818const theme = localStorage . getItem ( 'theme' ) ;
19- if ( theme === 'undefined' ) {
20- theme = "dark" ;
21- }
22- if ( theme === "dark" ) {
23- document . documentElement . setAttribute ( 'data-theme' , 'dark' ) ;
24- } else {
19+
20+ if ( theme === "light" ) {
2521 document . documentElement . setAttribute ( 'data-theme' , 'light' ) ;
22+ } else {
23+ document . documentElement . setAttribute ( 'data-theme' , 'dark' ) ;
2624}
2725const userPrefers = getComputedStyle ( document . documentElement ) . getPropertyValue ( 'content' ) ;
2826
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ $spacing-unit: 30px !default;
3636@import
3737 " fa/fontawesome" ,
3838 " fa/solid" ,
39+ " fa/regular" ,
3940 " fa/brands" ,
4041 " dash/fonts" ,
4142 " dash/icons" ,
Original file line number Diff line number Diff line change 11// Font Awesome Icons
22
3- $icon-quote-right : " \f10e " ;
4- $icon-chevron-right : " \f054 " ;
5- $icon-check : " \f00c " ;
6- $icon-minus : " \f068 " ;
7- $icon-flask : " \f0c3 " ;
8- $icon-tag : " \f02b " ;
9- $icon-lightbulb : " \f02b " ;
3+ $icon-quote-right : fa-content ($fa-var-quote-right );
4+ $icon-chevron-right : fa-content ($fa-var-chevron-right );
5+ $icon-check : fa-content ($fa-var-check );
6+ $icon-minus : fa-content ($fa-var-minus );
7+ $icon-flask : fa-content ($fa-var-flask );
8+ $icon-tag : fa-content ($fa-var-tag );
Original file line number Diff line number Diff line change 1313 .command_prompt {
1414 color : $color-blue ;
1515 font-size : $base-font-size ;
16-
17- svg {
18- width : 20px ;
19- height : 20px ;
20- margin-bottom : -1px ;
21- margin-left : 1px ;
22- }
16+ margin-left : 0.1em ;
2317
2418 & :before {
2519 content : $icon-chevron-right ;
2620 @include font-awesome-icon ;
21+ margin-right : 0.2em ;
2722 }
2823 }
2924}
9893 width : 100% ;
9994 animation : type 2s steps (60 , end );
10095 margin-bottom : 1em ;
101-
102- & > svg {
103- color : $color-blue ;
104- margin-right : 0.6em ;
105- margin-bottom : -1px ;
106- }
96+ margin-left : 0.5em ;
10797
10898 & :after {
10999 content : " _" ;
114104 & :before {
115105 content : $icon-chevron-right ;
116106 @include font-awesome-icon ;
107+ margin-right : 0.5em ;
108+ color : $color-blue ;
117109 }
118110}
119111
267259 & :before {
268260 content : $icon-tag ;
269261 @include font-awesome-icon ;
262+ margin-right : 0.5em ;
270263 }
271264}
272265
@@ -365,17 +358,10 @@ ul.related-posts {
365358 margin : 0 ;
366359 }
367360
368- & > svg .svg-inline--fa {
369- color : $color-green ;
370- margin-right : 0.3em ;
371- width : 22px ;
372- height : 22px ;
373- margin-bottom : -2px ;
374- }
375-
376361 & :before {
377362 content : $icon-flask ;
378363 @include font-awesome-icon ;
364+ color : $color-green ;
379365 }
380366 }
381367}
Original file line number Diff line number Diff line change 55 font-variant : normal ;
66 text-rendering : auto ;
77 font-weight : 900 ;
8-
9- display : none ;
108 -webkit-font-smoothing : antialiased ;
119}
1210
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ $themes: (
33 background-color : $color-background-dark ,
44 background-color-alt : $color-background-darker ,
55 foreground-color : $color-foreground ,
6- foreground-color-alt : $color-foreground-dark ,
6+ foreground-color-alt : lighten ( $color-foreground-dark , 10 % ) ,
77 foreground-color-contrast : white ,
88 quote-primary : lighten ($color-yellow , 20% ),
99 quote-secondary : $color-yellow ,
Original file line number Diff line number Diff line change 22
33Gem ::Specification . new do |spec |
44 spec . name = "jekyll-dash"
5- spec . version = "1.3.1 "
5+ spec . version = "1.3.2 "
66 spec . authors = [ "Miguel Gonzalez Sanchez" ]
77 spec . email = [ "[email protected] " ] 88
You can’t perform that action at this time.
0 commit comments