From 859eaccd6eb68afb98aede9ee26a5867a46a3242 Mon Sep 17 00:00:00 2001
From: Simon C
Date: Tue, 23 May 2023 01:14:01 +0200
Subject: [PATCH] fix: Color theme & add alert text
---
assets/scss/common/_variables.scss | 4 ++--
config/_default/module.toml | 8 ++++----
config/_default/params.toml | 4 ++--
layouts/index.html | 2 +-
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/assets/scss/common/_variables.scss b/assets/scss/common/_variables.scss
index 5a5d353..a840230 100644
--- a/assets/scss/common/_variables.scss
+++ b/assets/scss/common/_variables.scss
@@ -165,7 +165,7 @@ $alert-color-scale: 0;
// docsearch
$dropdown-config: (
- main-color: $purple,
+ main-color: $primary,
layout-type: normal,
layout-width: normal,
layout-alignment: align,
@@ -183,7 +183,7 @@ $dropdown-config: (
title-color: $black,
subtitle-color: $black,
text-color: $black,
- highlight-color: $purple,
+ highlight-color: $primary,
highlight-opacity: 0.1,
highlight-type: underline
);
diff --git a/config/_default/module.toml b/config/_default/module.toml
index ea4b46d..66fcd50 100644
--- a/config/_default/module.toml
+++ b/config/_default/module.toml
@@ -3,6 +3,10 @@
min = "0.80.0"
max = ""
+[[mounts]]
+ source = "assets"
+ target = "assets"
+
[[mounts]]
source = "node_modules/@hyas/doks/archetypes"
target = "archetypes"
@@ -39,10 +43,6 @@
source = "node_modules/mermaid"
target = "assets/js/vendor/mermaid"
-[[mounts]]
- source = "assets"
- target = "assets"
-
[[mounts]]
source = "static"
target = "static"
diff --git a/config/_default/params.toml b/config/_default/params.toml
index f939033..4e41efc 100644
--- a/config/_default/params.toml
+++ b/config/_default/params.toml
@@ -71,10 +71,10 @@ footer = "Réalisé par Weko avec ❤️ et Hé
copyRight = "Copyright (c) 2023 Weko"
# Alert
-alert = false
+alert = true
alertDismissable = true
# alertText = "Introducing the Doks child theme, several DX + UX updates, and more! Check out Doks v0.2"
-alertText = "Introducing the Doks child theme, several DX + UX updates, and more! Check out Doks v0.2"
+alertText = "Ce site est en construction !"
# Edit Page
# repoHost [Github | Gitea | GitLab | Bitbucket | BitbucketServer ] is used for building the edit link based on git hoster
diff --git a/layouts/index.html b/layouts/index.html
index 09e3aed..0b1553f 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -40,7 +40,7 @@
trier, pivoter, supprimer, extraire des pages !