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

View File

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

View File

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