You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
fix: button in light theme
This commit is contained in:
@@ -8,10 +8,11 @@
|
||||
--error: #8d1d19;
|
||||
--icon: #48565e;
|
||||
--icon-bc: #2b3338;
|
||||
--small-card: var(--icon-bc);
|
||||
--button: var(--background);
|
||||
/* Locked Color */
|
||||
--lock-desc: #c9c9c9;
|
||||
--lock: #fff;
|
||||
--test: #c4a000;
|
||||
}
|
||||
|
||||
* {
|
||||
@@ -127,6 +128,7 @@ a {
|
||||
padding-bottom: 1em;
|
||||
border-radius: 30px;
|
||||
transition: transform 0.07s ease-in-out;
|
||||
background-color: var(--button);
|
||||
}
|
||||
|
||||
.button:active {
|
||||
@@ -135,7 +137,7 @@ a {
|
||||
|
||||
.small_card {
|
||||
margin-top: 10px;
|
||||
background: var(--icon-bc);
|
||||
background: var(--small-card);
|
||||
border-radius: 15px;
|
||||
padding-top: 5px;
|
||||
padding-left: 10px;
|
||||
@@ -144,7 +146,7 @@ a {
|
||||
}
|
||||
|
||||
.small_card_bg {
|
||||
background: var(--icon-bc);
|
||||
background: var(--small-card);
|
||||
}
|
||||
|
||||
.small_card_bg_in {
|
||||
|
||||
@@ -45,6 +45,7 @@ function setDark() {
|
||||
rootCss.style.setProperty('--dim', '#1d2327')
|
||||
rootCss.style.setProperty('--icon', '#48565e')
|
||||
rootCss.style.setProperty('--icon-bc', '#313a3f')
|
||||
rootCss.style.setProperty('--button', 'var(--background)')
|
||||
sys_theme = setData('dark')
|
||||
settings_icon.innerHTML = '<img class="dimc" src="assets/settings.svg">'
|
||||
expand_clicker.innerHTML = '<img class="dimc" src="assets/expand.svg">'
|
||||
@@ -61,6 +62,7 @@ function setLight() {
|
||||
rootCss.style.setProperty('--dim', '#e0e0e0')
|
||||
rootCss.style.setProperty('--icon', '#acacac')
|
||||
rootCss.style.setProperty('--icon-bc', '#c9c9c9')
|
||||
rootCss.style.setProperty('--button', '#b3b3b3')
|
||||
sys_theme = setData('light')
|
||||
settings_icon.innerHTML = light_settings_icon
|
||||
expand_clicker.innerHTML = light_expand_icon
|
||||
|
||||
Reference in New Issue
Block a user