fix lints (#8737)
* fix: emits use ev instead of e * fix: errors use err instead of e * fix: replace use of data where possible * fix: events use evt instead of e * fix: use strict equals * fix: use emoji instead of e * fix: vue lints
This commit is contained in:
@@ -128,7 +128,7 @@ function showPreview() {
|
||||
}
|
||||
|
||||
function setBgColor(color: typeof bgColors[number]) {
|
||||
if (theme.base != color.kind) {
|
||||
if (theme.base !== color.kind) {
|
||||
const base = color.kind === 'dark' ? darkTheme : lightTheme;
|
||||
for (const prop of Object.keys(base.props)) {
|
||||
if (prop === 'accent') continue;
|
||||
|
||||
Reference in New Issue
Block a user