diff --git a/src/main/java/io/jenkins/plugins/darktheme/DarkThemeManagerFactory.java b/src/main/java/io/jenkins/plugins/darktheme/DarkThemeManagerFactory.java index 85842c9..16393a2 100644 --- a/src/main/java/io/jenkins/plugins/darktheme/DarkThemeManagerFactory.java +++ b/src/main/java/io/jenkins/plugins/darktheme/DarkThemeManagerFactory.java @@ -15,6 +15,7 @@ public class DarkThemeManagerFactory extends ThemeManagerFactory { public static final String ACE_EDITOR_THEME = "tomorrow_night"; public static final String PRISM_THEME = "tomorrow"; public static final String BOOTSTRAP_THEME = "dark"; + public static final String ENTRA_ID_THEME = "dark"; @DataBoundConstructor public DarkThemeManagerFactory() { @@ -25,6 +26,7 @@ public Theme getTheme() { return Theme.builder() .withCssUrl(getCssUrl()) .withProperty("ace-editor", "theme", ACE_EDITOR_THEME) + .withProperty("entra-id", "theme", ENTRA_ID_THEME) .withProperty("prism-api", "theme", PRISM_THEME) .withProperty("bootstrap", "theme", BOOTSTRAP_THEME) .build(); diff --git a/src/main/java/io/jenkins/plugins/darktheme/DarkThemeSystemManagerFactory.java b/src/main/java/io/jenkins/plugins/darktheme/DarkThemeSystemManagerFactory.java index 76ca802..fb0ca10 100644 --- a/src/main/java/io/jenkins/plugins/darktheme/DarkThemeSystemManagerFactory.java +++ b/src/main/java/io/jenkins/plugins/darktheme/DarkThemeSystemManagerFactory.java @@ -21,6 +21,7 @@ public Theme getTheme() { return Theme.builder() .respectSystemAppearance() .withProperty("ace-editor", "theme-dark", ACE_EDITOR_THEME) + .withProperty("entra-id", "theme", ENTRA_ID_THEME) .withProperty("prism-api", "theme-dark", PRISM_THEME) .withProperty("bootstrap", "theme-dark", BOOTSTRAP_THEME) .build();