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 Jan 8, 2024
1 parent c0e1567 commit 3765bae
Show file tree
Hide file tree
Showing 111 changed files with 12,407 additions and 714 deletions.
30 changes: 30 additions & 0 deletions uds-ios-theme-public-mobile/Assets/ActivityIndicator.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"appearances": {
"size": {
"description": "used for full-screen spinners",
"type": "variant",
"values": ["large"]
}
},
"rules": [
{
"if": {
"size": "large"
},
"tokens": {
"size": 48,
"thickness": 4
}
}
],
"tokens": {
"color": {
"red": 0.22353,
"green": 0.25098,
"blue": 0.33725,
"alpha": 1
},
"size": 24,
"thickness": 2
}
}
245 changes: 245 additions & 0 deletions uds-ios-theme-public-mobile/Assets/Badge.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
{
"appearances": {
"alternative": {
"type": "variant",
"values": [true]
},
"inverse": {
"type": "variant",
"values": [true]
},
"outline": {
"type": "variant",
"values": [true]
},
"purpose": {
"type": "variant",
"values": ["offer", "editorial", "subtle"]
}
},
"rules": [
{
"if": {
"inverse": true
},
"tokens": {
"backgroundColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
},
"borderColor": {
"red": 1,
"green": 1,
"blue": 1,
"alpha": 1
},
"color": {
"red": 1,
"green": 1,
"blue": 1,
"alpha": 1
}
}
},
{
"if": {
"alternative": true
},
"tokens": {
"backgroundColor": {
"red": 0.91765,
"green": 0.95294,
"blue": 0.9451,
"alpha": 1
},
"borderColor": {
"red": 0.91765,
"green": 0.95294,
"blue": 0.9451,
"alpha": 1
},
"color": {
"red": 0.16863,
"green": 0.5098,
"blue": 0.43137,
"alpha": 1
}
}
},
{
"if": {
"outline": true
},
"tokens": {
"backgroundColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
},
"borderColor": {
"red": 0.97647,
"green": 0.94902,
"blue": 0.86667,
"alpha": 1
}
}
},
{
"if": {
"purpose": "offer"
},
"tokens": {
"backgroundColor": {
"red": 0.98824,
"green": 0.90196,
"blue": 0.87451,
"alpha": 1
},
"borderColor": {
"red": 0.98824,
"green": 0.90196,
"blue": 0.87451,
"alpha": 1
}
}
},
{
"if": {
"purpose": "editorial"
},
"tokens": {
"backgroundColor": {
"red": 0.80392,
"green": 0.81176,
"blue": 0.83529,
"alpha": 1
},
"borderColor": {
"red": 0.80392,
"green": 0.81176,
"blue": 0.83529,
"alpha": 1
}
}
},
{
"if": {
"purpose": "subtle"
},
"tokens": {
"backgroundColor": {
"red": 0.97647,
"green": 0.94902,
"blue": 0.86667,
"alpha": 1
},
"borderColor": {
"red": 0.97647,
"green": 0.94902,
"blue": 0.86667,
"alpha": 1
}
}
},
{
"if": {
"outline": true,
"purpose": "subtle"
},
"tokens": {
"backgroundColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
},
"borderColor": {
"red": 0.97647,
"green": 0.94902,
"blue": 0.86667,
"alpha": 1
}
}
},
{
"if": {
"outline": true,
"purpose": "editorial"
},
"tokens": {
"backgroundColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
},
"borderColor": {
"red": 0.80392,
"green": 0.81176,
"blue": 0.83529,
"alpha": 1
}
}
},
{
"if": {
"outline": true,
"purpose": "offer"
},
"tokens": {
"backgroundColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
},
"borderColor": {
"red": 0.98824,
"green": 0.90196,
"blue": 0.87451,
"alpha": 1
},
"borderWidth": 2,
"color": {
"red": 0.22353,
"green": 0.25098,
"blue": 0.33725,
"alpha": 1
}
}
}
],
"tokens": {
"backgroundColor": {
"red": 0.97647,
"green": 0.94902,
"blue": 0.86667,
"alpha": 1
},
"borderColor": {
"red": 0.97647,
"green": 0.94902,
"blue": 0.86667,
"alpha": 1
},
"borderRadius": 999,
"borderWidth": 2,
"color": {
"red": 0.22353,
"green": 0.25098,
"blue": 0.33725,
"alpha": 1
},
"fontName": "SofiaPro",
"fontSize": 12,
"fontWeight": 400,
"gradient": null,
"paddingBottom": 2,
"paddingLeft": 16,
"paddingRight": 16,
"paddingTop": 2
}
}
72 changes: 72 additions & 0 deletions uds-ios-theme-public-mobile/Assets/BlockQuote.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"appearances": {
"viewport": {
"description": "The size label for the current screen viewport based on the current screen width",
"values": ["xs", "sm", "md", "lg", "xl"],
"type": "state"
}
},
"rules": [
{
"if": {
"viewport": ["xs", "sm", "md"]
},
"tokens": {
"titleHeadingFontName": "SofiaPro",
"titleHeadingFontSize": 30,
"titleHeadingFontWeight": 700,
"titleHeadingLineHeight": 1.2
}
}
],
"tokens": {
"backgroundGradient": {
"type": "linear",
"angle": 0,
"stops": [
{
"stop": 0,
"color": {
"red": 0.95294,
"green": 0.61569,
"blue": 0.50196,
"alpha": 1
}
},
{
"stop": 1,
"color": {
"red": 0.95294,
"green": 0.61569,
"blue": 0.50196,
"alpha": 1
}
}
]
},
"color": {
"red": 0.22353,
"green": 0.25098,
"blue": 0.33725,
"alpha": 1
},
"linkFontName": "SofiaPro",
"linkFontSize": 18,
"linkFontWeight": 700,
"linkLineHeight": 1.55555555,
"marginBottom": 16,
"paddingBottom": 16,
"paddingLeft": 32,
"paddingRight": 32,
"paddingTop": 16,
"titleFontName": "SofiaPro",
"titleFontSize": 20,
"titleFontWeight": 400,
"titleHeadingFontName": "SofiaPro",
"titleHeadingFontSize": 30,
"titleHeadingFontWeight": 700,
"titleHeadingLineHeight": 1.2,
"titleLineHeight": 1.4,
"width": 4
}
}
Loading

0 comments on commit 3765bae

Please sign in to comment.