Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
c62f06b4
Commit
c62f06b4
authored
Feb 18, 2019
by
ijin08
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reversed most of grays in dark theme
parent
794fb3e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
57 deletions
+63
-57
public/sass/_variables.dark.scss
+63
-57
No files found.
public/sass/_variables.dark.scss
View file @
c62f06b4
...
...
@@ -17,13 +17,18 @@ $green-shade: #23843b;
// Grays
// -------------------------
$black
:
#000
;
$dark-1
:
#141414
;
$dark-1-5
:
#16171a
;
$dark-2
:
#1f2124
;
$dark-3
:
#252629
;
$dark-4
:
#323436
;
$dark-5
:
#424345
;
$dark-2
:
#161719
;
$dark-3
:
#1f1f20
;
$dark-4
:
#212124
;
$dark-5
:
#222426
;
$dark-6
:
#262628
;
$dark-7
:
#292a2d
;
$dark-8
:
#2f2f32
;
$dark-9
:
#343436
;
$dark-10
:
#424345
;
$gray-1
:
#555555
;
$gray-2
:
#8e8e8e
;
$gray-3
:
#b3b3b3
;
...
...
@@ -31,6 +36,7 @@ $gray-4: #d8d9da;
$gray-5
:
#ececec
;
$input-black
:
#09090b
;
$gray-blue
:
#212327
;
$white
:
#fff
;
...
...
@@ -63,14 +69,14 @@ $critical: $lobster-base;
// Scaffolding
// -------------------------
$body-bg
:
$dark-
1-5
;
$page-bg
:
$dark-
1-5
;
$body-bg
:
$dark-
2
;
$page-bg
:
$dark-
2
;
$body-color
:
$gray-4
;
$text-color
:
$gray-4
;
$text-color-strong
:
$white
;
$text-color-weak
:
$gray-2
;
$text-color-faint
:
$dark-
5
;
$text-color-faint
:
$dark-
10
;
$text-color-emphasis
:
$gray-5
;
$text-shadow-faint
:
1px
1px
4px
rgb
(
45
,
45
,
45
);
...
...
@@ -84,8 +90,8 @@ $brand-gradient: linear-gradient(
rgba
(
255
,
68
,
0
,
0
.7
)
100%
);
$page-gradient
:
linear-gradient
(
180deg
,
$dark-
3
10px
,
$dark-1-5
100px
);
$edit-gradient
:
linear-gradient
(
180deg
,
$dark-
1-5
50%
,
$input-black
);
$page-gradient
:
linear-gradient
(
180deg
,
$dark-
5
10px
,
dark-2
100px
);
$edit-gradient
:
linear-gradient
(
180deg
,
$dark-
2
50%
,
$input-black
);
// Links
// -------------------------
...
...
@@ -100,33 +106,33 @@ $headings-color: darken($white, 11%);
$abbr-border-color
:
$gray-2
!
default
;
$text-muted
:
$text-color-weak
;
$hr-border-color
:
$dark-
4
;
$hr-border-color
:
$dark-
9
;
// Panel
// -------------------------
$panel-bg
:
$dark-
2
;
$panel-bg
:
$dark-
4
;
$panel-border
:
solid
1px
$dark-1
;
$panel-header-hover-bg
:
$dark-
4
;
$panel-header-hover-bg
:
$dark-
9
;
$panel-corner
:
$panel-bg
;
// page header
$page-header-bg
:
linear-gradient
(
90deg
,
$dark-
3
,
$input-black
);
$page-header-shadow
:
inset
0px
-4px
14px
$dark-
2
;
$page-header-border-color
:
$dark-
4
;
$page-header-bg
:
linear-gradient
(
90deg
,
$dark-
7
,
$input-black
);
$page-header-shadow
:
inset
0px
-4px
14px
$dark-
3
;
$page-header-border-color
:
$dark-
9
;
$divider-border-color
:
$gray-1
;
// Graphite Target Editor
$tight-form-func-bg
:
$dark-
4
;
$tight-form-func-highlight-bg
:
$dark-
5
;
$tight-form-func-bg
:
$dark-
9
;
$tight-form-func-highlight-bg
:
$dark-
10
;
$modal-backdrop-bg
:
#353c42
;
$code-tag-bg
:
$dark-1
;
$code-tag-border
:
$dark-
4
;
$code-tag-border
:
$dark-
9
;
// cards
$card-background
:
linear-gradient
(
135deg
,
$dark-
4
,
$dark-3
);
$card-background-hover
:
linear-gradient
(
135deg
,
$dark-
5
,
$dark-4
);
$card-background
:
linear-gradient
(
135deg
,
$dark-
8
,
$dark-6
);
$card-background-hover
:
linear-gradient
(
135deg
,
$dark-
9
,
$dark-6
);
$card-shadow
:
-1px
-1px
0
0
hsla
(
0
,
0%
,
100%
,
0
.1
)
,
1px
1px
0
0
rgba
(
0
,
0
,
0
,
0
.3
);
// Lists
...
...
@@ -135,20 +141,20 @@ $list-item-hover-bg: $card-background-hover;
$list-item-link-color
:
$text-color
;
$list-item-shadow
:
$card-shadow
;
$empty-list-cta-bg
:
$
dark-2
;
$empty-list-cta-bg
:
$
gray-blue
;
// Scrollbars
$scrollbarBackground
:
$dark-
4
;
$scrollbarBackground2
:
$dark-
4
;
$scrollbarBorder
:
$dark-
5
;
$scrollbarBackground
:
$dark-
9
;
$scrollbarBackground2
:
$dark-
9
;
$scrollbarBorder
:
$dark-
10
;
// Tables
// -------------------------
$table-bg-accent
:
$dark-
3
;
// for striping
$table-border
:
$dark-
3
;
// table and cell border
$table-bg-accent
:
$dark-
6
;
// for striping
$table-border
:
$dark-
6
;
// table and cell border
$table-bg-odd
:
$dark-
2
;
$table-bg-hover
:
$dark-
3
;
$table-bg-odd
:
$dark-
3
;
$table-bg-hover
:
$dark-
6
;
// Buttons
// -------------------------
...
...
@@ -165,8 +171,8 @@ $btn-success-bg-hl: $green-shade;
$btn-danger-bg
:
$lobster-base
;
$btn-danger-bg-hl
:
$lobster-shade
;
$btn-inverse-bg
:
$dark-
3
;
$btn-inverse-bg-hl
:
lighten
(
$dark-
3
,
4%
);
$btn-inverse-bg
:
$dark-
6
;
$btn-inverse-bg-hl
:
lighten
(
$dark-
6
,
4%
);
$btn-inverse-text-color
:
$link-color
;
$btn-inverse-text-shadow
:
0px
1px
0
rgba
(
0
,
0
,
0
,
0
.1
);
...
...
@@ -174,24 +180,24 @@ $btn-link-color: $gray-3;
$iconContainerBackground
:
$black
;
$btn-divider-left
:
$dark-
4
;
$btn-divider-right
:
$dark-
2
;
$btn-divider-left
:
$dark-
9
;
$btn-divider-right
:
$dark-
3
;
$btn-drag-image
:
'../img/grab_dark.svg'
;
// Forms
// -------------------------
$input-bg
:
$input-black
;
$input-bg-disabled
:
$dark-
3
;
$input-bg-disabled
:
$dark-
6
;
$input-color
:
$gray-4
;
$input-border-color
:
$dark-
3
;
$input-border-color
:
$dark-
6
;
$input-box-shadow
:
inset
1px
0px
0
.3rem
0px
rgba
(
150
,
150
,
150
,
0
.1
);
$input-border-focus
:
$dark-
3
!
default
;
$input-border-focus
:
$dark-
6
!
default
;
$input-box-shadow-focus
:
$sapphire-light
!
default
;
$input-color-placeholder
:
$gray-1
!
default
;
$input-label-bg
:
$
dark-2
;
$input-label-border-color
:
$dark-
3
;
$input-label-bg
:
$
gray-blue
;
$input-label-border-color
:
$dark-
6
;
$input-color-select-arrow
:
$white
;
// Input placeholder text color
...
...
@@ -199,16 +205,16 @@ $placeholderText: darken($text-color, 25%);
// Search
$search-shadow
:
0
0
30px
0
$black
;
$search-filter-box-bg
:
$
dark-2
;
$search-filter-box-bg
:
$
gray-blue
;
// Typeahead
$typeahead-shadow
:
0
5px
10px
0
$black
;
$typeahead-selected-bg
:
$dark-
4
;
$typeahead-selected-bg
:
$dark-
9
;
$typeahead-selected-color
:
$yellow
;
// Dropdowns
// -------------------------
$dropdownBackground
:
$dark-
3
;
$dropdownBackground
:
$dark-
6
;
$dropdownBorder
:
rgba
(
0
,
0
,
0
,
0
.2
);
$dropdownDividerTop
:
transparent
;
$dropdownDividerBottom
:
#444
;
...
...
@@ -217,7 +223,7 @@ $dropdownLinkColor: $text-color;
$dropdownLinkColorHover
:
$white
;
$dropdownLinkColorActive
:
$white
;
$dropdownLinkBackgroundHover
:
$dark-
4
;
$dropdownLinkBackgroundHover
:
$dark-
9
;
// Horizontal forms & lists
// -------------------------
...
...
@@ -228,7 +234,7 @@ $horizontalComponentOffset: 180px;
$navbarHeight
:
55px
;
$navbarBackground
:
$panel-bg
;
$navbarBorder
:
1px
solid
$dark-
3
;
$navbarBorder
:
1px
solid
$dark-
6
;
$navbarButtonBackground
:
$navbarBackground
;
$navbarButtonBackgroundHighlight
:
$body-bg
;
...
...
@@ -239,19 +245,19 @@ $navbar-button-border: #2f2f32;
// -------------------------
$side-menu-bg
:
$black
;
$side-menu-bg-mobile
:
$side-menu-bg
;
$side-menu-item-hover-bg
:
$dark-
2
;
$side-menu-item-hover-bg
:
$dark-
3
;
$side-menu-shadow
:
0
0
20px
black
;
$side-menu-link-color
:
$link-color
;
// Menu dropdowns
// -------------------------
$menu-dropdown-bg
:
$body-bg
;
$menu-dropdown-hover-bg
:
$dark-
2
;
$menu-dropdown-hover-bg
:
$dark-
3
;
$menu-dropdown-shadow
:
5px
5px
20px
-5px
$black
;
// Tabs
// -------------------------
$tab-border-color
:
$dark-
4
;
$tab-border-color
:
$dark-
9
;
// Toolbar
$toolbar-bg
:
$input-black
;
...
...
@@ -268,9 +274,9 @@ $alert-warning-bg: linear-gradient(90deg, $lobster-base, $lobster-shade);
$alert-info-bg
:
linear-gradient
(
100deg
,
$sapphire-base
,
$sapphire-shade
);
// popover
$popover-bg
:
$dark-
1-5
;
$popover-bg
:
$dark-
2
;
$popover-color
:
$text-color
;
$popover-border-color
:
$dark-
4
;
$popover-border-color
:
$dark-
9
;
$popover-shadow
:
0
0
20px
black
;
$popover-help-bg
:
$btn-secondary-bg
;
...
...
@@ -316,13 +322,13 @@ $json-explorer-url-color: #027bff;
// Changelog and diff
// -------------------------
$diff-label-bg
:
$dark-
2
;
$diff-label-bg
:
$dark-
3
;
$diff-label-fg
:
$white
;
$diff-group-bg
:
$dark-
4
;
$diff-group-bg
:
$dark-
9
;
$diff-arrow-color
:
$white
;
$diff-json-bg
:
$dark-
4
;
$diff-json-bg
:
$dark-
9
;
$diff-json-fg
:
$gray-5
;
$diff-json-added
:
$sapphire-shade
;
...
...
@@ -342,7 +348,7 @@ $variable-option-bg: $dropdownLinkBackgroundHover;
//Switch Slider
// -------------------------
$switch-bg
:
$input-bg
;
$switch-slider-color
:
$dark-
2
;
$switch-slider-color
:
$dark-
3
;
$switch-slider-off-bg
:
$gray-1
;
$switch-slider-on-bg
:
linear-gradient
(
90deg
,
#eb7b18
,
#d44a3a
);
$switch-slider-shadow
:
0
0
3px
black
;
...
...
@@ -358,8 +364,8 @@ $checkbox-color: $dark-1;
// -------------------------
$panel-editor-shadow
:
0
0
20px
black
;
$panel-editor-side-menu-shadow
:
drop-shadow
(
0
0
10px
$black
);
$panel-editor-viz-item-shadow
:
0
0
8px
$dark-
5
;
$panel-editor-viz-item-border
:
1px
solid
$dark-
5
;
$panel-editor-viz-item-shadow
:
0
0
8px
$dark-
10
;
$panel-editor-viz-item-border
:
1px
solid
$dark-
10
;
$panel-editor-viz-item-shadow-hover
:
0
0
4px
$sapphire-light
;
$panel-editor-viz-item-border-hover
:
1px
solid
$sapphire-light
;
$panel-editor-viz-item-bg
:
$input-black
;
...
...
@@ -368,7 +374,7 @@ $panel-editor-tabs-line-color: #e3e3e3;
$panel-editor-viz-item-bg-hover
:
darken
(
$sapphire-base
,
46%
);
$panel-options-group-border
:
none
;
$panel-options-group-header-bg
:
$
dark-2
;
$panel-options-group-header-bg
:
$
gray-blue
;
$panel-grid-placeholder-bg
:
$sapphire-faint
;
$panel-grid-placeholder-shadow
:
0
0
4px
$sapphire-shade
;
...
...
@@ -379,8 +385,8 @@ $logs-color-unkown: $gray-2;
// toggle-group
$button-toggle-group-btn-active-bg
:
linear-gradient
(
90deg
,
#eb7b18
,
#d44a3a
);
$button-toggle-group-btn-active-shadow
:
inset
0
0
4px
$black
;
$button-toggle-group-btn-seperator-border
:
1px
solid
$dark-
1-5
;
$button-toggle-group-btn-seperator-border
:
1px
solid
$dark-
2
;
$vertical-resize-handle-bg
:
$dark-
5
;
$vertical-resize-handle-bg
:
$dark-
10
;
$vertical-resize-handle-dots
:
$gray-1
;
$vertical-resize-handle-dots-hover
:
$gray-2
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment