mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-09 20:44:06 +02:00
refactor(frontend): prefix css variables (#14725)
* wip * Update index.d.ts * remove unnecessary codes
This commit is contained in:
@@ -21,7 +21,7 @@ export default {
|
||||
const myBg = window.getComputedStyle(src).backgroundColor;
|
||||
|
||||
if (parentBg === myBg) {
|
||||
src.style.backgroundColor = 'var(--bg)';
|
||||
src.style.backgroundColor = 'var(--MI_THEME-bg)';
|
||||
} else {
|
||||
src.style.backgroundColor = myBg;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user