Skip to content

Commit 7494b30

Browse files
committed
create the blue bundle file in this package, instead of relying on the one in backstrap
1 parent e2d6436 commit 7494b30

File tree

3 files changed

+40
-17
lines changed

3 files changed

+40
-17
lines changed

src/public/packages/backpack/base/css/blue-bundle.css

Lines changed: 1 addition & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/resources/assets/scss/blue-bundle.scss

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
1-
@import "node_modules/@digitallyhappy/backstrap/src/scss/blue";
2-
@import "node_modules/@digitallyhappy/backstrap/src/scss/_variables";
1+
// create a bundle CSS file for the an alternative Backstrap style (blue instead of purple for primary color)
2+
3+
@import "node_modules/@digitallyhappy/backstrap/src/scss/_backstrap_colors";
4+
5+
$primary: $blue !default;
6+
$secondary: $gray-300 !default;
7+
$success: $green !default;
8+
$info: $blue !default;
9+
$warning: $yellow !default;
10+
$danger: $red !default;
11+
$light: $gray-200 !default;
12+
$dark: $black !default;
13+
14+
$hover-color: rgba(105, 171, 239, 0.12);
15+
$border-color: rgba(0, 40, 100, 0.12);
16+
$muted-bg-color: rgba(0, 0, 0, 0.02);
17+
18+
$theme-colors: () !default;
19+
$theme-colors: map-merge(
20+
(
21+
"primary": $primary,
22+
"default": $secondary,
23+
"secondary": $secondary,
24+
"success": $success,
25+
"info": $info,
26+
"notice": $info,
27+
"warning": $warning,
28+
"danger": $danger,
29+
"error": $danger,
30+
"light": $light,
31+
"dark": $dark
32+
),
33+
$theme-colors
34+
);
35+
36+
@import "node_modules/@digitallyhappy/backstrap/src/scss/_backstrap_miscellaneous";
37+
338
@import "node_modules/@coreui/coreui/scss/coreui";
439
@import "node_modules/@digitallyhappy/backstrap/src/scss/_custom";
540
@import "node_modules/animate.css/source/_base";

src/resources/assets/scss/bundle.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// create a bundle CSS file for the default electric purple Backstrap style
2+
13
@import "node_modules/@digitallyhappy/backstrap/src/scss/style";
24
@import "node_modules/@coreui/coreui/scss/coreui";
35
@import "node_modules/@digitallyhappy/backstrap/src/scss/_custom";

0 commit comments

Comments
 (0)