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 Dec 2, 2024
1 parent 517e665 commit 6597da1
Show file tree
Hide file tree
Showing 10 changed files with 474 additions and 150 deletions.
1 change: 1 addition & 0 deletions uds-android-theme-public-mobile/src/main/res/raw/Icon.json
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@
"alpha": 1
},
"padding": 0,
"paddingTop": 0,
"scale": 1,
"size": 24,
"translateX": 0,
Expand Down
5 changes: 5 additions & 0 deletions uds-android-theme-public-mobile/src/main/res/raw/Modal.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
"alpha": 1
},
"borderRadius": 4,
"borderWidth": 0,
"cancelButtonColor": {
"red": 0.22353,
"green": 0.25098,
Expand All @@ -161,16 +162,20 @@
"containerPaddingLeft": 0,
"containerPaddingRight": 0,
"containerPaddingTop": 0,
"contentPaddingBottom": 0,
"contentPaddingTop": 0,
"direction": "row",
"footerTopWidth": 0,
"gap": 16,
"headingBorderBottomWidth": 0,
"headingColor": {
"red": 0.22353,
"green": 0.25098,
"blue": 0.33725,
"alpha": 1
},
"headingPaddingRight": 24,
"headingPaddingTop": 8,
"height": null,
"marginLeft": 32,
"marginRight": 32,
Expand Down
37 changes: 37 additions & 0 deletions uds-android-theme-public-mobile/src/main/res/raw/Progress.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
"size": {
"type": "variant",
"values": ["mini"]
},
"style": {
"description": "Configure `style` variant for `Progress`",
"type": "variant",
"values": ["inverse"]
}
},
"rules": [
Expand All @@ -13,6 +18,38 @@
"tokens": {
"height": 8
}
},
{
"if": {
"style": "inverse"
},
"tokens": {
"backgroundColor": {
"red": 1,
"green": 1,
"blue": 1,
"alpha": 0.1
},
"borderColor": {
"red": 1,
"green": 1,
"blue": 1,
"alpha": 0.6
},
"shadow": {
"inset": true,
"offsetX": 0,
"offsetY": 2,
"blur": 2,
"spread": 0,
"color": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0.1
}
}
}
}
],
"tokens": {
Expand Down
71 changes: 71 additions & 0 deletions uds-android-theme-public-mobile/src/main/res/raw/ProgressBar.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
"negative": {
"type": "variant",
"values": [true]
},
"style": {
"description": "Configure `style` variant for `ProgressBar`",
"type": "variant",
"values": ["subtle", "inverse", "inactive", "negative"]
}
},
"rules": [
Expand Down Expand Up @@ -36,6 +41,72 @@
"alpha": 1
}
}
},
{
"if": {
"style": "subtle"
},
"tokens": {
"backgroundColor": {
"red": 0.41569,
"green": 0.43922,
"blue": 0.50196,
"alpha": 1
},
"gradient": null,
"outlineColor": {
"red": 0.41569,
"green": 0.43922,
"blue": 0.50196,
"alpha": 1
}
}
},
{
"if": {
"style": "inverse"
},
"tokens": {
"backgroundColor": {
"red": 0.96078,
"green": 0.96078,
"blue": 0.96863,
"alpha": 1
},
"gradient": null,
"outlineColor": {
"red": 0.96078,
"green": 0.96078,
"blue": 0.96863,
"alpha": 1
}
}
},
{
"if": {
"style": "inactive"
},
"tokens": {
"backgroundColor": {
"red": 0.80392,
"green": 0.81176,
"blue": 0.83529,
"alpha": 1
}
}
},
{
"if": {
"style": "negative"
},
"tokens": {
"backgroundColor": {
"red": 0.74902,
"green": 0.0902,
"blue": 0.13333,
"alpha": 1
}
}
}
],
"tokens": {
Expand Down
2 changes: 2 additions & 0 deletions uds-android-theme-public-mobile/src/main/res/raw/Status.json
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,8 @@
"alpha": 1
},
"iconGradient": null,
"iconPaddingTop": 0,
"iconSize": 20,
"marginLeft": 8,
"paddingBottom": 0,
"paddingLeft": 0,
Expand Down
2 changes: 2 additions & 0 deletions uds-android-theme-public-mobile/src/main/res/raw/Tooltip.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
"fontSize": 16,
"fontWeight": 400,
"lineHeight": 1.5,
"maxWidth": 288,
"minWidth": 0,
"paddingBottom": 8,
"paddingLeft": 16,
"paddingRight": 16,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
},
"tokens": {
"height": 40,
"paddingBottom": 8,
"paddingBottom": 16,
"paddingLeft": 16,
"paddingRight": 16,
"paddingTop": 8
"paddingTop": 16
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"blue": 0,
"alpha": 0
},
"remainingTimestampMarginLeft": 8,
"remainingTimestampMarginRight": 0,
"thumbBackground": {
"red": 0.97647,
"green": 0.94902,
Expand All @@ -16,7 +18,7 @@
},
"thumbHeight": 8,
"thumbWidth": 8,
"timestampMarginLeft": 8,
"timestampMarginLeft": 0,
"timestampMarginRight": 8,
"trackGradientEnd": {
"red": 0.95294,
Expand Down
Loading

0 comments on commit 6597da1

Please sign in to comment.