fix(ui):theme color switch for ghost button
This commit is contained in:
parent
d2a99599f0
commit
0cd25f7ce4
|
@ -141,19 +141,31 @@ onMounted(() => {
|
|||
}
|
||||
}
|
||||
|
||||
&.ghost {
|
||||
&:not(:active):not(.is-active):not(:hover):not(.is-hovered) {
|
||||
background-color: transparent !important;
|
||||
border-color: transparent !important;
|
||||
color: var(--fw-gray-100);
|
||||
@include dark-theme {
|
||||
&.ghost {
|
||||
&:not(:active):not(.is-active):not(:hover):not(.is-hovered) {
|
||||
background-color: transparent !important;
|
||||
border-color: transparent !important;
|
||||
}
|
||||
&.is-hovered,
|
||||
&:hover,
|
||||
&.is-active,
|
||||
&:active {
|
||||
background-color: var(--fw-gray-800) !important;
|
||||
border-color: var(--fw-gray-800) !important;
|
||||
color: var(--fw-text-color) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include light-theme {
|
||||
&.is-hovered,
|
||||
&:hover,
|
||||
&.is-active,
|
||||
&:active {
|
||||
background-color: var(--fw-gray-800) !important;
|
||||
border-color: var(--fw-gray-800) !important;
|
||||
color: var(--fw-gray-100) !important;
|
||||
color: var(--fw-bg-color) !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue