diff --git a/app.vue b/app/app.vue similarity index 97% rename from app.vue rename to app/app.vue index c80aca6..98561f2 100644 --- a/app.vue +++ b/app/app.vue @@ -4,7 +4,7 @@ import { errorInfo } from './composables/payload' import 'floating-vue/dist/style.css' import './styles/global.css' import './composables/dark' -import { version } from './package.json' +import { version } from '~~/package.json' import { ensureDataFetch } from '~/composables/payload' useHead({ diff --git a/components/ColorizedConfigName.ts b/app/components/ColorizedConfigName.ts similarity index 100% rename from components/ColorizedConfigName.ts rename to app/components/ColorizedConfigName.ts diff --git a/components/ColorizedRuleName.vue b/app/components/ColorizedRuleName.vue similarity index 100% rename from components/ColorizedRuleName.vue rename to app/components/ColorizedRuleName.vue diff --git a/components/ConfigItem.vue b/app/components/ConfigItem.vue similarity index 98% rename from components/ConfigItem.vue rename to app/components/ConfigItem.vue index e93d779..87fa136 100644 --- a/components/ConfigItem.vue +++ b/app/components/ConfigItem.vue @@ -3,7 +3,7 @@ import { computed, defineModel } from 'vue' import { stringifyUnquoted } from '~/composables/strings' import { filtersRules, stateStorage } from '~/composables/state' import { useRouter } from '#app/composables/router' -import type { FiltersConfigsPage, FlatESLintConfigItem } from '~/composables/types' +import type { FiltersConfigsPage, FlatESLintConfigItem } from '~~/types' const props = defineProps<{ config: FlatESLintConfigItem @@ -40,7 +40,7 @@ const extraConfigs = computed(() => { class="flat-config-item" :open="open" border="~ rounded-lg" relative - :class="active ? 'border-accent:50' : 'border-base'" + :class="active ? 'border-yellow:70' : 'border-base'" @toggle="open = $event.target.open" > diff --git a/components/GlobItem.vue b/app/components/GlobItem.vue similarity index 100% rename from components/GlobItem.vue rename to app/components/GlobItem.vue diff --git a/components/NavBar.vue b/app/components/NavBar.vue similarity index 97% rename from components/NavBar.vue rename to app/components/NavBar.vue index cbafb0f..2fd714b 100644 --- a/components/NavBar.vue +++ b/app/components/NavBar.vue @@ -1,7 +1,7 @@