From 4697df3879f9e700069c0ec4fed4a6f7af18f0c1 Mon Sep 17 00:00:00 2001 From: Yvo Brevoort Date: Tue, 3 Dec 2024 21:59:33 +0100 Subject: [PATCH] fix mapping, remove ds-corrections --- .../1-styling/componentCss/simplycode-ds-mapping.css | 2 ++ .../simply-toolbar/componentCss/simply-toolbar.css | 4 ++-- .../simply-toolbar/componentCss/z-ds-corrections.css | 4 ---- www/api/data/generated.html | 12 ++++-------- 4 files changed, 8 insertions(+), 14 deletions(-) delete mode 100644 www/api/data/components/simply-toolbar/componentCss/z-ds-corrections.css diff --git a/www/api/data/components/1-styling/componentCss/simplycode-ds-mapping.css b/www/api/data/components/1-styling/componentCss/simplycode-ds-mapping.css index c01d938..699deb4 100644 --- a/www/api/data/components/1-styling/componentCss/simplycode-ds-mapping.css +++ b/www/api/data/components/1-styling/componentCss/simplycode-ds-mapping.css @@ -20,4 +20,6 @@ --ds-support-light: #07DE07; --ds-support-contrast: #FFF; --ds-support-gradient: linear-gradient( to left, var(--ds-support-light), var(--ds-support-dark) ); + + --ds-heading-font: var(--font-family); } diff --git a/www/api/data/components/simply-toolbar/componentCss/simply-toolbar.css b/www/api/data/components/simply-toolbar/componentCss/simply-toolbar.css index 41beef2..1000399 100644 --- a/www/api/data/components/simply-toolbar/componentCss/simply-toolbar.css +++ b/www/api/data/components/simply-toolbar/componentCss/simply-toolbar.css @@ -1,12 +1,12 @@ :root { --simply-toobar-height: 60px; - + --simply-toolbar-primary: var(--highlight-dark); --simply-toolbar-button-font: arial, helvetica, sans-serif; --simply-toolbar-button-font-size: 11px; --simply-toolbar-button-width: 60px; --simply-toolbar-button-height: var(--simply-toolbar-height); --simply-toolbar-button-color: var(--ds-white); - --simply-toolbar-button-primary: var(--ds-primary); + --simply-toolbar-button-primary: var(--simply-toolbar-primary); --simply-toolbar-title-width: 70px; --simply-toolbar-title-height: var(--simply-toolbar-height); } diff --git a/www/api/data/components/simply-toolbar/componentCss/z-ds-corrections.css b/www/api/data/components/simply-toolbar/componentCss/z-ds-corrections.css deleted file mode 100644 index c8492e8..0000000 --- a/www/api/data/components/simply-toolbar/componentCss/z-ds-corrections.css +++ /dev/null @@ -1,4 +0,0 @@ -:root { - --simply-toolbar-button-primary: var(--highlight-dark); - --ds-heading-font: var(--font-family); -} diff --git a/www/api/data/generated.html b/www/api/data/generated.html index 52490a1..21afc1a 100644 --- a/www/api/data/generated.html +++ b/www/api/data/generated.html @@ -538,6 +538,8 @@ --ds-support-light: #07DE07; --ds-support-contrast: #FFF; --ds-support-gradient: linear-gradient( to left, var(--ds-support-light), var(--ds-support-dark) ); + + --ds-heading-font: var(--font-family); } /* style */ @@ -1099,13 +1101,13 @@ /* simply-toolbar */ :root { --simply-toobar-height: 60px; - + --simply-toolbar-primary: var(--highlight-dark); --simply-toolbar-button-font: arial, helvetica, sans-serif; --simply-toolbar-button-font-size: 11px; --simply-toolbar-button-width: 60px; --simply-toolbar-button-height: var(--simply-toolbar-height); --simply-toolbar-button-color: var(--ds-white); - --simply-toolbar-button-primary: var(--ds-primary); + --simply-toolbar-button-primary: var(--simply-toolbar-primary); --simply-toolbar-title-width: 70px; --simply-toolbar-title-height: var(--simply-toolbar-height); } @@ -1184,12 +1186,6 @@ background: linear-gradient(var(--ds-grey-90) 0%, var(--ds-grey-90) 95%, black 100%); color: var(--ds-white); } - /* z-ds-corrections */ - :root { - --simply-toolbar-button-primary: var(--highlight-dark); - --ds-heading-font: var(--font-family); - } -