mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-28 01:45:20 +03:00
Colors -> Atoms
This commit is contained in:
parent
4d0d7bf278
commit
040a1a0eef
@ -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"
|
||||||
|
@ -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 )
|
||||||
|
@ -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 )
|
||||||
|
Loading…
Reference in New Issue
Block a user