Skip to content

Commit

Permalink
Rename color selector style class
Browse files Browse the repository at this point in the history
  • Loading branch information
mkpaz committed Sep 6, 2022
1 parent 2f47b28 commit 63ec0cc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ private void createView() {
colorButton("-color-danger-emphasis", "-color-fg-emphasis"),
resetBtn
);
getStyleClass().add("accent-color-selector");
getStyleClass().add("color-selector");
}

private Button colorButton(String bgColorName, String fgColorName) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ private void createView() {
colorButton(AccentColor.primerCoral()),
resetBtn
);
getStyleClass().add("accent-color-selector");
getStyleClass().add("color-selector");
}

private Button colorButton(AccentColor accentColor) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

.accent-color-selector {
.color-selector {
-color-primary: -color-accent-emphasis;

-fx-spacing: 1em;
Expand All @@ -16,4 +16,4 @@
-fx-background-color: -color-primary;
}
}
}
}

0 comments on commit 63ec0cc

Please sign in to comment.