Skip to content

Commit c9ed9ad

Browse files
committed
added accent-1-3 green accent
1 parent c4694f1 commit c9ed9ad

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

docs/Examples/Color.example.purs

+1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ links"""
8585
"""Input dropdown row hover background color
8686
selected table row background color"""
8787
, colorPanel _.accent1 "Accent 1" """Indicates good or complete status"""
88+
, colorPanel _.accent13 "Accent 1 - 15%" """Faded for focus borders/backgrounds"""
8889
, colorPanel _.accent2 "Accent 2" """Indicates pending, needs attention"""
8990
, colorPanel _.accent3 "Accent 3" """Indicates a problem, warning"""
9091
, colorPanel _.accent33 "Accent 3 - 15%" """Faded for focus borders/backgrounds"""

src/Lumi/Components/Button.purs

+1
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ styles = jss
265265
, "&[data-color=\"primary-3\"]": buttonColorHoverMixin colors.primary3
266266
, "&[data-color=\"primary-4\"]": buttonColorHoverMixin colors.primary4
267267
, "&[data-color=\"accent-1\"]": buttonColorHoverMixin colors.accent1
268+
, "&[data-color=\"accent-1-3\"]": buttonColorHoverMixin colors.accent13
268269
, "&[data-color=\"accent-2\"]": buttonColorHoverMixin colors.accent2
269270
, "&[data-color=\"accent-3\"]": buttonColorHoverMixin colors.accent3
270271
, "&[data-color=\"accent-3-3\"]": buttonColorHoverMixin colors.accent33

src/Lumi/Components/Color.purs

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ type ColorMap a =
3333
, primary4 :: a
3434
, secondary :: a
3535
, accent1 :: a
36+
, accent13 :: a
3637
, accent2 :: a
3738
, accent3 :: a
3839
, accent33 :: a
@@ -58,6 +59,7 @@ colors =
5859
, primary4: rgb 0xed 0xf2 0xfd
5960
, secondary: rgb 0x91 0x90 0x8d
6061
, accent1: rgb 0x49 0xb8 0x60
62+
, accent13: rgb 0xe4 0xf5 0xe7
6163
, accent2: rgb 0xff 0xa5 0x02
6264
, accent3: rgb 0xf1 0x50 0x0d
6365
, accent33: rgb 0xfd 0xe5 0xdb
@@ -83,6 +85,7 @@ colorNames =
8385
, primary4: ColorName "primary-4"
8486
, secondary: ColorName "secondary"
8587
, accent1: ColorName "accent-1"
88+
, accent13: ColorName "accent-1-3"
8689
, accent2: ColorName "accent-2"
8790
, accent3: ColorName "accent-3"
8891
, accent33: ColorName "accent-3-3"

src/Lumi/Components/Text.purs

+1
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ styles =
194194
, "&[data-color=\"primary-3\"]": { color: cssStringHSLA colors.primary3 }
195195
, "&[data-color=\"primary-4\"]": { color: cssStringHSLA colors.primary4 }
196196
, "&[data-color=\"accent-1\"]": { color: cssStringHSLA colors.accent1 }
197+
, "&[data-color=\"accent-1-3\"]": { color: cssStringHSLA colors.accent13 }
197198
, "&[data-color=\"accent-2\"]": { color: cssStringHSLA colors.accent2 }
198199
, "&[data-color=\"accent-3\"]": { color: cssStringHSLA colors.accent3 }
199200
, "&[data-color=\"accent-3-3\"]": { color: cssStringHSLA colors.accent33 }

0 commit comments

Comments
 (0)