summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLleyton Gray <lleyton@fyralabs.com>2023-03-20 18:37:46 -0700
committerGeorges Basile Stavracas Neto <GeorgesStavracas@users.noreply.github.com>2023-08-25 22:23:30 +0000
commit96b883c6036e5e6bf47d709df90579bf0fa54651 (patch)
tree5dc647b846ee7e10c63ce7f1f4789fc1aae3eb7d
parent9778b375e0d7ee53e52d6d79d30758ed13db318a (diff)
settings: Add accent-color key
Specify a key for getting the system's preferred accent color.
-rw-r--r--data/org.freedesktop.impl.portal.Settings.xml8
-rw-r--r--data/org.freedesktop.portal.Settings.xml8
2 files changed, 16 insertions, 0 deletions
diff --git a/data/org.freedesktop.impl.portal.Settings.xml b/data/org.freedesktop.impl.portal.Settings.xml
index 7659732..581ca22 100644
--- a/data/org.freedesktop.impl.portal.Settings.xml
+++ b/data/org.freedesktop.impl.portal.Settings.xml
@@ -43,6 +43,14 @@
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
diff --git a/data/org.freedesktop.portal.Settings.xml b/data/org.freedesktop.portal.Settings.xml
index 7d16cc7..67f2ef8 100644
--- a/data/org.freedesktop.portal.Settings.xml
+++ b/data/org.freedesktop.portal.Settings.xml
@@ -43,6 +43,14 @@
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