Skip to content

Commit

Permalink
Pick win adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
iazarny committed Jun 24, 2024
1 parent cfc843c commit a92c9b8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/com/az/gitember/controller/LookAndFeelSet.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.az.gitember.controller;

import com.az.gitember.service.Context;
import javafx.scene.paint.Color;

public class LookAndFeelSet {
Expand Down Expand Up @@ -32,9 +33,12 @@ public class LookAndFeelSet {
public static String RESULT_WARNING = "-fx-text-fill: #1a1919; -fx-background-color: #d7d7ea";
public static String RESULT_ERROR = "-fx-text-fill: #1a1919; -fx-background-color: #EADFE2";

public static final double FONT_SIZE = 23.0;
public static double FONT_SIZE = 23.0;

public static void init(String themeMode) {
if (Context.isWindows()) {
LookAndFeelSet.FONT_SIZE = 27.0;
}
if ("Dark".equalsIgnoreCase(themeMode)) {
PIECHART_LEGENF_STYLE = "-fx-fill: lightgray";
BRANCH_NAME_COLOR = Color.LIGHTGRAY;
Expand Down

0 comments on commit a92c9b8

Please sign in to comment.