diff --git a/client/src/pages/instrument.vue b/client/src/pages/instrument.vue index cb269f20..16a648f4 100644 --- a/client/src/pages/instrument.vue +++ b/client/src/pages/instrument.vue @@ -30,9 +30,7 @@ import INSTRUMENT_QUERY from '@/graphql/gql/queries/instrumentQuery.gql'; import { defineAsyncComponent } from 'vue'; -const ContentComponent = defineAsyncComponent(() => - import('@/components/content-blocks/ContentComponent.vue') -); +const ContentComponent = defineAsyncComponent(() => import('@/components/content-blocks/ContentComponent.vue')); export default { apollo: { @@ -101,7 +99,7 @@ export default { } .secondary { - color: $color-accent-2; + color: $secondary-color; font-weight: 600; } } diff --git a/client/src/styles/_variables.scss b/client/src/styles/_variables.scss index bfab997e..fe1456de 100644 --- a/client/src/styles/_variables.scss +++ b/client/src/styles/_variables.scss @@ -45,6 +45,8 @@ $color-white: #ffffff !default; $header-color: $color-charcoal-dark; $intro-color: $color-silver-dark; +$secondary-color: $color-accent-2 !default; + $sans-serif-font-family: 'Montserrat', Arial, sans-serif; $serif-font-family: 'ff-meta-serif-web-pro', serif; diff --git a/client/src/styles/themes/_my-dha.scss b/client/src/styles/themes/_my-dha.scss index 358adf6b..7a423c25 100644 --- a/client/src/styles/themes/_my-dha.scss +++ b/client/src/styles/themes/_my-dha.scss @@ -20,3 +20,5 @@ $color-accent-5: #e2eef8; $color-brand-dark: #15893e; $color-brand: #1bab4e; $color-brand-light: #d8f3e2; + +$secondary-color: $color-accent-4; diff --git a/client/src/styles/themes/_my-dhf.scss b/client/src/styles/themes/_my-dhf.scss index 7c8f101b..4d006caa 100644 --- a/client/src/styles/themes/_my-dhf.scss +++ b/client/src/styles/themes/_my-dhf.scss @@ -20,3 +20,5 @@ $color-accent-5: #e2eef8; $color-brand-dark: #0f7eb3; $color-brand: #139ee0; $color-brand-light: #d0edfb; + +$secondary-color: $color-accent-4; diff --git a/client/src/styles/themes/_my-kv.scss b/client/src/styles/themes/_my-kv.scss index 06a1e970..1dcd35aa 100644 --- a/client/src/styles/themes/_my-kv.scss +++ b/client/src/styles/themes/_my-kv.scss @@ -20,3 +20,5 @@ $color-accent-5: #e2eef8; $color-brand-dark: #1458c8; $color-brand: #2075ff; $color-brand-light: #ccdfff; + +$secondary-color: $color-accent-1; diff --git a/server/core/wagtail_hooks.py b/server/core/wagtail_hooks.py index e78aa834..3f5dccf8 100644 --- a/server/core/wagtail_hooks.py +++ b/server/core/wagtail_hooks.py @@ -30,8 +30,8 @@ def register_brand_feature(features): # 2. Configure how Draftail handles the feature in its toolbar. control = { "type": type_, - "label": "Grün", - "description": "Grün", + "label": "Auszeichung Primär", + "description": "Auszeichung Primär", "style": {"color": "#17A887", "font-weight": "600"}, } @@ -68,8 +68,8 @@ def register_secondary_feature(features): # 2. Configure how Draftail handles the feature in its toolbar. control = { "type": type_, - "label": "Blau", - "description": "Blau", + "label": "Auszeichnung sekundär", + "description": "Auszeichnung sekundär", "style": {"color": "#078CC6", "font-weight": "600"}, }