Commit 38686025 by Torkel Ödegaard

Updated body & page variables to use variables from code theme

parent a9c5fe5b
...@@ -73,8 +73,8 @@ $critical: $red-base; ...@@ -73,8 +73,8 @@ $critical: $red-base;
// Scaffolding // Scaffolding
// ------------------------- // -------------------------
$body-bg: $dark-2; $body-bg: ${theme.colors.bodyBg};
$page-bg: $dark-2; $page-bg: ${theme.colors.pageBg};
$body-color: $gray-4; $body-color: $gray-4;
$text-color: $gray-4; $text-color: $gray-4;
......
...@@ -65,8 +65,8 @@ $critical: $red-shade; ...@@ -65,8 +65,8 @@ $critical: $red-shade;
// Scaffolding // Scaffolding
// ------------------------- // -------------------------
$body-bg: $gray-7; $body-bg: ${theme.colors.bodyBg};
$page-bg: $gray-7; $page-bg: ${theme.colors.pageBg};
$body-color: $gray-1; $body-color: $gray-1;
$text-color: $gray-1; $text-color: $gray-1;
......
...@@ -54,8 +54,8 @@ const darkTheme: GrafanaTheme = { ...@@ -54,8 +54,8 @@ const darkTheme: GrafanaTheme = {
online: basicColors.greenBase, online: basicColors.greenBase,
warn: '#f79520', warn: '#f79520',
critical: basicColors.redBase, critical: basicColors.redBase,
bodyBg: '#171819', bodyBg: basicColors.dark2,
pageBg: '#161719', pageBg: basicColors.dark2,
bodyColor: basicColors.gray4, bodyColor: basicColors.gray4,
textColor: basicColors.gray4, textColor: basicColors.gray4,
textColorStrong: basicColors.white, textColorStrong: basicColors.white,
......
...@@ -76,8 +76,8 @@ $critical: $red-base; ...@@ -76,8 +76,8 @@ $critical: $red-base;
// Scaffolding // Scaffolding
// ------------------------- // -------------------------
$body-bg: $dark-2; $body-bg: #161719;
$page-bg: $dark-2; $page-bg: #161719;
$body-color: $gray-4; $body-color: $gray-4;
$text-color: $gray-4; $text-color: $gray-4;
......
...@@ -68,8 +68,8 @@ $critical: $red-shade; ...@@ -68,8 +68,8 @@ $critical: $red-shade;
// Scaffolding // Scaffolding
// ------------------------- // -------------------------
$body-bg: $gray-7; $body-bg: #f7f8fa;
$page-bg: $gray-7; $page-bg: #f7f8fa;
$body-color: $gray-1; $body-color: $gray-1;
$text-color: $gray-1; $text-color: $gray-1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment