From 129c73757036a8073467a2046bc73e95918f1ca1 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sun, 5 May 2024 18:41:39 +0200 Subject: feat: Add bootsrap scss --- .gitmodules | 3 +++ Makefile | 8 ++++++-- scss/bootstrap | 1 + scss/main.scss | 9 +++++++++ 4 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 .gitmodules create mode 160000 scss/bootstrap create mode 100644 scss/main.scss diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..860ffa4 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "scss/bootstrap"] + path = scss/bootstrap + url = https://github.com/twbs/bootstrap.git diff --git a/Makefile b/Makefile index ecf165d..c947b68 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,12 @@ -build: +build: sass go build -o bin/cerrado -run: +run: sass go run . test: go test -v --tags=unit ./... + +sass: + sassc \ + -I scss scss/main.scss bin/main.css diff --git a/scss/bootstrap b/scss/bootstrap new file mode 160000 index 0000000..6e1f75f --- /dev/null +++ b/scss/bootstrap @@ -0,0 +1 @@ +Subproject commit 6e1f75f420f68e1d52733b8e407fc7c3766c9dba diff --git a/scss/main.scss b/scss/main.scss new file mode 100644 index 0000000..ae49385 --- /dev/null +++ b/scss/main.scss @@ -0,0 +1,9 @@ +@import "bootstrap/scss/_functions.scss"; +@import "bootstrap/scss/_variables.scss"; +@import "bootstrap/scss/_variables-dark.scss"; +@import "bootstrap/scss/_maps.scss"; +@import "bootstrap/scss/_mixins.scss"; +@import "bootstrap/scss/_utilities.scss"; + + +@import "bootstrap/scss/_root.scss"; -- cgit v1.2.3