Skip to content
This repository was archived by the owner on Sep 24, 2024. It is now read-only.

Commit 187ac55

Browse files
authored
Merge pull request #79 from selemondev/update-eslint-rules
chore: update eslint rules
2 parents 3263e32 + 81fcc20 commit 187ac55

File tree

2 files changed

+1
-54
lines changed

2 files changed

+1
-54
lines changed
Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,6 @@
11
<script setup lang='ts'>
2-
import { ref } from 'vue'
3-
4-
const isOpen = ref(false)
52
</script>
63

74
<template>
8-
<div class="grid place-items-center w-full min-h-screen">
9-
<UButton label="Open" @click="isOpen = true" />
10-
<USlideover v-model="isOpen" side="right" prevent-close>
11-
<UCard
12-
class="flex flex-col flex-1"
13-
:ui="{ body: { base: 'flex-1' }, ring: '', divide: 'divide-y divide-gray-100 dark:divide-gray-800' }"
14-
>
15-
<template #header>
16-
<div class="flex items-center justify-between">
17-
<h3 class="text-base font-semibold leading-6 text-gray-900 dark:text-white">
18-
Slideover
19-
</h3>
20-
<UButton intent="ghost" icon="heroicons:x-mark-20-solid" class="-my-1" @click="isOpen = false" />
21-
</div>
22-
</template>
23-
</UCard>
24-
</USlideover>
25-
</div>
5+
<div />
266
</template>

packages/nuxtlabs-ui-vue/tailwind.config.js

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,8 @@
1-
// /* eslint-disable no-unused-expressions */
2-
// import tailwindColors from './node_modules/tailwindcss/colors'
3-
4-
// const colorSafeList = []
5-
6-
// // Skip these to avoid a load of deprecated warnings when tailwind starts up
7-
// const deprecated = ['lightBlue', 'warmGray', 'trueGray', 'coolGray', 'blueGray']
8-
9-
// for (const colorName in tailwindColors) {
10-
// if (deprecated.includes(colorName))
11-
// continue
12-
13-
// const shades = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900]
14-
15-
// const pallette = tailwindColors[colorName]
16-
17-
// if (typeof pallette === 'object') {
18-
// shades.forEach((shade) => {
19-
// if (shade in pallette) {
20-
// colorSafeList.push(`text-${colorName}-${shade}`),
21-
// colorSafeList.push(`accent-${colorName}-${shade}`),
22-
// colorSafeList.push(`bg-${colorName}-${shade}`),
23-
// colorSafeList.push(`hover:bg-${colorName}-${shade}`),
24-
// colorSafeList.push(`focus:bg-${colorName}-${shade}`),
25-
// colorSafeList.push(`ring-${colorName}-${shade}`),
26-
// colorSafeList.push(`focus:ring-${colorName}-${shade}`),
27-
// colorSafeList.push(`border-${colorName}-${shade}`)
28-
// }
29-
// })
30-
// }
31-
// }
321
/** @type {import('tailwindcss').Config} */
33-
// export const safelist = colorSafeList
342
export const content = ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}']
353
export const darkMode = 'class'
364
export const theme = {
375
extend: {
38-
// colors: tailwindColors,
396
backgroundColor: ['disabled'],
407
textColor: ['disabled'],
418
fontFamily: {

0 commit comments

Comments
 (0)