An overall small update, but the Gradle bugfix around input / output files makes it worth releasing.
Frontend
- Fixed a bug with transparency not working when using Silk colors
- That is,
Color.rgba(255, 0, 0, 128)would just become red, not half-transparent red.
- That is,
- (Experimental) Added support for adding extra modifiers to a component style directly, as a way to accommodate attribute modifiers which are not otherwise allowed in that scope.
- Before:
val ButtonStyle = ComponentStyle("my-button") { ... } ... // Set tab index so this element can receive keyboard focus Button(ButtonStyle.toModifier().tabIndex(0) - After:
val ButtonStyle = ComponentStyle("my-button") { ... } + Modifier.tabIndex(0) // Set tab index so this element can receive keyboard focus ... Button(ButtonStyle.toModifier())
- Before:
Gradle
- Updated the "generate site" tasks so that files they output no longer makes those tasks think that they need to run again
- Updated task listener logic so that the code is less fragile allowing the "Building..." indicator to show up more consistently