Rename color selector style class

This commit is contained in:
mkpaz 2022-09-06 09:09:44 +04:00
parent 2f47b2847c
commit 63ec0cc2c5
3 changed files with 4 additions and 4 deletions

@ -205,7 +205,7 @@ public class DatePickerPage extends AbstractPage {
colorButton("-color-danger-emphasis", "-color-fg-emphasis"),
resetBtn
);
getStyleClass().add("accent-color-selector");
getStyleClass().add("color-selector");
}
private Button colorButton(String bgColorName, String fgColorName) {

@ -33,7 +33,7 @@ public class AccentColorSelector extends HBox {
colorButton(AccentColor.primerCoral()),
resetBtn
);
getStyleClass().add("accent-color-selector");
getStyleClass().add("color-selector");
}
private Button colorButton(AccentColor accentColor) {

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
.accent-color-selector {
.color-selector {
-color-primary: -color-accent-emphasis;
-fx-spacing: 1em;
@ -16,4 +16,4 @@
-fx-background-color: -color-primary;
}
}
}
}