Skip to content

Commit e02c4d3

Browse files
dark mode color fix
1 parent 133f0eb commit e02c4d3

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

packages/grafana-data/src/themes/createColors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ class DarkColors implements ThemeColorsBase<Partial<ThemeRichColor>> {
139139
};
140140

141141
background = {
142-
canvas: '#151619', //palette.gray05,
142+
canvas: '#161618', //palette.gray05,
143143
primary: '#23242a', //palette.gray10,
144144
secondary: '#5E5855', //palette.gray15,
145145
};

public/microfrontends/fn_dashboard/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
window.fnData = {
1212
themePaths: {
1313
light: '../../../public/build/grafana.light.485c55b1c2950f6001af.css',
14-
dark: '../../../public/build/grafana.dark.f2a7bb297a625183849c.css',
14+
dark: '../../../public/build/grafana.dark.93afaa54e9b1395b4d54.css',
1515
}
1616
};
1717
</script>
1818

1919

2020
<script nonce="" src="../../../public/build/runtime~fn_dashboard.551314fa089c5f51c211.js" type="text/javascript"></script>
2121

22-
<script nonce="" src="../../../public/build/fn_dashboard.770e4e6d381c2fe6a321.js" type="text/javascript"></script>
22+
<script nonce="" src="../../../public/build/fn_dashboard.15111f340ab26edd5bf8.js" type="text/javascript"></script>
2323

2424
</body>
2525
</html>

public/sass/_variables.dark.generated.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ $gray-6: #f4f5f8;
6161

6262
$white: #ffffff;
6363

64-
$layer0: #151619;
64+
$layer0: #161618;
6565
$layer1: #23242a;
6666
$layer2: #5E5855;
6767

@@ -97,9 +97,9 @@ $critical: #FF5286;
9797

9898
// Scaffolding
9999
// -------------------------
100-
$body-bg: #151619;
101-
$page-bg: #151619;
102-
$dashboard-bg: #151619;
100+
$body-bg: #161618;
101+
$page-bg: #161618;
102+
$dashboard-bg: #161618;
103103

104104
$text-color-strong: #F0E4B6;
105105
$text-color: #fff;
@@ -140,9 +140,9 @@ $panel-box-shadow: none;
140140
$panel-corner: $panel-bg;
141141

142142
// page header
143-
$page-header-bg: #151619;
143+
$page-header-bg: #161618;
144144
$page-header-shadow: inset 0px -4px 14px $dark-3;
145-
$page-header-border-color: #151619;
145+
$page-header-border-color: #161618;
146146

147147
$divider-border-color: $gray-1;
148148

@@ -212,7 +212,7 @@ $btn-active-box-shadow: 0px 0px 4px rgba(255, 120, 10, 0.5);
212212

213213
// Forms
214214
// -------------------------
215-
$input-bg: #151619;
215+
$input-bg: #161618;
216216
$input-bg-disabled: rgba(209, 209, 209, 0.04);
217217

218218
$input-color: #fff;

0 commit comments

Comments
 (0)