From f8124d7acfb99f63d57f03d509e95963bee9893b Mon Sep 17 00:00:00 2001 From: Quinn Hegeman <102350242+itsfinniii@users.noreply.github.com> Date: Sat, 28 Feb 2026 09:31:39 +0100 Subject: [PATCH] Add colors to website settings in Directus --- directus/schema.json | 641 ++++++++++++++++++++++++++----------------- 1 file changed, 383 insertions(+), 258 deletions(-) diff --git a/directus/schema.json b/directus/schema.json index af31882..e7e617b 100644 --- a/directus/schema.json +++ b/directus/schema.json @@ -4568,26 +4568,6 @@ "collection": "Website_Settings", "field": "id", "type": "integer", - "schema": { - "name": "id", - "table": "Website_Settings", - "data_type": "integer", - "default_value": "nextval('\"Website_Settings_id_seq\"'::regclass)", - "generation_expression": null, - "max_length": null, - "numeric_precision": 32, - "numeric_scale": 0, - "is_generated": false, - "is_nullable": false, - "is_unique": true, - "is_indexed": false, - "is_primary_key": true, - "has_auto_increment": true, - "foreign_key_schema": null, - "foreign_key_table": null, - "foreign_key_column": null, - "comment": null - }, "meta": { "collection": "Website_Settings", "field": "id", @@ -4608,32 +4588,32 @@ "validation": null, "validation_message": null, "searchable": true + }, + "schema": { + "name": "id", + "table": "Website_Settings", + "data_type": "integer", + "default_value": "nextval('\"Website_Settings_id_seq\"'::regclass)", + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": true, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null } }, { "collection": "Website_Settings", "field": "user_created", "type": "uuid", - "schema": { - "name": "user_created", - "table": "Website_Settings", - "data_type": "uuid", - "default_value": null, - "generation_expression": null, - "max_length": null, - "numeric_precision": null, - "numeric_scale": null, - "is_generated": false, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "has_auto_increment": false, - "foreign_key_schema": "public", - "foreign_key_table": "directus_users", - "foreign_key_column": "id", - "comment": null - }, "meta": { "collection": "Website_Settings", "field": "user_created", @@ -4658,16 +4638,11 @@ "validation": null, "validation_message": null, "searchable": true - } - }, - { - "collection": "Website_Settings", - "field": "date_created", - "type": "timestamp", + }, "schema": { - "name": "date_created", + "name": "user_created", "table": "Website_Settings", - "data_type": "timestamp with time zone", + "data_type": "uuid", "default_value": null, "generation_expression": null, "max_length": null, @@ -4679,11 +4654,16 @@ "is_indexed": false, "is_primary_key": false, "has_auto_increment": false, - "foreign_key_schema": null, - "foreign_key_table": null, - "foreign_key_column": null, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", "comment": null - }, + } + }, + { + "collection": "Website_Settings", + "field": "date_created", + "type": "timestamp", "meta": { "collection": "Website_Settings", "field": "date_created", @@ -4708,16 +4688,11 @@ "validation": null, "validation_message": null, "searchable": true - } - }, - { - "collection": "Website_Settings", - "field": "user_updated", - "type": "uuid", + }, "schema": { - "name": "user_updated", + "name": "date_created", "table": "Website_Settings", - "data_type": "uuid", + "data_type": "timestamp with time zone", "default_value": null, "generation_expression": null, "max_length": null, @@ -4729,11 +4704,16 @@ "is_indexed": false, "is_primary_key": false, "has_auto_increment": false, - "foreign_key_schema": "public", - "foreign_key_table": "directus_users", - "foreign_key_column": "id", + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, "comment": null - }, + } + }, + { + "collection": "Website_Settings", + "field": "user_updated", + "type": "uuid", "meta": { "collection": "Website_Settings", "field": "user_updated", @@ -4758,16 +4738,11 @@ "validation": null, "validation_message": null, "searchable": true - } - }, - { - "collection": "Website_Settings", - "field": "date_updated", - "type": "timestamp", + }, "schema": { - "name": "date_updated", + "name": "user_updated", "table": "Website_Settings", - "data_type": "timestamp with time zone", + "data_type": "uuid", "default_value": null, "generation_expression": null, "max_length": null, @@ -4779,11 +4754,16 @@ "is_indexed": false, "is_primary_key": false, "has_auto_increment": false, - "foreign_key_schema": null, - "foreign_key_table": null, - "foreign_key_column": null, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", "comment": null - }, + } + }, + { + "collection": "Website_Settings", + "field": "date_updated", + "type": "timestamp", "meta": { "collection": "Website_Settings", "field": "date_updated", @@ -4808,13 +4788,32 @@ "validation": null, "validation_message": null, "searchable": true + }, + "schema": { + "name": "date_updated", + "table": "Website_Settings", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null } }, { "collection": "Website_Settings", "field": "divider-bsruqn", "type": "alias", - "schema": null, "meta": { "collection": "Website_Settings", "field": "divider-bsruqn", @@ -4841,32 +4840,13 @@ "validation": null, "validation_message": null, "searchable": true - } + }, + "schema": null }, { "collection": "Website_Settings", "field": "domain_name", "type": "string", - "schema": { - "name": "domain_name", - "table": "Website_Settings", - "data_type": "character varying", - "default_value": null, - "generation_expression": null, - "max_length": 255, - "numeric_precision": null, - "numeric_scale": null, - "is_generated": false, - "is_nullable": false, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "has_auto_increment": false, - "foreign_key_schema": null, - "foreign_key_table": null, - "foreign_key_column": null, - "comment": null - }, "meta": { "collection": "Website_Settings", "field": "domain_name", @@ -4889,14 +4869,9 @@ "validation": null, "validation_message": null, "searchable": true - } - }, - { - "collection": "Website_Settings", - "field": "title_template", - "type": "string", + }, "schema": { - "name": "title_template", + "name": "domain_name", "table": "Website_Settings", "data_type": "character varying", "default_value": null, @@ -4914,7 +4889,12 @@ "foreign_key_table": null, "foreign_key_column": null, "comment": null - }, + } + }, + { + "collection": "Website_Settings", + "field": "title_template", + "type": "string", "meta": { "collection": "Website_Settings", "field": "title_template", @@ -4937,14 +4917,9 @@ "validation": null, "validation_message": null, "searchable": true - } - }, - { - "collection": "Website_Settings", - "field": "application_name", - "type": "string", + }, "schema": { - "name": "application_name", + "name": "title_template", "table": "Website_Settings", "data_type": "character varying", "default_value": null, @@ -4962,7 +4937,12 @@ "foreign_key_table": null, "foreign_key_column": null, "comment": null - }, + } + }, + { + "collection": "Website_Settings", + "field": "application_name", + "type": "string", "meta": { "collection": "Website_Settings", "field": "application_name", @@ -4985,13 +4965,157 @@ "validation": null, "validation_message": null, "searchable": true + }, + "schema": { + "name": "application_name", + "table": "Website_Settings", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + } + }, + { + "collection": "Website_Settings", + "field": "divider-oy5m5-", + "type": "alias", + "meta": { + "collection": "Website_Settings", + "field": "divider-oy5m5-", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "title": "Colors", + "icon": "palette" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, + "schema": null + }, + { + "collection": "Website_Settings", + "field": "primary_color", + "type": "string", + "meta": { + "collection": "Website_Settings", + "field": "primary_color", + "special": null, + "interface": "select-color", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 11, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, + "schema": { + "name": "primary_color", + "table": "Website_Settings", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + } + }, + { + "collection": "Website_Settings", + "field": "secondary_color", + "type": "string", + "meta": { + "collection": "Website_Settings", + "field": "secondary_color", + "special": null, + "interface": "select-color", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 12, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, + "schema": { + "name": "secondary_color", + "table": "Website_Settings", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null } }, { "collection": "Website_Settings", "field": "divider-wcrsnh", "type": "alias", - "schema": null, "meta": { "collection": "Website_Settings", "field": "divider-wcrsnh", @@ -5008,7 +5132,7 @@ "display_options": null, "readonly": false, "hidden": false, - "sort": 10, + "sort": 13, "width": "full", "translations": null, "note": null, @@ -5018,12 +5142,36 @@ "validation": null, "validation_message": null, "searchable": true - } + }, + "schema": null }, { "collection": "Website_Settings", "field": "author_name", "type": "string", + "meta": { + "collection": "Website_Settings", + "field": "author_name", + "special": null, + "interface": "input", + "options": { + "iconLeft": "person" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 14, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, "schema": { "name": "author_name", "table": "Website_Settings", @@ -5043,20 +5191,25 @@ "foreign_key_table": null, "foreign_key_column": null, "comment": null - }, + } + }, + { + "collection": "Website_Settings", + "field": "author_url", + "type": "string", "meta": { "collection": "Website_Settings", - "field": "author_name", + "field": "author_url", "special": null, "interface": "input", "options": { - "iconLeft": "person" + "iconLeft": "link" }, "display": null, "display_options": null, "readonly": false, "hidden": false, - "sort": 11, + "sort": 15, "width": "full", "translations": null, "note": null, @@ -5066,12 +5219,7 @@ "validation": null, "validation_message": null, "searchable": true - } - }, - { - "collection": "Website_Settings", - "field": "author_url", - "type": "string", + }, "schema": { "name": "author_url", "table": "Website_Settings", @@ -5091,36 +5239,12 @@ "foreign_key_table": null, "foreign_key_column": null, "comment": null - }, - "meta": { - "collection": "Website_Settings", - "field": "author_url", - "special": null, - "interface": "input", - "options": { - "iconLeft": "link" - }, - "display": null, - "display_options": null, - "readonly": false, - "hidden": false, - "sort": 12, - "width": "full", - "translations": null, - "note": null, - "conditions": null, - "required": true, - "group": null, - "validation": null, - "validation_message": null, - "searchable": true } }, { "collection": "Website_Settings", "field": "divider-na1tmi", "type": "alias", - "schema": null, "meta": { "collection": "Website_Settings", "field": "divider-na1tmi", @@ -5137,7 +5261,7 @@ "display_options": null, "readonly": false, "hidden": false, - "sort": 13, + "sort": 16, "width": "full", "translations": null, "note": null, @@ -5147,12 +5271,36 @@ "validation": null, "validation_message": null, "searchable": true - } + }, + "schema": null }, { "collection": "Website_Settings", "field": "designer", "type": "string", + "meta": { + "collection": "Website_Settings", + "field": "designer", + "special": null, + "interface": "input", + "options": { + "iconLeft": "design_services" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 17, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, "schema": { "name": "designer", "table": "Website_Settings", @@ -5172,20 +5320,25 @@ "foreign_key_table": null, "foreign_key_column": null, "comment": null - }, + } + }, + { + "collection": "Website_Settings", + "field": "developer", + "type": "string", "meta": { "collection": "Website_Settings", - "field": "designer", + "field": "developer", "special": null, "interface": "input", "options": { - "iconLeft": "design_services" + "iconLeft": "code" }, "display": null, "display_options": null, "readonly": false, "hidden": false, - "sort": 14, + "sort": 18, "width": "full", "translations": null, "note": null, @@ -5195,12 +5348,7 @@ "validation": null, "validation_message": null, "searchable": true - } - }, - { - "collection": "Website_Settings", - "field": "developer", - "type": "string", + }, "schema": { "name": "developer", "table": "Website_Settings", @@ -5220,36 +5368,12 @@ "foreign_key_table": null, "foreign_key_column": null, "comment": null - }, - "meta": { - "collection": "Website_Settings", - "field": "developer", - "special": null, - "interface": "input", - "options": { - "iconLeft": "code" - }, - "display": null, - "display_options": null, - "readonly": false, - "hidden": false, - "sort": 15, - "width": "full", - "translations": null, - "note": null, - "conditions": null, - "required": true, - "group": null, - "validation": null, - "validation_message": null, - "searchable": true } }, { "collection": "Website_Settings", "field": "divider-bf0u1u", "type": "alias", - "schema": null, "meta": { "collection": "Website_Settings", "field": "divider-bf0u1u", @@ -5266,7 +5390,7 @@ "display_options": null, "readonly": false, "hidden": false, - "sort": 16, + "sort": 19, "width": "full", "translations": null, "note": null, @@ -5276,12 +5400,36 @@ "validation": null, "validation_message": null, "searchable": true - } + }, + "schema": null }, { "collection": "Website_Settings", "field": "owner", "type": "string", + "meta": { + "collection": "Website_Settings", + "field": "owner", + "special": null, + "interface": "input", + "options": { + "iconLeft": "person" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 20, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, "schema": { "name": "owner", "table": "Website_Settings", @@ -5301,20 +5449,25 @@ "foreign_key_table": null, "foreign_key_column": null, "comment": null - }, + } + }, + { + "collection": "Website_Settings", + "field": "copyright", + "type": "string", "meta": { "collection": "Website_Settings", - "field": "owner", + "field": "copyright", "special": null, "interface": "input", "options": { - "iconLeft": "person" + "iconLeft": "copyright" }, "display": null, "display_options": null, "readonly": false, "hidden": false, - "sort": 17, + "sort": 21, "width": "full", "translations": null, "note": null, @@ -5324,12 +5477,7 @@ "validation": null, "validation_message": null, "searchable": true - } - }, - { - "collection": "Website_Settings", - "field": "copyright", - "type": "string", + }, "schema": { "name": "copyright", "table": "Website_Settings", @@ -5349,36 +5497,12 @@ "foreign_key_table": null, "foreign_key_column": null, "comment": null - }, - "meta": { - "collection": "Website_Settings", - "field": "copyright", - "special": null, - "interface": "input", - "options": { - "iconLeft": "copyright" - }, - "display": null, - "display_options": null, - "readonly": false, - "hidden": false, - "sort": 18, - "width": "full", - "translations": null, - "note": null, - "conditions": null, - "required": true, - "group": null, - "validation": null, - "validation_message": null, - "searchable": true } }, { "collection": "Website_Settings", "field": "divider-beklpn", "type": "alias", - "schema": null, "meta": { "collection": "Website_Settings", "field": "divider-beklpn", @@ -5395,7 +5519,7 @@ "display_options": null, "readonly": false, "hidden": false, - "sort": 19, + "sort": 22, "width": "full", "translations": null, "note": null, @@ -5405,12 +5529,36 @@ "validation": null, "validation_message": null, "searchable": true - } + }, + "schema": null }, { "collection": "Website_Settings", "field": "twitter_id", "type": "bigInteger", + "meta": { + "collection": "Website_Settings", + "field": "twitter_id", + "special": null, + "interface": "input", + "options": { + "iconLeft": "numbers" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 23, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, "schema": { "name": "twitter_id", "table": "Website_Settings", @@ -5430,20 +5578,25 @@ "foreign_key_table": null, "foreign_key_column": null, "comment": null - }, + } + }, + { + "collection": "Website_Settings", + "field": "twitter_handle", + "type": "string", "meta": { "collection": "Website_Settings", - "field": "twitter_id", + "field": "twitter_handle", "special": null, "interface": "input", "options": { - "iconLeft": "numbers" + "iconLeft": "alternate_email" }, "display": null, "display_options": null, "readonly": false, "hidden": false, - "sort": 20, + "sort": 24, "width": "full", "translations": null, "note": null, @@ -5453,12 +5606,7 @@ "validation": null, "validation_message": null, "searchable": true - } - }, - { - "collection": "Website_Settings", - "field": "twitter_handle", - "type": "string", + }, "schema": { "name": "twitter_handle", "table": "Website_Settings", @@ -5478,29 +5626,6 @@ "foreign_key_table": null, "foreign_key_column": null, "comment": null - }, - "meta": { - "collection": "Website_Settings", - "field": "twitter_handle", - "special": null, - "interface": "input", - "options": { - "iconLeft": "alternate_email" - }, - "display": null, - "display_options": null, - "readonly": false, - "hidden": false, - "sort": 21, - "width": "full", - "translations": null, - "note": null, - "conditions": null, - "required": true, - "group": null, - "validation": null, - "validation_message": null, - "searchable": true } }, {