mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
feat: visual color picker (#43)
* feat: visual color picker * feat: use pallete for random colors * fix: style issues like indentation in code and different color format
This commit is contained in:
@@ -27,7 +27,7 @@ export default async function CategoriesSettingsPage() {
|
||||
columns={[
|
||||
{ key: "name", label: "Name", editable: true },
|
||||
{ key: "llm_prompt", label: "LLM Prompt", editable: true },
|
||||
{ key: "color", label: "Color", defaultValue: randomHexColor(), editable: true },
|
||||
{ key: "color", label: "Color", type: "color", defaultValue: randomHexColor(), editable: true },
|
||||
]}
|
||||
onDelete={async (code) => {
|
||||
"use server"
|
||||
|
||||
@@ -26,7 +26,7 @@ export default async function ProjectsSettingsPage() {
|
||||
columns={[
|
||||
{ key: "name", label: "Name", editable: true },
|
||||
{ key: "llm_prompt", label: "LLM Prompt", editable: true },
|
||||
{ key: "color", label: "Color", defaultValue: randomHexColor(), editable: true },
|
||||
{ key: "color", label: "Color", type: "color", defaultValue: randomHexColor(), editable: true },
|
||||
]}
|
||||
onDelete={async (code) => {
|
||||
"use server"
|
||||
|
||||
Reference in New Issue
Block a user