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
00cb751e
Commit
00cb751e
authored
Jan 28, 2019
by
Dominik Prokop
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'named-colors' of github.com:grafana/grafana into named-colors
parents
9a08a994
b28e9b01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
packages/grafana-ui/src/utils/namedColorsPalette.ts
+14
-14
No files found.
packages/grafana-ui/src/utils/namedColorsPalette.ts
View file @
00cb751e
...
...
@@ -119,11 +119,11 @@ export const getColorForTheme = (color: ColorDefinition, theme?: GrafanaTheme) =
const
buildNamedColorsPalette
=
()
=>
{
const
palette
=
new
Map
<
Hue
,
ColorDefinition
[]
>
();
const
BasicGreen
=
buildColorDefinition
(
'green'
,
'green'
,
[
'#5AA64B'
,
'#77
BF69'
],
true
);
const
DarkGreen
=
buildColorDefinition
(
'green'
,
'dark-green'
,
[
'#1
E6910'
,
'#388729
'
]);
const
SemiDarkGreen
=
buildColorDefinition
(
'green'
,
'semi-dark-green'
,
[
'#3
88729'
,
'#5A
A64B'
]);
const
LightGreen
=
buildColorDefinition
(
'green'
,
'light-green'
,
[
'#7
7BF69'
,
'#99
D98D'
]);
const
SuperLightGreen
=
buildColorDefinition
(
'green'
,
'super-light-green'
,
[
'#9
9D98D'
,
'#CA
F2C2'
]);
const
BasicGreen
=
buildColorDefinition
(
'green'
,
'green'
,
[
'#56A64B'
,
'#73
BF69'
],
true
);
const
DarkGreen
=
buildColorDefinition
(
'green'
,
'dark-green'
,
[
'#1
9730E'
,
'#37872D
'
]);
const
SemiDarkGreen
=
buildColorDefinition
(
'green'
,
'semi-dark-green'
,
[
'#3
7872D'
,
'#56
A64B'
]);
const
LightGreen
=
buildColorDefinition
(
'green'
,
'light-green'
,
[
'#7
3BF69'
,
'#96
D98D'
]);
const
SuperLightGreen
=
buildColorDefinition
(
'green'
,
'super-light-green'
,
[
'#9
6D98D'
,
'#C8
F2C2'
]);
const
BasicYellow
=
buildColorDefinition
(
'yellow'
,
'yellow'
,
[
'#F2CC0C'
,
'#FADE2A'
],
true
);
const
DarkYellow
=
buildColorDefinition
(
'yellow'
,
'dark-yellow'
,
[
'#CC9D00'
,
'#E0B400'
]);
...
...
@@ -131,15 +131,15 @@ const buildNamedColorsPalette = () => {
const
LightYellow
=
buildColorDefinition
(
'yellow'
,
'light-yellow'
,
[
'#FADE2A'
,
'#FFEE52'
]);
const
SuperLightYellow
=
buildColorDefinition
(
'yellow'
,
'super-light-yellow'
,
[
'#FFEE52'
,
'#FFF899'
]);
const
BasicRed
=
buildColorDefinition
(
'red'
,
'red'
,
[
'#
DE314D'
,
'#F24965
'
],
true
);
const
DarkRed
=
buildColorDefinition
(
'red'
,
'dark-red'
,
[
'#A
B031F'
,
'#C41834
'
]);
const
SemiDarkRed
=
buildColorDefinition
(
'red'
,
'semi-dark-red'
,
[
'#C41
834'
,
'#DE314D
'
]);
const
LightRed
=
buildColorDefinition
(
'red'
,
'light-red'
,
[
'#F249
65'
,
'#FF7389
'
]);
const
SuperLightRed
=
buildColorDefinition
(
'red'
,
'super-light-red'
,
[
'#FF738
9'
,
'#FFA6B4
'
]);
const
BasicRed
=
buildColorDefinition
(
'red'
,
'red'
,
[
'#
E02F44'
,
'#F2495C
'
],
true
);
const
DarkRed
=
buildColorDefinition
(
'red'
,
'dark-red'
,
[
'#A
D0317'
,
'#C4162A
'
]);
const
SemiDarkRed
=
buildColorDefinition
(
'red'
,
'semi-dark-red'
,
[
'#C41
62A'
,
'#E02F44
'
]);
const
LightRed
=
buildColorDefinition
(
'red'
,
'light-red'
,
[
'#F249
5C'
,
'#FF7383
'
]);
const
SuperLightRed
=
buildColorDefinition
(
'red'
,
'super-light-red'
,
[
'#FF738
3'
,
'#FFA6B0
'
]);
const
BasicBlue
=
buildColorDefinition
(
'blue'
,
'blue'
,
[
'#3274D9'
,
'#5794F2'
],
true
);
const
DarkBlue
=
buildColorDefinition
(
'blue'
,
'dark-blue'
,
[
'#1
44796'
,
'#1857B8
'
]);
const
SemiDarkBlue
=
buildColorDefinition
(
'blue'
,
'semi-dark-blue'
,
[
'#1
857B8
'
,
'#3274D9'
]);
const
DarkBlue
=
buildColorDefinition
(
'blue'
,
'dark-blue'
,
[
'#1
250B0'
,
'#1F60C4
'
]);
const
SemiDarkBlue
=
buildColorDefinition
(
'blue'
,
'semi-dark-blue'
,
[
'#1
F60C4
'
,
'#3274D9'
]);
const
LightBlue
=
buildColorDefinition
(
'blue'
,
'light-blue'
,
[
'#5794F2'
,
'#8AB8FF'
]);
const
SuperLightBlue
=
buildColorDefinition
(
'blue'
,
'super-light-blue'
,
[
'#8AB8FF'
,
'#C0D8FF'
]);
...
...
@@ -150,8 +150,8 @@ const buildNamedColorsPalette = () => {
const
SuperLightOrange
=
buildColorDefinition
(
'orange'
,
'super-light-orange'
,
[
'#FFB357'
,
'#FFCB7D'
]);
const
BasicPurple
=
buildColorDefinition
(
'purple'
,
'purple'
,
[
'#A352CC'
,
'#B877D9'
],
true
);
const
DarkPurple
=
buildColorDefinition
(
'purple'
,
'dark-purple'
,
[
'#7
32699'
,
'#8936B2
'
]);
const
SemiDarkPurple
=
buildColorDefinition
(
'purple'
,
'semi-dark-purple'
,
[
'#8
936B2
'
,
'#A352CC'
]);
const
DarkPurple
=
buildColorDefinition
(
'purple'
,
'dark-purple'
,
[
'#7
C2EA3'
,
'#8F3BB8
'
]);
const
SemiDarkPurple
=
buildColorDefinition
(
'purple'
,
'semi-dark-purple'
,
[
'#8
F3BB8
'
,
'#A352CC'
]);
const
LightPurple
=
buildColorDefinition
(
'purple'
,
'light-purple'
,
[
'#B877D9'
,
'#CA95E5'
]);
const
SuperLightPurple
=
buildColorDefinition
(
'purple'
,
'super-light-purple'
,
[
'#CA95E5'
,
'#DEB6F2'
]);
...
...
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