mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-08-10 12:24:39 -05:00
feat: version 1 done?
This commit is contained in:
parent
d1ba50abd8
commit
76fa1ff381
11 changed files with 114 additions and 115 deletions
|
@ -31,6 +31,11 @@ headerFontSizeSmall =
|
|||
F.size 18
|
||||
|
||||
|
||||
smallTextFontSize : Attr decorative msg
|
||||
smallTextFontSize =
|
||||
F.size 12
|
||||
|
||||
|
||||
renderCodeLine : SyntaxColors -> List (Element msg) -> Element msg
|
||||
renderCodeLine colors elements =
|
||||
paragraph
|
||||
|
|
|
@ -140,7 +140,7 @@ tocView toc =
|
|||
]
|
||||
[ paragraph
|
||||
[ F.bold
|
||||
, F.size 23
|
||||
, headerFontSizeBig
|
||||
, F.center
|
||||
, width fill
|
||||
, F.color colourTheme.textLightOrange
|
||||
|
@ -167,7 +167,7 @@ tocView toc =
|
|||
, el
|
||||
[ F.alignLeft
|
||||
, E.width fill
|
||||
, F.size 18
|
||||
, headerFontSizeSmall
|
||||
, alignTop
|
||||
]
|
||||
<|
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
module Config.Helpers.Price exposing (..)
|
||||
|
||||
import Config.Helpers.Format exposing (headerFontSizeBig)
|
||||
import Config.Style.Colour exposing (colourTheme)
|
||||
import Config.Style.Glow exposing (glowDeepDarkGrey)
|
||||
import Config.Style.Transitions exposing (hoverPageButtonDeepDarkOrange, transitionStyleMedium)
|
||||
import Element as E exposing (..)
|
||||
import Element.Background as B exposing (color)
|
||||
import Element.Border as D exposing (rounded)
|
||||
import Element.Font as F exposing (center)
|
||||
import Config.Style.Glow exposing (glowDeepDarkGrey)
|
||||
|
||||
|
||||
buyButton : String -> String -> Element msg
|
||||
|
@ -23,7 +24,7 @@ buyButton price url =
|
|||
el
|
||||
[ B.color colourTheme.textDarkOrange
|
||||
, D.rounded 30
|
||||
, F.size 25
|
||||
, headerFontSizeBig
|
||||
, F.bold
|
||||
, transitionStyleMedium
|
||||
, hoverPageButtonDeepDarkOrange
|
||||
|
|
|
@ -4,6 +4,8 @@ import Config.Data.Identity exposing (pageNames)
|
|||
import Config.Helpers.Format
|
||||
exposing
|
||||
( headerFontSizeBig
|
||||
, headerFontSizeMedium
|
||||
, headerFontSizeSmall
|
||||
, paragraphFontSize
|
||||
, paragraphSpacing
|
||||
)
|
||||
|
@ -18,7 +20,6 @@ import Element as E exposing (..)
|
|||
import Element.Background as B
|
||||
import Element.Border as D
|
||||
import Element.Font as F
|
||||
import Config.Helpers.Format exposing (headerFontSizeMedium)
|
||||
|
||||
|
||||
bodyFormat : List (Attribute msg)
|
||||
|
@ -83,7 +84,7 @@ highlightedBlockMaker title items =
|
|||
]
|
||||
[ paragraph
|
||||
[ F.bold
|
||||
, F.size 18
|
||||
, headerFontSizeSmall
|
||||
]
|
||||
[ text title ]
|
||||
, column
|
||||
|
@ -99,7 +100,13 @@ highlightedBlockMaker title items =
|
|||
[ width <| px 30
|
||||
, alignTop
|
||||
]
|
||||
[ el [ alignRight, F.size 18 ] <| text "• " ]
|
||||
[ el
|
||||
[ alignRight
|
||||
, headerFontSizeSmall
|
||||
]
|
||||
<|
|
||||
text "• "
|
||||
]
|
||||
, column
|
||||
[ spacing 10
|
||||
, width fill
|
||||
|
@ -107,7 +114,7 @@ highlightedBlockMaker title items =
|
|||
]
|
||||
[ paragraph
|
||||
[ width fill
|
||||
, F.size 16
|
||||
, paragraphFontSize
|
||||
, F.alignLeft
|
||||
]
|
||||
[ row
|
||||
|
@ -145,7 +152,13 @@ bulletPointMaker items =
|
|||
[ width <| px 30
|
||||
, alignTop
|
||||
]
|
||||
[ el [ alignRight, F.size 18 ] <| text "• " ]
|
||||
[ el
|
||||
[ alignRight
|
||||
, headerFontSizeSmall
|
||||
]
|
||||
<|
|
||||
text "• "
|
||||
]
|
||||
, column
|
||||
[ spacing 10
|
||||
, width fill
|
||||
|
@ -153,7 +166,7 @@ bulletPointMaker items =
|
|||
]
|
||||
[ paragraph
|
||||
[ width fill
|
||||
, F.size 16
|
||||
, paragraphFontSize
|
||||
, F.alignLeft
|
||||
]
|
||||
[ el
|
||||
|
@ -194,7 +207,7 @@ numberMaker items =
|
|||
]
|
||||
[ paragraph
|
||||
[ width fill
|
||||
, F.size 16
|
||||
, paragraphFontSize
|
||||
, F.alignLeft
|
||||
]
|
||||
[ el
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue