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

@ -286,18 +286,16 @@ propositionTitleMaker argument =
column
[ E.width fill, E.alignLeft ]
[ paragraph
([ F.color colourTheme.textLightGrey
, paragraphSpacing
, paragraphFontSize
, F.bold
]
++ [ F.size 18 ]
)
[ F.color colourTheme.textLightGrey
, paragraphSpacing
, headerFontSizeSmall
, F.bold
]
[ text argument.propositionTitle
|> el
[ F.color colourTheme.textLightGrey
, F.regular
, F.size 16
, paragraphFontSize
]
]
]
@ -336,15 +334,12 @@ reductioMaker =
column
[ E.alignTop, E.alignLeft ]
[ paragraph
([ F.color colourTheme.textLightGrey
, paragraphSpacing
, paragraphFontSize
, F.bold
]
++ [ F.size 18
, infoSpacing
]
)
[ F.color colourTheme.textLightGrey
, paragraphSpacing
, headerFontSizeSmall
, F.bold
, infoSpacing
]
[ el
[ tooltip
"This is the position from which the reductio ad absurdum is derived."
@ -359,14 +354,11 @@ reductioMakerTitle : String -> Element msg
reductioMakerTitle reductio =
column [ E.width fill, E.alignLeft ]
[ paragraph
([ F.color colourTheme.textLightGrey
, paragraphSpacing
, paragraphFontSize
]
++ [ F.size 16
, spacing 3
]
)
[ F.color colourTheme.textLightGrey
, paragraphSpacing
, paragraphFontSize
, spacing 3
]
[ text reductio ]
]
@ -394,15 +386,13 @@ summaryMaker =
, E.alignLeft
]
[ paragraph
([ F.color colourTheme.textLightGrey
, paragraphSpacing
, paragraphFontSize
, F.bold
]
++ [ F.size 18
, infoSpacing
]
)
[ F.color colourTheme.textLightGrey
, paragraphSpacing
, paragraphFontSize
, F.bold
, infoSpacing
, headerFontSizeSmall
]
[ el
[ tooltip
"The following information provides additional context and insight into the reasoning behind the argument."
@ -420,20 +410,17 @@ summaryMakerTitle argument =
, E.alignLeft
]
[ paragraph
([ F.color colourTheme.textLightGrey
, paragraphSpacing
, paragraphFontSize
, F.bold
]
++ [ F.size 18
, spacing 3
]
)
[ F.color colourTheme.textLightGrey
, paragraphSpacing
, F.bold
, spacing 3
, headerFontSizeSmall
]
[ text argument.propositionSummary
|> el
[ F.color colourTheme.textLightGrey
, F.regular
, F.size 16
, paragraphFontSize
]
]
]
@ -454,15 +441,13 @@ strengthMaker =
, E.alignLeft
]
[ paragraph
([ F.color colourTheme.textLightGrey
, paragraphSpacing
, paragraphFontSize
, F.bold
]
++ [ F.size 18
, E.width fill
]
)
[ F.color colourTheme.textLightGrey
, paragraphSpacing
, paragraphFontSize
, F.bold
, E.width fill
, headerFontSizeSmall
]
[ el
[ tooltip
"This represents my confidence in the soundness of the argument."

View file

@ -9,6 +9,7 @@ import Config.Helpers.Format
( headerFontSizeSmall
, paragraphFontSize
, paragraphSpacing
, smallTextFontSize
)
import Config.Helpers.Headers.Helpers exposing (..)
import Config.Helpers.Headers.Records exposing (cuckListHeader)
@ -165,9 +166,8 @@ socialMaker cuck =
paragraph
[ F.color colourTheme.textLightGrey
, paragraphSpacing
, paragraphFontSize
, F.bold
, F.size 18
, headerFontSizeSmall
, spacing 8
]
[ text "Social: "
@ -192,9 +192,8 @@ dodgeTitle cuck =
paragraph
[ F.color colourTheme.textLightGrey
, paragraphSpacing
, paragraphFontSize
, F.bold
, F.size 18
, headerFontSizeSmall
]
[ text "Dodges: " ]
@ -221,8 +220,7 @@ makeDodge cuck dodge index =
[ column
[ F.color colourTheme.textLightGrey
, paragraphSpacing
, paragraphFontSize
, F.size 18
, headerFontSizeSmall
, alignTop
, alignRight
, F.alignRight
@ -331,7 +329,7 @@ receipts : Cuck -> Dodge -> Element msg
receipts cuck dodge =
row
[ spacing 3
, F.size 12
, smallTextFontSize
, paddingEach
{ top = 0
, right = 0

View file

@ -6,7 +6,8 @@ import Config.Helpers.Cards.Types as C
import Config.Helpers.Converters exposing (toTitleCase)
import Config.Helpers.Format
exposing
( paragraphFontSize
( headerFontSizeSmall
, paragraphFontSize
, paragraphSpacing
)
import Config.Helpers.Headers.Helpers exposing (..)
@ -178,8 +179,7 @@ gibberishMakerBody gibberish =
[ paragraph
[ F.color colourTheme.textLightGrey
, paragraphSpacing
, paragraphFontSize
, F.size 18
, headerFontSizeSmall
, F.center
]
[ domainList gibberish
@ -222,7 +222,6 @@ descriptionMaker gibberish =
, spacing 3
, F.regular
, F.alignLeft
, F.size 16
]
[ text gibberish.gibberishDescription
]
@ -243,7 +242,7 @@ makeTerms bar index terms =
[ row
[ F.color colourTheme.textLightGrey
, F.regular
, F.size 18
, headerFontSizeSmall
, F.bold
, F.alignLeft
, E.width fill
@ -278,7 +277,7 @@ makeTerms bar index terms =
, paragraph
[ F.color colourTheme.textLightGrey
, F.regular
, F.size 16
, paragraphFontSize
, F.alignLeft
]
[ text
@ -308,9 +307,8 @@ intelligibilityBar terms =
[ paragraph
[ F.color colourTheme.textLightGrey
, F.bold
, F.size 18
, headerFontSizeSmall
, paragraphSpacing
, paragraphFontSize
, E.alignLeft
, E.width fill
]