diff --git a/sampler/src/main/java/atlantafx/sampler/page/components/DatePickerPage.java b/sampler/src/main/java/atlantafx/sampler/page/components/DatePickerPage.java index 50323fb..a87a7e3 100644 --- a/sampler/src/main/java/atlantafx/sampler/page/components/DatePickerPage.java +++ b/sampler/src/main/java/atlantafx/sampler/page/components/DatePickerPage.java @@ -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) { diff --git a/sampler/src/main/java/atlantafx/sampler/page/general/AccentColorSelector.java b/sampler/src/main/java/atlantafx/sampler/page/general/AccentColorSelector.java index 96289cc..f15803e 100644 --- a/sampler/src/main/java/atlantafx/sampler/page/general/AccentColorSelector.java +++ b/sampler/src/main/java/atlantafx/sampler/page/general/AccentColorSelector.java @@ -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) { diff --git a/sampler/src/main/resources/assets/styles/scss/widgets/_accent-color-selector.scss b/sampler/src/main/resources/assets/styles/scss/widgets/_accent-color-selector.scss index 86fca5d..4cab76e 100644 --- a/sampler/src/main/resources/assets/styles/scss/widgets/_accent-color-selector.scss +++ b/sampler/src/main/resources/assets/styles/scss/widgets/_accent-color-selector.scss @@ -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; } } -} \ No newline at end of file +}