Modern JavaFX CSS theme collection with additional controls.
See the codeModern JavaFX CSS theme collection with additional controls.




Requirements: Java 25+ and JavaFX 27+.
Maven:
<dependency>
<groupId>io.github.mkpaz</groupId>
<artifactId>atlantafx-base</artifactId>
<version>3.0.0</version>
</dependency>
Gradle:
repositories {
mavenCentral()
}
dependencies {
implementation 'io.github.mkpaz:atlantafx-base:3.0.0'
}
Set a theme:
public class Launcher extends Application {
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage stage) {
// find more themes in 'atlantafx.base.theme' package
Application.setUserAgentStylesheet(new PrimerLight().getUserAgentStylesheet());
// the rest of the code ...
}
}
Or use the ThemeManager:
// set theme based on platform color scheme preference
// or pick theme from Java properties if run with -Datlantafx.theme=name
ThemeManager.useDefault()
// ... or set theme manually
ThemeManager.instance().setTheme(new PrimerLight())
If you use Maven you can quickly create a new project with AtlantaFX using the starter:
git clone https://github.com/mkpaz/atlantafx-maven-starter
If you don't want to use additional dependencies, you can download compiled CSS themes from the
GitHub Releases. Unpack AtlantaFX-*-themes.zip
and place it to your project's classpath.
Set CSS theme:
// specify the theme stylesheet URI directly:
Application.setUserAgentStylesheet(URI);
// ... or use a Java property:
-Djavafx.userAgentStylesheetUrl=[URI]
Refer to the relevant module documentation for more information about its usage.
[!NOTE] Check CONTRIBUTING.md if you need more information about the project structure and build instructions.
Contributions are always welcome! Feel free to open an issue if you've found a bug or want to raise a question, or discuss a possible feature.
Please note that AtlantaFX is primarily a CSS theme library. Controls and skins support will probably grow over time, but creating another controls library is not the main goal.
Here are some areas where you can help the project:
64 followers · starred Jan 2023
493 followers · starred Sep 2022
645 followers · starred Aug 2023
56 followers · starred May 2024
Modern JavaFX CSS theme collection with additional controls.
See the codeModern JavaFX CSS theme collection with additional controls.




Requirements: Java 25+ and JavaFX 27+.
Maven:
<dependency>
<groupId>io.github.mkpaz</groupId>
<artifactId>atlantafx-base</artifactId>
<version>3.0.0</version>
</dependency>
Gradle:
repositories {
mavenCentral()
}
dependencies {
implementation 'io.github.mkpaz:atlantafx-base:3.0.0'
}
Set a theme:
public class Launcher extends Application {
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage stage) {
// find more themes in 'atlantafx.base.theme' package
Application.setUserAgentStylesheet(new PrimerLight().getUserAgentStylesheet());
// the rest of the code ...
}
}
Or use the ThemeManager:
// set theme based on platform color scheme preference
// or pick theme from Java properties if run with -Datlantafx.theme=name
ThemeManager.useDefault()
// ... or set theme manually
ThemeManager.instance().setTheme(new PrimerLight())
If you use Maven you can quickly create a new project with AtlantaFX using the starter:
git clone https://github.com/mkpaz/atlantafx-maven-starter
If you don't want to use additional dependencies, you can download compiled CSS themes from the
GitHub Releases. Unpack AtlantaFX-*-themes.zip
and place it to your project's classpath.
Set CSS theme:
// specify the theme stylesheet URI directly:
Application.setUserAgentStylesheet(URI);
// ... or use a Java property:
-Djavafx.userAgentStylesheetUrl=[URI]
Refer to the relevant module documentation for more information about its usage.
[!NOTE] Check CONTRIBUTING.md if you need more information about the project structure and build instructions.
Contributions are always welcome! Feel free to open an issue if you've found a bug or want to raise a question, or discuss a possible feature.
Please note that AtlantaFX is primarily a CSS theme library. Controls and skins support will probably grow over time, but creating another controls library is not the main goal.
Here are some areas where you can help the project:
64 followers · starred Jan 2023
493 followers · starred Sep 2022
645 followers · starred Aug 2023
56 followers · starred May 2024