From 32c211a5487e0148a438b8c9d109e918e69e1ffa Mon Sep 17 00:00:00 2001 From: John Fultz Date: Mon, 30 Dec 2013 03:15:50 -0600 Subject: 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. --- data/themes/modern.ini | 22 ++++++++++++++++++++++ data/themes/plain.ini | 22 ++++++++++++++++++++++ data/themes/traditional.ini | 22 ++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 data/themes/modern.ini create mode 100644 data/themes/plain.ini create mode 100644 data/themes/traditional.ini (limited to 'data/themes') 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 -- cgit v1.2.3