We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd2687d commit 5a8aafdCopy full SHA for 5a8aafd
3 files changed
packages/panda-san/src/core/colors.scss
@@ -0,0 +1,5 @@
1
+@each $color, $color-value in $colors {
2
+ .is-#{$color} {
3
+ color: $color-value;
4
+ }
5
+};
packages/panda-san/src/core/index.scss
@@ -1,3 +1,4 @@
+@import 'colors';
@import 'reset';
@import 'font';
@import 'utils';
packages/panda-san/src/variables/colors.scss
@@ -1,12 +1,25 @@
$yellow: #ffcf00;
-$peach: #ee2a3e;
+$red: #ee2a3e;
$blue: #032e53;
$green: #00a12f;
$grey: #d3d3d3;
6
$white: #fff;
7
$black: #000;
8
9
+$primary-color: $yellow;
10
+
11
$navbar-color: $blue;
-$navbar-menu-color: $peach;
12
+$navbar-menu-color: $red;
13
14
$link-color: $white;
15
16
+$colors: (
17
+ primary: $yellow,
18
+ yellow: $yellow,
19
+ red: $red,
20
+ blue: $blue,
21
+ green: $green,
22
+ grey: $grey,
23
+ white: $white,
24
+ black: $black
25
+);
0 commit comments