Skip to content

Commit

Permalink
prevent colors from disappearing in admin
Browse files Browse the repository at this point in the history
  • Loading branch information
appinteractive committed May 4, 2023
1 parent 20fd5a1 commit c4b871a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions experimental-examples/tina-cloud-starter-iframe/tina/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,17 @@ const config = defineStaticConfig({
label: "Primary Color",
name: "color",
ui: {
/* HACK TO KEEP COLORS IN TAILWIND AFTER PURGE
blue: "bg-blue-500 border-blue-600",
teal: "bg-teal-500 border-teal-600",
green: "bg-green-500 border-green-600",
yellow: "bg-yellow-500 border-yellow-600",
orange: "bg-orange-500 border-orange-600",
red: "bg-red-500 border-red-600",
pink: "bg-pink-500 border-pink-600",
purple: "bg-purple-500 border-purple-600",
white: "bg-white border-gray-150",
*/
component: ColorPickerInput,
},
},
Expand Down

0 comments on commit c4b871a

Please sign in to comment.