chore: Replaced deprecated Spacing variables with current values
Approved-by: Matilda Landström
This commit is contained in:
@@ -66,14 +66,14 @@ a.text {
|
||||
a.default {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: var(--Spacing-x1);
|
||||
gap: var(--Space-x1);
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.btn.icon:is(.small, .medium, .large) {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: var(--Spacing-x1);
|
||||
gap: var(--Space-x1);
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
@@ -81,34 +81,34 @@ a.default {
|
||||
.btn.small {
|
||||
font-size: var(--typography-Caption-Bold-fontSize);
|
||||
line-height: var(--typography-Caption-Bold-lineHeight);
|
||||
gap: var(--Spacing-x-quarter);
|
||||
padding: calc(var(--Spacing-x1) + 2px) var(--Spacing-x2);
|
||||
gap: var(--Space-x025);
|
||||
padding: calc(var(--Space-x1) + 2px) var(--Space-x2);
|
||||
/* Special case padding to adjust the missing border */
|
||||
}
|
||||
|
||||
.btn.small.secondary {
|
||||
padding: var(--Spacing-x1) var(--Spacing-x2);
|
||||
padding: var(--Space-x1) var(--Space-x2);
|
||||
}
|
||||
|
||||
.btn.medium {
|
||||
gap: var(--Spacing-x-half);
|
||||
padding: calc(var(--Space-x15) + 2px) var(--Spacing-x2);
|
||||
gap: var(--Space-x05);
|
||||
padding: calc(var(--Space-x15) + 2px) var(--Space-x2);
|
||||
/* Special case padding to adjust the missing border */
|
||||
}
|
||||
|
||||
.medium.secondary {
|
||||
padding: var(--Space-x15) var(--Spacing-x2);
|
||||
padding: var(--Space-x15) var(--Space-x2);
|
||||
}
|
||||
|
||||
.btn.large {
|
||||
gap: var(--Spacing-x-half);
|
||||
padding: calc(var(--Spacing-x2) + 2px) var(--Spacing-x3);
|
||||
gap: var(--Space-x05);
|
||||
padding: calc(var(--Space-x2) + 2px) var(--Space-x3);
|
||||
/* Special case padding to adjust the missing border */
|
||||
}
|
||||
|
||||
.large.secondary {
|
||||
gap: var(--Spacing-x-half);
|
||||
padding: var(--Spacing-x2) var(--Spacing-x3);
|
||||
gap: var(--Space-x05);
|
||||
padding: var(--Space-x2) var(--Space-x3);
|
||||
}
|
||||
|
||||
/* DISABLED */
|
||||
|
||||
Reference in New Issue
Block a user