From f305dc9714e99d9c079b63ed12e62a0516687e4b Mon Sep 17 00:00:00 2001 From: FlorianEisenmenger Date: Wed, 1 Jul 2026 12:19:11 +0200 Subject: [PATCH] small fixes --- .../_global/styles/theme-colorvariant-07.scss | 2 ++ .../_global/styles/theme-colorvariant-08.scss | 2 ++ .../stories/_global/styles/themes.config.js | 20 ++++++------- .../stories/_global/styles/themes.scss | 4 +-- .../stories/components/infobox/infobox.scss | 28 +++++++++---------- .../stories/components/teaser/teaser.scss | 2 +- .../stories/pages/article/ArticlePage.js | 4 +-- 7 files changed, 33 insertions(+), 29 deletions(-) diff --git a/gfi-ihk-2024/stories/_global/styles/theme-colorvariant-07.scss b/gfi-ihk-2024/stories/_global/styles/theme-colorvariant-07.scss index feb0b0a..7d287df 100644 --- a/gfi-ihk-2024/stories/_global/styles/theme-colorvariant-07.scss +++ b/gfi-ihk-2024/stories/_global/styles/theme-colorvariant-07.scss @@ -1,5 +1,7 @@ // IMPORTANT: Change primary color in _svg-vars.scss! +// IMPORTANT: This color variant is NOT active anymore. + [data-theme="colorvariant-07"] { // swatches / primary --swatches-primary-600: #9F2000; diff --git a/gfi-ihk-2024/stories/_global/styles/theme-colorvariant-08.scss b/gfi-ihk-2024/stories/_global/styles/theme-colorvariant-08.scss index cc02188..f14fbb1 100644 --- a/gfi-ihk-2024/stories/_global/styles/theme-colorvariant-08.scss +++ b/gfi-ihk-2024/stories/_global/styles/theme-colorvariant-08.scss @@ -1,5 +1,7 @@ // IMPORTANT: Change primary color in _svg-vars.scss! +// IMPORTANT: This color variant is NOT active anymore. + [data-theme="colorvariant-08"] { // swatches / primary --swatches-primary-600: #4B6A00; diff --git a/gfi-ihk-2024/stories/_global/styles/themes.config.js b/gfi-ihk-2024/stories/_global/styles/themes.config.js index 49e877b..17cb399 100644 --- a/gfi-ihk-2024/stories/_global/styles/themes.config.js +++ b/gfi-ihk-2024/stories/_global/styles/themes.config.js @@ -62,16 +62,16 @@ export const themes = [ value: 'colorvariant-06', file: 'theme-colorvariant-06.scss', }, - { - name: 'Farbvariante 07', - value: 'colorvariant-07', - file: 'theme-colorvariant-07.scss', - }, - { - name: 'Farbvariante 08', - value: 'colorvariant-08', - file: 'theme-colorvariant-08.scss', - }, + // { + // name: 'Farbvariante 07', + // value: 'colorvariant-07', + // file: 'theme-colorvariant-07.scss', + // }, + // { + // name: 'Farbvariante 08', + // value: 'colorvariant-08', + // file: 'theme-colorvariant-08.scss', + // }, { name: 'Farbvariante 09', value: 'colorvariant-09', diff --git a/gfi-ihk-2024/stories/_global/styles/themes.scss b/gfi-ihk-2024/stories/_global/styles/themes.scss index 0157ed3..76778cf 100644 --- a/gfi-ihk-2024/stories/_global/styles/themes.scss +++ b/gfi-ihk-2024/stories/_global/styles/themes.scss @@ -13,7 +13,7 @@ @use '../../_global/styles/theme-colorvariant-04' as *; @use '../../_global/styles/theme-colorvariant-05' as *; @use '../../_global/styles/theme-colorvariant-06' as *; -@use '../../_global/styles/theme-colorvariant-07' as *; -@use '../../_global/styles/theme-colorvariant-08' as *; +//@use '../../_global/styles/theme-colorvariant-07' as *; +//@use '../../_global/styles/theme-colorvariant-08' as *; @use '../../_global/styles/theme-colorvariant-09' as *; @use '../../_global/styles/theme-colorvariant-15' as *; diff --git a/gfi-ihk-2024/stories/components/infobox/infobox.scss b/gfi-ihk-2024/stories/components/infobox/infobox.scss index 1aba17b..21997bb 100644 --- a/gfi-ihk-2024/stories/components/infobox/infobox.scss +++ b/gfi-ihk-2024/stories/components/infobox/infobox.scss @@ -40,20 +40,20 @@ article.col div.strong { } } - &.error { - background-color: var(--feedback-error-light); - color: var(--feedback-error); - &:after { - background: var(--feedback-error); - } - } - - &.warning { - background-color: var(--feedback-warning-light); - &:after { - background: var(--feedback-warning); - } - } + //&.error { + // background-color: var(--feedback-error-light); + // color: var(--feedback-error); + // &:after { + // background: var(--feedback-error); + // } + //} + // + //&.warning { + // background-color: var(--feedback-warning-light); + // &:after { + // background: var(--feedback-warning); + // } + //} > *:first-child { margin-top: -0.4em; diff --git a/gfi-ihk-2024/stories/components/teaser/teaser.scss b/gfi-ihk-2024/stories/components/teaser/teaser.scss index 250397c..fda72e9 100644 --- a/gfi-ihk-2024/stories/components/teaser/teaser.scss +++ b/gfi-ihk-2024/stories/components/teaser/teaser.scss @@ -137,7 +137,7 @@ margin: 10px 0 0 0; width: calc(100vw - 80px); overflow: hidden; - height: 38px; + min-height: 38px; display: block; font-weight: 400 !important; color: var(--color-text) !important; diff --git a/gfi-ihk-2024/stories/pages/article/ArticlePage.js b/gfi-ihk-2024/stories/pages/article/ArticlePage.js index 673ba35..a56a5ec 100644 --- a/gfi-ihk-2024/stories/pages/article/ArticlePage.js +++ b/gfi-ihk-2024/stories/pages/article/ArticlePage.js @@ -57,8 +57,8 @@ export const createArticlePage = createElement('p', [], lorem2, main); main.appendChild(createInfobox({type: 'success'})); - main.appendChild(createInfobox({type: 'warning'})); - main.appendChild(createInfobox({type: 'error'})); + // main.appendChild(createInfobox({type: 'warning'})); + // main.appendChild(createInfobox({type: 'error'})); main.appendChild(createSurvey({})); main.appendChild(createLinkCollection({}));