diff --git a/TODO.md b/TODO.md index 6711267..f998766 100644 --- a/TODO.md +++ b/TODO.md @@ -1,7 +1,6 @@ - Send email when domain has been connected - Create user - add API with API docs -- Update color picker to use new design - Notifications infrastructure - Anonymous feedback claiming - Create widgets for users to embed on their website \ No newline at end of file diff --git a/components/ColorPicker.vue b/components/ColorPicker.vue new file mode 100644 index 0000000..a8610b7 --- /dev/null +++ b/components/ColorPicker.vue @@ -0,0 +1,105 @@ + + + + + diff --git a/components/products/ProductSettingsAppearance.vue b/components/products/ProductSettingsAppearance.vue index 255a590..a25578f 100644 --- a/components/products/ProductSettingsAppearance.vue +++ b/components/products/ProductSettingsAppearance.vue @@ -10,20 +10,8 @@
- -
- - -
+ +

Used for buttons and links on your public board.

diff --git a/nuxt.config.ts b/nuxt.config.ts index d8887fb..ae2f39a 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -7,6 +7,11 @@ export default defineNuxtConfig({ vite: { plugins: [tailwindcss()], }, + vue: { + compilerOptions: { + isCustomElement: (tag: string) => tag === 'hex-color-picker', + }, + }, modules: ['@nuxt/fonts', '@nuxt/icon', '@nuxt/test-utils', 'shadcn-nuxt', '@nuxtjs/color-mode', 'nuxt-nodemailer', '@scalar/nuxt'], runtimeConfig: { nodemailer: { diff --git a/package.json b/package.json index 5b0e146..23fd761 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ "tailwind-merge": "^3.3.0", "tailwindcss": "^4.1.8", "tw-animate-css": "^1.3.4", + "vanilla-colorful": "^0.7.2", "vue": "^3.5.16", "vue-router": "^4.5.1", "vue-sonner": "^2.0.1", diff --git a/yarn.lock b/yarn.lock index e252867..2b0369c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10566,6 +10566,11 @@ validate-npm-package-license@^3.0.4: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" +vanilla-colorful@^0.7.2: + version "0.7.2" + resolved "https://registry.yarnpkg.com/vanilla-colorful/-/vanilla-colorful-0.7.2.tgz#3fb1f4b9f15b797e20fd1ce8e0364f33b073f4a2" + integrity sha512-z2YZusTFC6KnLERx1cgoIRX2CjPRP0W75N+3CC6gbvdX5Ch47rZkEMGO2Xnf+IEmi3RiFLxS18gayMA27iU7Kg== + vfile-location@^5.0.0: version "5.0.3" resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-5.0.3.tgz#cb9eacd20f2b6426d19451e0eafa3d0a846225c3"