diff --git a/bun.lockb b/bun.lockb index f57edc4..add284f 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index b7a25e4..e71da34 100644 --- a/package.json +++ b/package.json @@ -14,10 +14,12 @@ }, "dependencies": { "@tailwindcss/vite": "^4.0.17", + "@vuestic/tailwind": "^0.1.5", "pinia": "^3.0.1", "pinia-plugin-persistedstate": "^4.2.0", "tailwindcss": "^4.0.17", - "vue": "^3.5.13" + "vue": "^3.5.13", + "vuestic-ui": "^1.10.3" }, "devDependencies": { "@tsconfig/node22": "^22.0.0", diff --git a/src/App.vue b/src/App.vue index 8d78ddf..3f8d55d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,6 +3,16 @@ import Card from '@/components/card.vue' import { type CardT, type Preset, presets, validPreset } from '@/colors.ts' import { useCards } from '@/stores/cards.ts' import { ref } from 'vue' +import { + VaButton, + VaButtonGroup, + VaCard, + VaCardContent, + VaColorInput, + VaCounter, + VaDivider, + VaInput, +} from 'vuestic-ui' const cardStore = useCards() function presetChange(card: CardT, preset: keyof typeof presets | 'none') { @@ -11,7 +21,6 @@ function presetChange(card: CardT, preset: keyof typeof presets | 'none') { } const values = presets[preset] - console.log(values) Object.keys(values).forEach((key) => (card[key as keyof Preset] = values[key as keyof Preset])) } const active = ref(-1) @@ -20,59 +29,49 @@ const active = ref(-1)