From f884381a680707aba8b5ab87e7254ce760224458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 11 Jun 2021 17:33:56 +0200 Subject: [PATCH] Theme: Change white base in dark theme (#35564) * Theme: Change white base in dark theme * Updated * Updated snapshots --- .../grafana-data/src/themes/createColors.ts | 2 +- .../CustomScrollbar.test.tsx.snap | 2 +- .../GraphNG/__snapshots__/utils.test.ts.snap | 4 +- .../uPlot/config/UPlotConfigBuilder.test.ts | 2 +- .../AddPanelWidget.test.tsx.snap | 6 +- .../__snapshots__/MetaInfoText.test.tsx.snap | 2 +- .../AnalyticsConfig.test.tsx.snap | 22 ++++---- .../barchart/__snapshots__/utils.test.ts.snap | 32 +++++------ public/sass/_variables.dark.generated.scss | 56 +++++++++---------- 9 files changed, 64 insertions(+), 64 deletions(-) diff --git a/packages/grafana-data/src/themes/createColors.ts b/packages/grafana-data/src/themes/createColors.ts index e97b369990d..9c1000a9b7e 100644 --- a/packages/grafana-data/src/themes/createColors.ts +++ b/packages/grafana-data/src/themes/createColors.ts @@ -85,7 +85,7 @@ class DarkColors implements ThemeColorsBase> { mode: ThemeColorsMode = 'dark'; // Used to get more white opacity colors - whiteBase = '201, 209, 217'; + whiteBase = '204, 204, 220'; border = { weak: `rgba(${this.whiteBase}, 0.07)`, diff --git a/packages/grafana-ui/src/components/CustomScrollbar/__snapshots__/CustomScrollbar.test.tsx.snap b/packages/grafana-ui/src/components/CustomScrollbar/__snapshots__/CustomScrollbar.test.tsx.snap index 1601b7b1882..6011fd4d086 100644 --- a/packages/grafana-ui/src/components/CustomScrollbar/__snapshots__/CustomScrollbar.test.tsx.snap +++ b/packages/grafana-ui/src/components/CustomScrollbar/__snapshots__/CustomScrollbar.test.tsx.snap @@ -2,7 +2,7 @@ exports[`CustomScrollbar renders correctly 1`] = `
{ "size": [Function], "space": [Function], "splits": undefined, - "stroke": "rgb(201, 209, 217)", + "stroke": "rgb(204, 204, 220)", "ticks": Object { "show": true, "stroke": "rgba(240, 250, 255, 0.09)", diff --git a/public/app/features/dashboard/components/AddPanelWidget/__snapshots__/AddPanelWidget.test.tsx.snap b/public/app/features/dashboard/components/AddPanelWidget/__snapshots__/AddPanelWidget.test.tsx.snap index 91ce4bc4298..57ca4096985 100644 --- a/public/app/features/dashboard/components/AddPanelWidget/__snapshots__/AddPanelWidget.test.tsx.snap +++ b/public/app/features/dashboard/components/AddPanelWidget/__snapshots__/AddPanelWidget.test.tsx.snap @@ -11,7 +11,7 @@ exports[`Render should render component 1`] = ` onCancel={[Function]} styles={ Object { - "actionsRow": "css-l02n0m", + "actionsRow": "css-1j3dhm4", "actionsWrapper": "css-gxxmom", "backButton": "css-1cdxa9p", "callToAction": "css-e4b3m6", @@ -27,7 +27,7 @@ exports[`Render should render component 1`] = ` className="css-gxxmom" >
Deprecated
Using different credentials for Azure Monitor Logs is deprecated and will be removed in a future version.
@@ -344,7 +344,7 @@ exports[`Render should enable azure log analytics load workspaces button 1`] = ` class="max-width-30 gf-form-inline" >
Deprecated
Using different credentials for Azure Monitor Logs is deprecated and will be removed in a future version.
@@ -694,7 +694,7 @@ exports[`Render should render component 1`] = ` class="max-width-30 gf-form-inline" >