diff --git a/playground/bun.lockb b/playground/bun.lockb new file mode 100755 index 0000000..d439293 Binary files /dev/null and b/playground/bun.lockb differ diff --git a/playground/src/components/MyComponent.vue b/playground/src/components/MyComponent.vue index d8c7720..bbcd713 100644 --- a/playground/src/components/MyComponent.vue +++ b/playground/src/components/MyComponent.vue @@ -19,50 +19,53 @@ const watermarkOptions = ref({ - diff --git a/playground/src/components/Navbar.vue b/playground/src/components/Navbar.vue index b150c12..9d60bd3 100644 --- a/playground/src/components/Navbar.vue +++ b/playground/src/components/Navbar.vue @@ -5,16 +5,22 @@
@watermarkify/vue-watermark
-
+
- + diff --git a/playground/src/style.css b/playground/src/style.css index b803d58..4d95da4 100644 --- a/playground/src/style.css +++ b/playground/src/style.css @@ -32,12 +32,12 @@ a:hover { color: #535bf2; } +* { + box-sizing: border-box; +} + body { margin: 0; - display: flex; - place-items: center; - min-width: 320px; - min-height: 100vh; } h1 { @@ -70,6 +70,9 @@ button:focus-visible { #app { width: 100%; + min-height: 100vh; + display: flex; + flex-direction: column; margin: 0 auto; text-align: center; } diff --git a/playground/windi.config.ts b/playground/windi.config.ts new file mode 100644 index 0000000..aa87a7f --- /dev/null +++ b/playground/windi.config.ts @@ -0,0 +1,25 @@ +import { defineConfig } from 'windicss/helpers' +import colors from 'windicss/colors' +import plugin from 'windicss/plugin' + +export default defineConfig({ + theme: { + extend: { + colors: { + watermarkify: { + 500: '#62D7F4', + }, + }, + }, + }, + plugins: [ + plugin(({ addUtilities }) => { + const newUtilities = { + '.flex-2': { + flex: '2', + }, + } + addUtilities(newUtilities) + }), + ], +})