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 Sep 16, 2024
1 parent 1ec828b commit 00390f1
Show file tree
Hide file tree
Showing 8 changed files with 1,388 additions and 777 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@
"alpha": 1
},
"dividerColor": {
"red": 0.97647,
"green": 0.80784,
"blue": 0.74902,
"red": 0.80392,
"green": 0.81176,
"blue": 0.83529,
"alpha": 1
},
"fontName": "SofiaPro",
Expand Down
32 changes: 32 additions & 0 deletions uds-android-theme-public-mobile/src/main/res/raw/ButtonGroup.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"appearances": {
"style": {
"description": "Configure `style` variant for `ButtonGroup`",
"type": "variant",
"values": ["contained"]
},
"viewport": {
"description": "The size label for the current screen viewport based on the current screen width",
"values": ["xs", "sm", "md", "lg", "xl"],
Expand All @@ -17,6 +22,7 @@
"viewport": ["lg", "xl"]
},
"tokens": {
"gap": 3,
"space": 3
}
},
Expand All @@ -29,15 +35,41 @@
"alignItems": "stretch",
"direction": "column"
}
},
{
"if": {
"style": "contained"
},
"tokens": {
"backgroundColor": {
"red": 0.84706,
"green": 0.8549,
"blue": 0.88627,
"alpha": 1
},
"borderRadius": 12,
"gap": 2,
"padding": 8,
"space": 2
}
}
],
"tokens": {
"alignItems": "center",
"backgroundColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
},
"borderRadius": 0,
"direction": "row",
"fieldSpace": 2,
"flexGrow": 0,
"flexShrink": 0,
"gap": 2,
"justifyContent": "flex-start",
"padding": 0,
"space": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
"values": [true],
"type": "state"
},
"style": {
"description": "Configure `style` variant for `ButtonGroupItem`",
"type": "variant",
"values": ["contained"]
},
"width": {
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
"type": "variant",
Expand Down Expand Up @@ -143,6 +148,68 @@
"tokens": {
"width": "100%"
}
},
{
"if": {
"style": "contained"
},
"tokens": {
"backgroundColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
},
"borderColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
},
"borderWidth": 0,
"height": 40
}
},
{
"if": {
"selected": true,
"style": "contained"
},
"tokens": {
"backgroundColor": {
"red": 0.22353,
"green": 0.25098,
"blue": 0.33725,
"alpha": 1
},
"color": {
"red": 1,
"green": 1,
"blue": 1,
"alpha": 1
},
"outerBorderWidth": 0
}
},
{
"if": {
"pressed": true,
"style": "contained"
},
"tokens": {
"backgroundColor": {
"red": 0.16863,
"green": 0.19216,
"blue": 0.27059,
"alpha": 1
},
"color": {
"red": 1,
"green": 1,
"blue": 1,
"alpha": 1
}
}
}
],
"tokens": {
Expand Down
65 changes: 65 additions & 0 deletions uds-android-theme-public-mobile/src/main/res/raw/FileUpload.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"appearances": {},
"rules": [],
"tokens": {
"buttonBackgroundColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
},
"buttonBorderColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
},
"buttonBorderRadius": null,
"buttonBorderWidth": null,
"buttonHeight": null,
"buttonMinWidth": null,
"buttonTextColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
},
"buttonWidth": null,
"notificationBackgroundColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
},
"notificationBorderColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
},
"notificationBorderRadius": null,
"notificationDismissButtonGap": null,
"notificationDismissIcon": null,
"notificationDismissIconColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
},
"notificationIcon": null,
"notificationIconColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
},
"notificationIconGap": null,
"notificationIconSize": null,
"notificationTextColor": {
"red": 1,
"green": 1,
"blue": 1,
"alpha": 1
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@
],
"tokens": {
"buttonDirection": "row",
"contentMarginBottom": 32,
"contentMarginLeft": 16,
"contentMarginRight": 16,
"contentMarginTop": 24,
"contentPaddingLeft": 16,
"contentPaddingRight": 16,
"headerFontColor": {
"red": 0.22353,
"green": 0.25098,
Expand All @@ -58,9 +64,9 @@
"headerFontSize": 24,
"headerFontWeight": 700,
"headerLineHeight": 1.28571428571,
"maxHeightSize": 0,
"maxHeightSize": 480,
"maxWidthSize": 0,
"minHeight": 320,
"minHeight": 0,
"minWidth": 320,
"subHeaderFontName": "SofiaPro",
"subHeaderFontSize": 18,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@
"alpha": 1
},
"iconGradient": null,
"marginLeft": 8,
"paddingBottom": 0,
"paddingLeft": 0,
"paddingRight": 0,
Expand Down
Loading

0 comments on commit 00390f1

Please # to comment.