mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-18 11:11:38 +03:00
🎨 avoid overwriting themes
This commit is contained in:
parent
24f8d71c24
commit
de58de8734
@ -143,16 +143,16 @@ squareLabelStyles assets model colorTheme =
|
|||||||
, verticalAlign middle
|
, verticalAlign middle
|
||||||
|
|
||||||
-- Text
|
-- Text
|
||||||
, color Colors.gray20
|
|
||||||
, Fonts.baseFont
|
, Fonts.baseFont
|
||||||
, fontSize (px 16)
|
, fontSize (px 16)
|
||||||
, Css.batch <|
|
, Css.batch <|
|
||||||
|
-- If this is the only difference, is it worth having a color theme at all??
|
||||||
case colorTheme of
|
case colorTheme of
|
||||||
Gray ->
|
Gray ->
|
||||||
[ color Colors.gray45 ]
|
[ color Colors.gray45 ]
|
||||||
|
|
||||||
Default ->
|
Default ->
|
||||||
[]
|
[ color Colors.gray20 ]
|
||||||
|
|
||||||
-- Focus & Hover
|
-- Focus & Hover
|
||||||
, outline none
|
, outline none
|
||||||
|
Loading…
Reference in New Issue
Block a user