You will generate colors using a combination of 2 types, Tone and Brightness, and the function you should use is Palette.color.
Example:
Palette.color Palette.toneDanger Palette.brightnessMiddle| "items_game" | |
| { | |
| "game_info" | |
| { | |
| "first_valid_class" "2" | |
| "last_valid_class" "3" | |
| "first_valid_item_slot" "0" | |
| "last_valid_item_slot" "54" | |
| "num_item_presets" "4" | |
| "max_num_stickers" "5" |
You will generate colors using a combination of 2 types, Tone and Brightness, and the function you should use is Palette.color.
Example:
Palette.color Palette.toneDanger Palette.brightnessMiddle| console.log("Hello victor"); | |
| // Creating a variable and setting a string to it; | |
| var person = "Victor"; | |
| console.log(person); | |
| // Changing the value of the variable | |
| person = "Jouderian"; |
| module Main exposing (main) | |
| import Browser exposing (sandbox) | |
| import Button | |
| import Element exposing (..) | |
| import Input | |
| type Msg | |
| = NoOp |
| call plug#begin() | |
| Plug 'vim-airline/vim-airline' | |
| Plug 'vim-airline/vim-airline-themes' | |
| Plug 'tpope/vim-surround' | |
| Plug 'scrooloose/nerdtree' | |
| Plug 'junegunn/fzf' | |
| " Syntax highlighting | |
| Plug 'andys8/vim-elm-syntax', { 'for': ['elm'] } |
(Get the stable version, not the latest)
| module Explorer.Utils exposing (story, storyList, storyWithModel) | |
| import Element exposing (layout, spacing, wrappedRow) | |
| story ( title, content, note ) = | |
| ( title | |
| , \_ -> layout [] content | |
| , note | |
| ) |
| ---------------------------------------------------------------------- | |
| -- Type | |
| type alias Package = | |
| { id : String | |
| , deliverySlot : DeliverySlot | |
| , deliveryAddress : Address | |
| , pickupAddress : Address | |
| , status : String | |
| , tenantId : String |
| ---------------------------------------------------------------------- | |
| -- Type | |
| type alias Package = | |
| { id : String | |
| , deliverySlot : DeliverySlot | |
| , deliveryAddress : Address | |
| , pickupAddress : Address | |
| , status : String | |
| , tenantId : String |