From 2eadfce26d4690a4ea625075969d93d86ffa1dce Mon Sep 17 00:00:00 2001 From: release-bot Date: Tue, 12 Mar 2024 22:40:27 +0000 Subject: [PATCH] updating theme files --- .../src/main/res/raw/FootnoteLink.json | 131 ++++++++++++++++- .../src/main/res/raw/Notification.json | 2 +- .../src/main/res/raw/theme.json | 133 +++++++++++++++++- 3 files changed, 260 insertions(+), 6 deletions(-) diff --git a/uds-android-theme-public-mobile/src/main/res/raw/FootnoteLink.json b/uds-android-theme-public-mobile/src/main/res/raw/FootnoteLink.json index 416a786..bd09aaf 100644 --- a/uds-android-theme-public-mobile/src/main/res/raw/FootnoteLink.json +++ b/uds-android-theme-public-mobile/src/main/res/raw/FootnoteLink.json @@ -1,6 +1,133 @@ { - "appearances": {}, - "rules": [], + "appearances": { + "size": { + "type": "variant", + "values": [ + "micro", + "small", + "medium", + "large", + "h1", + "h2", + "h3", + "h4", + "h5", + "h6", + "display1", + "display2" + ] + } + }, + "rules": [ + { + "if": { + "size": "display1" + }, + "tokens": { + "fontSize": 20, + "lineHeight": 1.2 + } + }, + { + "if": { + "size": "display2" + }, + "tokens": { + "fontSize": 20, + "lineHeight": 1.2 + } + }, + { + "if": { + "size": "h1" + }, + "tokens": { + "fontSize": 20, + "lineHeight": 1.2 + } + }, + { + "if": { + "size": "h2" + }, + "tokens": { + "fontSize": 20, + "lineHeight": 1.2 + } + }, + { + "if": { + "size": "h3" + }, + "tokens": { + "fontSize": 14, + "lineHeight": 1 + } + }, + { + "if": { + "size": "h4" + }, + "tokens": { + "fontSize": 14, + "lineHeight": 1 + } + }, + { + "if": { + "size": "h5" + }, + "tokens": { + "fontSize": 14, + "lineHeight": 1 + } + }, + { + "if": { + "size": "h6" + }, + "tokens": { + "fontSize": 14, + "lineHeight": 1 + } + }, + { + "if": { + "size": "micro" + }, + "tokens": { + "fontSize": 12, + "lineHeight": 1 + } + }, + { + "if": { + "size": "small" + }, + "tokens": { + "fontSize": 12, + "lineHeight": 1 + } + }, + { + "if": { + "size": "medium" + }, + "tokens": { + "fontSize": 12, + "lineHeight": 1 + } + }, + { + "if": { + "size": "large" + }, + "tokens": { + "fontSize": 12, + "lineHeight": 1 + } + } + ], "tokens": { "color": { "red": 0, diff --git a/uds-android-theme-public-mobile/src/main/res/raw/Notification.json b/uds-android-theme-public-mobile/src/main/res/raw/Notification.json index b0d9e37..8ed6d89 100644 --- a/uds-android-theme-public-mobile/src/main/res/raw/Notification.json +++ b/uds-android-theme-public-mobile/src/main/res/raw/Notification.json @@ -67,7 +67,7 @@ "tokens": { "borderBottomWidth": 0, "borderLeftWidth": 0, - "borderRadius": 0, + "borderRadius": 6, "borderRightWidth": 0, "borderTopWidth": 0, "iconGap": 16, diff --git a/uds-android-theme-public-mobile/src/main/res/raw/theme.json b/uds-android-theme-public-mobile/src/main/res/raw/theme.json index 8c86763..3c1399d 100644 --- a/uds-android-theme-public-mobile/src/main/res/raw/theme.json +++ b/uds-android-theme-public-mobile/src/main/res/raw/theme.json @@ -4182,8 +4182,135 @@ } }, "FootnoteLink": { - "appearances": {}, - "rules": [], + "appearances": { + "size": { + "type": "variant", + "values": [ + "micro", + "small", + "medium", + "large", + "h1", + "h2", + "h3", + "h4", + "h5", + "h6", + "display1", + "display2" + ] + } + }, + "rules": [ + { + "if": { + "size": "display1" + }, + "tokens": { + "fontSize": 20, + "lineHeight": 1.2 + } + }, + { + "if": { + "size": "display2" + }, + "tokens": { + "fontSize": 20, + "lineHeight": 1.2 + } + }, + { + "if": { + "size": "h1" + }, + "tokens": { + "fontSize": 20, + "lineHeight": 1.2 + } + }, + { + "if": { + "size": "h2" + }, + "tokens": { + "fontSize": 20, + "lineHeight": 1.2 + } + }, + { + "if": { + "size": "h3" + }, + "tokens": { + "fontSize": 14, + "lineHeight": 1 + } + }, + { + "if": { + "size": "h4" + }, + "tokens": { + "fontSize": 14, + "lineHeight": 1 + } + }, + { + "if": { + "size": "h5" + }, + "tokens": { + "fontSize": 14, + "lineHeight": 1 + } + }, + { + "if": { + "size": "h6" + }, + "tokens": { + "fontSize": 14, + "lineHeight": 1 + } + }, + { + "if": { + "size": "micro" + }, + "tokens": { + "fontSize": 12, + "lineHeight": 1 + } + }, + { + "if": { + "size": "small" + }, + "tokens": { + "fontSize": 12, + "lineHeight": 1 + } + }, + { + "if": { + "size": "medium" + }, + "tokens": { + "fontSize": 12, + "lineHeight": 1 + } + }, + { + "if": { + "size": "large" + }, + "tokens": { + "fontSize": 12, + "lineHeight": 1 + } + } + ], "tokens": { "color": { "red": 0, @@ -6021,7 +6148,7 @@ "tokens": { "borderBottomWidth": 0, "borderLeftWidth": 0, - "borderRadius": 0, + "borderRadius": 6, "borderRightWidth": 0, "borderTopWidth": 0, "iconGap": 16,