Skip to content
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 main table colors #11579

Merged
merged 13 commits into from
Aug 6, 2024
18 changes: 15 additions & 3 deletions src/main/java/org/jabref/gui/Base.css
Original file line number Diff line number Diff line change
Expand Up @@ -649,15 +649,27 @@ TextFlow > .tooltip-text-monospaced {
}

.table-row-cell:matching-search-and-groups {
-fx-background-color: white;
-fx-background-color: #FFFFFFFF;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please either make them derived or add some new constants, as this makes it easier for dark theme to change the colors

}

.table-row-cell:matching-search-and-groups:odd {
-fx-background-color: #F5F5F5FF;
}

.table-row-cell:matching-search-not-groups {
-fx-background-color: rgba(180, 180, 180, 0.86);
-fx-background-color: #B4B4B4DB;
}

.table-row-cell:matching-search-not-groups:odd {
-fx-background-color: #AAAAAADB;
}

.table-row-cell:matching-groups-not-search {
-fx-background-color: rgba(140, 140, 140, 0.86);
-fx-background-color: #8C8C8CDB;
}

.table-row-cell:matching-groups-not-search:odd {
-fx-background-color: #828282DB;
}

.table-row-cell:not-matching-search-and-groups {
Expand Down