From d7dc06fcb75334564059956b8353d2615d6d2520 Mon Sep 17 00:00:00 2001 From: xaralis <filip.varecha@fragaria.cz> Date: Mon, 27 Jul 2020 08:58:21 +0200 Subject: [PATCH] Improve user selection color --- source/css/style.pcss | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/source/css/style.pcss b/source/css/style.pcss index 6e90e65..b8c3e15 100644 --- a/source/css/style.pcss +++ b/source/css/style.pcss @@ -15,7 +15,7 @@ */ @import "tailwindcss/components"; - /** +/** * Custom components */ @import "./atoms/avatar.pcss"; @@ -65,11 +65,15 @@ */ @import "tailwindcss/utilities"; -/** - * Custom utilities - */ -@import "./utils.pcss"; +::-moz-selection { + color: theme("colors.white"); + background: theme("colors.grey.500"); +} +::selection { + color: theme("colors.white"); + background: theme("colors.grey.500"); +} :root { font-size: 16px; @@ -96,3 +100,8 @@ a.icon-link:hover { [v-cloak] { @apply hidden; } + +/** + * Custom utilities + */ +@import "./utils.pcss"; -- GitLab