Skip to content

Commit ceab303

Browse files
committed
renamed global.scss as component-base and moved to component layer
1 parent 1fe7d4c commit ceab303

23 files changed

Lines changed: 31 additions & 24 deletions
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*------------------------------------*\
2+
Component base SCSS import file
3+
-------------------------------
4+
Imported directly into individual
5+
component SCSS files. Anything added
6+
is imported into every component.
7+
\*------------------------------------*/
8+
9+
@import "../0-vendor/__vendor";
10+
@import "../1-settings/__settings";
11+
@import "../2-tools/__tools";
File renamed without changes.

src/assets/scss/_global.scss

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/assets/scss/andculturecode-javascript-react-components.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@
2929
@import "3-generic/__generic";
3030
@import "4-elements/__elements";
3131
@import "5-objects/__objects";
32-
@import "6-utilities/__utilities";
32+
@import "7-utilities/__utilities";

src/atoms/anchors/anchor.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "../../assets/scss/_global";
1+
@import "../../assets/scss/6-components/_component-base";
22

33
/*------------------------------------*\
44
ANCHORS

src/atoms/buttons/button.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "../../assets/scss/_global";
1+
@import "../../assets/scss/6-components/_component-base";
22

33
.c-button {
44
@include font-style($font-primary, "small", #ffffff, 800, 16px);

src/atoms/forms/checkbox-button.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "../../assets/scss/_global";
1+
@import "../../assets/scss/6-components/_component-base";
22

33
.c-checkbox-button {
44
@include margin-bottom(24px);

src/atoms/forms/checkbox.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "../../assets/scss/_global";
1+
@import "../../assets/scss/6-components/_component-base";
22

33
.e-checkbox {
44
@include font-style(

src/atoms/forms/radio-button-input.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "../../assets/scss/_global";
1+
@import "../../assets/scss/6-components/_component-base";
22
@import "../buttons/button.scss";
33

44
.c-radio {

src/atoms/forms/select.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "../../assets/scss/_global";
1+
@import "../../assets/scss/6-components/_component-base";
22

33
.c-select {
44
@include icon-fill(get-color-neutral("30"));

0 commit comments

Comments
 (0)