Skip to content

Commit

Permalink
Revert "Fix font issue on M1 Mac Big Sur (AY2122S2-CS2103T-T12-4#106)" (
Browse files Browse the repository at this point in the history
AY2122S2-CS2103T-T12-4#119)

This reverts commit 9a46153, which was aimed
at sidestepping se-edu/addressbook-level3#105. A better solution has been
identified which made the current fix redundant while introducing path issues
that are not obvious, see se-edu/addressbook-level3#111 for more details.
  • Loading branch information
kouyk authored Jan 13, 2022
1 parent ed01361 commit 8d5b66e
Show file tree
Hide file tree
Showing 17 changed files with 12 additions and 261 deletions.
Binary file modified docs/images/Ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
202 changes: 0 additions & 202 deletions src/main/resources/fonts/open-sans/LICENSE.txt

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
24 changes: 12 additions & 12 deletions src/main/resources/view/DarkTheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@

.label {
-fx-font-size: 11pt;
-fx-font-family: "Open Sans Semibold";
-fx-font-family: "Segoe UI Semibold";
-fx-text-fill: #555555;
-fx-opacity: 0.9;
}

.label-bright {
-fx-font-size: 11pt;
-fx-font-family: "Open Sans Semibold";
-fx-font-family: "Segoe UI Semibold";
-fx-text-fill: white;
-fx-opacity: 1;
}

.label-header {
-fx-font-size: 32pt;
-fx-font-family: "Open Sans Light";
-fx-font-family: "Segoe UI Light";
-fx-text-fill: white;
-fx-opacity: 1;
}

.text-field {
-fx-font-size: 12pt;
-fx-font-family: "Open Sans Semibold";
-fx-font-family: "Segoe UI Semibold";
}

.tab-pane {
Expand Down Expand Up @@ -66,7 +66,7 @@

.table-view .column-header .label {
-fx-font-size: 20pt;
-fx-font-family: "Open Sans Light";
-fx-font-family: "Segoe UI Light";
-fx-text-fill: white;
-fx-alignment: center-left;
-fx-opacity: 1;
Expand Down Expand Up @@ -121,13 +121,13 @@
}

.cell_big_label {
-fx-font-family: "Open Sans Semibold";
-fx-font-family: "Segoe UI Semibold";
-fx-font-size: 16px;
-fx-text-fill: #010504;
}

.cell_small_label {
-fx-font-family: "Open Sans Regular";
-fx-font-family: "Segoe UI";
-fx-font-size: 13px;
-fx-text-fill: #010504;
}
Expand All @@ -148,7 +148,7 @@

.result-display {
-fx-background-color: transparent;
-fx-font-family: "Open Sans Light";
-fx-font-family: "Segoe UI Light";
-fx-font-size: 13pt;
-fx-text-fill: white;
}
Expand All @@ -158,7 +158,7 @@
}

.status-bar .label {
-fx-font-family: "Open Sans Light";
-fx-font-family: "Segoe UI Light";
-fx-text-fill: white;
-fx-padding: 4px;
-fx-pref-height: 30px;
Expand Down Expand Up @@ -198,7 +198,7 @@

.menu-bar .label {
-fx-font-size: 14pt;
-fx-font-family: "Open Sans Light";
-fx-font-family: "Segoe UI Light";
-fx-text-fill: white;
-fx-opacity: 0.9;
}
Expand All @@ -218,7 +218,7 @@
-fx-border-width: 2;
-fx-background-radius: 0;
-fx-background-color: #1d1d1d;
-fx-font-family: "Open Sans Regular";
-fx-font-family: "Segoe UI", Helvetica, Arial, sans-serif;
-fx-font-size: 11pt;
-fx-text-fill: #d8d8d8;
-fx-background-insets: 0 0 0 0, 0, 1, 2;
Expand Down Expand Up @@ -323,7 +323,7 @@
-fx-border-color: #383838 #383838 #ffffff #383838;
-fx-border-insets: 0;
-fx-border-width: 1;
-fx-font-family: "Open Sans Light";
-fx-font-family: "Segoe UI Light";
-fx-font-size: 13pt;
-fx-text-fill: white;
}
Expand Down
44 changes: 0 additions & 44 deletions src/main/resources/view/Fonts.css

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/view/HelpWindow.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#copyButton, #helpMessage {
-fx-font-family: "Open Sans";
-fx-text-fill: white;
}

Expand Down
1 change: 0 additions & 1 deletion src/main/resources/view/HelpWindow.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<scene>
<Scene>
<stylesheets>
<URL value="@Fonts.css" />
<URL value="@HelpWindow.css" />
</stylesheets>

Expand Down
1 change: 0 additions & 1 deletion src/main/resources/view/MainWindow.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<scene>
<Scene>
<stylesheets>
<URL value="@Fonts.css"/>
<URL value="@DarkTheme.css" />
<URL value="@Extensions.css" />
</stylesheets>
Expand Down

0 comments on commit 8d5b66e

Please sign in to comment.