No description
Find a file
isUnknown 9af36fb422 feat: integrate Coloris color picker for background field
Add Coloris.js library for enhanced color selection in PageSettings with
automatic button state sync across tab changes.

Features:
- Color picker with swatches, alpha support, and format toggle (hex/rgb/hsl)
- Button positioned to the left of input field
- Automatic sync when switching tabs (remembers selected color)
- Close button and click-outside-to-close functionality
- Dark theme with pill UI style

Changes:
- Install @melloware/coloris package
- PageSettings.vue: Integrate Coloris with data-coloris attribute,
  add tab visibility detection via provide/inject, force button update
  when returning to document tab
- EditorPanel.vue: Provide activeTab to child components, increase
  panel width to 30rem
- _forms.scss: Add .input-with-color styles with custom Coloris
  button positioning (absolute positioned to left of input)
- Temporarily comment out rgb/hex format buttons (replaced by Coloris
  format toggle)

Technical details:
- Uses provide/inject pattern to detect tab changes
- Triggers synthetic input events to force Coloris button refresh
- Custom CSS overrides to position swatch button correctly

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 15:03:29 +01:00
.vscode init with kirby, vue and pagedjs interactive 2025-11-24 14:01:48 +01:00
public feat: integrate Coloris color picker for background field 2025-12-04 15:03:29 +01:00
src feat: integrate Coloris color picker for background field 2025-12-04 15:03:29 +01:00
.gitignore init with kirby, vue and pagedjs interactive 2025-11-24 14:01:48 +01:00
claude.md init with kirby, vue and pagedjs interactive 2025-11-24 14:01:48 +01:00
index.html init with kirby, vue and pagedjs interactive 2025-11-24 14:01:48 +01:00
package-lock.json feat: integrate Coloris color picker for background field 2025-12-04 15:03:29 +01:00
package.json feat: integrate Coloris color picker for background field 2025-12-04 15:03:29 +01:00
README.md init with kirby, vue and pagedjs interactive 2025-11-24 14:01:48 +01:00
vite.config.js init with kirby, vue and pagedjs interactive 2025-11-24 14:01:48 +01:00

Vue 3 + Vite

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Learn more about IDE Support for Vue in the Vue Docs Scaling up Guide.