Rename color selector style class
This commit is contained in:
parent
2f47b2847c
commit
63ec0cc2c5
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user