зеркало из https://github.com/Azure/BatchExplorer.git
82 строки
2.9 KiB
JSON
82 строки
2.9 KiB
JSON
{
|
|
"title": "JSON schema for coffeelint.json files",
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"definitions": {
|
|
"color": {"type": "string", "format": "color"},
|
|
"entity-colors": {
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {"$ref": "#/definitions/color"},
|
|
"background":{"$ref": "#/definitions/color"},
|
|
"hover-text": {"$ref": "#/definitions/color"},
|
|
"hover-background":{"$ref": "#/definitions/color"}
|
|
}
|
|
}
|
|
},
|
|
"properties": {
|
|
"primary": {"$ref": "#/definitions/color"},
|
|
"primary-contrast": {"$ref": "#/definitions/color"},
|
|
"danger": {"$ref": "#/definitions/color"},
|
|
"danger-contrast": {"$ref": "#/definitions/color"},
|
|
"warn": {"$ref": "#/definitions/color"},
|
|
"warn-contrast": {"$ref": "#/definitions/color"},
|
|
"success": {"$ref": "#/definitions/color"},
|
|
"success-contrast": {"$ref": "#/definitions/color"},
|
|
"main-background": {"$ref": "#/definitions/color"},
|
|
"secondary-background": {"$ref": "#/definitions/color"},
|
|
"card-background": {"$ref": "#/definitions/color"},
|
|
"hover-bg": {"$ref": "#/definitions/color"},
|
|
"selection": {"$ref": "#/definitions/color"},
|
|
"border": {"$ref": "#/definitions/color"},
|
|
"outline": {"$ref": "#/definitions/color"},
|
|
"editor": {"type": "string"},
|
|
"text": {
|
|
"type": "object",
|
|
"properties": {
|
|
"primary": {"$ref": "#/definitions/color"},
|
|
"secondary": {"$ref": "#/definitions/color"}
|
|
}
|
|
},
|
|
"header": {"$ref": "#/definitions/entity-colors"},
|
|
"navigation": {"$ref": "#/definitions/entity-colors"},
|
|
"footer": {"$ref": "#/definitions/entity-colors"},
|
|
"breadcrumb": {"$ref": "#/definitions/entity-colors"},
|
|
"file-explorer": {
|
|
"type": "object",
|
|
"properties": {
|
|
"folder-icon": {"$ref": "#/definitions/color"}
|
|
}
|
|
},
|
|
"button": {
|
|
"type": "object",
|
|
"properties": {
|
|
"basic-text": {"$ref": "#/definitions/color"},
|
|
"basic-bg": {"$ref": "#/definitions/color"},
|
|
"basic-hover-bg": {"$ref": "#/definitions/color"},
|
|
"disabled-text": {"$ref": "#/definitions/color"},
|
|
"focus-text": {"$ref": "#/definitions/color"},
|
|
"disabled-bg": {"$ref": "#/definitions/color"}
|
|
}
|
|
},
|
|
"input": {
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {"$ref": "#/definitions/color"},
|
|
"background": {"$ref": "#/definitions/color"},
|
|
"placeholder": {"$ref": "#/definitions/color"},
|
|
"border": {"$ref": "#/definitions/color"},
|
|
"focus-border": {"$ref": "#/definitions/color"},
|
|
"disabled-border": {"$ref": "#/definitions/color"},
|
|
"disabled-text": {"$ref": "#/definitions/color"},
|
|
"disabled-background": {"$ref": "#/definitions/color"}
|
|
}
|
|
},
|
|
"chart-colors": {
|
|
"type": "array",
|
|
"items": {"$ref": "#/definitions/color"}
|
|
}
|
|
}
|
|
}
|