| JVM | Platform | Status |
|---|---|---|
| OpenJDK (Temurin) Current | Linux | |
| OpenJDK (Temurin) LTS | Linux | |
| OpenJDK (Temurin) Current | Windows | |
| OpenJDK (Temurin) LTS | Windows |
Development of this project has moved to an open-source but not open-contribution model.
Source code and commits will remain publicly available perpetually, but issues and/or pull requests will be rejected and/or ignored. Additionally, this project will now only be available via a read-only mirror at:
https://codeberg.org/io7m-com/cxbutton
Embossed CSS buttons.
- Templated, customizable CSS buttons.
- OSGi ready.
- JPMS ready.
- ISC license.
- High-coverage automated test suite.
Use the CxButtonCSS class to generate CSS text.
final CxButtonCSS css =
CxButtonCSS.create();
final String text =
css.cssOf(Optional.empty(), false, CxButtonCSS.defaultColors());
It's possible to specify custom colors, and the package can automatically derive the correct color variations for embossing:
final String text =
css.cssOf(
Optional.of("Ocean"),
true,
CxButtonCSS.colorsForScheme(
new CxColor(1.0, 1.0, 1.0),
new CxColor(0.0, 0.0, 0.0),
new CxColor(0.105, 0.313, 0.454),
0.2,
0.2,
0.5
)
);
