Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mouse0w0/darculafx

JavaFX darcula theme
https://github.com/mouse0w0/darculafx

darcula-theme javafx javafx-darcula-theme

Last synced: 2 months ago
JSON representation

JavaFX darcula theme

Awesome Lists containing this project

README

        

# darculafx
[![Maven Central](https://img.shields.io/maven-central/v/com.github.mouse0w0/darculafx.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.mouse0w0%22%20AND%20a:%22darculafx%22)

JavaFX darcula theme.

## Usage

### 1 Add dependency

Maven

```xml

com.github.mouse0w0
darculafx
11.0.0

```

Gradle

#### 1 Add the Central repository to your build file
```gradle
repositories {
mavenCentral()
}
```

#### 2 Add the dependency
```gradle
dependencies {
implementation 'com.github.mouse0w0:darculafx:11.0.0'
}
```

### 2 Apply theme

You can either apply the style to the scene…
```java
DarculaFX.applyDarculaStyle(scene);
```
…or apply the style to specific components.
```java
DarculaFX.applyDarculaStyle(button);
```

## Screenshots

![1](screenshots/1.png)
![2](screenshots/2.png)
![3](screenshots/3.png)
![4](screenshots/4.png)