summaryrefslogtreecommitdiffstats
path: root/core/css/styles.scss
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2019-06-21 16:37:34 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2019-07-05 15:51:23 +0200
commit3cca2bbcf14ee128d26ebfc61224b1e112e51086 (patch)
treead77ec670dc645fbbba11ff24d8b228356179140 /core/css/styles.scss
parent1542f464375107ac934f677aaf172597fab2d4a6 (diff)
downloadnextcloud-server-3cca2bbcf14ee128d26ebfc61224b1e112e51086.tar.gz
nextcloud-server-3cca2bbcf14ee128d26ebfc61224b1e112e51086.zip
Use theme colors for text selection
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/css/styles.scss')
-rw-r--r--core/css/styles.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss
index 88361111d92..5cad35d7784 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -159,6 +159,14 @@ body {
border-radius: var(--border-radius);
}
+/* SELECTION */
+
+::selection {
+ background-color: var(--color-primary-element);
+ color: var(--color-primary-text);
+}
+
+
/* CONTENT ------------------------------------------------------------------ */
#controls {