Skip to content

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
shgysk8zer0 committed Sep 28, 2024
1 parent 7d27a4c commit 931cb44
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions test/index.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
import { addStyles, css } from '@aegisjsproject/core';
import {
btn, btnPrimary, btnSuccess, btnDanger, btnWarning, reset, baseTheme, darkTheme,
lightTheme, componentBase, componentBorder, registerProperties, customProperties,
componentDarkTheme, componentLightTheme, properties,
lightTheme, componentBase, componentBorder, componentDarkTheme, componentLightTheme, properties,
} from '@aegisjsproject/styles';

const result = registerProperties(customProperties);

if (result instanceof Error) {
console.error(result);
}

addStyles(document, btn, btnPrimary, btnSuccess, btnDanger, btnWarning, reset, baseTheme, darkTheme, lightTheme);
addStyles(document, properties, btn, btnPrimary, btnSuccess, btnDanger, btnWarning, reset, baseTheme, darkTheme, lightTheme);

document.getElementById('toggle').addEventListener('click', async () => {
switch(document.documentElement.dataset.theme) {
Expand Down

0 comments on commit 931cb44

Please sign in to comment.