File tree Expand file tree Collapse file tree 6 files changed +28
-15
lines changed
Expand file tree Collapse file tree 6 files changed +28
-15
lines changed Original file line number Diff line number Diff line change 1+ @use " ../base/variables" as * ;
2+ @use " sass:color" ;
3+
14html {
25 box-sizing : border-box ;
36}
6467 }
6568
6669 & :hover {
67- background-color : darken ($purple , 15% );
70+ background-color : color . adjust ($purple , $lightness : - 15% );
6871 }
6972
7073 & .hidden {
7780 background-color : $gray ;
7881
7982 & :hover {
80- background-color : darken ($gray , 15% );
83+ background-color : color . adjust ($gray , $lightness : - 15% );
8184 }
8285}
8386
Original file line number Diff line number Diff line change 1+ @use " ../base/variables" as * ;
2+
13.container {
24 width : 100% ;
35 margin : 0 auto ;
Original file line number Diff line number Diff line change 1+ @use " ../base/variables" as * ;
2+ @use " ../base/mixins" as * ;
3+
14#site-header {
25 display : grid ;
36 grid-template-rows : 1fr 3px ;
Original file line number Diff line number Diff line change 1+ @use " ../base/variables" as * ;
2+
13#mobile-header {
24 display : none ;
35 background-color : #333 ;
Original file line number Diff line number Diff line change 1+ @use " ../base/variables" as * ;
2+ @use " sass:color" ;
3+
14.layout {
25 height : 100vh ;
36 height : calc (var (--vh , 1vh ) * 100 );
170173 background-color : $gray ;
171174
172175 & :hover {
173- background-color : darken ($gray , 15% );
176+ background-color : color . adjust ($gray , $lightness : - 15% );
174177 }
175178
176179 & .active {
Original file line number Diff line number Diff line change 11@charset " utf-8" ;
22
3- @import ' /node_modules/@fortawesome/fontawesome-free/css/all.min.css' ;
4- @import ' /node_modules/@xterm/xterm/css/xterm.css' ;
3+ @use ' /node_modules/@fortawesome/fontawesome-free/css/all.min.css' ;
4+ @use ' /node_modules/@xterm/xterm/css/xterm.css' ;
55
6- @import ' ./ vendors/normalize' ;
6+ @use ' vendors/normalize' ;
77
8- @import ' ./ base/variables' ;
9- @import ' ./ base/typography' ;
10- @import ' ./ base/mixins' ;
11- @import ' ./ base/base' ;
8+ @use ' base/variables' ;
9+ @use ' base/typography' ;
10+ @use ' base/mixins' ;
11+ @use ' base/base' ;
1212
13- @import ' ./ layout/layout' ;
14- @import ' ./ layout/grid' ;
15- @import ' ./ layout/editor' ;
16- @import ' ./ layout/header' ;
17- @import ' ./ layout/header_mobile' ;
13+ @use ' layout/layout' ;
14+ @use ' layout/grid' ;
15+ @use ' layout/editor' ;
16+ @use ' layout/header' ;
17+ @use ' layout/header_mobile' ;
You can’t perform that action at this time.
0 commit comments