-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3891 from JabRef/darkTheme
Dark theme
- Loading branch information
Showing
9 changed files
with
398 additions
and
282 deletions.
There are no files selected for viewing
427 changes: 282 additions & 145 deletions
427
src/main/java/org/jabref/gui/Main.css → src/main/java/org/jabref/gui/Base.css
Large diffs are not rendered by default.
Oops, something went wrong.
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,52 @@ | ||
.root { | ||
-jr-theme: #2c9490; | ||
-jr-accent: #255652; | ||
-jr-selected: -jr-accent; | ||
-jr-hover: #fff1; | ||
|
||
|
||
-jr-red: #b71c1f; | ||
-jr-light-red: #db1d2b; | ||
-jr-green: #1cb631; | ||
-jr-light-green: #28d93c; | ||
-jr-blue: #2c2cb7; | ||
-jr-light-blue: #3a3ad9; | ||
-jr-purple: #b72486; | ||
-jr-light-purple: #d927a8; | ||
-jr-yellow: #b5b021; | ||
-jr-orange: #b77620; | ||
|
||
-jr-base: #141824; | ||
|
||
-jr-background-alt: #151924; | ||
-jr-menu-background: #141824; | ||
-jr-toolbar: -jr-menu-background; | ||
-jr-sidepane-background: #212330; | ||
-jr-search-background: #2c2e3b; | ||
|
||
-jr-sidepane-header-background: -jr-background-alt; | ||
-jr-group-hits-bg: -jr-background-alt; | ||
-jr-group-hits-fg: -fx-light-text-color; | ||
-fx-control-inner-background: #272b38; | ||
|
||
-fx-control-inner-background-alt: -fx-control-inner-background; | ||
|
||
-fx-dark-text-color: black; | ||
-fx-mid-text-color: #7d8591; | ||
-fx-light-text-color: #9aa3af; | ||
-jr-separator: #333744; | ||
-fx-outer-border: #424758; | ||
|
||
-jr-icon: -fx-light-text-color; | ||
-jr-icon-active: derive(-fx-light-text-color, 50%); | ||
-jr-icon-background-active: -jr-hover; | ||
-jr-icon-background-armed: #fff2; | ||
|
||
-jr-menu-foreground: -fx-light-text-color; | ||
-jr-menu-item-foreground: -fx-light-text-color; | ||
-jr-menu-forground-active: derive(-fx-light-text-color, 50%); | ||
|
||
-fx-focused-text-base-color: -fx-dark-text-color; | ||
|
||
-jr-tooltip-fg: derive(-fx-light-text-color, 50%); | ||
} |
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
33 changes: 13 additions & 20 deletions
33
src/main/java/org/jabref/gui/errorconsole/ErrorConsole.css
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 |
---|---|---|
@@ -1,35 +1,28 @@ | ||
.list-content { | ||
-fx-padding: 10.0px; | ||
} | ||
|
||
.list-cell:default { | ||
-fx-background-color: white; | ||
-fx-padding: 10px; | ||
} | ||
|
||
.info-section { | ||
-fx-padding: 10.0px; | ||
-fx-padding: 10px; | ||
-fx-background-color: -fx-background; | ||
} | ||
|
||
.info-section .icon { | ||
-fx-font-size: 48.0; | ||
.info-section .glyph-icon { | ||
-fx-font-size: 24.0; | ||
-fx-fill: -jr-icon | ||
} | ||
|
||
.exception{ | ||
-fx-text-fill: -fx-negative; | ||
.exception .glyph-icon { | ||
-fx-font-size: 18.0; | ||
-fx-fill: -jr-error; | ||
} | ||
|
||
.exception .icon { | ||
-fx-fill: -fx-negative; | ||
} | ||
|
||
.log { | ||
-fx-text-fill: -fx-info; | ||
} | ||
|
||
.log .icon { | ||
-fx-fill: -fx-info; | ||
.log .glyph-icon { | ||
-fx-font-size: 18.0; | ||
-fx-fill: -jr-info; | ||
} | ||
|
||
.custom-buttons { | ||
-fx-padding: 5.0px; | ||
-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
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
Oops, something went wrong.