Skip to content

Commit

Permalink
optimize scss bundless
Browse files Browse the repository at this point in the history
  • Loading branch information
mirekys committed Jun 4, 2021
1 parent 1bc2549 commit a40e08d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 16 deletions.
15 changes: 15 additions & 0 deletions build/sass/_colors.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@charset "utf-8";

$datacare: #a70057;
$grey-dark: hsl(0, 0%, 29%);
$grey-darker: hsl(0, 0%, 21%);

$primary: #0068a2;
$link: $datacare;
$info: #00A1DE;
$success: #008547;
$warning: #FBB731;
$danger: #E60000;
$dark: $grey-darker;
$text: $grey-dark;
$orange: #d33d39;
17 changes: 2 additions & 15 deletions build/sass/bulma.scss
Original file line number Diff line number Diff line change
@@ -1,25 +1,12 @@
@charset "utf-8";
//@import "../node_modules/bulma/bulma.sass";

$datacare: #a70057;
$grey-dark: hsl(0, 0%, 29%);
$grey-darker: hsl(0, 0%, 21%);

$primary: #0068a2;
$link: $datacare;
$info: #00A1DE;
$success: #008547;
$warning: #FBB731;
$danger: #E60000;
$dark: $grey-darker;
$text: $grey-dark;
$orange: #d33d39;
@import "colors";

@import "../node_modules/bulma/sass/utilities/_all.sass";
@import "../node_modules/bulma/sass/base/_all.sass";
@import "../node_modules/bulma/sass/elements/button.sass";
@import "../node_modules/bulma/sass/elements/container.sass";
@import "../node_modules/bulma/sass/elements/title.sass";
@import "../node_modules/bulma/sass/elements/content.sass";
@import "../node_modules/bulma/sass/components/navbar.sass";
@import "../node_modules/bulma/sass/layout/hero.sass";
@import "../node_modules/bulma/sass/layout/section.sass";
Expand Down
3 changes: 2 additions & 1 deletion build/sass/cubes.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@charset "utf-8";
/*
Copyright (c) 2021 by Jon Ambas (https://codepen.io/jonambas/pen/OPqbzx)
Expand All @@ -19,7 +20,7 @@ $animation-duration: 4.7s;
$easing: cubic-bezier(0.645, 0.045, 0.355, 1);
$base-matrix: matrix(0.9, 0.5, 0, 1, 0, 0);

@import "bulma";
@import "colors";

@function base($n) {
@return $n * ($cube-size - 1px);
Expand Down

0 comments on commit a40e08d

Please sign in to comment.