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
+
1
4
html {
2
5
box-sizing : border-box ;
3
6
}
64
67
}
65
68
66
69
& :hover {
67
- background-color : darken ($purple , 15% );
70
+ background-color : color . adjust ($purple , $lightness : - 15% );
68
71
}
69
72
70
73
& .hidden {
77
80
background-color : $gray ;
78
81
79
82
& :hover {
80
- background-color : darken ($gray , 15% );
83
+ background-color : color . adjust ($gray , $lightness : - 15% );
81
84
}
82
85
}
83
86
Original file line number Diff line number Diff line change
1
+ @use " ../base/variables" as * ;
2
+
1
3
.container {
2
4
width : 100% ;
3
5
margin : 0 auto ;
Original file line number Diff line number Diff line change
1
+ @use " ../base/variables" as * ;
2
+ @use " ../base/mixins" as * ;
3
+
1
4
#site-header {
2
5
display : grid ;
3
6
grid-template-rows : 1fr 3px ;
Original file line number Diff line number Diff line change
1
+ @use " ../base/variables" as * ;
2
+
1
3
#mobile-header {
2
4
display : none ;
3
5
background-color : #333 ;
Original file line number Diff line number Diff line change
1
+ @use " ../base/variables" as * ;
2
+ @use " sass:color" ;
3
+
1
4
.layout {
2
5
height : 100vh ;
3
6
height : calc (var (--vh , 1vh ) * 100 );
170
173
background-color : $gray ;
171
174
172
175
& :hover {
173
- background-color : darken ($gray , 15% );
176
+ background-color : color . adjust ($gray , $lightness : - 15% );
174
177
}
175
178
176
179
& .active {
Original file line number Diff line number Diff line change 1
1
@charset " utf-8" ;
2
2
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' ;
5
5
6
- @import ' ./ vendors/normalize' ;
6
+ @use ' vendors/normalize' ;
7
7
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' ;
12
12
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