Verified Owner
Top Description Classes Enums
module org.jabref

Package org.jabref.gui.theme


Theming of the JavaFX user interface: which stylesheets every scene gets, and keeping them current when preferences, the operating system's color scheme, or a watched CSS file change.

ThemeManager installs the stylesheets on each scene. ThemePreset lists the selectable themes: JabRef's own and the community ones, all bundled from https://themes.jabref.org/, each with a bundled screenshot that ThemePreviewView shows in the settings. ThemeColorScheme is the light/dark/follow-system choice, and StyleSheet wraps a CSS source (classpath resource, file, or data URL).

The appearance settings that drive this package live in org.jabref.gui.preferences.general. How users write their own theme is described at https://docs.jabref.org/advanced/custom-themes.

Class Summary

Modifier and TypeClass and Description
public class
StyleClasses

Utility-class combinations that recur across otherwise unrelated views.

public abstract class
pack-priv class
pack-priv class
pack-priv class
public class
ThemeManager

Installs and manages style files and provides live reloading.

public class
ThemePreviewView

Shows the bundled screenshot of a theme in the selected color scheme; when the color scheme follows the system, the dark and the light screenshot side by side.

Enum Summary

Modifier and TypeEnum and Description
public enum
public enum
ThemePreset

A theme the user can select.