Update color picker categories

This commit is contained in:
Andrew Kingston 2025-03-03 14:48:20 +00:00
parent 25cc654fd3
commit 12286a309f
No known key found for this signature in database
1 changed files with 13 additions and 17 deletions

View File

@ -27,22 +27,6 @@
const dispatch = createEventDispatcher()
const categories = [
{
label: "Theme grays",
colors: [
"gray-50",
"gray-75",
"gray-100",
"gray-200",
"gray-300",
"gray-400",
"gray-500",
"gray-600",
"gray-700",
"gray-800",
"gray-900",
],
},
{
label: "Theme colors",
colors: [
@ -90,6 +74,18 @@
"blue-700",
"indigo-700",
"magenta-700",
"gray-50",
"gray-75",
"gray-100",
"gray-200",
"gray-300",
"gray-400",
"gray-500",
"gray-600",
"gray-700",
"gray-800",
"gray-900",
],
},
{
@ -191,7 +187,7 @@
<!-- svelte-ignore a11y-no-static-element-interactions -->
<!-- svelte-ignore a11y-click-events-have-key-events -->
<Popover bind:this={dropdown} anchor={preview} maxHeight={384} {offset} {align}>
<Popover bind:this={dropdown} anchor={preview} maxHeight={350} {offset} {align}>
<Layout paddingX="XL" paddingY="L">
<div class="container">
{#each categories as category}