Skip to content

Commit

Permalink
chore: adds advanced attribute to some theme variables for future edi…
Browse files Browse the repository at this point in the history
…tor support
  • Loading branch information
andrew-boyd committed Oct 26, 2023
1 parent 4b1321d commit 93f8408
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,37 +113,43 @@ export default createTheme({
max: "shadow-lg",
},
baseColorShade: {
advanced: true,
editor: "buttons",
value: "600",
scale: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
min: "500",
max: "600",
},
borderShadeLightMode: {
advanced: true,
editor: "buttons",
value: "400",
scale: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
min: "100",
max: "700",
},
borderShadeDarkMode: {
advanced: true,
editor: "buttons",
value: "500",
scale: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
min: "200",
max: "800",
},
inputMaxWidth: {
advanced: true,
editor: "select",
value: "max-w-[20em]",
scale: ["max-w-[15em]", "max-w-[17em]", "max-w-[20em]", "max-w-[24em]"],
},
tagRadius: {
advanced: true,
editor: "radius",
value: "rounded",
scale: ["rounded-none", "rounded", "rounded-full"],
},
swatchRadius: {
advanced: true,
editor: "radius",
value: "rounded",
scale: ["rounded-none", "rounded", "rounded-full"],
Expand Down

0 comments on commit 93f8408

Please sign in to comment.