feat: version 1 done?

This commit is contained in:
Nick 2024-12-23 03:24:08 -06:00
parent d1ba50abd8
commit 76fa1ff381
11 changed files with 114 additions and 115 deletions

View file

@ -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

View file

@ -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
]
<|

View file

@ -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

View file

@ -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