From 7b882ecb6b4c9f72ac884a843087bb19ab915d92 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Fri, 30 Jul 2021 09:37:08 +0200 Subject: [PATCH] chore: move theme color var definition in palette.scss --- src/scss/_colors.css | 20 -------------------- src/scss/_palette.scss | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/src/scss/_colors.css b/src/scss/_colors.css index ccbdd8c..0639431 100644 --- a/src/scss/_colors.css +++ b/src/scss/_colors.css @@ -57,26 +57,6 @@ } } - // Couleurs du theme - - $color-link: get-color("link"); - $color-selection: get-color("selection"); - $color-mark: get-color("mark"); - $color-font: get-color("font"); - $color-font-light: get-color("font-light"); - - $color-primary: get-color("primary"); - $color-secondary: get-color("secondary"); - $color-warning: get-color("warning"); - $color-danger: get-color("danger"); - $color-info: get-color("info"); - $color-success: get-color("success"); - - $color-muted: get-color("muted"); - - $color-background: get-color("background"); - $color-background-alt: get-color("background-alt"); - // fonction texte et background @mixin text-color($text-color) { diff --git a/src/scss/_palette.scss b/src/scss/_palette.scss index f003f38..2940fab 100644 --- a/src/scss/_palette.scss +++ b/src/scss/_palette.scss @@ -45,3 +45,26 @@ $semantics: ( "info":"skyblue", "success":"green", "muted":"grey"); + +// **Couleurs du theme** +// Ne pas retirer ces couleurs, qui +// sont essentielle pour que le framework functionne. +// Pour les modifier, modifier le contenu du tableau $semantics. + +$color-link: get-color("link"); +$color-selection: get-color("selection"); +$color-mark: get-color("mark"); +$color-font: get-color("font"); +$color-font-light: get-color("font-light"); + +$color-primary: get-color("primary"); +$color-secondary: get-color("secondary"); +$color-warning: get-color("warning"); +$color-danger: get-color("danger"); +$color-info: get-color("info"); +$color-success: get-color("success"); + +$color-muted: get-color("muted"); + +$color-background: get-color("background"); +$color-background-alt: get-color("background-alt");