This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ limitations under the License.
15
15
*/
16
16
17
17
.mx_BetaCard {
18
- margin-bottom : 20 px ;
19
- padding : 24 px ;
18
+ margin-bottom : $spacing-20 ;
19
+ padding : $spacing-24 ;
20
20
background-color : $system ;
21
21
border-radius : 8 px ;
22
22
box-sizing : border-box;
@@ -25,7 +25,7 @@ limitations under the License.
25
25
.mx_BetaCard_columns {
26
26
display : flex;
27
27
flex-flow : wrap;
28
- gap : 20 px ;
28
+ gap : $spacing-20 ;
29
29
justify-content : center;
30
30
31
31
.mx_BetaCard_columns_description {
@@ -36,11 +36,11 @@ limitations under the License.
36
36
font-size : $font-18px ;
37
37
line-height : $font-22px ;
38
38
color : $primary-content ;
39
- margin : 4 px 0 14 px ;
39
+ margin : $spacing-4 0 14 px ; // TODO: use a spacing variable
40
40
41
41
display : flex;
42
42
align-items : center;
43
- column-gap : 12 px ;
43
+ column-gap : $spacing-12 ;
44
44
}
45
45
46
46
.mx_BetaCard_caption {
@@ -78,7 +78,7 @@ limitations under the License.
78
78
line-height : $font-15px ;
79
79
80
80
> h4 {
81
- margin : 12 px 0 0 ;
81
+ margin : $spacing-12 0 0 ;
82
82
}
83
83
84
84
> p {
@@ -102,13 +102,13 @@ limitations under the License.
102
102
103
103
.mx_BetaCard_relatedSettings {
104
104
.mx_SettingsFlag {
105
- margin : 16 px 0 0 ;
105
+ margin : $spacing-16 0 0 ;
106
106
font-size : $font-15px ;
107
107
line-height : $font-24px ;
108
108
color : $primary-content ;
109
109
110
110
.mx_SettingsFlag_microcopy {
111
- margin-top : 4 px ;
111
+ margin-top : $spacing-4 ;
112
112
font-size : $font-12px ;
113
113
line-height : $font-15px ;
114
114
}
@@ -122,10 +122,10 @@ limitations under the License.
122
122
123
123
.mx_BetaCard_betaPill {
124
124
background-color : $accent-alt ;
125
- padding : 4 px 10 px ;
125
+ padding : $spacing-4 10 px ; // TODO: use a spacing variable
126
126
border-radius : 8 px ;
127
127
text-transform : uppercase;
128
- font-size : 12 px ;
128
+ font-size : $font- 12px ;
129
129
font-weight : $font-semi-bold ;
130
130
line-height : 15 px ;
131
131
color : $button-primary-fg-color ;
You can’t perform that action at this time.
0 commit comments