/darklaf-extensions

Extensions for the Darklaf Look and Feel

Primary LanguageKotlinMIT LicenseMIT

Darklaf- Extension

Several extensions for the Darklaf Look and Feel.

Kotlin

Extension functions for easier component configuration in Kotlin. e.g.

button.putClientProperty(DarkButtonUI.KEY_VARAIANT, DarkButtonUI.VARIANT_BORDERLESS);

becomes

button.variant = ButtonVariant.BORDERLESS

Usage

<dependency>
  <groupId>com.github.weisj</groupId>
  <artifactId>darklaf-extension-kotlin</artifactId>
  <version>0.3.4</version>
</dependency>
implementation("com.github.weisj:darklaf-extensions-kotlin:0.1.0")

RSyntaxArea

Provides themes for RSyntaxTextAreas matching Darklaf themes.

Usage

<dependency>
  <groupId>com.github.weisj</groupId>
  <artifactId>darklaf-extension-rsyntaxarea</artifactId>
  <version>0.3.4</version>
</dependency>
implementation("com.github.weisj:darklaf-extensions-rsyntaxarea:0.1.0")