Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
238 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -205,7 +205,7 @@ h3 text = | |
[ T.f4 | ||
, T.fw7 | ||
, T.lh_title | ||
, T.mb5 | ||
, T.mb4 | ||
] | ||
[ Html.text text ] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
module UI.List exposing (view) | ||
|
||
import Chunky exposing (..) | ||
import Color | ||
import Html exposing (Html) | ||
import Html.Attributes exposing (style) | ||
import Tachyons.Classes as T | ||
import UI.Kit | ||
|
||
|
||
|
||
-- 🌳 | ||
|
||
|
||
type alias Item msg = | ||
{ label : String | ||
, actions : List (Html msg) | ||
} | ||
|
||
|
||
|
||
-- ⛩ | ||
|
||
|
||
view : List (Item msg) -> Html msg | ||
view = | ||
List.map item >> chunk [ T.f6, T.lh_copy ] | ||
|
||
|
||
|
||
-- 🚯 | ||
|
||
|
||
item : Item msg -> Html msg | ||
item { label } = | ||
block | ||
[ style "border-bottom" ("1px solid " ++ Color.toCssString UI.Kit.colors.subtleBorder) ] | ||
[] | ||
[ Html.text label ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
module UI.Reply exposing (Reply(..)) | ||
|
||
import Sources exposing (Source) | ||
import UI.Page exposing (Page) | ||
|
||
|
||
|
||
-- 🌳 | ||
|
||
|
||
type Reply | ||
= Chill | ||
= AddSourceToCollection Source | ||
| Chill | ||
| GoToPage Page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.