Skip to content

Commit 5975d7b

Browse files
authored
Merge pull request #603 from lem0n4id/lem0n4id/refactor-scss
refactor(styles): move global styles to dedicated globals.scss file
2 parents 4a8a345 + 2241813 commit 5975d7b

File tree

2 files changed

+21
-23
lines changed

2 files changed

+21
-23
lines changed

tests/dummy/app/styles/app.scss

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,6 @@
11
@use 'variables/variables' as *;
22
@use 'globals' as *;
33

4-
html {
5-
font-size: 100%;
6-
}
7-
8-
body {
9-
position: relative;
10-
margin: 0;
11-
padding: 0;
12-
width: 100%;
13-
height: 100%;
14-
background-color: $theme-color__offWhite;
15-
}
16-
17-
ul {
18-
list-style-type: none;
19-
margin: 0;
20-
padding: 0;
21-
}
22-
234
.application {
245
position: relative;
256
width: 100%;
@@ -29,9 +10,6 @@ ul {
2910
background-color: $theme-color__offWhite;
3011
z-index: 1;
3112

32-
// .application__header {
33-
// }
34-
3513
.application__main-content {
3614
min-width: $min-width__main-content;
3715
}

tests/dummy/app/styles/globals.scss

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,24 @@
22
@use 'object-patterns/object-patterns';
33
@use 'pages/pages';
44
@use 'typography/typography';
5-
@use 'utilities/utilities';
5+
@use 'utilities/utilities';
6+
@use 'variables/variables' as *;
7+
8+
html {
9+
font-size: 100%;
10+
}
11+
12+
body {
13+
position: relative;
14+
margin: 0;
15+
padding: 0;
16+
width: 100%;
17+
height: 100%;
18+
background-color: $theme-color__offWhite;
19+
}
20+
21+
ul {
22+
list-style-type: none;
23+
margin: 0;
24+
padding: 0;
25+
}

0 commit comments

Comments
 (0)