From 276a1d30c7ee4b39d2a946104006a002136f8cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8jberg?= Date: Fri, 8 Apr 2022 13:01:56 -0400 Subject: [PATCH] Remove more direct color settings --- src/css/code/syntax.css | 2 +- src/css/code/workspace-item.css | 2 +- src/css/themes/unison-light.css | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/css/code/syntax.css b/src/css/code/syntax.css index 53e6ff2..5ebe119 100644 --- a/src/css/code/syntax.css +++ b/src/css/code/syntax.css @@ -26,7 +26,7 @@ code a { } code a:hover { - background: var(--color-gray-lighten-50); + background: var(--color-syntax-link-hover-bg); text-decoration: none; } diff --git a/src/css/code/workspace-item.css b/src/css/code/workspace-item.css index f069e36..d49bc0b 100644 --- a/src/css/code/workspace-item.css +++ b/src/css/code/workspace-item.css @@ -170,7 +170,7 @@ .workspace-item header .error-header .icon.warn { font-size: 1rem; - color: var(--color-pink-1); + color: var(--color-main-error-fg); } .workspace-item .content .gutter { diff --git a/src/css/themes/unison-light.css b/src/css/themes/unison-light.css index b54428e..f9c6a7e 100644 --- a/src/css/themes/unison-light.css +++ b/src/css/themes/unison-light.css @@ -274,6 +274,7 @@ --color-syntax-constructor: var(--color-blue-1); --color-syntax-constructor-namespace: var(--color-blue-2); --color-syntax-text: var(--color-green-1); + --color-syntax-link-hover-bg: var(--color-gray-lighten-50); --color-syntax-monochrome-subtle: var(--color-main-subtle-fg); --color-syntax-monochrome-base: var(--color-gray-base);