summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/CMakeLists.txt5
-rw-r--r--app/ch.arknet.Turns.gschema.xml20
-rw-r--r--style/style-dark.css4
3 files changed, 27 insertions, 2 deletions
diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt
index da6d90f..9a94702 100644
--- a/app/CMakeLists.txt
+++ b/app/CMakeLists.txt
@@ -43,3 +43,8 @@ install(FILES
"${CMAKE_CURRENT_BINARY_DIR}/turns.xml"
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/mime/packages"
)
+
+install(FILES
+ "ch.arknet.Turns.gschema.xml"
+ DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/glib-2.0/schemas"
+)
diff --git a/app/ch.arknet.Turns.gschema.xml b/app/ch.arknet.Turns.gschema.xml
new file mode 100644
index 0000000..b3f6f82
--- /dev/null
+++ b/app/ch.arknet.Turns.gschema.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schemalist>
+ <schema path="/ch/arknet/Turns/" id="ch.arknet.Turns">
+ <key name="disposition-color-friendly" type="s">
+ <default>@green_3</default>
+ <summary>Friendly Disposition Color</summary>
+ <description>The color used to shade friendly participants.</description>
+ </key>
+ <key name="disposition-color-hostile" type="s">
+ <default>@red_3</default>
+ <summary>Hostile Disposition Color</summary>
+ <description>The color used to shade hostile participants.</description>
+ </key>
+ <key name="disposition-color-secret" type="s">
+ <default>@purple_3</default>
+ <summary>Secret Disposition Color</summary>
+ <description>The color used to shade secret participants.</description>
+ </key>
+ </schema>
+</schemalist> \ No newline at end of file
diff --git a/style/style-dark.css b/style/style-dark.css
index 926150f..6a060da 100644
--- a/style/style-dark.css
+++ b/style/style-dark.css
@@ -15,11 +15,11 @@ button:checked.disposition-friendly {
}
button.disposition-secret {
- background-color: mix(shade(@purple_1, 0.8), @window_bg_color, 0.5);
+ background-color: mix(shade(@purple_3, 0.8), @window_bg_color, 0.5);
}
button:checked.disposition-secret {
- background-color: mix(shade(@purple_1, 0.5), @window_bg_color, 0.5);
+ background-color: mix(shade(@purple_3, 0.5), @window_bg_color, 0.5);
}
.active-participant {