Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/override-mantine-color-text.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hyperdx/app": patch
---

fix: Override --mantine-color-text with semantic --color-text token
2 changes: 2 additions & 0 deletions packages/app/src/theme/themes/clickstack/_tokens.scss
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@

/* Mantine Overrides */
--mantine-color-body: var(--color-bg-body) !important;
--mantine-color-text: var(--color-text);

/* Tabler icons default stroke width - Set default stroke-width to 1.5 for Tabler icons (instead of default 2). This only affects SVGs that have a stroke attribute set. Can be overridden on individual icons by setting strokeWidth prop */
.tabler-icon {
Expand Down Expand Up @@ -385,6 +386,7 @@

/* Mantine Overrides */
--mantine-color-body: var(--color-bg-body);
--mantine-color-text: var(--color-text);

/* Tabler icons default stroke width - Set default stroke-width to 1.5 for Tabler icons (instead of default 2). This only affects SVGs that have a stroke attribute set. Can be overridden on individual icons by setting strokeWidth prop */
.tabler-icon {
Expand Down
8 changes: 5 additions & 3 deletions packages/app/src/theme/themes/hyperdx/_tokens.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,10 @@

/* Mantine Overrides */
--mantine-color-body: var(--color-bg-body) !important;
--mantine-color-text: var(--color-text);
}

@mixin light-mode-tokens {
/* Mantine Overrides */
--mantine-color-body: var(--color-bg-body);

/* Backgrounds - inverted (dark becomes light) */
--color-bg-body: var(--mantine-color-white);
--color-bg-surface: var(--mantine-color-white);
Expand Down Expand Up @@ -215,6 +213,10 @@
--color-chart-success-highlight: #80d9b3;
--color-chart-warning-highlight: #f5c94d;
--color-chart-error-highlight: #ffa090;

/* Mantine Overrides */
--mantine-color-body: var(--color-bg-body);
--mantine-color-text: var(--color-text);
}

/* Dark Mode - scoped to .theme-hyperdx */
Expand Down
Loading