From 6ef483ef743c3fb6a157a5dc6cc1b7b80de0a89e Mon Sep 17 00:00:00 2001 From: Juan Martin Date: Wed, 24 May 2023 09:20:45 -0300 Subject: [PATCH] add palette --- src/_ui.scss | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/_ui.scss b/src/_ui.scss index 91a9b42..959fc2a 100644 --- a/src/_ui.scss +++ b/src/_ui.scss @@ -1,5 +1,28 @@ @use "./mixins" as *; @use "./variables" as *; +@use "sass:map"; + +$white: #ffffff; + +$theme-colors: ( + "light": #c7e9fe, + "dark": #000300, + "primary": #e23a48, + "secondary": #685ca0, + "info": #7085b7, + "accent1": #a0dbf7, + "accent2": #e7508a, + "accent3": #ccc1d3, + "success": #6fb72b, + "warning": #fec785, + "danger": #f8166b, +); + +.alert { + // Instead of $theme-color-#{warning} + // https://huemint.com/bootstrap-plus/ + background-color: map.get($theme-colors, "warning"); +} /* Initial Reset */