feat: 主题颜色

This commit is contained in:
2024-09-10 03:09:09 +08:00
parent a9dd63b251
commit a0e5e16afc
6 changed files with 81 additions and 98 deletions

View File

@ -10,7 +10,7 @@
-fx-padding: 2 5 2 5;
-fx-text-fill: white;
-fx-font-size: 15;
-fx-background-color: #1bc964;
-fx-background-color: -color-success-3;
-fx-background-radius: 10;
-fx-text-alignment: CENTER;
-fx-border-radius: 10;
@ -22,34 +22,34 @@
-fx-padding: 10 40 10 40;
-fx-border-radius: 15;
-fx-border-width: 2;
-fx-opacity: 0.9;
-fx-opacity: 1;
&:hover {
-fx-opacity: 1.0;
-fx-opacity: 0.9;
}
}
#startButton {
-fx-background-color: #fa6057;
-fx-border-color: #fa6057;
-fx-background-color: -color-danger-emphasis;
-fx-border-color: -color-danger-emphasis;
-fx-text-fill: white;
}
#passwordButton {
-fx-background-color: #1bc964;
-fx-border-color: #1bc964;
-fx-background-color: -color-success-3;
-fx-border-color: -color-success-3;
}
#restartButton {
-fx-background-color: linear-gradient(#57b4f2, #9198e5);
-fx-border-color: linear-gradient(#57b4f2, #9198e5);
-fx-background-color: linear-gradient(to bottom right, -color-accent-3, -color-chart-6);
-fx-border-color: linear-gradient(to bottom right, -color-accent-3, -color-chart-6);
-fx-text-fill: white;
}
#moreButton {
-fx-background-color: transparent;
-fx-text-fill: #9254d1;
-fx-border-color: #9254d1;
-fx-text-fill: -color-chart-6;
-fx-border-color: -color-chart-6;
}
#logArea {
@ -57,34 +57,12 @@
-fx-font-size: 20;
-fx-background-radius: 15;
-fx-border-radius: 15;
-fx-border-color: transparent;
-fx-background-insets: 0;
-fx-background-color: #e9e9e9;
&:focused {
-fx-background-radius: 15;
-fx-border-radius: 15;
-fx-border-color: transparent;
-fx-background-color: #e9e9e9;
}
.content {
-fx-padding: 0 15 0 15;
-fx-background-radius: 15;
-fx-background-color: #e9e9e9;
-fx-border-radius: 15;
-fx-border-color: transparent;
&:focused {
-fx-background-color: #e9e9e9;
}
}
.scroll-pane {
-fx-background-color: transparent;
.viewport {
-fx-background-color: transparent;
}
}
}