-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a31c964
commit f0c97cc
Showing
6 changed files
with
173 additions
and
55 deletions.
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,47 @@ | ||
$color-scheme: "dark"; | ||
|
||
// Constants and functions | ||
@import '_palette.scss'; | ||
@import '_common.scss'; | ||
|
||
// Outset box shadow or border color on toplevel elements like windows, menus, popovers | ||
$toplevel-border-color: rgba(black, 0.75); | ||
|
||
@function bg-color($level) { | ||
// Inputs | ||
@if $level == 0 { | ||
@return mix($BLACK_300, $BLACK_500, $weight: 50%); | ||
// Views | ||
} @else if $level == 1 { | ||
@return mix($BLACK_300, $BLACK_500, $weight: 25%); | ||
// Background | ||
} @else if $level == 2 { | ||
@return $BLACK_500; | ||
// Sidebars and inline toolbars | ||
} @else if $level == 3 { | ||
@return mix($BLACK_500, $BLACK_700, $weight: 90%); | ||
// Titlebars and toolbars | ||
} @else if $level == 4 { | ||
@return mix($BLACK_500, $BLACK_700, $weight: 45%); | ||
} | ||
} | ||
|
||
// Text, images, and other foreground elements | ||
$fg-color: white; | ||
|
||
// Common styles | ||
@import '_label.scss'; | ||
@import '_osd.scss'; | ||
|
||
// Gtk Widgets | ||
@import 'Gtk/Button.scss'; | ||
@import 'Gtk/HeaderBar.scss'; | ||
@import 'Gtk/Window.scss'; | ||
|
||
// Granite widgets | ||
@import 'Granite/Dialog.scss'; | ||
@import 'Granite/Header.scss'; | ||
@import 'Granite/MessageDialog.scss'; | ||
@import 'Granite/OverlayBar.scss'; | ||
@import 'Granite/Placeholder.scss'; | ||
@import 'Granite/Toast.scss'; |
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
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,6 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gresources> | ||
<gresource prefix="/io/elementary/granite"> | ||
<file alias="Granite-dark.css" compressed="true">gtk-dark.css</file> | ||
<file alias="Granite.css" compressed="true">gtk.css</file> | ||
</gresource> | ||
</gresources> |