Colors -> Atoms

This commit is contained in:
Tessa Kelly 2021-11-11 14:48:31 -08:00
parent 4d0d7bf278
commit 040a1a0eef
3 changed files with 10 additions and 10 deletions

View File

@ -29,7 +29,7 @@ type Category
| Layout
| Messaging
| Modals
| Colors
| Atoms
| Text
| Pages
| Animations
@ -39,8 +39,8 @@ type Category
all : List Category
all =
[ Animations
, Atoms
, Buttons
, Colors
, Icons
, Inputs
, Layout
@ -82,8 +82,8 @@ fromString string =
"Modals" ->
Ok Modals
"Colors" ->
Ok Colors
"Atoms" ->
Ok Atoms
"Text" ->
Ok Text
@ -126,8 +126,8 @@ forDisplay category =
Modals ->
"Modals"
Colors ->
"Colors"
Atoms ->
"Atoms"
Text ->
"Text and Fonts"
@ -173,8 +173,8 @@ forId category =
Modals ->
"modals"
Colors ->
"colors"
Atoms ->
"atoms"
Text ->
"text-and-fonts"

View File

@ -37,7 +37,7 @@ example : Example State Msg
example =
{ name = "Colors"
, version = 1
, categories = [ Colors ]
, categories = [ Atoms ]
, keyboardSupport = []
, state = ()
, update = \_ state -> ( state, Cmd.none )

View File

@ -31,7 +31,7 @@ example : Example State Msg
example =
{ name = "Fonts"
, version = 1
, categories = [ Text ]
, categories = [ Text, Atoms ]
, keyboardSupport = []
, state = ()
, update = \_ state -> ( state, Cmd.none )