Commit 223088b
authored
Applies new updates from Figma (#6308)
* Updates from Figma:
- Rename `textInverse` to `textOnInverse`.
- Rename `backgroundCoreSurface` to `backgroundCoreSurfaceDefault` and remove `backgroundCoreElevation4`.
- Rename `borderCoreInverse` to `borderCoreOnInverse`.
- Add new color properties: `borderCoreOnSurface` and `borderUtilityDisabledOnSurface`.
- Update all UI components, samples, and documentation across the library to reflect the new theme property names.
- Update `buttonPrimaryText` to use `accentPrimary` by default.
- Adjust `controlToggleSwitchKnob` to use `backgroundCoreOnAccent`.
- Update the public API signature for `StreamDesign.Colors`.
* Update `StreamDesign` colors and focus border logic in `ChannelItem`.
- Add `borderUtilityFocused` to `StreamDesign.Colors` to distinguish between focus and selection states.
- Update `borderUtilitySelected` values for both light and dark themes to use semi-transparent slate and white, respectively.
- Adjust `controlPlayButtonBg` to use a semi-transparent black instead of a solid chrome color.
- Update `ChannelItem` to use `borderUtilityFocused` for the focus ring instead of `borderUtilitySelected`.
- Reflect the changes in the public API signature of `StreamDesign$Colors`.
* Audit Kdoc1 parent 64aecc1 commit 223088b
23 files changed
Lines changed: 79 additions & 66 deletions
File tree
- stream-chat-android-compose-sample/src/main/java/io/getstream/chat/android/compose/sample/ui
- component
- login
- profile
- stream-chat-android-compose
- api
- src/main/java/io/getstream/chat/android/compose/ui
- attachments/content
- channels/list
- channel/attachments
- components
- avatar
- common
- poll
- messages
- attachments/poll
- theme
- threads
- util
- stream-chat-android-docs/src/main/kotlin/io/getstream/chat/docs/kotlin/cookbook/ui
- stream-chat-android-ui-guides/src/main/java/io/getstream/chat/android/guides/catalog
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
278 | | - | |
| 277 | + | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
| 283 | + | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| |||
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6253 | 6253 | | |
6254 | 6254 | | |
6255 | 6255 | | |
6256 | | - | |
| 6256 | + | |
6257 | 6257 | | |
6258 | 6258 | | |
6259 | 6259 | | |
| |||
6311 | 6311 | | |
6312 | 6312 | | |
6313 | 6313 | | |
| 6314 | + | |
| 6315 | + | |
6314 | 6316 | | |
6315 | 6317 | | |
6316 | 6318 | | |
6317 | | - | |
6318 | | - | |
| 6319 | + | |
| 6320 | + | |
6319 | 6321 | | |
6320 | 6322 | | |
6321 | 6323 | | |
| |||
6340 | 6342 | | |
6341 | 6343 | | |
6342 | 6344 | | |
6343 | | - | |
6344 | 6345 | | |
6345 | 6346 | | |
6346 | 6347 | | |
6347 | 6348 | | |
6348 | 6349 | | |
6349 | 6350 | | |
6350 | | - | |
6351 | 6351 | | |
| 6352 | + | |
6352 | 6353 | | |
6353 | 6354 | | |
6354 | 6355 | | |
6355 | 6356 | | |
6356 | 6357 | | |
6357 | | - | |
6358 | 6358 | | |
| 6359 | + | |
| 6360 | + | |
6359 | 6361 | | |
6360 | 6362 | | |
6361 | 6363 | | |
6362 | 6364 | | |
6363 | 6365 | | |
6364 | 6366 | | |
| 6367 | + | |
6365 | 6368 | | |
| 6369 | + | |
6366 | 6370 | | |
6367 | 6371 | | |
6368 | 6372 | | |
| |||
6371 | 6375 | | |
6372 | 6376 | | |
6373 | 6377 | | |
6374 | | - | |
6375 | 6378 | | |
6376 | 6379 | | |
| 6380 | + | |
6377 | 6381 | | |
6378 | 6382 | | |
6379 | 6383 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
| 504 | + | |
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
0 commit comments