Skip to content

Commit

Permalink
updating theme files
Browse files Browse the repository at this point in the history
  • Loading branch information
release-bot committed Feb 23, 2024
1 parent 9e1040f commit f9032b5
Show file tree
Hide file tree
Showing 5 changed files with 534 additions and 183 deletions.
4 changes: 3 additions & 1 deletion uds-ios-theme-koodo/Assets/Breadcrumbs.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@
"blue": 0,
"alpha": 1
},
"iconContainerSize": 20,
"iconPadding": 4,
"iconSize": 20,
"iconSize": 16,
"lineHeight": 1.42857142857,
"listItemPadding": 0
}
}
86 changes: 67 additions & 19 deletions uds-ios-theme-koodo/Assets/Button.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,25 +46,6 @@
}
},
"rules": [
{
"if": {
"priority": "high"
},
"tokens": {
"backgroundColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 1
},
"color": {
"red": 1,
"green": 1,
"blue": 1,
"alpha": 1
}
}
},
{
"if": {
"danger": true
Expand Down Expand Up @@ -125,6 +106,25 @@
}
}
},
{
"if": {
"priority": "high"
},
"tokens": {
"backgroundColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 1
},
"borderColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 1
}
}
},
{
"if": {
"priority": "low"
Expand Down Expand Up @@ -157,6 +157,54 @@
}
}
},
{
"if": {
"inverse": true,
"priority": "high"
},
"tokens": {
"backgroundColor": {
"red": 1,
"green": 1,
"blue": 1,
"alpha": 1
},
"borderColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 1
},
"borderWidth": 1
}
},
{
"if": {
"inverse": true,
"priority": "low"
},
"tokens": {
"backgroundColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
},
"borderColor": {
"red": 1,
"green": 1,
"blue": 1,
"alpha": 1
},
"borderWidth": 1,
"color": {
"red": 1,
"green": 1,
"blue": 1,
"alpha": 1
}
}
},
{
"if": {
"inverse": true,
Expand Down
120 changes: 119 additions & 1 deletion uds-ios-theme-koodo/Assets/Notification.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"appearances": {
"style": {
"type": "variant",
"values": ["system", "subtle"]
"values": ["system", "success", "warning", "error", "subtle"]
},
"system": {
"values": [true],
"type": "state"
},
"validation": {
"description": "Validation states for form inputs",
Expand All @@ -24,6 +28,22 @@
"justifyContent": "center"
}
},
{
"if": {
"system": true
},
"tokens": {
"borderLeftWidth": 0,
"borderRadius": 0,
"borderRightWidth": 0,
"borderTopWidth": 0,
"iconGap": 8,
"paddingBottom": 12,
"paddingLeft": 12,
"paddingRight": 12,
"paddingTop": 12
}
},
{
"if": {
"style": "system"
Expand Down Expand Up @@ -57,6 +77,38 @@
"paddingTop": 12
}
},
{
"if": {
"style": "success"
},
"tokens": {
"backgroundColor": {
"red": 0.77255,
"green": 0.94902,
"blue": 0.8,
"alpha": 1
},
"borderColor": {
"red": 0.1098,
"green": 0.48235,
"blue": 0.16863,
"alpha": 1
},
"color": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 1
},
"icon": "PaletteIconCheckCircleFilled",
"iconColor": {
"red": 0.1098,
"green": 0.48235,
"blue": 0.16863,
"alpha": 1
}
}
},
{
"if": {
"validation": "success"
Expand Down Expand Up @@ -89,6 +141,39 @@
}
}
},
{
"if": {
"style": "warning"
},
"tokens": {
"backgroundColor": {
"red": 1,
"green": 0.96078,
"blue": 0.82353,
"alpha": 1
},
"borderColor": {
"red": 0.97255,
"green": 0.75686,
"blue": 0,
"alpha": 1
},
"color": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 1
},
"dismissIcon": null,
"icon": "PaletteIconExclamationTriangle",
"iconColor": {
"red": 0.78824,
"green": 0.21569,
"blue": 0.04314,
"alpha": 1
}
}
},
{
"if": {
"validation": "warning"
Expand Down Expand Up @@ -122,6 +207,39 @@
}
}
},
{
"if": {
"style": "error"
},
"tokens": {
"backgroundColor": {
"red": 0.98824,
"green": 0.82745,
"blue": 0.77647,
"alpha": 1
},
"borderColor": {
"red": 0.78824,
"green": 0.21569,
"blue": 0.04314,
"alpha": 1
},
"color": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 1
},
"dismissIcon": null,
"icon": "PaletteIconCaution",
"iconColor": {
"red": 0.78824,
"green": 0.21569,
"blue": 0.04314,
"alpha": 1
}
}
},
{
"if": {
"validation": "error"
Expand Down
Loading

0 comments on commit f9032b5

Please sign in to comment.