Skip to content

Commit

Permalink
settings: Add accent-color key
Browse files Browse the repository at this point in the history
Specify a key for getting the system's preferred accent color.
  • Loading branch information
lleyton committed Mar 21, 2023
1 parent 88ea1c8 commit 648db0f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions data/org.freedesktop.impl.portal.Settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@
Unknown values should be treated as 0 (no preference).
</para></listitem>
</varlistentry>
<varlistentry>
<term>org.freedesktop.appearance accent-color (ddd)</term>
<listitem><para>
Indicates the system's preferred accent color as a tuple of RGB values in the sRGB color space, in the range [0,1].
Out-of-range RGB values should be treated as an unset accent color.
</para></listitem>
</varlistentry>
</variablelist>
Implementations can provide other keys; they are entirely
Expand Down
7 changes: 7 additions & 0 deletions data/org.freedesktop.portal.Settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@
Unknown values should be treated as 0 (no preference).
</para></listitem>
</varlistentry>
<varlistentry>
<term>org.freedesktop.appearance accent-color (ddd)</term>
<listitem><para>
Indicates the system's preferred accent color as a tuple of RGB values in the sRGB color space, in the range [0,1].
Out-of-range RGB values should be treated as an unset accent color.
</para></listitem>
</varlistentry>
</variablelist>
Implementations can provide other keys; they are entirely
Expand Down

0 comments on commit 648db0f

Please sign in to comment.