forked from nus-cs2103-AY2425S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the color theme #78
Merged
CYX22222003
merged 1 commit into
AY2425S1-CS2103T-F14a-4:master
from
yooplo:branch-update-GUI
Oct 16, 2024
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.error { | ||
-fx-text-fill: #FF4500 !important; /* Bright orange for error messages */ | ||
} | ||
|
||
.list-cell:empty { | ||
/* Empty cells will be filled with a base theme color */ | ||
-fx-background-color: #2B3A67; /* Deep blue background */ | ||
} | ||
|
||
.tag-selector { | ||
-fx-border-width: 1; | ||
-fx-border-color: #FFA500; | ||
-fx-border-radius: 3; | ||
-fx-background-radius: 3; | ||
} | ||
|
||
.tooltip-text { | ||
-fx-text-fill: #2B3A67; /* Ensure tooltip text remains white for legibility */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
/* General Background and Text */ | ||
.background { | ||
-fx-background-color: #2B3A67; /* Deep blue background */ | ||
background-color: #2B3A67; /* Consistent with other references */ | ||
} | ||
|
||
.label { | ||
-fx-font-size: 11pt; | ||
-fx-font-family: "Segoe UI Semibold"; | ||
-fx-text-fill: #FFA500; /* Orange text */ | ||
-fx-opacity: 0.9; | ||
} | ||
|
||
.label-bright { | ||
-fx-font-size: 11pt; | ||
-fx-font-family: "Segoe UI Semibold"; | ||
-fx-text-fill: white; | ||
-fx-opacity: 1; | ||
} | ||
|
||
.label-header { | ||
-fx-font-size: 32pt; | ||
-fx-font-family: "Segoe UI Light"; | ||
-fx-text-fill: #FFA500; /* Orange text for headers */ | ||
-fx-opacity: 1; | ||
} | ||
|
||
.text-field { | ||
-fx-font-size: 12pt; | ||
-fx-font-family: "Segoe UI Semibold"; | ||
-fx-background-color: #2D4059; /* Slightly lighter blue */ | ||
-fx-text-fill: white; | ||
} | ||
|
||
.tab-pane { | ||
-fx-padding: 0 0 0 1; | ||
} | ||
|
||
/* Table and List Views */ | ||
.table-view { | ||
-fx-base: #2B3A67; | ||
-fx-control-inner-background: #2B3A67; | ||
-fx-background-color: #2B3A67; | ||
-fx-table-cell-border-color: transparent; | ||
-fx-table-header-border-color: transparent; | ||
-fx-padding: 5; | ||
} | ||
|
||
.table-view .column-header-background { | ||
-fx-background-color: transparent; | ||
} | ||
|
||
.table-view .column-header, .table-view .filler { | ||
-fx-size: 35; | ||
-fx-border-width: 0 0 1 0; | ||
-fx-background-color: transparent; | ||
-fx-border-color: transparent transparent #FFA500 transparent; /* Orange bottom border */ | ||
} | ||
|
||
.table-view .column-header .label { | ||
-fx-font-size: 20pt; | ||
-fx-font-family: "Segoe UI Light"; | ||
-fx-text-fill: white; | ||
-fx-alignment: center-left; | ||
-fx-opacity: 1; | ||
} | ||
|
||
.list-cell:filled:even { | ||
-fx-background-color: #3C4B76; /* Intermediate blue */ | ||
} | ||
|
||
.list-cell:filled:odd { | ||
-fx-background-color: #445C87; /* Another shade for contrast */ | ||
} | ||
|
||
.list-cell:filled:selected { | ||
-fx-background-color: #FFA500; /* Orange for selection */ | ||
} | ||
|
||
.list-cell:filled:selected #cardPane { | ||
-fx-border-color: #FF8C00; /* Darker orange border */ | ||
-fx-border-width: 1; | ||
} | ||
|
||
.list-cell .label { | ||
-fx-text-fill: white; | ||
} | ||
|
||
/* Button Styles */ | ||
.button { | ||
-fx-padding: 5 22 5 22; | ||
-fx-border-color: #FFA500; /* Orange border */ | ||
-fx-border-width: 2; | ||
-fx-background-radius: 0; | ||
-fx-background-color: #2B3A67; | ||
-fx-font-family: "Segoe UI", Helvetica, Arial, sans-serif; | ||
-fx-font-size: 11pt; | ||
-fx-text-fill: #FFFFFF; /* White text */ | ||
} | ||
|
||
.button:hover { | ||
-fx-background-color: #34495E; /* Lighter blue on hover */ | ||
} | ||
|
||
.button:pressed { | ||
-fx-background-color: #FFA500; /* Orange when pressed */ | ||
-fx-text-fill: #2B3A67; /* Switch to blue text */ | ||
} | ||
|
||
.menu-bar { | ||
-fx-background-color: #34495E; /* A lighter blue than background */ | ||
} | ||
|
||
.menu-bar .label { | ||
-fx-font-size: 14pt; | ||
-fx-font-family: "Segoe UI Light"; | ||
-fx-text-fill: #FF8C00; | ||
-fx-opacity: 0.9; | ||
-fx-font-weight: bold; | ||
} | ||
|
||
.status-bar { | ||
-fx-background-color: #2D4059; /* Dark blue for status bar */ | ||
} | ||
|
||
.status-bar .label { | ||
-fx-font-family: "Segoe UI Light"; | ||
-fx-text-fill: white; | ||
-fx-padding: 4px; | ||
-fx-pref-height: 30px; | ||
} | ||
|
||
#commandTypeLabel { | ||
-fx-font-size: 11px; | ||
-fx-text-fill: #FFA500; /* Orange for label text */ | ||
} | ||
|
||
#tags .label { | ||
-fx-text-fill: white; | ||
-fx-background-color: #3e7b91; | ||
-fx-padding: 1 3 1 3; | ||
} | ||
|
||
.result-display { | ||
-fx-font-size: 11pt; | ||
-fx-font-family: "Segoe UI", sans-serif; | ||
-fx-text-fill: #1E90FF; /* Dodger blue color for the text */ | ||
-fx-background-color: transparent; | ||
-fx-font-weight: bold; | ||
-fx-padding: 5px; | ||
} | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it indeed improves the aesthetics of the UI