Skip to content

Commit 39f6eb9

Browse files
authored
Use CSS variables instead of GTK-specific syntax (#997)
1 parent 156186b commit 39f6eb9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/style.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
}
1414

1515
.command_snippet {
16-
color: @view_fg_color;
17-
background: @view_bg_color;
16+
color: var(--view-fg-color);
17+
background: var(--view-bg-color);
1818
font-family: monospace;
1919
border-radius: 6px;
2020
padding: 6px;
21-
border: 1px solid @borders;
21+
border: 1px solid var(--border-color);
2222
}
2323

2424
/*
@@ -36,7 +36,7 @@ button.pill.small {
3636
#panel_code,
3737
#panel_style,
3838
#panel_ui {
39-
border-right: solid 1px @borders;
39+
border-right: solid 1px var(--border-color);
4040
background-color: #fcfcfc;
4141
}
4242

0 commit comments

Comments
 (0)