色がおかしいのを修正
This commit is contained in:
parent
90028a96b6
commit
39b66a2638
|
@ -83,7 +83,7 @@ export default defineComponent({
|
|||
background: var(--accentedBg);
|
||||
|
||||
&.gamingDark{
|
||||
color:white;
|
||||
color: black !important;
|
||||
background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd);
|
||||
background-size: 1800% 1800%;
|
||||
-webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite;
|
||||
|
@ -91,7 +91,8 @@ export default defineComponent({
|
|||
animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite;
|
||||
}
|
||||
&.gamingLight{
|
||||
color: black;
|
||||
|
||||
color:white !important;
|
||||
background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4);
|
||||
background-size: 1800% 1800% !important;
|
||||
-webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important;
|
||||
|
|
|
@ -108,6 +108,7 @@ function hexToRgb(hex) {
|
|||
document.documentElement.style.setProperty('--homeColor', hexToRgb(defaultStore.state.homeColor));
|
||||
document.documentElement.style.setProperty("--followerColor",hexToRgb(defaultStore.state.followerColor));
|
||||
document.documentElement.style.setProperty("--specifiedColor",hexToRgb(defaultStore.state.specifiedColor))
|
||||
document.documentElement.style.setProperty("--localOnlyColor",hexToRgb(defaultStore.state.localOnlyColor))
|
||||
document.documentElement.style.setProperty('--gamingspeed', defaultStore.state.numberOfGamingSpeed+'s');
|
||||
|
||||
const iconOnly = ref(false);
|
||||
|
@ -307,11 +308,11 @@ function more(ev: MouseEvent) {
|
|||
}
|
||||
|
||||
&.gamingLight {
|
||||
color: white;
|
||||
color: black;
|
||||
}
|
||||
|
||||
&.gamingDark {
|
||||
color: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
&.gamingLight:before {
|
||||
|
@ -681,7 +682,7 @@ function more(ev: MouseEvent) {
|
|||
-webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important;
|
||||
-moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important;
|
||||
animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important;
|
||||
color: white;
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
&.gamingLight:hover, &.gamingLight.active {
|
||||
|
@ -692,12 +693,12 @@ function more(ev: MouseEvent) {
|
|||
-webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important;
|
||||
-moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important;
|
||||
animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important;
|
||||
color: white;
|
||||
color: white !important;
|
||||
}
|
||||
}
|
||||
|
||||
&.gamingDark:before {
|
||||
color: black;
|
||||
color: black !important;
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
|
@ -717,7 +718,7 @@ function more(ev: MouseEvent) {
|
|||
}
|
||||
|
||||
&.gamingDark:hover, &.gamingDark.active {
|
||||
color: black;
|
||||
color: black !important;
|
||||
|
||||
&.gamingDark:before {
|
||||
background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd);
|
||||
|
|
Loading…
Reference in a new issue