Skip to content

Commit

Permalink
add css theme color vars
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchox5 committed May 24, 2023
1 parent 6ef483e commit e324f81
Showing 1 changed file with 12 additions and 35 deletions.
47 changes: 12 additions & 35 deletions src/_ui.scss
Original file line number Diff line number Diff line change
@@ -1,45 +1,22 @@
@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 */
//background-color: map.get($theme-colors, "warning");

/* Main elements */
.z-container {
/* Layout vars */
--arc: 360;
--offset-angle: 0;
--direction: 1;
--angle: 1;
--radius: 50px;
--item-number: 1;
--radius-padding: 8px;


/* Color */
--transparent: transparent;
--white: white;
--black: black;
--light: #c7e9fe;
--dark: #000300;
--primary: #e23a48;
--secondary: #685ca0;
--info: #7085b7;
--accent1: #a0dbf7;
--accent2: #e7508a;
--accent3: #ccc1d3;
--success: #6fb72b;
--warning: #fec785;
--danger: #f8166b;
}

0 comments on commit e324f81

Please sign in to comment.