Use singular names in theme and number surfaces from 0

This commit is contained in:
Nathan Sobo 2021-08-20 10:18:05 -06:00
parent 7a5ecae71a
commit 9b7756f566
3 changed files with 26 additions and 26 deletions

View file

@ -1,9 +1,9 @@
[ui]
background = "$surfaces.1"
background = "$surface.0"
[ui.tab]
background = "$surfaces.2"
text = "$text_colors.dull"
background = "$surface.1"
text = "$text_color.dull"
border = { color = "#000000", width = 1.0 }
padding = { left = 10, right = 10 }
icon_close = "#383839"
@ -12,12 +12,12 @@ icon_conflict = "#e45349"
[ui.active_tab]
extends = "$ui.tab"
background = "$surfaces.3"
text = "$text_colors.bright"
background = "$surface.2"
text = "$text_color.bright"
[ui.selector]
background = "$surfaces.4"
text = "$text_colors.bright"
background = "$surface.3"
text = "$text_color.bright"
padding = { top = 6.0, bottom = 6.0, left = 6.0, right = 6.0 }
margin.top = 12.0
corner_radius = 6.0
@ -35,13 +35,13 @@ extends = "$ui.selector.item"
background = "#094771"
[editor]
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"
background = "$surface.2"
gutter_background = "$surface.2"
active_line_background = "$surface.3"
line_number = "$text_color.dull"
line_number_active = "$text_color.bright"
text = "$text_color.normal"
replicas = [
{ selection = "#264f78", cursor = "$text_colors.bright" },
{ selection = "#264f78", cursor = "$text_color.bright" },
{ selection = "#504f31", cursor = "#fcf154" },
]

View file

@ -1,12 +1,12 @@
extends = "_base"
[surfaces]
1 = "#050101"
2 = "#131415"
3 = "#1c1d1e"
4 = "#3a3b3c"
[surface]
0 = "#050101"
1 = "#131415"
2 = "#1c1d1e"
3 = "#3a3b3c"
[text_colors]
[text_color]
dull = "#5a5a5b"
bright = "#ffffff"
normal = "#d4d4d4"

View file

@ -1,12 +1,12 @@
extends = "_base"
[surfaces]
1 = "#ffffff"
2 = "#f3f3f3"
3 = "#ececec"
4 = "#3a3b3c"
[surface]
0 = "#ffffff"
1 = "#f3f3f3"
2 = "#ececec"
3 = "#3a3b3c"
[text_colors]
[text_color]
dull = "#acacac"
bright = "#111111"
normal = "#333333"