Skip to content

Commit c8d8de4

Browse files
committed
replace dimension-layout tokens with temporary explicit values
1 parent 213e245 commit c8d8de4

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

resources/sass/app.scss

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,49 +23,49 @@ body {
2323
*/
2424
main {
2525
max-width: 1090px;
26-
padding: 0 $dimension-layout-xsmall;
26+
padding: 0 1rem;
2727
margin: 0 auto;
2828

2929
& > header {
3030
display: flex;
3131
justify-content: space-between;
32-
margin: $dimension-layout-small 0;
32+
margin: 1.500rem 0;
3333
}
3434

3535
@media(min-width: $min-width-breakpoint-tablet){
36-
padding: 0 $dimension-layout-small;
36+
padding: 0 1.500rem;
3737
}
3838
}
3939

4040
section {
41-
margin-bottom: $dimension-layout-large;
41+
margin-bottom: 2.500rem;
4242
}
4343

4444
h1, .h1 {
4545
@include heading-1;
4646

47-
margin: $dimension-layout-xsmall 0;
47+
margin: 1rem 0;
4848

4949
@media (min-width: $min-width-breakpoint-tablet) {
50-
margin: $dimension-layout-small 0;
50+
margin: 1rem 0;
5151
}
5252
}
5353

5454
h4, .h4 {
55-
margin: $dimension-layout-xxsmall 0;
55+
margin: 0.500rem 0;
5656
@include heading-4;
5757

5858
@media(min-width: $min-width-breakpoint-tablet){
59-
margin: $dimension-layout-xsmall 0;
59+
margin: 1rem 0;
6060
}
6161
}
6262

6363
h5, .h5 {
64-
margin: $dimension-layout-xxsmall 0;
64+
margin: 0.500rem 0;
6565
@include heading-5;
6666

6767
@media(min-width: $min-width-breakpoint-tablet){
68-
margin: $dimension-layout-xsmall 0;
68+
margin: 1rem 0;
6969
}
7070
}
7171

@@ -102,7 +102,7 @@ li {
102102

103103
// this ensures that there will be a space if there is more than one message
104104
#message-section .cdx-message:not(:nth-child(1)) {
105-
margin-top: $dimension-layout-xsmall;
105+
margin-top: 1rem;
106106
}
107107

108108
/**
@@ -121,7 +121,6 @@ li {
121121

122122
.auth-widget {
123123
display: flex;
124-
color: $color-base-50;
125124

126125
.username {
127126
margin-inline-end: $dimension-spacing-xlarge;
@@ -133,7 +132,7 @@ li {
133132
}
134133

135134
@media (max-width: $max-width-breakpoint-tablet) {
136-
margin-bottom: $dimension-layout-xsmall;
135+
margin-bottom: 1rem;
137136
}
138137
}
139138
}

0 commit comments

Comments
 (0)