From 7e01d2083d3e26d5239a332cf12e520468a39565 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 4 Mar 2024 19:53:45 +0200 Subject: proper selection colors --- src/components/root.style.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/components/root.style.js') diff --git a/src/components/root.style.js b/src/components/root.style.js index 40c53172..3e840a52 100644 --- a/src/components/root.style.js +++ b/src/components/root.style.js @@ -21,6 +21,7 @@ export default { '--fg': 'color | #182230', '--text': 'color | #b9b9ba', '--link': 'color | #d8a070', + '--accent': 'color | #d8a070', '--cRed': 'color | #FF0000', '--cBlue': 'color | #0095ff', '--cGreen': 'color | #0fa00f', @@ -32,7 +33,11 @@ export default { // Fallback no-background-image color // (also useful in some other places like scrollbars) - '--wallpaper': 'color | --bg, -2' + '--wallpaper': 'color | --bg, -2', + + // Selection colors + '--selectionBackground': 'color | --accent', + '--selectionText': 'color | $textColor(--accent, --text)' } } ] -- cgit v1.2.3-70-g09d2