summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2020-10-20 10:02:23 -0600
committerAndreas Kling <kling@serenityos.org>2020-10-22 15:23:45 +0200
commita823d2a9629491ed4c1661a940d36f2ce8184ef1 (patch)
tree0cadce3eee60714fb274817707937d74d17b15f2
parentf239fbaa58aa80ff615a3e66bcf35bbf878271b2 (diff)
downloadserenity-a823d2a9629491ed4c1661a940d36f2ce8184ef1.zip
LibGfx: Add colors for highlight-searching to palette and themes
-rw-r--r--Base/res/themes/Basalt.ini2
-rw-r--r--Base/res/themes/Dark.ini2
-rw-r--r--Base/res/themes/Default.ini2
-rw-r--r--Base/res/themes/Discord.ini2
-rw-r--r--Base/res/themes/Faux Pas.ini2
-rw-r--r--Base/res/themes/Hotdog Stand.ini2
-rw-r--r--Base/res/themes/Joi.ini2
-rw-r--r--Base/res/themes/Nord.ini2
-rw-r--r--Base/res/themes/Redmond 2000.ini2
-rw-r--r--Base/res/themes/Redmond.ini2
-rw-r--r--Base/res/themes/Silver.ini2
-rw-r--r--Base/res/themes/Sunshine.ini2
-rw-r--r--Base/res/themes/Xmas.ini2
-rw-r--r--Libraries/LibGfx/Palette.h2
-rw-r--r--Libraries/LibGfx/SystemTheme.h2
15 files changed, 30 insertions, 0 deletions
diff --git a/Base/res/themes/Basalt.ini b/Base/res/themes/Basalt.ini
index fb5b2553ec..a9f40535ad 100644
--- a/Base/res/themes/Basalt.ini
+++ b/Base/res/themes/Basalt.ini
@@ -20,6 +20,8 @@ HighlightWindowBorder2=#3f2f0f
HighlightWindowTitle=white
HighlightWindowTitleShadow=#00000000
HighlightWindowTitleStripes=#00000000
+HighlightSearching=#ffff00
+HighlightSearchingText=black
MenuBase=#1f1f1f
MenuBaseText=white
MenuStripe=#171717
diff --git a/Base/res/themes/Dark.ini b/Base/res/themes/Dark.ini
index 130d4b8879..8d55e175ba 100644
--- a/Base/res/themes/Dark.ini
+++ b/Base/res/themes/Dark.ini
@@ -12,6 +12,8 @@ MovingWindowTitle=white
HighlightWindowBorder1=#a10d0d
HighlightWindowBorder2=#fabbbb
HighlightWindowTitle=white
+HighlightSearching=#ffff00
+HighlightSearchingText=black
MenuBase=#444444
MenuBaseText=white
MenuStripe=#323232
diff --git a/Base/res/themes/Default.ini b/Base/res/themes/Default.ini
index ce5ff7995e..0a6127f74e 100644
--- a/Base/res/themes/Default.ini
+++ b/Base/res/themes/Default.ini
@@ -20,6 +20,8 @@ HighlightWindowBorder2=#fabbbb
HighlightWindowTitle=white
HighlightWindowTitleShadow=#600707
HighlightWindowTitleStripes=#a10d0d
+HighlightSearching=#ffff00
+HighlightSearchingText=black
MenuBase=white
MenuBaseText=black
MenuStripe=#bbb7b0
diff --git a/Base/res/themes/Discord.ini b/Base/res/themes/Discord.ini
index 07fdb818ec..72d4b08886 100644
--- a/Base/res/themes/Discord.ini
+++ b/Base/res/themes/Discord.ini
@@ -12,6 +12,8 @@ MovingWindowTitle=white
HighlightWindowBorder1=#a10d0d
HighlightWindowBorder2=#fabbbb
HighlightWindowTitle=white
+HighlightSearching=#ffff00
+HighlightSearchingText=black
MenuBase=#23272A
MenuBaseText=white
MenuStripe=#23272A
diff --git a/Base/res/themes/Faux Pas.ini b/Base/res/themes/Faux Pas.ini
index c680579821..5526d67838 100644
--- a/Base/res/themes/Faux Pas.ini
+++ b/Base/res/themes/Faux Pas.ini
@@ -12,6 +12,8 @@ MovingWindowTitle=white
HighlightWindowBorder1=black
HighlightWindowBorder2=black
HighlightWindowTitle=white
+HighlightSearching=#7cfc00
+HighlightSearchingText=black
MenuBase=#a0a0a0
MenuBaseText=black
MenuStripe=#505050
diff --git a/Base/res/themes/Hotdog Stand.ini b/Base/res/themes/Hotdog Stand.ini
index 95bfb278d9..8fae9dd980 100644
--- a/Base/res/themes/Hotdog Stand.ini
+++ b/Base/res/themes/Hotdog Stand.ini
@@ -12,6 +12,8 @@ MovingWindowTitle=white
HighlightWindowBorder1=black
HighlightWindowBorder2=black
HighlightWindowTitle=white
+HighlightSearching=#ffff00
+HighlightSearchingText=black
MenuBase=white
MenuBaseText=black
MenuStripe=red
diff --git a/Base/res/themes/Joi.ini b/Base/res/themes/Joi.ini
index 4dab14f0c5..8b8e08b8e9 100644
--- a/Base/res/themes/Joi.ini
+++ b/Base/res/themes/Joi.ini
@@ -12,6 +12,8 @@ MovingWindowTitle=white
HighlightWindowBorder1=#3D33AB
HighlightWindowBorder2=#4C44AB
HighlightWindowTitle=white
+HighlightSearching=#ffff00
+HighlightSearchingText=black
MenuBase=#150C87
MenuBaseText=white
MenuStripe=#801654
diff --git a/Base/res/themes/Nord.ini b/Base/res/themes/Nord.ini
index 2fc97fe293..5b16aecba1 100644
--- a/Base/res/themes/Nord.ini
+++ b/Base/res/themes/Nord.ini
@@ -12,6 +12,8 @@ MovingWindowTitle=white
HighlightWindowBorder1=#4c566a
HighlightWindowBorder2=#4c566a
HighlightWindowTitle=white
+HighlightSearching=#ffff00
+HighlightSearchingText=black
MenuBase=#434c5e
MenuBaseText=white
MenuStripe=#4c566a
diff --git a/Base/res/themes/Redmond 2000.ini b/Base/res/themes/Redmond 2000.ini
index b8d422452a..410a075062 100644
--- a/Base/res/themes/Redmond 2000.ini
+++ b/Base/res/themes/Redmond 2000.ini
@@ -16,6 +16,8 @@ HighlightWindowBorder1=#0d0da1
HighlightWindowBorder2=#bbbbfa
HighlightWindowTitle=white
HighlightWindowTitleStripes=#00000000
+HighlightSearching=#ffff00
+HighlightSearchingText=black
MenuBase=white
MenuBaseText=black
MenuStripe=#bbb7b0
diff --git a/Base/res/themes/Redmond.ini b/Base/res/themes/Redmond.ini
index 3a1b81d128..5781f25a96 100644
--- a/Base/res/themes/Redmond.ini
+++ b/Base/res/themes/Redmond.ini
@@ -16,6 +16,8 @@ HighlightWindowBorder1=#a10d0d
HighlightWindowBorder2=#a10d0d
HighlightWindowTitle=white
HighlightWindowTitleStripes=#00000000
+HighlightSearching=#ffff00
+HighlightSearchingText=black
MenuBase=#bfb8bf
MenuBaseText=black
MenuStripe=#bfb8bf
diff --git a/Base/res/themes/Silver.ini b/Base/res/themes/Silver.ini
index 5cac5c516e..179af00e0a 100644
--- a/Base/res/themes/Silver.ini
+++ b/Base/res/themes/Silver.ini
@@ -12,6 +12,8 @@ MovingWindowTitle=black
HighlightWindowBorder1=#cacaca
HighlightWindowBorder2=#9a9a9a
HighlightWindowTitle=black
+HighlightSearching=#7cfc00
+HighlightSearchingText=black
MenuBase=#dedede
MenuBaseText=black
MenuStripe=#dedede
diff --git a/Base/res/themes/Sunshine.ini b/Base/res/themes/Sunshine.ini
index 52ffcae6e3..4aa342ddff 100644
--- a/Base/res/themes/Sunshine.ini
+++ b/Base/res/themes/Sunshine.ini
@@ -12,6 +12,8 @@ MovingWindowTitle=white
HighlightWindowBorder1=#b24d7a
HighlightWindowBorder2=#b24d7a
HighlightWindowTitle=white
+HighlightSearching=#ffff00
+HighlightSearchingText=black
MenuBase=#aeb2c3
MenuBaseText=black
MenuStripe=#aeb2c3
diff --git a/Base/res/themes/Xmas.ini b/Base/res/themes/Xmas.ini
index 2cb83429ce..ddf256ff64 100644
--- a/Base/res/themes/Xmas.ini
+++ b/Base/res/themes/Xmas.ini
@@ -12,6 +12,8 @@ MovingWindowTitle=white
HighlightWindowBorder1=#a76f24
HighlightWindowBorder2=#eec666
HighlightWindowTitle=white
+HighlightSearching=#ffff00
+HighlightSearchingText=black
MenuBase=#57691f
MenuBaseText=white
MenuStripe=#2b3018
diff --git a/Libraries/LibGfx/Palette.h b/Libraries/LibGfx/Palette.h
index 87044e7e83..dfd47e90ff 100644
--- a/Libraries/LibGfx/Palette.h
+++ b/Libraries/LibGfx/Palette.h
@@ -90,6 +90,8 @@ public:
Color highlight_window_title() const { return color(ColorRole::HighlightWindowTitle); }
Color highlight_window_title_stripes() const { return color(ColorRole::HighlightWindowTitleStripes); }
Color highlight_window_title_shadow() const { return color(ColorRole::HighlightWindowTitleShadow); }
+ Color highlight_searching() const { return color(ColorRole::HighlightSearching); }
+ Color highlight_searching_text() const { return color(ColorRole::HighlightSearchingText); }
Color menu_stripe() const { return color(ColorRole::MenuStripe); }
Color menu_base() const { return color(ColorRole::MenuBase); }
Color menu_base_text() const { return color(ColorRole::MenuBaseText); }
diff --git a/Libraries/LibGfx/SystemTheme.h b/Libraries/LibGfx/SystemTheme.h
index a81cba7d7b..24845faa58 100644
--- a/Libraries/LibGfx/SystemTheme.h
+++ b/Libraries/LibGfx/SystemTheme.h
@@ -51,6 +51,8 @@ namespace Gfx {
C(HighlightWindowTitle) \
C(HighlightWindowTitleShadow) \
C(HighlightWindowTitleStripes) \
+ C(HighlightSearching) \
+ C(HighlightSearchingText) \
C(HoverHighlight) \
C(InactiveSelection) \
C(InactiveSelectionText) \