UI: Add orangeDark color to theme (#19407)

This commit is contained in:
Ivana Huckova
2019-09-25 18:09:08 +02:00
committed by GitHub
parent 2aaaa98eee
commit ff834afdc3
7 changed files with 17 additions and 11 deletions

View File

@@ -136,6 +136,7 @@ exports[`Render should render with base threshold 1`] = `
"linkHover": "#ffffff",
"online": "#299c46",
"orange": "#eb7b18",
"orangeDark": "#ff780A",
"pageBg": "#161719",
"purple": "#9933cc",
"queryGreen": "#74e680",
@@ -297,6 +298,7 @@ exports[`Render should render with base threshold 1`] = `
"linkHover": "#ffffff",
"online": "#299c46",
"orange": "#eb7b18",
"orangeDark": "#ff780A",
"pageBg": "#161719",
"purple": "#9933cc",
"queryGreen": "#74e680",

View File

@@ -20,6 +20,7 @@ $red-base: ${theme.colors.redBase};
$red-shade: ${theme.colors.redShade};
$green-base: ${theme.colors.greenBase};
$green-shade: ${theme.colors.greenShade};
$orange-dark: ${theme.colors.orangeDark};
// Grays
// -------------------------

View File

@@ -20,6 +20,7 @@ $red-base: ${theme.colors.redBase};
$red-shade: ${theme.colors.redShade};
$green-base: ${theme.colors.greenBase};
$green-shade: ${theme.colors.greenShade};
$orange-dark: ${theme.colors.orangeDark};
// Grays
// -------------------------

View File

@@ -36,6 +36,7 @@ const basicColors = {
purple: '#9933cc',
variable: '#32d1df',
orange: '#eb7b18',
orangeDark: '#ff780A',
};
const darkTheme: GrafanaTheme = {

View File

@@ -36,6 +36,7 @@ const basicColors = {
purple: '#9954bb',
variable: '#007580',
orange: '#ff7941',
orangeDark: '#ed5700',
};
const lightTheme: GrafanaTheme = {

View File

@@ -135,6 +135,7 @@ export interface GrafanaTheme extends GrafanaThemeCommons {
purple: string;
variable: string;
orange: string;
orangeDark: string;
queryRed: string;
queryGreen: string;
queryPurple: string;