Skip to content

Commit 0e70623

Browse files
authored
Update theme.nss (#675)
Added accent colours for glyph icons (works in both light and dark modes), adjusted margin, prefix, separator and orientation to more closely match the default Windows 11 context mene design.
1 parent 709ca18 commit 0e70623

File tree

1 file changed

+50
-2
lines changed

1 file changed

+50
-2
lines changed

Resources/Extras/Nilesoft/imports/theme.nss

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
theme
1+
theme
22
{
33
name = "modern"
44
dark = sys.dark
@@ -9,4 +9,52 @@
99
effect = default
1010
}
1111
image.align = 2
12-
}
12+
image.color = theme.islight ? [auto, color.accent] : [auto, color.accent_light2]
13+
14+
item
15+
{
16+
opacity = 50
17+
radius = 1
18+
prefix = 0
19+
padding = [10, 4]
20+
margin = [4,2]
21+
}
22+
23+
separator
24+
{
25+
size = 1
26+
color = default
27+
opacity = default
28+
margin = [0,1]
29+
}
30+
31+
border
32+
{
33+
enabled = 1
34+
size = 1
35+
color = #000
36+
opacity = theme.islight ? 12 : 25
37+
radius = default
38+
padding = [0,2]
39+
}
40+
41+
shadow
42+
{
43+
enabled = 1
44+
size = 7
45+
color = default
46+
opacity = theme.islight ? default : 7
47+
offset = 8
48+
}
49+
50+
font
51+
{
52+
name = "Segoe UI Variable Text"
53+
}
54+
55+
layout
56+
{
57+
popup = -5
58+
}
59+
60+
}

0 commit comments

Comments
 (0)