diff --git a/assets/scss/common/_custom.scss b/assets/scss/common/_custom.scss index cc4e2b5d38c873069af94770254bdc15d0f637f7..8912317c58e518c17e53f352719a8bdc1edbfcb0 100644 --- a/assets/scss/common/_custom.scss +++ b/assets/scss/common/_custom.scss @@ -1 +1,16 @@ -// Put your custom SCSS code here + +@include color-mode(dark) { + .btn-primary{ + background-color: $tetra-green; + + } + +} + + +@include color-mode(light) { + .btn-primary{ + background-color: $tetra-green; + border: $tetra-green; + } +} diff --git a/assets/scss/common/_variables-custom.scss b/assets/scss/common/_variables-custom.scss index 56c9eb79ef2fd0000e5e4a3bb8f3de4d49c8453b..6e58b02b57b71572dd30f421588ee7fa08fe6033 100644 --- a/assets/scss/common/_variables-custom.scss +++ b/assets/scss/common/_variables-custom.scss @@ -1 +1,10 @@ // Put your custom SCSS variables here + +// Doks custom color scheme + +// Light mode +$tetra-green : #506257; + +// Dark mode +$tetra-green : #506257; + diff --git a/config/_default/menus/menus.en.toml b/config/_default/menus/menus.en.toml index 922eb0d438c8ecc15d1e7777a8e6acea82ee3e3d..b04cc5e6086283c4849d65d10a7748438a1330ba 100644 --- a/config/_default/menus/menus.en.toml +++ b/config/_default/menus/menus.en.toml @@ -44,7 +44,7 @@ # pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-x" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 4l11.733 16h4.267l-11.733 -16z"></path><path d="M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772"></path></svg>' # url = "https://twitter.com/getdoks" # weight = 10 -# +# # [[social]] # name = "Discord" # pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-discord" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M8 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"></path><path d="M14 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"></path><path d="M8.5 17c0 1 -1.356 3 -1.832 3c-1.429 0 -2.698 -1.667 -3.333 -3c-.635 -1.667 -.476 -5.833 1.428 -11.5c1.388 -1.015 2.782 -1.34 4.237 -1.5l.975 1.923a11.913 11.913 0 0 1 4.053 0l.972 -1.923c1.5 .16 3.043 .485 4.5 1.5c2 5.667 2.167 9.833 1.5 11.5c-.667 1.333 -2 3 -3.5 3c-.5 0 -2 -2 -2 -3"></path><path d="M7 16.5c3.5 1 6.5 1 10 0"></path></svg>' @@ -52,9 +52,9 @@ # weight = 20 [[social]] - name = "GitHub" + name = "GitLab" pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-github" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5"></path></svg>' - url = "https://github.com/gethyas/doks" + url = "https://gitlab.tetras-libre.fr/" post = "v0.1.0" weight = 30 diff --git a/config/_default/params.toml b/config/_default/params.toml index d65bf08f2f3bfab645a0853aa5785dafe05af697..67d96ed789f8799daeb8d72a4cce8662d5730fc2 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -1,6 +1,6 @@ # Hugo -title = "My Docs" -description = "Congrats on setting up a new Doks project!" +title = "Tetras Doc'" +description = "Bienvenue sur la documentation Tetras-libre!" images = ["cover.png"] # Doks (@hyas/doks-core) diff --git a/content/_index.md b/content/_index.md index c675fd099912e63b481dc1dc2a9bfb21efd4f9b7..9e85d01868a7e8547e6ae1c1cbbe535180d9f1dc 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,12 +1,12 @@ --- -title : "Welcome to Doks" +title : "Tetras Doc'" description: "" -lead: "Congrats on setting up a new Doks project!" +lead: "Bienvenue sur la documentation Tetras-libre ! " date: 2023-09-07T16:33:54+02:00 lastmod: 2023-09-07T16:33:54+02:00 draft: false seo: - title: "Welcome to Doks" # custom title (optional) + title: "Tetras Doc'" # custom title (optional) description: "" # custom description (recommended) canonical: "" # custom canonical URL (optional) noindex: false # false (default) or true diff --git a/hugo_stats.json b/hugo_stats.json index 6b21ecc6fc24164afea87556ddd73e73316a0468..92772ca4540d49ef3566e6b275b88edb80bce2f2 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -4,7 +4,6 @@ "a", "article", "aside", - "base", "body", "button", "circle", @@ -141,6 +140,7 @@ "list-inline-item", "list-unstyled", "list-view", + "m-2", "mb-0", "mb-1", "me-2", @@ -248,9 +248,12 @@ "searchResults", "searchToggleDesktop", "searchToggleMobile", + "section-0cbc6611f5540bd0809a388dc95a615b", "section-45389ee90014e0938cb09409b9a8794d", "section-63d5049791d9d79d86e9a108b0a999ca", "socialMenu", + "sous-titre-test", + "titre-test", "toc" ] } diff --git a/layouts/index.html b/layouts/index.html index 586df4ac196472d8586c8885b8557d2e34487c10..c2a9cc29df0d1830a8085f2d6db61a8c70523f76 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,7 +6,7 @@ </div> <div class="col-lg-9 col-xl-8 text-center"> <p class="lead">{{ .Params.lead | safeHTML }}</p> - <a class="btn btn-primary btn-cta rounded-pill btn-lg my-3" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}guides/example-guide/" role="button">{{ i18n "get_started" }}</a> + <a class="btn btn-primary btn-cta rounded-pill btn-lg my-3" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}guides/example-guide/" role="button">Suivez le guide</a> {{ .Content }} </div> </div> diff --git a/resources/_gen/assets/scss/scss/app.scss_901a6e181e810c5c7347a10d84f037ab.content b/resources/_gen/assets/scss/scss/app.scss_901a6e181e810c5c7347a10d84f037ab.content index 36e291699d8e5d30c2fae8d090c9f0247958d798..d831d62267a53cd4179646b917a4e9ab932cd965 100644 --- a/resources/_gen/assets/scss/scss/app.scss_901a6e181e810c5c7347a10d84f037ab.content +++ b/resources/_gen/assets/scss/scss/app.scss_901a6e181e810c5c7347a10d84f037ab.content @@ -13604,5 +13604,11 @@ body { background-color: {{ site.Params.doks.backGround }}; } */ +[data-bs-theme="dark"] .btn-primary { + background-color: #506257; } + +[data-bs-theme="light"] .btn-primary { + background-color: #506257; + border: #506257; } /*# sourceMappingURL=main.css.map */ \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/app.scss_901a6e181e810c5c7347a10d84f037ab.json b/resources/_gen/assets/scss/scss/app.scss_901a6e181e810c5c7347a10d84f037ab.json index b7e0e227adf87f0c3205bd43f8cce3949eb4741c..21bac4c3779397797708e12953d595e99bc46081 100644 --- a/resources/_gen/assets/scss/scss/app.scss_901a6e181e810c5c7347a10d84f037ab.json +++ b/resources/_gen/assets/scss/scss/app.scss_901a6e181e810c5c7347a10d84f037ab.json @@ -1 +1 @@ -{"Target":"main.125d275d2a536c18fbde9cf8cb1459a99d7ef54754bc1f570ed0fe7a0b4ebb5d4bb5faae540455c369b8362e3eefac380eaaf3dead50ba0f245e56375b3e8e48.css","MediaType":"text/css","Data":{"Integrity":"sha512-El0nXSpTbBj73pz4yxRZqZ1+9UdUvB9XDtD+egtOu11LtfquVARVw2m4Ni4+76w4Dqrz3q1Qug8kXlY3Wz6OSA=="}} \ No newline at end of file +{"Target":"main.76c0247910b9b61ec18b0bfec0e317eebd2a606519cab8829687c0a4fd9e01b56a94a46d42807fbc484003e5bd717bc04076c08de6d276165b13a7c049e79e7a.css","MediaType":"text/css","Data":{"Integrity":"sha512-dsAkeRC5th7Biwv+wOMX7r0qYGUZyriClofApP2eAbVqlKRtQoB/vEhAA+W9cXvAQHbAjebSdhZbE6fASeeeeg=="}} \ No newline at end of file