changedInput schema / properties / textStyle / anyOf
Previous value: -[
- {
- "enum": [
- "pill",
- "editorial",
- "bold",
- "minimal",
- "handwritten",
- "boxed"
- ],
- "type": "string"
- },
- {
- "properties": {
- "background": {
- "description": "none | pill | #hex box",
- "type": "string"
- },
- "color": {
- "description": "#hex",
- "type": "string"
- },
- "font": {
- "enum": [
- "sans",
- "serif",
- "elegant",
- "condensed",
- "hand"
- ],
- "type": "string"
- },
- "italic": {
- "type": "boolean"
- },
- "outline": {
- "type": "boolean"
- },
- "position": {
- "enum": [
- "top",
- "center",
- "lower",
- "bottom"
- ],
- "type": "string"
- },
- "preset": {
- "enum": [
- "pill",
- "editorial",
- "bold",
- "minimal",
- "handwritten",
- "boxed"
- ],
- "type": "string"
- },
- "shadow": {
- "type": "boolean"
- },
- "size": {
- "anyOf": [
- {
- "enum": [
- "s",
- "m",
- "l",
- "xl"
- ],
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "textCase": {
- "enum": [
- "as-is",
- "upper",
- "lower",
- "title"
- ],
- "type": "string"
- },
- "tilt": {
- "description": "degrees, ±12",
- "type": "number"
- },
- "weight": {
- "type": "number"
- }
- },
- "type": "object"
- }
-]New value: +[
+ {
+ "type": "string"
+ },
+ {
+ "properties": {
+ "background": {
+ "description": "none|pill|a colour",
+ "type": "string"
+ },
+ "cardColor": {
+ "type": "string"
+ },
+ "color": {
+ "description": "any CSS colour",
+ "type": "string"
+ },
+ "describe": {
+ "description": "the look in words",
+ "type": "string"
+ },
+ "font": {
+ "description": "sans|serif|elegant|condensed|hand or any Google Fonts family",
+ "type": "string"
+ },
+ "italic": {
+ "type": "boolean"
+ },
+ "outline": {
+ "type": "boolean"
+ },
+ "outlineColor": {
+ "type": "string"
+ },
+ "position": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "description": "top|center|lower|bottom or 0.05-0.95 from the top"
+ },
+ "preset": {
+ "type": "string"
+ },
+ "shadow": {
+ "type": "boolean"
+ },
+ "size": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "description": "s|m|l|xl, '120px', or a 0.015-0.15 frame fraction"
+ },
+ "subFont": {
+ "type": "string"
+ },
+ "subItalic": {
+ "type": "boolean"
+ },
+ "textCase": {
+ "enum": [
+ "as-is",
+ "upper",
+ "lower",
+ "title"
+ ],
+ "type": "string"
+ },
+ "tilt": {
+ "description": "degrees, ±45",
+ "type": "number"
+ },
+ "weight": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ }
+]