|
2 | 2 | > Radix-UI is an open source library optimized for fast development, easy maintenance, and accessibility. |
3 | 3 |
|
4 | 4 | [![Swift Version][swift-image]][swift-url] |
5 | | -[![Last Release][latest-release-image]][releases-url] |
| 5 | +[![Last Release][latest-tag-image]][releases-url] |
6 | 6 | [![Last Stable Release][latest-stable-image]][releases-url] |
7 | 7 | [![Last Commit Date][last-commit-image]][commits-url] |
8 | 8 | [![Contributors][contributors-image]][contributors-url] |
@@ -58,6 +58,10 @@ Text("RadixUI-Swift") |
58 | 58 |
|
59 | 59 | **Important Note**: All RadixUI modifiers and styles are using `RadixAutoColor` enum |
60 | 60 |
|
| 61 | +**Most Important Note**: All Radix theme styles have a default dynamic Black on Light ColorScheme and White on Dark ColorScheme, so |
| 62 | + |
| 63 | +**DO NOT PASS `.whiteA` or `.blackA` TO RADIX MODIFIERS** |
| 64 | + |
61 | 65 | ### Icons |
62 | 66 | Use icons in `Image` with bundle name completely customizable in two ways |
63 | 67 | ```swift |
@@ -89,6 +93,7 @@ Text("New") |
89 | 93 |
|
90 | 94 | ### Button |
91 | 95 | RadixUI does have multiple ButtonStyles as: radixGhost, radixOutline, radixSoft, radixSolid and radixSurface |
| 96 | + |
92 | 97 | **Note 1**: RadixUI buttons can have a loading state after press that does change the Button label's icon into a progress view until the boolean becomes `false` again. |
93 | 98 | Examples: |
94 | 99 | ```swift |
@@ -426,7 +431,7 @@ Distributed under the MIT license. See ``LICENSE`` for more information. |
426 | 431 | [swift-image]: https://badgen.net/static/Swift/5.5/orange |
427 | 432 | [swift-url]: https://swift.org/ |
428 | 433 |
|
429 | | -[latest-release-image]: https://badgen.net/github/release/amirsaam/Radix-UI-Swift |
| 434 | +[latest-tag-image]: https://badgen.net/github/tag/amirsaam/radix-ui-swift |
430 | 435 | [latest-stable-image]: https://badgen.net/github/release/amirsaam/Radix-UI-Swift/stable |
431 | 436 | [releases-url]: https://github.com/amirsaam/Radix-UI-Swift/releases |
432 | 437 |
|
|
0 commit comments