mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-17 12:55:12 -05:00
feat: changed colour names to be more intuitive
This commit is contained in:
parent
ed73a38cbe
commit
6019079212
10 changed files with 65 additions and 65 deletions
|
@ -14,7 +14,7 @@ topLevelContainer =
|
|||
el
|
||||
[ E.width fill
|
||||
, height fill
|
||||
, B.color colourTheme.backgroundColour
|
||||
, B.color colourTheme.backgroundLightGrey
|
||||
]
|
||||
|
||||
|
||||
|
@ -35,7 +35,7 @@ transitionStyle =
|
|||
transitionHighlightedLinkHover : Element msg -> Element msg
|
||||
transitionHighlightedLinkHover =
|
||||
el
|
||||
[ mouseOver [ F.color colourTheme.highlightTextHover ]
|
||||
[ mouseOver [ F.color colourTheme.textDarkOrange ]
|
||||
, transitionStyle
|
||||
]
|
||||
|
||||
|
@ -43,7 +43,7 @@ transitionHighlightedLinkHover =
|
|||
transitionNonHighlightedLinkHover : Element msg -> Element msg
|
||||
transitionNonHighlightedLinkHover =
|
||||
el
|
||||
[ mouseOver [ F.color colourTheme.highlightText ]
|
||||
[ mouseOver [ F.color colourTheme.textLightOrange ]
|
||||
, transitionStyle
|
||||
]
|
||||
|
||||
|
@ -57,7 +57,7 @@ transitionNonHighlightedLinkHoverWithMove content =
|
|||
(el
|
||||
[ centerX
|
||||
, centerY
|
||||
, mouseOver [ F.color colourTheme.highlightText, F.size 25 ]
|
||||
, mouseOver [ F.color colourTheme.textLightOrange, F.size 25 ]
|
||||
, transitionStyle
|
||||
]
|
||||
content
|
||||
|
@ -84,14 +84,14 @@ titleFormat =
|
|||
|
||||
nonHighlightedTitleFormat : List (Attr () msg)
|
||||
nonHighlightedTitleFormat =
|
||||
[ F.color colourTheme.nonHighlightedText
|
||||
[ F.color colourTheme.textLightGrey
|
||||
]
|
||||
++ titleFormat
|
||||
|
||||
|
||||
highlightedTitleFormat : List (Attr () msg)
|
||||
highlightedTitleFormat =
|
||||
[ F.color colourTheme.highlightText
|
||||
[ F.color colourTheme.textLightOrange
|
||||
]
|
||||
++ titleFormat
|
||||
|
||||
|
@ -105,7 +105,7 @@ paragraphLinkFormat : { url : String, label : Element msg } -> Element msg
|
|||
paragraphLinkFormat =
|
||||
newTabLink
|
||||
[ paragraphFontSize
|
||||
, F.color colourTheme.highlightText
|
||||
, F.color colourTheme.textLightOrange
|
||||
]
|
||||
|
||||
|
||||
|
@ -116,7 +116,7 @@ paragraphSpacing =
|
|||
|
||||
paragraphText : List (Attr () msg)
|
||||
paragraphText =
|
||||
[ F.color colourTheme.nonHighlightedText
|
||||
[ F.color colourTheme.textLightGrey
|
||||
, paragraphSpacing
|
||||
, paragraphFontSize
|
||||
]
|
||||
|
@ -124,7 +124,7 @@ paragraphText =
|
|||
|
||||
paragraphHightlightedBoldText : List (Attr () msg)
|
||||
paragraphHightlightedBoldText =
|
||||
[ F.color colourTheme.highlightText
|
||||
[ F.color colourTheme.textLightOrange
|
||||
, F.bold
|
||||
, paragraphSpacing
|
||||
, paragraphFontSize
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue