From: Rico Hoppe Date: Mon, 13 Mar 2023 18:36:26 +0000 (+0000) Subject: CSS: Convert from SCSS to SASS X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c5b17ebe512cb1cf385267f39e20a3406da8ae9;p=ipfire.org.git CSS: Convert from SCSS to SASS Signed-off-by: Rico Hoppe --- diff --git a/Makefile.am b/Makefile.am index 8475b4f8..1cd854aa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -340,7 +340,7 @@ templates_wiki_modulesdir = $(templates_wikidir)/modules # ------------------------------------------------------------------------------ SCSS_FILES = \ - src/scss/main.scss \ + src/scss/main.sass \ src/scss/_code-highlighting.scss \ src/scss/_fonts.scss \ src/scss/_icons.scss \ diff --git a/src/scss/main.sass b/src/scss/main.sass new file mode 100644 index 00000000..4bd4059d --- /dev/null +++ b/src/scss/main.sass @@ -0,0 +1,37 @@ +@charset "utf-8" + +// Global Settings +$family-sans-serif: Prompt, sans-serif + +// Colour Palette +$primary: #ff2e52 +$secondary: #4a0083 +$green: #3adb76 +$yellow: #e7e247 +$red: #cc4b47 +$black: #000000 + +// Use the primary colour for links +$link: #000000 + +// Buttons +$button-border-width: 4px +$button-padding-horizontal: 2rem + +// Import Bulma +@import "../third-party/bulma/sass/base/_all.sass" +@import "../third-party/bulma/sass/components/_all.sass" +@import "../third-party/bulma/sass/elements/_all.sass" +@import "../third-party/bulma/sass/form/_all.sass" +@import "../third-party/bulma/sass/grid/_all.sass" +@import "../third-party/bulma/sass/helpers/_all.sass" +@import "../third-party/bulma/sass/layout/_all.sass" +@import "../third-party/bulma/sass/utilities/_all.sass" + +// Import fonts +@import "_fonts" + +// Import icons +@import "_icons" + +// Custom CSS diff --git a/src/scss/main.scss b/src/scss/main.scss deleted file mode 100644 index 50e9585d..00000000 --- a/src/scss/main.scss +++ /dev/null @@ -1,35 +0,0 @@ -/* - Global Settings -*/ -$family-sans-serif: Prompt, sans-serif; - -// Colour Palette -$primary: #ff2e53; -$green: #3adb76; -$yellow: #e7e247; -$red: #cc4b47; - -// Use the primary colour for links -$link: $primary; - -/* - Import Bulma -*/ -@import "../third-party/bulma/sass/base/_all"; -@import "../third-party/bulma/sass/components/_all"; -@import "../third-party/bulma/sass/elements/_all"; -@import "../third-party/bulma/sass/form/_all"; -@import "../third-party/bulma/sass/grid/_all"; -@import "../third-party/bulma/sass/helpers/_all"; -@import "../third-party/bulma/sass/layout/_all"; -@import "../third-party/bulma/sass/utilities/_all"; - -// Import fonts -@import "_fonts"; - -// Import icons -@import "_icons"; - -/* - Custom CSS -*/