From 73deb8d65e070dc031e9e00729a7d6f7cca075bd Mon Sep 17 00:00:00 2001 From: Anton Nesterov Date: Fri, 2 Aug 2024 16:33:07 +0200 Subject: [PATCH] added color classes --- blocks/themes/uc-basic/theme.css | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/blocks/themes/uc-basic/theme.css b/blocks/themes/uc-basic/theme.css index 5c391278..5f1474a9 100644 --- a/blocks/themes/uc-basic/theme.css +++ b/blocks/themes/uc-basic/theme.css @@ -230,3 +230,33 @@ --uc-simple-btn-hover: var(--uc-simple-btn-hover-dark); --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-dark); } + +:where(.uc-purple) { + --uc-primary-oklch-light: 59% 0.22 300; + --uc-primary-oklch-dark: 69% 0.1768 300; +} + +:where(.uc-red) { + --uc-primary-oklch-light: 59% 0.22 21; + --uc-primary-oklch-dark: 69% 0.1768 21; +} + +:where(.uc-orange) { + --uc-primary-oklch-light: 59% 0.1724 51.88; + --uc-primary-oklch-dark: 69% 0.1768 51.88; +} + +:where(.uc-green) { + --uc-primary-oklch-light: 59% 0.1724 130; + --uc-primary-oklch-dark: 69% 0.1768 130; +} + +:where(.uc-turquoise) { + --uc-primary-oklch-light: 59% 0.1523 174; + --uc-primary-oklch-dark: 69% 0.1768 174; +} + +:where(.uc-gray) { + --uc-primary-oklch-light: 10% 0 0; + --uc-primary-oklch-dark: 97% 0 0; +}