chore: Refactor utility files for RTL (#6515)

* Chore: Refactor for RTL

* Chore: mInor fixes

* minor fixes
This commit is contained in:
Sivin Varghese
2023-02-23 16:59:48 +05:30
committed by GitHub
parent 2674130714
commit fdf8b3f369
20 changed files with 37 additions and 35 deletions

View File

@@ -50,22 +50,22 @@ $default-button-height: 4.0rem;
&.secondary {
border-color: var(--s-200);
color: var(--s-700)
color: var(--s-700);
}
&.success {
border-color: var(--s-200);
color: var(--g-700)
color: var(--g-700);
}
&.alert {
border-color: var(--s-200);
color: var(--r-700)
color: var(--r-700);
}
&.warning {
border-color: var(--s-200);
color: var(--y-700)
color: var(--y-700);
}
&:hover {
@@ -116,19 +116,19 @@ $default-button-height: 4.0rem;
color: var(--w-700);
&.secondary {
color: var(--s-700)
color: var(--s-700);
}
&.success {
color: var(--g-700)
color: var(--g-700);
}
&.alert {
color: var(--r-700)
color: var(--r-700);
}
&.warning {
color: var(--y-700)
color: var(--y-700);
}
&:hover {
@@ -205,11 +205,3 @@ $default-button-height: 4.0rem;
}
}
// @TDOD move to utility file
.button--fixed-right-top {
position: fixed;
right: $space-small;
top: $space-small;
}