Skip to content

Commit 17d737e

Browse files
authored
AccountsService: Add PrefersAccentColor to users (#190)
1 parent dad689b commit 17d737e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

accountsservice/io.elementary.pantheon.AccountsService.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,30 @@
1616
<annotation name="org.freedesktop.Accounts.DefaultValue.String" value="24h"/>
1717
</property>
1818

19+
<!--
20+
PrefersAccentColor:
21+
22+
What accent color the user prefers for the UI.
23+
24+
Valid preferences:
25+
0 = No Preference (currently assumes Blue)
26+
1 = Red
27+
2 = Orange
28+
3 = Yellow
29+
4 = Green
30+
5 = Mint
31+
6 = Blue
32+
7 = Purple
33+
8 = Pink
34+
9 = Brown
35+
10 = Gray
36+
37+
Unrecognized preferences should be considered equal to No Preference.
38+
-->
39+
<property name="PrefersAccentColor" type="i" access="readwrite">
40+
<annotation name="org.freedesktop.Accounts.DefaultValue" value="0"/>
41+
</property>
42+
1943
<!--
2044
PrefersColorScheme:
2145

0 commit comments

Comments
 (0)