From b0c8c9fe5b4023599324903839f590f07bd03d0c Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Wed, 16 Nov 2022 16:33:56 +0100 Subject: [PATCH] add theme for Eybens (#71373) --- static/eybens/_custom.scss | 17 +++++++++++++++++ static/eybens/_vars.scss | 17 +++++++++++++++++ static/eybens/config.json | 26 ++++++++++++++++++++++++++ static/eybens/style.scss | 6 ++++++ templates/variants/eybens | 1 + 5 files changed, 67 insertions(+) create mode 100644 static/eybens/_custom.scss create mode 100644 static/eybens/_vars.scss create mode 100644 static/eybens/config.json create mode 100644 static/eybens/style.scss create mode 120000 templates/variants/eybens diff --git a/static/eybens/_custom.scss b/static/eybens/_custom.scss new file mode 100644 index 000000000..3979a1950 --- /dev/null +++ b/static/eybens/_custom.scss @@ -0,0 +1,17 @@ +@import '../izi-ici/custom'; + +.custom-cancel-button { + background: black; + color: $primary-color; +} + +.wcs-step--marker { + border-color: black; +} + +#footer { + h1, h2, h3, h4, h5 { + color: white; + } +} + diff --git a/static/eybens/_vars.scss b/static/eybens/_vars.scss new file mode 100644 index 000000000..900e6647d --- /dev/null +++ b/static/eybens/_vars.scss @@ -0,0 +1,17 @@ +$primary-color: #c7d55f; +$secondary-color: black; + +$button-background: #c5377f; +$button-color: white; +$cancel-button-style: '.custom-cancel-button'; + +$title-color: black; + +$wcs-step-current-label-color: black; +$wcs-step-current-marker-color: black; + +$footer-background: #2a2a2a; +$footer-color: $primary-color; +$footer-link-color: $primary-color; + +@import '../izi-ici/vars'; diff --git a/static/eybens/config.json b/static/eybens/config.json new file mode 100644 index 000000000..15bad8d9c --- /dev/null +++ b/static/eybens/config.json @@ -0,0 +1,26 @@ +{ + "label": "Eybens", + "variables": { + "global_title": "Eybens", + "theme_color": "#c7d55f", + "email_header_asset": "emails:logo" + }, + "settings": { + "combo": { + "COMBO_ASSET_SLOTS.update": { + "header:logo": {"label": "Têtière : logo"}, + "emails:logo": {"label": "Emails : logo"}, + "banner:background": {"label": "Bannière : image de fond"}, + "banner:logo": {"label": "Bannière : logo"} + }, + "COMBO_CELL_ASSET_SLOTS.update": { + "data_linkcell": { + "picture": {"prefix": "Icône"} + }, + "wcs_wcsformcell": { + "picture": {"prefix": "Icône"} + } + } + } + } +} diff --git a/static/eybens/style.scss b/static/eybens/style.scss new file mode 100644 index 000000000..2575fb1f8 --- /dev/null +++ b/static/eybens/style.scss @@ -0,0 +1,6 @@ +@charset "UTF-8"; +@import '../includes/fonts/source-sans-pro'; + +@import 'vars'; +@import '../includes/publik'; +@import 'custom'; diff --git a/templates/variants/eybens b/templates/variants/eybens new file mode 120000 index 000000000..c692d14df --- /dev/null +++ b/templates/variants/eybens @@ -0,0 +1 @@ +izi-ici \ No newline at end of file