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