Compare commits

..

1 Commits

Author SHA1 Message Date
review-agent-prime[bot]
160b762654 Edit apps/web/app/(app)/environments/[environmentId]/settings/lookandfeel/components/UnifiedStyling.tsx 2024-03-04 16:40:21 +00:00
2 changed files with 2 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ type UnifiedStylingProps = {
product: TProduct;
};
const colorDefaults = {
const COLOR_DEFAULTS = {
brandColor: "#64748b",
questionColor: "#2b2524",
inputColor: "#efefef",

View File

@@ -1,3 +1,2 @@
-- AlterTable
ALTER TABLE "Product" ADD COLUMN "styling" JSONB DEFAULT '{"unifiedStyling":true,"allowStyleOverwrite":true,"brandColor":{"light":"#64748b"}}';
CREATE INDEX idx_product_styling ON "Product" USING gin ("styling");
ALTER TABLE "Product" ADD COLUMN "styling" JSONB DEFAULT '{"unifiedStyling":true,"allowStyleOverwrite":true,"brandColor":{"light":"#64748b"}}';