In themes, replace variables with more general reference construct
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
[ui]
|
||||
background = "$elevation_1"
|
||||
background = "$surfaces.1"
|
||||
|
||||
[ui.tab]
|
||||
background = "$elevation_2"
|
||||
text = "$text_dull"
|
||||
background = "$surfaces.2"
|
||||
text = "$text_colors.dull"
|
||||
border = { color = "#000000", width = 1.0 }
|
||||
padding = { left = 10, right = 10 }
|
||||
icon_close = "#383839"
|
||||
@@ -11,13 +11,13 @@ icon_dirty = "#556de8"
|
||||
icon_conflict = "#e45349"
|
||||
|
||||
[ui.active_tab]
|
||||
extends = "ui.tab"
|
||||
background = "$elevation_3"
|
||||
text = "$text_bright"
|
||||
extends = "$ui.tab"
|
||||
background = "$surfaces.3"
|
||||
text = "$text_colors.bright"
|
||||
|
||||
[ui.selector]
|
||||
background = "$elevation_4"
|
||||
text = "$text_bright"
|
||||
background = "$surfaces.4"
|
||||
text = "$text_colors.bright"
|
||||
padding = { top = 6.0, bottom = 6.0, left = 6.0, right = 6.0 }
|
||||
margin.top = 12.0
|
||||
corner_radius = 6.0
|
||||
@@ -31,17 +31,17 @@ border = { color = "#000000", width = 1.0 }
|
||||
padding = { top = 6.0, bottom = 6.0, left = 6.0, right = 6.0 }
|
||||
|
||||
[ui.selector.active_item]
|
||||
extends = "ui.selector.item"
|
||||
extends = "$ui.selector.item"
|
||||
background = "#094771"
|
||||
|
||||
[editor]
|
||||
background = "$elevation_3"
|
||||
gutter_background = "$elevation_3"
|
||||
active_line_background = "$elevation_4"
|
||||
line_number = "$text_dull"
|
||||
line_number_active = "$text_bright"
|
||||
text = "$text_normal"
|
||||
background = "$surfaces.3"
|
||||
gutter_background = "$surfaces.3"
|
||||
active_line_background = "$surfaces.4"
|
||||
line_number = "$text_colors.dull"
|
||||
line_number_active = "$text_colors.bright"
|
||||
text = "$text_colors.normal"
|
||||
replicas = [
|
||||
{ selection = "#264f78", cursor = "$text_bright" },
|
||||
{ selection = "#264f78", cursor = "$text_colors.bright" },
|
||||
{ selection = "#504f31", cursor = "#fcf154" },
|
||||
]
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
extends = "_base"
|
||||
|
||||
[variables]
|
||||
elevation_1 = "#050101"
|
||||
elevation_2 = "#131415"
|
||||
elevation_3 = "#1c1d1e"
|
||||
elevation_4 = "#3a3b3c"
|
||||
text_dull = "#5a5a5b"
|
||||
text_bright = "#ffffff"
|
||||
text_normal = "#d4d4d4"
|
||||
[surfaces]
|
||||
1 = "#050101"
|
||||
2 = "#131415"
|
||||
3 = "#1c1d1e"
|
||||
4 = "#3a3b3c"
|
||||
|
||||
[text_colors]
|
||||
dull = "#5a5a5b"
|
||||
bright = "#ffffff"
|
||||
normal = "#d4d4d4"
|
||||
|
||||
[syntax]
|
||||
keyword = { color = "#0086c0", weight = "bold" }
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
extends = "_base"
|
||||
|
||||
[variables]
|
||||
elevation_1 = "#ffffff"
|
||||
elevation_2 = "#f3f3f3"
|
||||
elevation_3 = "#ececec"
|
||||
elevation_4 = "#3a3b3c"
|
||||
text_dull = "#acacac"
|
||||
text_bright = "#111111"
|
||||
text_normal = "#333333"
|
||||
[surfaces]
|
||||
1 = "#ffffff"
|
||||
2 = "#f3f3f3"
|
||||
3 = "#ececec"
|
||||
4 = "#3a3b3c"
|
||||
|
||||
[text_colors]
|
||||
dull = "#acacac"
|
||||
bright = "#111111"
|
||||
normal = "#333333"
|
||||
|
||||
[syntax]
|
||||
keyword = "#0000fa"
|
||||
|
||||
Reference in New Issue
Block a user