]> git.ipfire.org Git - ipfire.org.git/commitdiff
CSS: Convert from SCSS to SASS
authorRico Hoppe <rico.hoppe@ipfire.org>
Mon, 13 Mar 2023 18:36:26 +0000 (18:36 +0000)
committerRico Hoppe <rico.hoppe@ipfire.org>
Mon, 13 Mar 2023 18:36:26 +0000 (18:36 +0000)
Signed-off-by: Rico Hoppe <rico.hoppe@ipfire.org>
Makefile.am
src/scss/main.sass [new file with mode: 0644]
src/scss/main.scss [deleted file]

index 8475b4f8abdd4fd256601cc416dc5be9fdc4116b..1cd854aa1b341e86d3e134812d1a64926f024435 100644 (file)
@@ -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 (file)
index 0000000..4bd4059
--- /dev/null
@@ -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 (file)
index 50e9585..0000000
+++ /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
-*/