From 6f82563a3b1e43ff343ce70a52ab2c7dad4314c3 Mon Sep 17 00:00:00 2001 From: SilviaAmAm Date: Fri, 13 Oct 2023 16:41:54 +0200 Subject: [PATCH 1/2] :sparkles: [open-formulieren/open-forms-sdk#462] Add styles for Utrecht buttons --- src/community/utrecht/action.tokens.json | 9 ++++- src/community/utrecht/button.tokens.json | 48 ++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/src/community/utrecht/action.tokens.json b/src/community/utrecht/action.tokens.json index a27b5da..2303c9e 100644 --- a/src/community/utrecht/action.tokens.json +++ b/src/community/utrecht/action.tokens.json @@ -5,7 +5,14 @@ "cursor": {"value": "pointer"} }, "disabled": { - "cursor": {"value": "not-allowed"} + "cursor": { + "value": "not-allowed" + } + }, + "submit": { + "cursor": { + "value": "pointer" + } } } } diff --git a/src/community/utrecht/button.tokens.json b/src/community/utrecht/button.tokens.json index 786f8e6..349f725 100644 --- a/src/community/utrecht/button.tokens.json +++ b/src/community/utrecht/button.tokens.json @@ -69,6 +69,54 @@ "color": {"value": "{of.button.danger.active.fg}"} } } + }, + + "secondary-action": { + "danger": { + "background": { + "color": { + "value": "{of.color.danger}" + } + }, + "color": { + "value": "#fce9e8" + } + } + }, + + "subtle": { + "danger": { + "background": { + "color": { + "value": "{of.color.danger}" + } + }, + "hover": { + "background": { + "color": { + "value": "{of.color.bg}" + } + } + }, + "active": { + "background": { + "color": { + "value": "#a02017" + } + } + } + } + }, + + "disabled": { + "background": { + "color": { + "value": "#b0b0b0" + } + }, + "color": { + "value": "#ffffff" + } } } } From 1dc9dbac0d6e53bf2955507ddf10611a9fddc987 Mon Sep 17 00:00:00 2001 From: SilviaAmAm Date: Fri, 13 Oct 2023 16:43:21 +0200 Subject: [PATCH 2/2] :see_no_evil: Ignore .idea/ --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 6704566..5eaa9bb 100644 --- a/.gitignore +++ b/.gitignore @@ -102,3 +102,6 @@ dist # TernJS port file .tern-port + +# IDE files +.idea/