mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-24 08:53:33 +03:00
Colors -> Atoms
This commit is contained in:
parent
4d0d7bf278
commit
040a1a0eef
@ -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"
|
||||
|
@ -37,7 +37,7 @@ example : Example State Msg
|
||||
example =
|
||||
{ name = "Colors"
|
||||
, version = 1
|
||||
, categories = [ Colors ]
|
||||
, categories = [ Atoms ]
|
||||
, keyboardSupport = []
|
||||
, state = ()
|
||||
, update = \_ state -> ( state, Cmd.none )
|
||||
|
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user