File tree Expand file tree Collapse file tree 7 files changed +29
-18
lines changed Expand file tree Collapse file tree 7 files changed +29
-18
lines changed Original file line number Diff line number Diff line change @@ -106,15 +106,15 @@ main.item section {
106
106
}
107
107
108
108
dl {
109
+ border-width : 1px 1px 0 1px ;
110
+ border-style : solid ;
111
+ border-color : var (--item-table-border );
112
+
109
113
@media screen and (min-width : 15cm ) {
110
114
display : grid ;
111
115
grid-template-columns : min-content 1fr ;
112
116
}
113
117
114
- border-width : 1px 1px 0 1px ;
115
- border-style : solid ;
116
- border-color : var (--item-table-border );
117
-
118
118
dt {
119
119
font-family : monospace ;
120
120
color : var (--item-table-term-fg );
Original file line number Diff line number Diff line change
1
+ @use " colors" ;
2
+
1
3
* {
2
4
box-sizing : border-box ;
3
5
}
@@ -148,12 +150,13 @@ nav {
148
150
149
151
details {
150
152
summary {
153
+
151
154
display : block ; // Remove icon.
152
155
cursor : pointer ;
153
156
outline : 0 ;
154
157
155
158
padding : 0.5rem 0.5rem 0.5rem 1rem ;
156
- border-bottom : 1px solid $nav-summary-border-color ;
159
+ border-bottom : 1px solid colors . $nav-summary-border-color ;
157
160
158
161
& ::after {
159
162
content : " " ;
Original file line number Diff line number Diff line change
1
+ @use " sass:color" ;
2
+ @use " colors" ;
3
+
1
4
:root {
2
5
--list-header : #555 ;
3
6
--list-items-sep : #ccc ;
4
7
5
- --list-selected-bg : #{lighten ( $main-green , 40% )}
8
+ --list-selected-bg : #{color . adjust ( colors . $main-green , $lightness : 40% )}
6
9
}
7
10
8
11
@media (prefers-color-scheme : dark ) {
9
12
:root {
10
13
--list-header : #ccc ;
11
14
--list-items-sep : #777 ;
12
15
13
- --list-selected-bg : #{darken ( $main-green , 25% )}
16
+ --list-selected-bg : #{color . adjust ( colors . $main-green , $lightness : - 25% )}
14
17
}
15
18
}
16
19
Original file line number Diff line number Diff line change
1
+ @use " colors" ;
2
+
1
3
:root {
2
4
--versionfront-header : #333 ;
3
5
--versionfront-lists-link : $link-color ;
Original file line number Diff line number Diff line change 1
- @import " colors" ;
2
- @import " items" ;
3
- @import " layout" ;
4
- @import " list" ;
5
- @import " search" ;
6
- @import " version_changelog" ;
7
- @import " version_front" ;
8
- @import " version_matrix" ;
1
+ @use " colors" ;
2
+ @use " items" ;
3
+ @use " layout" ;
4
+ @use " list" ;
5
+ @use " search" ;
6
+ @use " version_changelog" ;
7
+ @use " version_front" ;
8
+ @use " version_matrix" ;
9
9
10
10
:root {
11
11
--base-font-size : 12pt ;
Original file line number Diff line number Diff line change @@ -187,6 +187,9 @@ def render(executor)
187
187
188
188
@main_css_path = @output . join ( File . basename ( CSS_SOURCE , ".scss" ) + ".css" )
189
189
@main_css_path . write ( result . css )
190
+ rescue Sass ::CompileError => e
191
+ STDERR . print e . full_message ( highlight : true )
192
+ exit 1
190
193
end
191
194
192
195
# Combine the JS files.
You can’t perform that action at this time.
0 commit comments