UNPKG

zeytal

Version:

From Figma to code in only one command line. Zeytal allows designers and developers to sync their work by auto-generating front-end code from their Figma files. Generate variables, styles, and SVGs from Figma.

908 lines 53.4 kB
{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Zeytal Configuration Schema", "description": "Zeytal configuration JSON Schema", "$ref": "#/definitions/ZeytalCLIConfigSchema", "definitions": { "ZeytalCLIConfigSchema": { "type": "object", "additionalProperties": false, "properties": { "assets": { "type": "object", "properties": { "figmaFilesVersion": { "type": "string", "enum": [ "published", "saved", "live" ], "description": "Get the correct version of your Figma file to generate assets from.\n\nDocs: https://zeytal.com/docs/assets-config#figma-files-version" }, "figmaFilesPagesBatchSize": { "type": "number", "description": "Set the number of Figma file pages to fetch at the same time.\n\nDocs: https://zeytal.com/docs/assets-config#figma-files-pages-batch-size" }, "directoryPath": { "type": "string", "description": "This is the directory path into which your optimized assets will be written.\n\nThis path is relative to your root directory.\n\nDocs: https://zeytal.com/docs/assets-config#directory-path" }, "optimize": { "type": "object", "properties": { "svg": { "type": "object", "properties": { "multipass": { "type": "boolean" }, "floatPrecision": { "type": "number" }, "plugins": { "type": "array", "items": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "name": { "type": "string" }, "params": { "type": "object", "additionalProperties": {} } }, "required": [ "name" ], "additionalProperties": false }, { "$ref": "#/definitions/CustomPlugin" } ] } } }, "additionalProperties": false, "description": "SVG files optimization config.\n\nDocs: https://zeytal.com/docs/assets-config#svgs-optimization" } }, "additionalProperties": false, "description": "Figma assets generation optimization config object.\n\nDocs: https://zeytal.com/docs/assets-config#svgs-optimization" } }, "additionalProperties": false, "description": "Figma assets generation config object.\n\nDocs: https://zeytal.com/docs/assets-config" }, "styles": { "type": "object", "properties": { "figmaFilesVersion": { "type": "string", "enum": [ "published", "saved", "live" ], "description": "Get the correct version of your Figma file to generate styles from.\n\nDocs: https://zeytal.com/docs/styles-config#figma-files-version" }, "figmaFilesPagesBatchSize": { "type": "number", "description": "Set the number of Figma file pages to fetch at the same time.\n\nDocs: https://zeytal.com/docs/styles-config#figma-files-pages-batch-size" }, "directoryPath": { "type": "string", "description": "This is the directory path into which your transformed styles will be written.\n\nThis path is relative to your root directory.\n\nDocs: https://zeytal.com/docs/styles-config#directory-path" }, "formats": { "type": "object", "properties": { "targets": { "type": "array", "items": { "type": "string", "enum": [ "tw", "ts", "esm", "cjs", "json", "css", "scss", "sass", "less" ] }, "description": "This setting controls the format of your generated styles files.\n\nDocs: https://zeytal.com/docs/styles-config#output-formats" }, "colors": { "type": "object", "properties": { "format": { "type": "string", "enum": [ "hex", "rgba", "hsla" ], "description": "This setting controls the color format in which your color styles are generated.\n\nDocs: https://zeytal.com/docs/styles-config#colors-format" } }, "additionalProperties": false, "description": "Color styles config object.\n\nDocs: https://zeytal.com/docs/styles-config#colors-format" }, "fonts": { "type": "object", "properties": { "usePostscriptFontNames": { "type": "boolean", "description": "Choose whether or not to use the `fontPostScriptName` value as `fontName`.\n\nDocs: https://zeytal.com/docs/styles-config#use-postscript-font-names" }, "unit": { "type": "string", "enum": [ "px", "rem" ], "description": "Choose the unit of your generated font styles.\n\nDocs: https://zeytal.com/docs/styles-config#fonts-unit" }, "relativeLineHeight": { "type": "boolean", "description": "Choose whether or not to use a line-height value relative to the font size.\n\nDocs: https://zeytal.com/docs/styles-config#fonts-relative-line-height" } }, "additionalProperties": false, "description": "Font styles config object.\n\nDocs: https://zeytal.com/docs/styles-config#use-postscript-font-names" }, "effects": { "type": "object", "properties": { "combine": { "type": "boolean", "description": "Choose whether or not to combine effects that belong to the same CSS property.\n\nDocs: https://zeytal.com/docs/styles-config#combine-effects" } }, "additionalProperties": false, "description": "Effect styles config object.\n\nDocs: https://zeytal.com/docs/styles-config#combine-effects" }, "grids": { "type": "object", "properties": { "extractColors": { "type": "boolean", "description": "Choose whether or not to extract the colors of the grid styles.\n\nDocs: https://zeytal.com/docs/styles-config#extract-grid-colors" } }, "additionalProperties": false, "description": "Grid styles config object.\n\nDocs: https://zeytal.com/docs/styles-config#extract-grid-colors" } }, "additionalProperties": false, "description": "Figma styles file formats config object.\n\nDocs: https://zeytal.com/docs/styles-config#output-formats" } }, "additionalProperties": false, "description": "Figma styles generation config object.\n\nDocs: https://zeytal.com/docs/styles-config" }, "variables": { "type": "object", "properties": { "directoryPath": { "type": "string", "description": "This is the directory path into which your transformed variables will be written.\n\nThis path is relative to your root directory.\n\nDocs: https://zeytal.com/docs/variables-config#directory-path" }, "collectionsIgnorePrefix": { "type": "string", "description": "Choose whether or not to exclude Figma variable collections from the variables generation process.\n\nDocs: https://zeytal.com/docs/variables-config#collections-ignore-prefix" }, "formats": { "type": "object", "properties": { "targets": { "type": "array", "items": { "type": "string", "enum": [ "tw", "ts", "esm", "cjs", "json", "css", "scss", "sass", "less" ] }, "description": "This setting controls the format of your generated variables files.\n\nDocs: https://zeytal.com/docs/variables-config#output-formats" }, "colors": { "type": "object", "properties": { "format": { "type": "string", "enum": [ "hex", "rgba", "hsla" ], "description": "This setting controls the color format in which your color variables are generated.\n\nDocs: https://zeytal.com/docs/variables-config#colors-format" } }, "additionalProperties": false, "description": "Color variables config object.\n\nDocs: https://zeytal.com/docs/variables-config#colors-format" }, "numbers": { "type": "object", "properties": { "format": { "type": "array", "items": { "type": "object", "properties": { "mapping": { "type": "array", "items": { "type": "string" }, "description": "Target number variables.\n\nDocs: https://zeytal.com/docs/variables-config#numbers-format" }, "unit": { "type": "string", "enum": [ "px", "rem" ], "description": "Choose the unit of the targeted number variables.\n\nDocs: https://zeytal.com/docs/variables-config#numbers-format" } }, "required": [ "mapping", "unit" ], "additionalProperties": false }, "description": "This setting specifies the number format in which some of your number variables will be generated.\n\nDocs: https://zeytal.com/docs/variables-config#numbers-format" } }, "additionalProperties": false, "description": "Number variables config object.\n\nDocs: https://zeytal.com/docs/variables-config#numbers-format" } }, "additionalProperties": false, "description": "Figma variables file formats config object.\n\nDocs: https://zeytal.com/docs/variables-config#output-formats" } }, "additionalProperties": false, "description": "Figma variables generation config object.\n\nDocs: https://zeytal.com/docs/variables-config" }, "tailwind": { "type": "object", "properties": { "tokensPrefix": { "type": "string", "description": "Add a prefix to your generated TailwindCSS theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-prefix" }, "globalModes": { "type": "array", "items": { "type": "array", "items": { "type": "string" } }, "description": "Generate scoped CSS variable declarations to automatically handle Figma variable modes.\n\nDocs: https://zeytal.com/docs/tailwind-config#global-modes" }, "globalIgnoreTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Exclude matching Figma styles and Figma variables from your generated TailwindCSS config files.\n\nDocs: https://zeytal.com/docs/tailwind-config#global-ignore-token-names" }, "globalStripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your Figma style and Figma variable names.\n\nDocs: https://zeytal.com/docs/tailwind-config#global-strip-token-names" }, "globalRewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your Figma style and Figma variable names.\n\nDocs: https://zeytal.com/docs/tailwind-config#global-rewrite-token-names" }, "namespaces": { "type": "object", "properties": { "fontFamily": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS font family namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS font family namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS font family namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS font family namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "fontSize": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS font size namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS font size namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS font size namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS font size namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "fontWeight": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS font weight namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS font weight namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS font weight namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS font weight namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "letterSpacing": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS letter spacing namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS letter spacing namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS letter spacing namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS letter spacing namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "lineHeight": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS line height namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS line height namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS line height namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS line height namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "color": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS color namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS color namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS color namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS color namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "spacing": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS spacing namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS spacing namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS spacing namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS spacing namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "breakpoint": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS breakpoint namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS breakpoint namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS breakpoint namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS breakpoint namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "container": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS container namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS container namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS container namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS container namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "radius": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS radius namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS radius namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS radius namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS radius namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "shadow": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS shadow namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS shadow namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS shadow namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS shadow namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "insetShadow": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS inset shadow namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS inset shadow namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS inset shadow namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS inset shadow namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "dropShadow": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS drop shadow namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS drop shadow namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS drop shadow namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS drop shadow namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "blur": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS blur namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS blur namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS blur namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS blur namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "perspective": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS perspective namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS perspective namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS perspective namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS perspective namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "aspect": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS aspect namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS aspect namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS aspect namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS aspect namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "ease": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS ease namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS ease namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS ease namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS ease namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "animate": { "type": "object", "properties": { "tokensMapping": { "type": "array", "items": { "type": "string" }, "description": "Map your Figma styles and Figma variables to your TailwindCSS animate namespace by name-matching them.\n\nDocs: https://zeytal.com/docs/tailwind-config#tokens-mapping Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "stripTokenNames": { "type": "array", "items": { "type": "string" }, "description": "Remove matching parts of your TailwindCSS animate namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#strip-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" }, "rewriteTokenNames": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Rewrite matching parts of your TailwindCSS animate namespace theme variables.\n\nDocs: https://zeytal.com/docs/tailwind-config#rewrite-token-names Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS animate namespace config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces Tailwind docs: https://tailwindcss.com/docs/theme#theme-variable-namespaces" } }, "additionalProperties": false, "description": "TailwindCSS theme namespaces config object.\n\nDocs: https://zeytal.com/docs/tailwind-config#namespaces" } }, "additionalProperties": false, "description": "Figma tailwind config generation object.\n\nDocs: https://zeytal.com/docs/tailwind-config" }, "$schema": { "type": "string", "const": "node_modules/zeytal/schema/zeytal.json", "description": "Ignored. Can be set to get completions, validations and documentation in some editors.\n\nDocs: https://zeytal.com/docs/cli-config-files#schema-autocomplete" } }, "required": [ "$schema" ] }, "CustomPlugin": { "type": "object", "properties": { "name": { "type": "string" }, "fn": { "$ref": "#/definitions/Plugin%3Cany%3E" }, "params": {} }, "required": [ "name", "fn" ], "additionalProperties": false }, "Plugin<any>": { "$comment": "(root: XastRoot, params: P, info: PluginInfo) => Visitor | null | void", "type": "object", "properties": { "namedArgs": { "type": "object", "properties": { "root": { "$ref": "#/definitions/XastRoot" }, "params": {}, "info": { "$ref": "#/definitions/PluginInfo" } }, "required": [ "root", "params", "info" ], "additionalProperties": false } } }, "XastRoot": { "type": "object", "properties": { "type": { "type": "string", "const": "root" }, "children": { "type": "array", "items": { "$ref": "#/definitions/XastChild" } } }, "required": [ "type", "children" ], "additio