commit a94004160ff1527147066e530e42441341706384
parent ea5f2dee6a5fe278a529489fd9dd6f166524b53b
Author: A Koens <[email protected]>
Date: Tue, 7 Feb 2023 14:03:42 +0100
update colors
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/resources/nl/isygameclient/css/tokens.css b/src/main/resources/nl/isygameclient/css/tokens.css
@@ -95,7 +95,7 @@
-surface-text-light: -neutral-400;
-on-surface-light: -neutral-900;
- -on-surface-text-light: -neutral-500;
+ -on-surface-text-light: -neutral-400;
-primary-light: -primary-500;
-primary-text-light: -primary-800;
diff --git a/src/main/resources/nl/isygameclient/views/games/tictactoe/TicTacToeSinglePlayer.fxml b/src/main/resources/nl/isygameclient/views/games/tictactoe/TicTacToeSinglePlayer.fxml
@@ -9,10 +9,10 @@
<BorderPane xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="nl.isygameclient.controllers.games.tictactoe.TicTacToeSinglePlayerController">
<styleClass>
- <String fx:value="surface"/>
+ <String fx:value="background"/>
</styleClass>
<left>
- <VBox prefWidth="200" styleClass="surface-variant" spacing="20" >
+ <VBox prefWidth="200" styleClass="surface" spacing="20" >
<padding>
<Insets topRightBottomLeft="20"/>
</padding>
@@ -88,14 +88,14 @@
<JFXButton text="New Game" onAction="#onNewGameButtonClick" prefWidth="Infinity">
<styleClass>
<String fx:value="primary"/>
- <String fx:value="on-primary-text"/>
+ <String fx:value="primary-text"/>
<String fx:value="title-medium"/>
</styleClass>
</JFXButton>
<JFXButton text="Main Menu" onAction="#onMainMenuButtonClick" prefWidth="Infinity">
<styleClass>
<String fx:value="primary"/>
- <String fx:value="on-primary-text"/>
+ <String fx:value="primary-text"/>
<String fx:value="title-medium"/>
</styleClass>
</JFXButton>
@@ -189,7 +189,7 @@
</center>
<stylesheets>
<URL value="@../../../css/style.css" />
+<!-- <URL value="@../../../css/themes/light.theme.css" />-->
<URL value="@../../../css/themes/dark.theme.css" />
- <!-- <URL value="@../css/themes/light.theme.css" />-->
</stylesheets>
</BorderPane>