From 51af93a8204bf99d0d57a673f00da0b619702030 Mon Sep 17 00:00:00 2001 From: Devin Fee Date: Fri, 14 Dec 2018 18:06:46 -0800 Subject: [PATCH] added module sass --- src/_variables.sass | 4 ++-- src/components/components.module.sass | 13 +++++++++++++ src/elements/button/button.module.sass | 4 ++-- src/elements/elements.module.sass | 13 +++++++++++++ src/grid/grid.module.sass | 2 ++ src/index.module.sass | 4 ++-- src/layout/layout.module.sass | 3 +++ 7 files changed, 37 insertions(+), 6 deletions(-) create mode 100644 src/components/components.module.sass create mode 100644 src/elements/elements.module.sass create mode 100644 src/grid/grid.module.sass create mode 100644 src/layout/layout.module.sass diff --git a/src/_variables.sass b/src/_variables.sass index 7ff8a7a0..75b128a8 100644 --- a/src/_variables.sass +++ b/src/_variables.sass @@ -1,5 +1,5 @@ -@import "~bulma/sass/utilities/initial-variables" +@import "~bulma/sass/utilities/initial-variables.sass" // ADD HERE variables you want to override -@import "~bulma/sass/utilities/_all" \ No newline at end of file +@import "~bulma/sass/utilities/_all.sass" diff --git a/src/components/components.module.sass b/src/components/components.module.sass new file mode 100644 index 00000000..433ccb82 --- /dev/null +++ b/src/components/components.module.sass @@ -0,0 +1,13 @@ +@import "./breadcrumb/breadcrumb.sass" +@import "./card/card.sass" +@import "./dropdown/dropdown.sass" +@import "./level/level.sass" +@import "./list/list.sass" +@import "./media/media.sass" +@import "./menu/menu.sass" +@import "./message/message.sass" +@import "./modal/modal.sass" +@import "./navbar/navbar.sass" +@import "./pagination/pagination.sass" +@import "./panel/panel.sass" +@import "./tabs/tabs.sass" diff --git a/src/elements/button/button.module.sass b/src/elements/button/button.module.sass index 7fc5bdcd..96ad8661 100644 --- a/src/elements/button/button.module.sass +++ b/src/elements/button/button.module.sass @@ -1,2 +1,2 @@ -@import '../../utils.sass' -@import '~bulma/sass/elements/button.sass' +@import "../../utils.sass" +@import "~bulma/sass/elements/button.sass" diff --git a/src/elements/elements.module.sass b/src/elements/elements.module.sass new file mode 100644 index 00000000..98a2c10a --- /dev/null +++ b/src/elements/elements.module.sass @@ -0,0 +1,13 @@ +@import "./box/box.module.sass" +@import "./button/button.module.sass" +@import "./container/container.module.sass" +@import "./content/content.module.sass" +@import "./form/form.module.sass" +@import "./icon/icon.module.sass" +@import "./image/image.module.sass" +@import "./notification/notification.module.sass" +@import "./other/other.module.sass" +@import "./progress/progress.module.sass" +@import "./table/table.module.sass" +@import "./tag/tag.module.sass" +@import "./title/title.module.sass" diff --git a/src/grid/grid.module.sass b/src/grid/grid.module.sass new file mode 100644 index 00000000..6746f085 --- /dev/null +++ b/src/grid/grid.module.sass @@ -0,0 +1,2 @@ +@import "./columns/columns.module.sass" +@import "./tiles/tiles.module.sass" diff --git a/src/index.module.sass b/src/index.module.sass index 1d46fad0..e402586f 100644 --- a/src/index.module.sass +++ b/src/index.module.sass @@ -1,2 +1,2 @@ -@import "~bulma/sass/utilities/_all" -@import "~bulma/sass/base/_all" \ No newline at end of file +@import "~bulma/sass/utilities/_all.sass" +@import "~bulma/sass/base/_all.sass" diff --git a/src/layout/layout.module.sass b/src/layout/layout.module.sass new file mode 100644 index 00000000..a2914b01 --- /dev/null +++ b/src/layout/layout.module.sass @@ -0,0 +1,3 @@ +@import "./footer/footer.module.sass" +@import "./hero/hero.module.sass" +@import "./section/section.module.sass"