diff --git a/uds-ios-theme-telus/Assets/FootnoteLink.json b/uds-ios-theme-telus/Assets/FootnoteLink.json index b0edea6..6055eb2 100644 --- a/uds-ios-theme-telus/Assets/FootnoteLink.json +++ b/uds-ios-theme-telus/Assets/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-ios-theme-telus/Assets/Notification.json b/uds-ios-theme-telus/Assets/Notification.json index 7064dcb..7b4d9ec 100644 --- a/uds-ios-theme-telus/Assets/Notification.json +++ b/uds-ios-theme-telus/Assets/Notification.json @@ -67,7 +67,7 @@ "tokens": { "borderBottomWidth": 0, "borderLeftWidth": 0, - "borderRadius": 0, + "borderRadius": 6, "borderRightWidth": 0, "borderTopWidth": 0, "iconGap": 8, diff --git a/uds-ios-theme-telus/Assets/theme.json b/uds-ios-theme-telus/Assets/theme.json index b1579a5..676d3a6 100644 --- a/uds-ios-theme-telus/Assets/theme.json +++ b/uds-ios-theme-telus/Assets/theme.json @@ -4448,8 +4448,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, @@ -6268,7 +6395,7 @@ "tokens": { "borderBottomWidth": 0, "borderLeftWidth": 0, - "borderRadius": 0, + "borderRadius": 6, "borderRightWidth": 0, "borderTopWidth": 0, "iconGap": 8,