summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2013-12-30 03:15:50 -0600
committerJohn Fultz <jfultz@wolfram.com>2013-12-30 03:15:50 -0600
commit32c211a5487e0148a438b8c9d109e918e69e1ffa (patch)
tree5fef6001ff965ff887fdc429f1afdea6fbd414ac /data
parentf3f60195ba3500c7d12b73f18343273e364025a1 (diff)
Add color theme feature.
This allows you to choose between preset themes stored in .ini files in the layout. While I was at it, I changed other things in the Settings panel to auto-populate from the layout rather than have hard-coded versions. So there's no longer a need to recompile Quackle to add new languages or alphabets to get it to show up in the popup menu.
Diffstat (limited to 'data')
-rw-r--r--data/themes/modern.ini22
-rw-r--r--data/themes/plain.ini22
-rw-r--r--data/themes/traditional.ini22
3 files changed, 66 insertions, 0 deletions
diff --git a/data/themes/modern.ini b/data/themes/modern.ini
new file mode 100644
index 0000000..5be06d2
--- /dev/null
+++ b/data/themes/modern.ini
@@ -0,0 +1,22 @@
+# color values can be any string which can be passed into QColor::QColor(str)
+# textual colors
+arrow=black
+letter=#6e6e6e
+britishLetter=#703d3d
+bonusLabel=gainsboro
+markLabel=black
+
+# bonus squares
+DLS=#85a4c9
+TLS=#8fb172
+DWS=#c14039
+TWS=#e07044
+QLS=#bfd162
+QWS=goldenrod
+
+# misc
+nothing=gainsboro
+cementedLetterText=#f8f8ff
+cementedBritishLetterText=#FFC0C0
+uncementedLetterText=khaki
+mark=tan
diff --git a/data/themes/plain.ini b/data/themes/plain.ini
new file mode 100644
index 0000000..a02fadd
--- /dev/null
+++ b/data/themes/plain.ini
@@ -0,0 +1,22 @@
+# color values can be any string which can be passed into QColor::QColor(str)
+# textual colors
+arrow=black
+letter=#6e6e6e
+britishLetter=#703d3d
+bonusLabel=black
+markLabel=black
+
+# bonus squares
+DLS=gainsboro
+TLS=gainsboro
+DWS=gainsboro
+TWS=gainsboro
+QLS=gainsboro
+QWS=gainsboro
+
+# misc
+nothing=gainsboro
+cementedLetterText=#f8f8ff
+cementedBritishLetterText=#FFC0C0
+uncementedLetterText=khaki
+mark=tan
diff --git a/data/themes/traditional.ini b/data/themes/traditional.ini
new file mode 100644
index 0000000..be1e96b
--- /dev/null
+++ b/data/themes/traditional.ini
@@ -0,0 +1,22 @@
+# color values can be any string which can be passed into QColor::QColor(str)
+# textual colors
+arrow=black
+letter=#6e6e6e
+britishLetter=#703d3d
+bonusLabel=gainsboro
+markLabel=black
+
+# bonus squares
+DLS=cornflowerblue
+TLS=slateblue
+DWS=palevioletred
+TWS=firebrick
+QLS=#c595f1
+QWS=goldenrod
+
+# misc
+nothing=gainsboro
+cementedLetterText=#f8f8ff
+cementedBritishLetterText=#FFC0C0
+uncementedLetterText=khaki
+mark=tan