diff --git a/frontend/src/Config/Pages/Debate/Cuckery/Helpers.elm b/frontend/src/Config/Pages/Debate/Cuckery/Helpers.elm index 67f3b98..4b6012b 100755 --- a/frontend/src/Config/Pages/Debate/Cuckery/Helpers.elm +++ b/frontend/src/Config/Pages/Debate/Cuckery/Helpers.elm @@ -7,13 +7,6 @@ import Config.Format.Format , paragraphSpacing ) import Config.Helpers.Converters exposing (formatSocial) -import Config.Style.Colour exposing (colourTheme) -import Config.Style.Transitions - exposing - ( hoverFontDarkOrange - , transitionStyleFast - , transitionStyleSlow - ) import Config.Pages.Debate.Cuckery.CuckList.AdamSinger exposing (cuckAdamSinger) import Config.Pages.Debate.Cuckery.CuckList.AmberOHearn exposing (cuckAmberOHearn) import Config.Pages.Debate.Cuckery.CuckList.AnnChilders exposing (cuckAnnChilders) @@ -81,6 +74,13 @@ import Config.Pages.Debate.Cuckery.CuckList.TuckerGoodrich exposing (cuckTuckerG import Config.Pages.Debate.Cuckery.CuckList.ZoeHarcombe exposing (cuckZoeHarcombe) import Config.Pages.Debate.Cuckery.CuckList.ZsofiaClemens exposing (cuckZsofiaClemens) import Config.Pages.Debate.Cuckery.Types exposing (..) +import Config.Style.Colour exposing (colourTheme) +import Config.Style.Transitions + exposing + ( hoverFontDarkOrange + , transitionStyleFast + , transitionStyleSlow + ) import Element as E exposing (..) import Element.Background as B import Element.Border as D @@ -206,30 +206,25 @@ socialMaker cuck = dodgeTitle : Cuck -> Element msg dodgeTitle cuck = paragraph - ([ F.color colourTheme.textLightGrey - , paragraphSpacing - , paragraphFontSize - , F.bold - ] - ++ [ F.size 18 - ] - ) + [ F.color colourTheme.textLightGrey + , paragraphSpacing + , paragraphFontSize + , F.bold + , F.size 18 + ] [ text "Dodges: " ] makeDodge : Dodge -> Int -> Element msg makeDodge dodgeEntry index = column - ([ F.color colourTheme.textLightGrey - , paragraphSpacing - , paragraphFontSize - , F.bold - , alignLeft - ] - ++ [ spacing 8 - , width fill - ] - ) + [ F.color colourTheme.textLightGrey + , paragraphSpacing + , paragraphFontSize + , alignLeft + , spacing 8 + , width fill + ] [ row [ width fill , paddingEach @@ -240,16 +235,14 @@ makeDodge dodgeEntry index = } ] [ column - ([ F.color colourTheme.textLightGrey - , paragraphSpacing - , paragraphFontSize - ] - ++ [ F.size 18 - , alignTop - , alignRight - , F.alignRight - ] - ) + [ F.color colourTheme.textLightGrey + , paragraphSpacing + , paragraphFontSize + , F.size 18 + , alignTop + , alignRight + , F.alignRight + ] [ text (String.fromInt index ++ ". ") ] , column [ spacing 3 diff --git a/frontend/src/Config/Pages/Interviews/Helpers.elm b/frontend/src/Config/Pages/Interviews/Helpers.elm index f17a718..4c1f9a9 100755 --- a/frontend/src/Config/Pages/Interviews/Helpers.elm +++ b/frontend/src/Config/Pages/Interviews/Helpers.elm @@ -13,6 +13,7 @@ import Config.Helpers.StrengthBar , barPadding ) import Config.Helpers.ToolTip exposing (tooltip) +import Config.Pages.Interviews.Types exposing (..) import Config.Style.Colour exposing (colourTheme) import Config.Style.Transitions exposing @@ -25,7 +26,6 @@ import Element.Background as B import Element.Border as D import Element.Font as F import Html.Attributes as H exposing (style) -import Config.Pages.Interviews.Types exposing (..) interviewMaker : Interview -> Element msg @@ -93,15 +93,13 @@ interviewSocial interview = socialMaker : Interview -> Element msg socialMaker interview = paragraph - ([ F.color colourTheme.textLightGrey - , paragraphSpacing - , paragraphFontSize - , F.bold - ] - ++ [ F.size 18 - , spacing 5 - ] - ) + [ F.color colourTheme.textLightGrey + , paragraphSpacing + , paragraphFontSize + , F.bold + , F.size 18 + , spacing 5 + ] [ text "Social: " , newTabLink [ paragraphFontSize @@ -122,14 +120,12 @@ socialMaker interview = appearanceTitle : Interview -> Element msg appearanceTitle interview = paragraph - ([ F.color colourTheme.textLightGrey - , paragraphSpacing - , paragraphFontSize - , F.bold - ] - ++ [ F.size 18 - ] - ) + [ F.color colourTheme.textLightGrey + , paragraphSpacing + , paragraphFontSize + , F.bold + , F.size 18 + ] [ text "Appearances: " ] @@ -144,16 +140,13 @@ appearanceMaker interview = makeAppearance : Appearance -> Int -> Element msg makeAppearance appearanceEntry index = column - ([ F.color colourTheme.textLightGrey - , paragraphSpacing - , paragraphFontSize - , F.bold - , alignLeft - ] - ++ [ spacing 8 - , width fill - ] - ) + [ F.color colourTheme.textLightGrey + , paragraphSpacing + , paragraphFontSize + , alignLeft + , spacing 8 + , width fill + ] [ row ([ F.color colourTheme.textLightGrey , paragraphSpacing @@ -170,16 +163,14 @@ makeAppearance appearanceEntry index = ] ) [ column - ([ F.color colourTheme.textLightGrey - , paragraphSpacing - , paragraphFontSize - ] - ++ [ F.size 18 - , alignTop - , alignRight - , F.alignRight - ] - ) + [ F.color colourTheme.textLightGrey + , paragraphSpacing + , paragraphFontSize + , F.size 18 + , alignTop + , alignRight + , F.alignRight + ] [ text (String.fromInt index ++ ". ") ] , column [ spacing 8 @@ -226,15 +217,13 @@ experienceMaker appearanceEntry = , 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 + , F.size 18 + , E.width fill + ] [ el [ tooltip "This represents how pleasant it was to interact with the host(s)."