Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

chore: update all absolute tokens to semantic tokens (#10742)

Yunus Md57acae0884b
diff --git a/frontend/index.html b/frontend/index.html
index ad786cb9cf..d48fc45cce 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -62,6 +62,29 @@
<link data-react-helmet="true" rel="shortcut icon" href="/favicon.ico" />
</head>
<body data-theme="default">
+ <script>
+ // Apply theme class synchronously before React renders to prevent flash.
+ // Mirrors the logic in ThemeProvider (hooks/useDarkMode/index.tsx).
+ (function () {
+ try {
+ var theme = localStorage.getItem('THEME');
+ var autoSwitch = localStorage.getItem('THEME_AUTO_SWITCH') === 'true';
+ if (autoSwitch) {
+ theme = window.matchMedia('(prefers-color-scheme: dark)').matches
+ ? 'dark'
+ : 'light';
+ }
+ if (theme === 'light') {
+ document.body.classList.add('lightMode');
+ } else {
+ // Default to dark when no preference is stored
+ document.body.classList.add('dark', 'darkMode');
+ }
+ } catch (e) {
+ document.body.classList.add('dark', 'darkMode');
+ }
+ })();
+ </script>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
diff --git a/frontend/jest.config.ts b/frontend/jest.config.ts
index 6082d826b9..1e8afdc399 100644
--- a/frontend/jest.config.ts
+++ b/frontend/jest.config.ts
@@ -15,6 +15,7 @@ const config: Config.InitialOptions = {
'<rootDir>/__mocks__/fileMock.ts',
'^@/(.*)$': '<rootDir>/src/$1',
'\\.(css|less|scss)$': '<rootDir>/__mocks__/cssMock.ts',
+ '\\.module\\.mjs$': '<rootDir>/__mocks__/cssMock.ts',
'\\.md$': '<rootDir>/__mocks__/cssMock.ts',
'^uplot$': '<rootDir>/__mocks__/uplotMock.ts',
'^@signozhq/resizable$': '<rootDir>/__mocks__/resizableMock.tsx',
@@ -44,7 +45,7 @@ const config: Config.InitialOptions = {
'^.+\\.(js|jsx)$': 'babel-jest',
},
transformIgnorePatterns: [
- 'node_modules/(?!(lodash-es|react-dnd|core-dnd|@react-dnd|dnd-core|react-dnd-html5-backend|axios|@signozhq/design-tokens|@signozhq/table|@signozhq/calendar|@signozhq/input|@signozhq/popover|@signozhq/button|@signozhq/sonner|@signozhq/*|date-fns|d3-interpolate|d3-color|api|@codemirror|@lezer|@marijn|@grafana|nuqs)/)',
+ 'node_modules/(?!(lodash-es|react-dnd|core-dnd|@react-dnd|dnd-core|react-dnd-html5-backend|axios|@signozhq/design-tokens|@signozhq/table|@signozhq/calendar|@signozhq/input|@signozhq/popover|@signozhq/button|@signozhq/*|date-fns|d3-interpolate|d3-color|api|@codemirror|@lezer|@marijn|@grafana|nuqs)/)',
],
setupFilesAfterEnv: ['<rootDir>/jest.setup.ts'],
testPathIgnorePatterns: ['/node_modules/', '/public/'],
diff --git a/frontend/jest.setup.ts b/frontend/jest.setup.ts
index efed59a273..1ac11ef2c4 100644
--- a/frontend/jest.setup.ts
+++ b/frontend/jest.setup.ts
@@ -24,6 +24,30 @@ window.matchMedia =
};
};
+// Patch getComputedStyle to handle CSS parsing errors from @signozhq/* packages.
+// These packages inject CSS at import time via style-inject / vite-plugin-css-injected-by-js.
+// jsdom's nwsapi cannot parse some of the injected selectors (e.g. Tailwind's :animate-in),
+// causing SyntaxErrors during getComputedStyle / getByRole calls.
+const _origGetComputedStyle = window.getComputedStyle;
+window.getComputedStyle = function (
+ elt: Element,
+ pseudoElt?: string | null,
+): CSSStyleDeclaration {
+ try {
+ return _origGetComputedStyle.call(window, elt, pseudoElt);
+ } catch {
+ // Return a minimal CSSStyleDeclaration so callers (testing-library, Radix UI)
+ // see the element as visible and without animations.
+ return ({
+ display: '',
+ visibility: '',
+ opacity: '1',
+ animationName: 'none',
+ getPropertyValue: () => '',
+ } as unknown) as CSSStyleDeclaration;
+ }
+};
+
beforeAll(() => server.listen());
afterEach(() => server.resetHandlers());
diff --git a/frontend/package.json b/frontend/package.json
index 0657c91452..3986ac3785 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -48,14 +48,13 @@
"@radix-ui/react-tooltip": "1.0.7",
"@sentry/react": "8.41.0",
"@sentry/vite-plugin": "2.22.6",
- "@signozhq/badge": "0.0.2",
"@signozhq/button": "0.0.2",
"@signozhq/calendar": "0.0.0",
"@signozhq/callout": "0.0.2",
"@signozhq/checkbox": "0.0.2",
"@signozhq/combobox": "0.0.2",
"@signozhq/command": "0.0.0",
- "@signozhq/design-tokens": "2.1.1",
+ "@signozhq/design-tokens": "2.1.4",
"@signozhq/dialog": "^0.0.2",
"@signozhq/drawer": "0.0.4",
"@signozhq/icons": "0.1.0",
@@ -63,11 +62,8 @@
"@signozhq/popover": "0.0.0",
"@signozhq/radio-group": "0.0.2",
"@signozhq/resizable": "0.0.0",
- "@signozhq/sonner": "0.1.0",
- "@signozhq/switch": "0.0.2",
"@signozhq/table": "0.3.7",
"@signozhq/toggle-group": "0.0.1",
- "@signozhq/tooltip": "0.0.2",
"@signozhq/ui": "0.0.5",
"@tanstack/react-table": "8.21.3",
"@tanstack/react-virtual": "3.13.22",
diff --git a/frontend/src/auto-import-registry.d.ts b/frontend/src/auto-import-registry.d.ts
index 025127312b..b321b2fb89 100644
--- a/frontend/src/auto-import-registry.d.ts
+++ b/frontend/src/auto-import-registry.d.ts
@@ -10,7 +10,6 @@
// PR for reference: https://github.com/SigNoz/signoz/pull/9694
// -------------------------------------------------------------------------
-import '@signozhq/badge';
import '@signozhq/button';
import '@signozhq/calendar';
import '@signozhq/callout';
@@ -25,9 +24,6 @@ import '@signozhq/input';
import '@signozhq/popover';
import '@signozhq/radio-group';
import '@signozhq/resizable';
-import '@signozhq/sonner';
-import '@signozhq/switch';
import '@signozhq/table';
import '@signozhq/toggle-group';
-import '@signozhq/tooltip';
import '@signozhq/ui';
diff --git a/frontend/src/components/AlertDetailsFilters/Filters.styles.scss b/frontend/src/components/AlertDetailsFilters/Filters.styles.scss
index 6869dd4366..01973fcad2 100644
--- a/frontend/src/components/AlertDetailsFilters/Filters.styles.scss
+++ b/frontend/src/components/AlertDetailsFilters/Filters.styles.scss
@@ -2,13 +2,6 @@
display: flex;
justify-content: space-between;
align-items: center;
- background: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-400);
-}
-
-.lightMode {
- .reset-button {
- background: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-300);
- }
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
}
diff --git a/frontend/src/components/AppLoading/AppLoading.styles.scss b/frontend/src/components/AppLoading/AppLoading.styles.scss
index 18c12aa213..d12f3cafa0 100644
--- a/frontend/src/components/AppLoading/AppLoading.styles.scss
+++ b/frontend/src/components/AppLoading/AppLoading.styles.scss
@@ -3,7 +3,7 @@
justify-content: center;
align-items: center;
height: 100vh;
- background-color: var(--bg-ink-400, #121317); // Dark theme background
+ background-color: var(--l2-background); // Background
.app-loading-content {
display: flex;
@@ -28,7 +28,7 @@
.brand-title {
font-size: 20px;
font-weight: 600;
- color: var(--bg-vanilla-100, #ffffff); // White text for dark theme
+ color: var(--l1-foreground); // Primary text
margin: 0;
}
}
@@ -37,7 +37,7 @@
margin-bottom: 24px;
.ant-typography {
- color: var(--bg-vanilla-400, #c0c1c3); // Light gray text for dark theme
+ color: var(--l2-foreground); // Secondary text
}
}
@@ -46,7 +46,7 @@
width: 150px;
height: 12px;
border-radius: 2px;
- color: var(--bg-robin-500, #4e74f8); // Primary blue color
+ color: var(--primary-background); // Primary blue color
border: 2px solid;
position: relative;
}
@@ -67,38 +67,6 @@
}
}
-// Light theme styles - more specific selector
-.app-loading-container.lightMode {
- background-color: var(
- --bg-vanilla-100,
- #ffffff
- ) !important; // White background for light theme
-
- .app-loading-content {
- .brand {
- .brand-title {
- color: var(--bg-ink-400, #121317) !important; // Dark text for light theme
- }
- }
-
- .brand-tagline {
- .ant-typography {
- color: var(
- --bg-ink-300,
- #6b7280
- ) !important; // Dark gray text for light theme
- }
- }
-
- .loader {
- color: var(
- --bg-robin-500,
- #4e74f8
- ) !important; // Keep primary blue color for consistency
- }
- }
-}
-
.perilin-bg {
position: absolute;
top: 0;
@@ -112,41 +80,12 @@
mask-image: radial-gradient(
circle at 50% 0,
- rgba(11, 12, 14, 0.1) 0,
- rgba(11, 12, 14, 0) 100%
+ color-mix(in srgb, var(--background) 10%, transparent) 0,
+ transparent 100%
);
-webkit-mask-image: radial-gradient(
circle at 50% 0,
- rgba(11, 12, 14, 0.1) 0,
- rgba(11, 12, 14, 0) 100%
+ color-mix(in srgb, var(--background) 10%, transparent) 0,
+ transparent 100%
);
}
-
-// Dark theme styles - ensure dark theme is properly applied
-.app-loading-container.dark {
- background-color: var(--bg-ink-400, #121317) !important; // Dark background
-
- .app-loading-content {
- .brand {
- .brand-title {
- color: var(
- --bg-vanilla-100,
- #ffffff
- ) !important; // White text for dark theme
- }
- }
-
- .brand-tagline {
- .ant-typography {
- color: var(
- --bg-vanilla-400,
- #c0c1c3
- ) !important; // Light gray text for dark theme
- }
- }
-
- .loader {
- color: var(--bg-robin-500, #4e74f8) !important; // Primary blue color
- }
- }
-}
diff --git a/frontend/src/components/AuthError/AuthError.styles.scss b/frontend/src/components/AuthError/AuthError.styles.scss
index 494965f388..3b47999050 100644
--- a/frontend/src/components/AuthError/AuthError.styles.scss
+++ b/frontend/src/components/AuthError/AuthError.styles.scss
@@ -4,12 +4,13 @@
animation: horizontal-shaking 300ms ease-out;
.error-content {
- background: rgba(229, 72, 77, 0.1);
- border: 1px solid rgba(229, 72, 77, 0.2);
+ background: color-mix(in srgb, var(--bg-cherry-500) 10%, transparent);
+ border: 1px solid color-mix(in srgb, var(--bg-cherry-500) 20%, transparent);
border-radius: 4px;
&__summary-section {
- border-bottom: 1px solid rgba(229, 72, 77, 0.2);
+ border-bottom: 1px solid
+ color-mix(in srgb, var(--bg-cherry-500) 20%, transparent);
}
&__summary {
@@ -31,7 +32,7 @@
}
&__error-code {
- color: #fadadb;
+ color: var(--bg-cherry-100);
font-size: 13px;
font-weight: 500;
line-height: 1;
@@ -39,7 +40,7 @@
}
&__error-message {
- color: #f5b6b8;
+ color: var(--bg-cherry-300);
font-size: 13px;
font-weight: 400;
line-height: 20px;
@@ -51,13 +52,13 @@
}
&__message-badge-label-text {
- color: #fadadb;
+ color: var(--bg-cherry-100);
}
&__message-badge-line {
background-image: radial-gradient(
circle,
- rgba(229, 72, 77, 0.3) 1px,
+ color-mix(in srgb, var(--bg-cherry-500) 30%, transparent) 1px,
transparent 2px
);
}
@@ -71,23 +72,23 @@
}
&__message-item {
- color: #f5b6b8;
+ color: var(--bg-cherry-300);
font-size: 13px;
font-weight: 400;
line-height: 20px;
letter-spacing: -0.065px;
&::before {
- background: #f5b6b8;
+ background: var(--bg-cherry-300);
}
}
&__scroll-hint {
- background: rgba(229, 72, 77, 0.2);
+ background: color-mix(in srgb, var(--bg-cherry-500) 20%, transparent);
}
&__scroll-hint-text {
- color: #fadadb;
+ color: var(--bg-cherry-100);
}
}
@@ -100,27 +101,28 @@
.lightMode {
.auth-error-container {
.error-content {
- background: rgba(229, 72, 77, 0.1);
- border-color: rgba(229, 72, 77, 0.2);
-
&__error-code {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
&__error-message {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
+ }
+
+ &__message-badge-label-text {
+ color: var(--l2-foreground);
}
&__message-item {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
&::before {
- background: var(--bg-ink-400);
+ background: var(--l3-background);
}
}
&__scroll-hint-text {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/components/AuthPageContainer/AuthFooter.styles.scss b/frontend/src/components/AuthPageContainer/AuthFooter.styles.scss
index 469c0a900b..13b966d0a6 100644
--- a/frontend/src/components/AuthPageContainer/AuthFooter.styles.scss
+++ b/frontend/src/components/AuthPageContainer/AuthFooter.styles.scss
@@ -16,8 +16,8 @@
justify-content: center;
gap: 16px;
padding: 12px;
- background: var(--bg-ink-400);
- border: 1px solid var(--bg-ink-200);
+ background: var(--l2-background);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
}
@@ -32,7 +32,7 @@
width: 6px;
height: 6px;
border-radius: 9999px;
- background: #25e192;
+ background: var(--bg-forest-500);
flex-shrink: 0;
}
@@ -49,7 +49,7 @@
font-size: 11px;
font-weight: 400;
line-height: 1;
- color: var(--text-neutral-dark-100);
+ color: var(--l2-foreground);
text-align: center;
}
@@ -67,16 +67,16 @@
.auth-footer-link-icon {
flex-shrink: 0;
- color: var(--text-neutral-dark-50);
+ color: var(--l1-foreground);
}
.auth-footer-link-status {
.auth-footer-text {
- color: #25e192;
+ color: var(--bg-forest-500);
}
.auth-footer-link-icon {
- color: #25e192;
+ color: var(--bg-forest-500);
}
}
@@ -84,14 +84,12 @@
width: 4px;
height: 4px;
border-radius: 50%;
- background: var(--bg-ink-200);
+ background: var(--l3-background);
flex-shrink: 0;
}
.lightMode {
.auth-footer-content {
- background: var(--bg-base-white);
- border-color: var(--bg-vanilla-300);
box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.08);
}
@@ -108,8 +106,4 @@
.auth-footer-link-icon {
color: var(--text-neutral-light-100);
}
-
- .auth-footer-separator {
- background: var(--bg-vanilla-300);
- }
}
diff --git a/frontend/src/components/AuthPageContainer/AuthHeader.styles.scss b/frontend/src/components/AuthPageContainer/AuthHeader.styles.scss
index 0c310e2a11..76d62fb21e 100644
--- a/frontend/src/components/AuthPageContainer/AuthHeader.styles.scss
+++ b/frontend/src/components/AuthPageContainer/AuthHeader.styles.scss
@@ -30,7 +30,7 @@
font-size: 15.4px;
font-weight: 500;
line-height: 17.5px;
- color: var(--text-neutral-dark-50);
+ color: var(--l1-foreground);
white-space: nowrap;
}
@@ -41,7 +41,7 @@
gap: 8px;
height: 32px;
padding: 10px 16px;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
border: none;
border-radius: 2px;
cursor: pointer;
@@ -52,13 +52,13 @@
font-size: 11px;
font-weight: 500;
line-height: 1;
- color: var(--text-neutral-dark-100);
+ color: var(--l2-foreground);
text-align: center;
}
svg {
flex-shrink: 0;
- color: var(--text-neutral-dark-100);
+ color: var(--l2-foreground);
}
&:hover {
@@ -67,16 +67,8 @@
}
.lightMode {
- .auth-header-logo-text {
- color: var(--text-neutral-light-100);
- }
-
.auth-header-help-button {
- background: var(--bg-vanilla-200);
-
- span,
- svg {
- color: var(--text-neutral-light-200);
- }
+ background: var(--l2-background);
+ border: 1px solid var(--l1-border);
}
}
diff --git a/frontend/src/components/AuthPageContainer/AuthPageContainer.styles.scss b/frontend/src/components/AuthPageContainer/AuthPageContainer.styles.scss
index b3ce423979..69ea0d89a8 100644
--- a/frontend/src/components/AuthPageContainer/AuthPageContainer.styles.scss
+++ b/frontend/src/components/AuthPageContainer/AuthPageContainer.styles.scss
@@ -4,7 +4,7 @@
position: relative;
min-height: 100vh;
width: 100%;
- background: var(--bg-neutral-dark-1000);
+ background: var(--l1-background);
display: flex;
flex-direction: column;
}
@@ -43,13 +43,13 @@
.masked-dots {
mask-image: radial-gradient(
circle at 50% 0%,
- rgba(11, 12, 14, 0.1) 0%,
- rgba(11, 12, 14, 0) 56.77%
+ color-mix(in srgb, var(--background) 10%, transparent) 0%,
+ transparent 56.77%
);
-webkit-mask-image: radial-gradient(
circle at 50% 0%,
- rgba(11, 12, 14, 0.1) 0%,
- rgba(11, 12, 14, 0) 56.77%
+ color-mix(in srgb, var(--background) 10%, transparent) 0%,
+ transparent 56.77%
);
}
@@ -65,7 +65,7 @@
border-radius: 956px;
background: radial-gradient(
ellipse at center -500px,
- rgba(78, 116, 248, 0.3) 0%,
+ color-mix(in srgb, var(--primary-background) 30%, transparent) 0%,
transparent 70%
);
opacity: 0.3;
@@ -85,8 +85,8 @@
height: 100%;
background-image: repeating-linear-gradient(
to bottom,
- var(--bg-ink-200) 0px,
- var(--bg-ink-200) 4px,
+ var(--l1-border) 0px,
+ var(--l1-border) 4px,
transparent 4px,
transparent 8px
);
@@ -145,19 +145,19 @@
}
.lightMode {
- .auth-page-wrapper {
- background: var(--bg-base-white);
- }
-
.bg-dot-pattern {
- background: radial-gradient(circle, rgba(35, 38, 46, 1) 1px, transparent 1px);
+ background: radial-gradient(
+ circle,
+ var(--l3-background) 1px,
+ transparent 1px
+ );
background-size: 12px 12px;
}
.auth-page-gradient {
background: radial-gradient(
ellipse at center top,
- rgba(78, 116, 248, 0.12) 0%,
+ color-mix(in srgb, var(--primary-background) 12%, transparent) 0%,
transparent 60%
);
opacity: 0.8;
@@ -167,15 +167,4 @@
filter: blur(300px);
}
}
-
- .auth-page-line-left,
- .auth-page-line-right {
- background-image: repeating-linear-gradient(
- to bottom,
- var(--bg-vanilla-300) 0px,
- var(--bg-vanilla-300) 4px,
- transparent 4px,
- transparent 8px
- );
- }
}
diff --git a/frontend/src/components/CeleryOverview/CeleryOverviewConfigOptions/CeleryOverviewConfigOptions.styles.scss b/frontend/src/components/CeleryOverview/CeleryOverviewConfigOptions/CeleryOverviewConfigOptions.styles.scss
index 83dcabd43f..57e5321462 100644
--- a/frontend/src/components/CeleryOverview/CeleryOverviewConfigOptions/CeleryOverviewConfigOptions.styles.scss
+++ b/frontend/src/components/CeleryOverview/CeleryOverviewConfigOptions/CeleryOverviewConfigOptions.styles.scss
@@ -21,8 +21,8 @@
min-width: 164px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
}
@@ -31,16 +31,3 @@
flex-shrink: 0;
}
}
-
-.lightMode {
- .celery-overview-filters {
- .celery-filters {
- .config-select-option {
- .ant-select-selector {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
- }
- }
- }
-}
diff --git a/frontend/src/components/CeleryOverview/CeleryOverviewTable/CeleryOverviewTable.styles.scss b/frontend/src/components/CeleryOverview/CeleryOverviewTable/CeleryOverviewTable.styles.scss
index c66a301513..41a1a0f5d2 100644
--- a/frontend/src/components/CeleryOverview/CeleryOverviewTable/CeleryOverviewTable.styles.scss
+++ b/frontend/src/components/CeleryOverview/CeleryOverviewTable/CeleryOverviewTable.styles.scss
@@ -27,10 +27,10 @@
font-size: 12px;
line-height: 18px;
- background: var(--bg-ink-500);
+ background: var(--l1-background);
border-bottom: none;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -47,8 +47,8 @@
padding: 12px;
font-size: 13px;
line-height: 20px;
- color: var(--bg-vanilla-100);
- background: var(--bg-ink-500);
+ color: var(--l1-foreground);
+ background: var(--l1-background);
}
.progress-container {
@@ -59,7 +59,7 @@
}
.ant-table-tbody > tr:hover > td {
- background: rgba(255, 255, 255, 0.04);
+ background: color-mix(in srgb, var(--l1-foreground) 4%, transparent);
}
.ant-table-cell:first-child {
@@ -89,7 +89,7 @@
position: relative;
bottom: 0;
width: 100%;
- background: var(--bg-ink-500);
+ background: var(--l1-background);
padding: 4px;
margin: 0;
@@ -100,48 +100,11 @@
border-radius: 4px;
&-active {
- background: var(--bg-robin-500);
- border-color: var(--bg-robin-500);
+ background: var(--primary-background);
+ border-color: var(--primary-background);
a {
- color: var(--bg-ink-500) !important;
- }
- }
- }
- }
- }
-}
-
-.lightMode {
- .celery-overview-table-container {
- .celery-overview-table {
- .ant-table {
- .ant-table-thead > tr > th {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- }
-
- .ant-table-cell {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-500);
- }
-
- .ant-table-tbody > tr:hover > td {
- background: rgba(0, 0, 0, 0.04);
- }
- }
-
- .ant-pagination {
- background: var(--bg-vanilla-100);
-
- .ant-pagination-item {
- &-active {
- background: var(--bg-robin-500);
- border-color: var(--bg-robin-500);
-
- a {
- color: var(--bg-vanilla-100) !important;
- }
+ color: var(--primary-foreground) !important;
}
}
}
diff --git a/frontend/src/components/CeleryTask/CeleryTaskConfigOptions/CeleryTaskConfigOptions.styles.scss b/frontend/src/components/CeleryTask/CeleryTaskConfigOptions/CeleryTaskConfigOptions.styles.scss
index 1ffd4af3ff..750b808c2e 100644
--- a/frontend/src/components/CeleryTask/CeleryTaskConfigOptions/CeleryTaskConfigOptions.styles.scss
+++ b/frontend/src/components/CeleryTask/CeleryTaskConfigOptions/CeleryTaskConfigOptions.styles.scss
@@ -18,21 +18,8 @@
min-width: 164px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
- }
- }
- }
-}
-
-.lightMode {
- .celery-task-filters {
- .celery-filters {
- .config-select-option {
- .ant-select-selector {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
}
diff --git a/frontend/src/components/CeleryTask/CeleryTaskDetail/CeleryTaskDetail.style.scss b/frontend/src/components/CeleryTask/CeleryTaskDetail/CeleryTaskDetail.style.scss
index f48c1673a0..371e2b7166 100644
--- a/frontend/src/components/CeleryTask/CeleryTaskDetail/CeleryTaskDetail.style.scss
+++ b/frontend/src/components/CeleryTask/CeleryTaskDetail/CeleryTaskDetail.style.scss
@@ -1,7 +1,7 @@
.celery-task-detail-drawer {
.ant-drawer-wrapper-body {
- background: var(--bg-ink-500);
- border: 1px solid var(--bg-ink-300);
+ background: var(--l1-background);
+ border: 1px solid var(--l1-border);
}
.ant-drawer-body {
@@ -11,17 +11,17 @@
border: none;
.ant-card-body {
height: 100%;
- background: var(--bg-ink-500);
+ background: var(--l1-background);
.ant-table {
- background: var(--bg-ink-500);
+ background: var(--l1-background);
}
}
}
}
.ant-drawer-header {
- border-bottom: 1px solid var(--bg-ink-300);
+ border-bottom: 1px solid var(--l1-border);
.ant-drawer-header-title {
.ant-drawer-close {
position: absolute;
@@ -29,7 +29,7 @@
}
button > svg {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
.ant-drawer-title {
@@ -38,7 +38,7 @@
align-items: flex-start;
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 18px;
font-style: normal;
@@ -48,7 +48,7 @@
}
.subtitle {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -60,10 +60,10 @@
}
.ant-drawer-footer {
- border-top: 1px solid var(--bg-ink-300);
+ border-top: 1px solid var(--l1-border);
.footer-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -72,51 +72,3 @@
}
}
}
-
-.lightMode {
- .celery-task-detail-drawer {
- .ant-drawer-wrapper-body {
- background: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
- }
-
- .ant-drawer-body {
- .ant-card {
- .ant-card-body {
- background: var(--bg-vanilla-100);
-
- .ant-table {
- background: var(--bg-vanilla-100);
- }
- }
- }
- }
-
- .ant-drawer-header {
- border-bottom: 1px solid var(--bg-vanilla-300);
- .ant-drawer-header-title {
- button > svg {
- color: var(--bg-ink-500);
- }
-
- .ant-drawer-title {
- .title {
- color: var(--bg-ink-400);
- }
-
- .subtitle {
- color: var(--bg-ink-300);
- }
- }
- }
- }
-
- .ant-drawer-footer {
- border-top: 1px solid var(--bg-vanilla-300);
-
- .footer-text {
- color: var(--bg-ink-400);
- }
- }
- }
-}
diff --git a/frontend/src/components/CeleryTask/CeleryTaskGraph/CeleryTaskGraph.style.scss b/frontend/src/components/CeleryTask/CeleryTaskGraph/CeleryTaskGraph.style.scss
index 694559d0d1..e686f8afb3 100644
--- a/frontend/src/components/CeleryTask/CeleryTaskGraph/CeleryTaskGraph.style.scss
+++ b/frontend/src/components/CeleryTask/CeleryTaskGraph/CeleryTaskGraph.style.scss
@@ -40,13 +40,8 @@
display: flex;
justify-content: center;
align-items: center;
- border: 1px solid var(--bg-slate-500);
- background: linear-gradient(
- 0deg,
- rgba(171, 189, 255, 0) 0%,
- rgba(171, 189, 255, 0) 100%
- ),
- #0b0c0e;
+ border: 1px solid var(--l1-border);
+ background: linear-gradient(0deg, transparent 0%, transparent 100%), #0b0c0e;
.ant-card-body {
height: 100%;
@@ -147,13 +142,13 @@
gap: 16px;
align-items: center;
- border: 1px dashed var(--bg-slate-50);
+ border: 1px dashed var(--l1-border);
border-radius: 4px;
padding: 6px 24px 6px 12px;
width: max-content;
.configure-option-Info-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-weight: 400;
}
@@ -161,7 +156,7 @@
.row-panel {
border-radius: 4px;
- background: rgba(18, 19, 23, 0.4);
+ background: color-mix(in srgb, var(--card) 40%, transparent);
padding: 8px;
display: flex;
gap: 6px;
@@ -180,12 +175,12 @@
align-items: center;
.row-icon {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
cursor: pointer;
}
.section-title {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -198,7 +193,7 @@
}
.celery-task-states {
- border-bottom: 1px solid var(--bg-ink-200);
+ border-bottom: 1px solid var(--l1-border);
&__tab {
min-width: 140px;
@@ -207,11 +202,11 @@
position: relative;
&:not([data-last-tab='true']) {
- border-right: 1px solid var(--bg-ink-200);
+ border-right: 1px solid var(--l1-border);
}
&--selected {
- background-color: rgba(38, 38, 38, 0.5);
+ background-color: var(--l3-background);
}
}
@@ -225,7 +220,7 @@
&__label {
font-family: 'Inter';
font-size: 14px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
line-height: 20px;
font-weight: 500;
}
@@ -233,7 +228,7 @@
&__value {
font-family: 'Geist Mono';
font-size: 24px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
line-height: 32px;
}
@@ -243,46 +238,15 @@
height: 2px;
bottom: 0;
left: 0;
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-foreground);
}
}
.lightMode {
.celery-task-graph-grid-container {
.celery-task-graph-worker-count {
- border: 1px solid var(--bg-vanilla-300);
background: unset;
}
-
- .row-panel .row-panel-section .section-title {
- color: var(--bg-ink-400);
- }
- }
-
- .celery-task-states {
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- &__tab {
- &:not([data-last-tab='true']) {
- border-right: 1px solid var(--bg-vanilla-300);
- }
-
- &--selected {
- background-color: var(--bg-vanilla-200);
- }
- }
-
- &__label {
- color: var(--bg-ink-500);
- }
-
- &__value {
- color: var(--bg-slate-100);
- }
-
- &__indicator {
- background-color: var(--bg-ink-400);
- }
}
.configure-option-Info {
diff --git a/frontend/src/components/ChangePercentagePill/ChangePercentagePill.styles.scss b/frontend/src/components/ChangePercentagePill/ChangePercentagePill.styles.scss
index adafe45c3d..c848486512 100644
--- a/frontend/src/components/ChangePercentagePill/ChangePercentagePill.styles.scss
+++ b/frontend/src/components/ChangePercentagePill/ChangePercentagePill.styles.scss
@@ -26,7 +26,7 @@
}
}
&--negative {
- background: rgba(229, 72, 77, 0.1);
+ background: color-mix(in srgb, var(--bg-cherry-500) 10%, transparent);
.change-percentage-pill {
&__icon {
diff --git a/frontend/src/components/ChangelogModal/ChangelogModal.styles.scss b/frontend/src/components/ChangelogModal/ChangelogModal.styles.scss
index 3772a8717c..03218b2707 100644
--- a/frontend/src/components/ChangelogModal/ChangelogModal.styles.scss
+++ b/frontend/src/components/ChangelogModal/ChangelogModal.styles.scss
@@ -1,7 +1,7 @@
.changelog-modal {
.ant-modal-content {
padding: unset;
- background-color: var(--bg-ink-400, #121317);
+ background-color: var(--l2-background);
.ant-modal-header {
margin-bottom: unset;
@@ -16,12 +16,12 @@
display: flex;
align-items: center;
gap: 8px;
- background-color: var(--bg-ink-400, #121317);
+ background-color: var(--l2-background);
padding: 16px;
font-size: 14px;
line-height: 20px;
- color: var(--text-vanilla-100, #fff);
- border-bottom: 1px solid var(--bg-slate-500, #161922);
+ color: var(--l1-foreground);
+ border-bottom: 1px solid var(--l1-border);
}
&-footer.scroll-available {
@@ -32,14 +32,14 @@
&-footer {
position: relative;
- border: 1px solid var(--bg-slate-500, #161922);
+ border: 1px solid var(--l1-border);
padding: 12px;
display: flex;
align-items: center;
justify-content: space-between;
&-label {
- color: var(--text-robin-400, #7190f9);
+ color: var(--text-robin-400);
font-size: 14px;
line-height: 24px;
position: relative;
@@ -54,7 +54,7 @@
width: 6px;
height: 6px;
border-radius: 100%;
- background-color: var(--bg-robin-500, #7190f9);
+ background-color: var(--primary-background);
}
}
@@ -77,7 +77,7 @@
.scroll-btn {
all: unset;
padding: 4px 12px 4px 10px;
- background-color: var(--bg-slate-400, #1d212d);
+ background-color: var(--l1-border);
border-radius: 20px;
cursor: pointer;
display: flex;
@@ -87,17 +87,17 @@
transition: background-color 0.1s;
&:hover {
- background-color: var(--bg-slate-200, #2c3140);
+ background-color: var(--l1-border);
}
&:active {
- background-color: var(--bg-slate-600, #1c1f2a);
+ background-color: var(--l1-border);
}
span {
font-size: 12px;
line-height: 18px;
- color: var(--text-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
}
// add animation to the chevrons down icon
@@ -112,7 +112,7 @@
max-height: calc(100vh - 300px);
overflow-y: auto;
padding: 16px 16px 18px 16px;
- border: 1px solid var(--bg-slate-500, #161922);
+ border: 1px solid var(--l1-border);
border-top-width: 0;
border-bottom-width: 0;
}
@@ -127,36 +127,3 @@
opacity: 0.5;
}
}
-
-.lightMode {
- .changelog-modal {
- .ant-modal-content {
- background-color: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-300);
- }
-
- &-title {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-500);
- border-color: var(--bg-vanilla-300);
- }
-
- &-content {
- border-color: var(--bg-vanilla-300);
- }
-
- &-footer {
- border-color: var(--bg-vanilla-300);
-
- .scroll-btn-container {
- .scroll-btn {
- background-color: var(--bg-vanilla-300);
-
- span {
- color: var(--text-ink-500);
- }
- }
- }
- }
- }
-}
diff --git a/frontend/src/components/ChangelogModal/components/ChangelogRenderer.styles.scss b/frontend/src/components/ChangelogModal/components/ChangelogRenderer.styles.scss
index bdb5d28306..d0bcd53e22 100644
--- a/frontend/src/components/ChangelogModal/components/ChangelogRenderer.styles.scss
+++ b/frontend/src/components/ChangelogModal/components/ChangelogRenderer.styles.scss
@@ -15,13 +15,13 @@
&-section-title {
font-size: 14px;
line-height: 20px;
- color: var(--text-vanilla-400, #c0c1c3);
+ color: var(--l1-foreground);
}
.changelog-release-date {
font-size: 14px;
line-height: 20px;
- color: var(--text-vanilla-400, #c0c1c3);
+ color: var(--l1-foreground);
display: block;
margin-bottom: 12px;
}
@@ -38,7 +38,7 @@
top: 6px;
bottom: -30px;
width: 1px;
- background-color: var(--bg-slate-400, #1d212d);
+ background-color: var(--l1-border);
.inner-ball {
position: absolute;
@@ -47,7 +47,7 @@
height: 6px;
border-radius: 100%;
transform: translateX(-50%);
- background-color: var(--bg-robin-500, #7190f9);
+ background-color: var(--primary-background);
}
}
@@ -69,7 +69,7 @@
top: 10px;
width: 20px;
height: 2px;
- background-color: var(--bg-robin-500, #7190f9);
+ background-color: var(--primary-background);
transform: translate(-100%, -50%);
}
}
@@ -79,19 +79,20 @@
p {
font-size: 14px;
line-height: 20px;
- color: var(--text-vanilla-400, #c0c1c3);
+ color: var(--l1-foreground);
}
code {
padding: 2px 4px;
- background-color: var(--bg-slate-500, #161922);
+ background-color: var(--l1-border);
border-radius: 6px;
font-size: 95%;
vertical-align: middle;
- border: 1px solid var(--bg-slate-600, #1c1f2a);
+ border: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
}
a {
- color: var(--text-robin-500, #7190f9);
+ color: var(--text-robin-500);
font-weight: 600;
text-decoration: underline;
@@ -102,7 +103,7 @@
& :is(h1, h2, h3, h4, h5, h6, &-section-title) {
font-weight: 600;
- color: var(--text-vanilla-100, #fff);
+ color: var(--l1-foreground);
}
h1 {
@@ -122,7 +123,7 @@
width: 100%;
overflow: hidden;
border-radius: 4px;
- border: 1px solid var(--bg-slate-400, #1d212d);
+ border: 1px solid var(--l1-border);
margin-bottom: 28px;
}
@@ -130,25 +131,3 @@
margin: 12px 0;
}
}
-
-.lightMode {
- .changelog-renderer {
- .changelog-release-date {
- color: var(--text-ink-500);
- }
-
- &-line {
- background-color: var(--bg-vanilla-300);
- }
-
- & :is(h1, h2, h3, h4, h5, h6, p, li, &-section-title) {
- color: var(--text-ink-500);
- }
-
- code {
- background-color: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--text-ink-500);
- }
- }
-}
diff --git a/frontend/src/components/CreateServiceAccountModal/CreateServiceAccountModal.styles.scss b/frontend/src/components/CreateServiceAccountModal/CreateServiceAccountModal.styles.scss
index 1d88185762..940342c53a 100644
--- a/frontend/src/components/CreateServiceAccountModal/CreateServiceAccountModal.styles.scss
+++ b/frontend/src/components/CreateServiceAccountModal/CreateServiceAccountModal.styles.scss
@@ -18,7 +18,7 @@
font-weight: var(--label-base-400-font-weight);
line-height: var(--label-base-400-line-height);
letter-spacing: -0.065px;
- color: var(--bg-base-white);
+ color: var(--l1-foreground);
margin: 0;
}
@@ -54,7 +54,7 @@
height: 32px;
color: var(--l1-foreground);
background-color: var(--l2-background);
- border-color: var(--border);
+ border-color: var(--l1-border);
font-size: var(--paragraph-base-400-font-size);
border-radius: 2px;
width: 100%;
@@ -96,11 +96,3 @@
gap: var(--spacing-4);
flex-shrink: 0;
}
-
-.lightMode {
- .create-sa-modal {
- [data-slot='dialog-title'] {
- color: var(--bg-base-black);
- }
- }
-}
diff --git a/frontend/src/components/CreateServiceAccountModal/CreateServiceAccountModal.tsx b/frontend/src/components/CreateServiceAccountModal/CreateServiceAccountModal.tsx
index 465d128c23..f583b9a669 100644
--- a/frontend/src/components/CreateServiceAccountModal/CreateServiceAccountModal.tsx
+++ b/frontend/src/components/CreateServiceAccountModal/CreateServiceAccountModal.tsx
@@ -4,7 +4,7 @@ import { Button } from '@signozhq/button';
import { DialogFooter, DialogWrapper } from '@signozhq/dialog';
import { X } from '@signozhq/icons';
import { Input } from '@signozhq/input';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { convertToApiError } from 'api/ErrorResponseHandlerForGeneratedAPIs';
import {
invalidateListServiceAccounts,
diff --git a/frontend/src/components/CreateServiceAccountModal/__tests__/CreateServiceAccountModal.test.tsx b/frontend/src/components/CreateServiceAccountModal/__tests__/CreateServiceAccountModal.test.tsx
index 26f940513a..b059253350 100644
--- a/frontend/src/components/CreateServiceAccountModal/__tests__/CreateServiceAccountModal.test.tsx
+++ b/frontend/src/components/CreateServiceAccountModal/__tests__/CreateServiceAccountModal.test.tsx
@@ -1,11 +1,12 @@
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { rest, server } from 'mocks-server/server';
import { NuqsTestingAdapter } from 'nuqs/adapters/testing';
import { render, screen, userEvent, waitFor } from 'tests/test-utils';
import CreateServiceAccountModal from '../CreateServiceAccountModal';
-jest.mock('@signozhq/sonner', () => ({
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
toast: { success: jest.fn(), error: jest.fn() },
}));
diff --git a/frontend/src/components/CustomTimePicker/CustomTimePicker.styles.scss b/frontend/src/components/CustomTimePicker/CustomTimePicker.styles.scss
index 38d8456467..66937edbc2 100644
--- a/frontend/src/components/CustomTimePicker/CustomTimePicker.styles.scss
+++ b/frontend/src/components/CustomTimePicker/CustomTimePicker.styles.scss
@@ -9,16 +9,17 @@
align-items: center;
justify-content: center;
flex-shrink: 0;
- color: var(--foreground);
- border: 1px solid var(--border);
+ color: var(--secondary-foreground);
+ background-color: var(--secondary-background);
+ border: 1px solid var(--secondary-border);
border-radius: 2px;
box-shadow: none;
padding: 10px;
height: 33px;
&:hover:not(:disabled) {
- color: var(--bg-vanilla-100);
- background: var(--primary);
+ color: var(--primary-foreground);
+ background: var(--primary-background);
}
&:disabled {
@@ -29,7 +30,7 @@
.timeSelection-input {
&:hover {
- border-color: #1d212d !important;
+ border-color: var(--l1-border) !important;
}
}
@@ -98,7 +99,7 @@
justify-content: center;
padding: 4px;
cursor: default;
- color: var(--bg-vanilla-400, #c0c1c3) !important;
+ color: var(--l2-foreground) !important;
font-size: 14px;
font-style: normal;
font-weight: 400;
@@ -146,14 +147,10 @@
color: rgba($color: #000000, $alpha: 0.4);
}
}
-
- .info-text {
- color: var(--bg-slate-400) !important;
- }
}
.date-time-popover__footer {
- border-top: 1px solid var(--bg-ink-200);
+ border-top: 1px solid var(--l1-border);
padding: 8px 14px;
.timezone-container {
display: flex;
@@ -205,7 +202,7 @@
display: flex;
align-items: center;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
gap: 6px;
.timezone {
@@ -213,10 +210,10 @@
align-items: center;
gap: 4px;
border-radius: 2px;
- background: rgba(171, 189, 255, 0.04);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
cursor: pointer;
padding: 0px 4px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
border: none;
}
}
@@ -228,8 +225,8 @@
justify-content: center;
padding: 0 4px;
border-radius: 2px;
- color: var(--bg-vanilla-400);
- background-color: var(--bg-ink-200);
+ color: var(--l2-foreground);
+ background-color: var(--l3-background);
font-size: 9px;
font-weight: 400;
line-height: 12px;
@@ -249,8 +246,8 @@
width: 36px;
font-size: 11px;
- color: var(--bg-vanilla-400);
- background-color: var(--bg-ink-200);
+ color: var(--l2-foreground);
+ background-color: var(--l3-background);
cursor: pointer;
&.is-live {
@@ -272,13 +269,14 @@
@keyframes ripple {
0% {
- box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
+ box-shadow: 0 0 0 0
+ color-mix(in srgb, var(--warning-background) 40%, transparent);
}
60% {
- box-shadow: 0 0 0 6px rgba(245, 158, 11, 0);
+ box-shadow: 0 0 0 6px transparent;
}
100% {
- box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
+ box-shadow: 0 0 0 0 transparent;
}
}
@@ -288,8 +286,8 @@
justify-content: center;
padding: 0 4px;
border-radius: 2px;
- background: rgba(171, 189, 255, 0.04);
- color: var(--bg-vanilla-100);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
+ color: var(--l1-foreground);
font-size: 12px;
font-weight: 400;
line-height: 16px;
@@ -299,23 +297,16 @@
width: 20px;
&:hover {
- background: rgba(171, 189, 255, 0.08);
+ background: color-mix(in srgb, var(--bg-robin-200) 8%, transparent);
}
}
.lightMode {
- .date-time-popover__footer {
- border-color: var(--bg-vanilla-400);
- }
-
.timezone-container {
- color: var(--bg-ink-400);
-
.timezone {
- color: var(--bg-ink-100);
background: rgb(179 179 179 / 15%);
&__icon {
- stroke: var(--bg-ink-100);
+ stroke: var(--l1-foreground);
}
}
}
@@ -323,23 +314,16 @@
.custom-time-picker {
.timeSelection-input {
&:hover {
- border-color: var(--bg-vanilla-300) !important;
+ border-color: var(--l1-border) !important;
}
}
}
.timezone-badge {
- color: var(--bg-ink-100);
background: rgb(179 179 179 / 15%);
}
- .time-input-prefix {
- background-color: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- }
-
.time-input-suffix-icon-badge {
- color: var(--bg-ink-100);
background: rgb(179 179 179 / 15%);
&:hover {
diff --git a/frontend/src/components/CustomTimePicker/CustomTimePicker.tsx b/frontend/src/components/CustomTimePicker/CustomTimePicker.tsx
index c64e80c3fe..0a7dbd37cf 100644
--- a/frontend/src/components/CustomTimePicker/CustomTimePicker.tsx
+++ b/frontend/src/components/CustomTimePicker/CustomTimePicker.tsx
@@ -656,15 +656,13 @@ function CustomTimePicker({
zoomOutDisabled ? 'Zoom out time range is limited to 1 month' : 'Zoom out'
}
>
- <span>
- <Button
- className="zoom-out-btn"
- onClick={handleZoomOut}
- disabled={zoomOutDisabled}
- data-testid="zoom-out-btn"
- prefixIcon={<ZoomOut size={14} />}
- />
- </span>
+ <Button
+ className="zoom-out-btn"
+ onClick={handleZoomOut}
+ disabled={zoomOutDisabled}
+ data-testid="zoom-out-btn"
+ prefixIcon={<ZoomOut size={14} />}
+ />
</Tooltip>
)}
</div>
diff --git a/frontend/src/components/CustomTimePicker/TimezonePicker.styles.scss b/frontend/src/components/CustomTimePicker/TimezonePicker.styles.scss
index 50ee1502ba..ccf65cbc26 100644
--- a/frontend/src/components/CustomTimePicker/TimezonePicker.styles.scss
+++ b/frontend/src/components/CustomTimePicker/TimezonePicker.styles.scss
@@ -3,11 +3,7 @@ $font-family: 'Inter';
$item-spacing: 8px;
:root {
- --border-color: var(--bg-slate-400);
-}
-
-.lightMode {
- --border-color: var(--bg-vanilla-400);
+ --border-color: var(--l1-border);
}
// Mixins
@@ -24,7 +20,7 @@ $item-spacing: 8px;
.timezone-picker {
width: 532px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: $font-family;
&__search {
@@ -46,7 +42,7 @@ $item-spacing: 8px;
background: transparent;
border: none;
outline: none;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
line-height: 20px;
letter-spacing: -0.07px;
@@ -56,19 +52,19 @@ $item-spacing: 8px;
}
&::placeholder {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
&__esc-key {
@include text-style-base;
font-size: 8px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
letter-spacing: -0.04px;
border-radius: 2.286px;
- border: 1.143px solid var(--bg-ink-200);
+ border: 1.143px solid var(--l1-border);
border-bottom-width: 2.286px;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
padding: 0 1px;
}
@@ -86,14 +82,14 @@ $item-spacing: 8px;
background: transparent;
border: none;
width: -webkit-fill-available;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: $font-family;
&:hover,
&.selected {
border-radius: 2px;
- background: rgba(171, 189, 255, 0.04);
- color: var(--bg-vanilla-100);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
+ color: var(--l1-foreground);
}
&.has-divider {
@@ -117,7 +113,7 @@ $item-spacing: 8px;
}
&__offset {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 12px;
line-height: 16px;
letter-spacing: -0.06px;
@@ -138,28 +134,14 @@ $item-spacing: 8px;
.timezone-picker {
&__search {
.search-icon {
- stroke: var(--bg-ink-400);
+ stroke: var(--l1-foreground);
}
}
- &__input {
- color: var(--bg-ink-100);
- }
- &__esc-key {
- background-color: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-400);
- color: var(--bg-ink-400);
- }
- &__item {
- color: var(--bg-ink-400);
- }
- &__offset {
- color: var(--bg-ink-100);
- }
}
.timezone-name-wrapper {
&__selected-icon {
.check-icon {
- stroke: var(--bg-ink-100);
+ stroke: var(--l1-foreground);
}
}
}
diff --git a/frontend/src/components/DetailsDrawer/DetailsDrawer.styles.scss b/frontend/src/components/DetailsDrawer/DetailsDrawer.styles.scss
index 2a92f63a5a..5b66e9a9b8 100644
--- a/frontend/src/components/DetailsDrawer/DetailsDrawer.styles.scss
+++ b/frontend/src/components/DetailsDrawer/DetailsDrawer.styles.scss
@@ -1,10 +1,10 @@
.details-drawer {
.ant-drawer-wrapper-body {
- border-left: 1px solid var(--bg-slate-500);
+ border-left: 1px solid var(--l1-border);
}
.ant-drawer-header {
- background: var(--bg-ink-400);
- border-bottom: 1px solid var(--bg-slate-500);
+ background: var(--l2-background);
+ border-bottom: 1px solid var(--l1-border);
.ant-drawer-header-title {
display: flex;
@@ -14,12 +14,12 @@
margin-inline-end: 0px;
padding: 0px;
padding-right: 16px;
- border-right: 1px solid var(--bg-slate-500);
+ border-right: 1px solid var(--l1-border);
}
.ant-drawer-title {
padding-left: 16px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -31,7 +31,7 @@
}
.ant-drawer-body {
padding: 16px;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
&::-webkit-scrollbar {
width: 0.1rem;
@@ -50,11 +50,11 @@
flex-shrink: 0;
padding: 7px 20px;
border-radius: 2px 0px 0px 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
- color: #fff;
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -75,7 +75,7 @@
}
.ant-tabs-tab-active {
- background: var(--bg-slate-400);
+ background: var(--l3-background);
}
.ant-tabs-tab + .ant-tabs-tab {
@@ -91,44 +91,3 @@
}
}
}
-
-.lightMode {
- .details-drawer {
- .ant-drawer-wrapper-body {
- border-left: 1px solid var(--bg-vanilla-300);
- }
- .ant-drawer-header {
- background: var(--bg-vanilla-200);
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .ant-drawer-header-title {
- .ant-drawer-close {
- border-right: 1px solid var(--bg-vanilla-300);
- }
-
- .ant-drawer-title {
- color: var(--bg-ink-400);
- }
- }
- }
- .ant-drawer-body {
- background: var(--bg-vanilla-200);
- }
-
- .details-drawer-tabs {
- .ant-tabs-tab {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- }
-
- .ant-tabs-tab-active {
- background: var(--bg-vanilla-200);
- }
-
- .ant-tabs-tab + .ant-tabs-tab {
- border-left: none;
- }
- }
- }
-}
diff --git a/frontend/src/components/DownloadOptionsMenu/DownloadOptionsMenu.styles.scss b/frontend/src/components/DownloadOptionsMenu/DownloadOptionsMenu.styles.scss
index ca9f81e5c3..5dac42bd22 100644
--- a/frontend/src/components/DownloadOptionsMenu/DownloadOptionsMenu.styles.scss
+++ b/frontend/src/components/DownloadOptionsMenu/DownloadOptionsMenu.styles.scss
@@ -1,7 +1,7 @@
.download-popover {
.ant-popover-inner {
border-radius: 4px;
- border: 1px solid var(--l3-border);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
var(--l2-background) 0%,
@@ -46,7 +46,7 @@
.horizontal-line {
height: 1px;
- background: var(--l3-border);
+ background: var(--l1-border);
}
.export-button {
@@ -57,30 +57,3 @@
}
}
}
-
-.lightMode {
- .download-popover {
- .ant-popover-inner {
- border: 1px solid var(--l2-border);
- background: linear-gradient(
- 139deg,
- var(--background) 0%,
- var(--l1-background) 98.68%
- );
- box-shadow: 4px 10px 16px 2px rgba(255, 255, 255, 0.2);
- }
- .export-options-container {
- .title {
- color: var(--l2-foreground);
- }
-
- :global(.ant-radio-wrapper) {
- color: var(--foreground);
- }
-
- .horizontal-line {
- background: var(--l2-border);
- }
- }
- }
-}
diff --git a/frontend/src/components/EditMemberDrawer/EditMemberDrawer.styles.scss b/frontend/src/components/EditMemberDrawer/EditMemberDrawer.styles.scss
index 0666fddf80..baa3c5ebdf 100644
--- a/frontend/src/components/EditMemberDrawer/EditMemberDrawer.styles.scss
+++ b/frontend/src/components/EditMemberDrawer/EditMemberDrawer.styles.scss
@@ -32,7 +32,7 @@
&__input {
height: 32px;
background: var(--l2-background);
- border-color: var(--border);
+ border-color: var(--l1-border);
color: var(--l1-foreground);
box-shadow: none;
@@ -49,7 +49,7 @@
padding: var(--padding-1) var(--padding-2);
border-radius: 2px;
background: var(--l2-background);
- border: 1px solid var(--border);
+ border: 1px solid var(--l1-border);
&--disabled {
cursor: not-allowed;
@@ -122,7 +122,7 @@
width: 100%;
height: 56px;
padding: 0 var(--padding-4);
- border-top: 1px solid var(--border);
+ border-top: 1px solid var(--l1-border);
flex-shrink: 0;
background: var(--card);
}
@@ -142,7 +142,7 @@
&__footer-divider {
width: 1px;
height: 21px;
- background: var(--border);
+ background: var(--l1-border);
flex-shrink: 0;
}
@@ -175,7 +175,7 @@
}
&--danger {
- color: var(--destructive);
+ color: var(--accent-cherry);
}
&--warning {
@@ -186,7 +186,7 @@
.delete-dialog {
background: var(--l2-background);
- border: 1px solid var(--l2-border);
+ border: 1px solid var(--l1-border);
[data-slot='dialog-title'] {
color: var(--l1-foreground);
@@ -216,10 +216,10 @@
.reset-link-dialog {
background: var(--l2-background);
- border: 1px solid var(--l2-border);
+ border: 1px solid var(--l1-border);
[data-slot='dialog-header'] {
- border-color: var(--l2-border);
+ border-color: var(--l1-border);
color: var(--l1-foreground);
}
@@ -250,7 +250,7 @@
height: 32px;
overflow: hidden;
background: var(--l2-background);
- border: 1px solid var(--border);
+ border: 1px solid var(--l1-border);
border-radius: 2px;
}
@@ -280,7 +280,7 @@
border-top: none;
border-right: none;
border-bottom: none;
- border-left: 1px solid var(--border);
+ border-left: 1px solid var(--l1-border);
min-width: 64px;
}
}
diff --git a/frontend/src/components/EditMemberDrawer/EditMemberDrawer.tsx b/frontend/src/components/EditMemberDrawer/EditMemberDrawer.tsx
index bfd8b8774b..f6a0749bbd 100644
--- a/frontend/src/components/EditMemberDrawer/EditMemberDrawer.tsx
+++ b/frontend/src/components/EditMemberDrawer/EditMemberDrawer.tsx
@@ -1,11 +1,10 @@
import { useCallback, useEffect, useRef, useState } from 'react';
import { useCopyToClipboard } from 'react-use';
-import { Badge } from '@signozhq/badge';
import { Button } from '@signozhq/button';
import { DrawerWrapper } from '@signozhq/drawer';
import { LockKeyhole, RefreshCw, Trash2, X } from '@signozhq/icons';
import { Input } from '@signozhq/input';
-import { toast } from '@signozhq/sonner';
+import { Badge, toast } from '@signozhq/ui';
import { Skeleton, Tooltip } from 'antd';
import { convertToApiError } from 'api/ErrorResponseHandlerForGeneratedAPIs';
import type { RenderErrorResponseDTO } from 'api/generated/services/sigNoz.schemas';
diff --git a/frontend/src/components/EditMemberDrawer/__tests__/EditMemberDrawer.test.tsx b/frontend/src/components/EditMemberDrawer/__tests__/EditMemberDrawer.test.tsx
index 518dba97a2..d63dbf5e43 100644
--- a/frontend/src/components/EditMemberDrawer/__tests__/EditMemberDrawer.test.tsx
+++ b/frontend/src/components/EditMemberDrawer/__tests__/EditMemberDrawer.test.tsx
@@ -1,5 +1,5 @@
import type { ReactNode } from 'react';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { convertToApiError } from 'api/ErrorResponseHandlerForGeneratedAPIs';
import {
useCreateResetPasswordToken,
@@ -64,7 +64,8 @@ jest.mock('api/ErrorResponseHandlerForGeneratedAPIs', () => ({
convertToApiError: jest.fn(),
}));
-jest.mock('@signozhq/sonner', () => ({
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
toast: {
success: jest.fn(),
error: jest.fn(),
diff --git a/frontend/src/components/ErrorModal/ErrorModal.styles.scss b/frontend/src/components/ErrorModal/ErrorModal.styles.scss
index 87c2ea6edd..e9dd9931a5 100644
--- a/frontend/src/components/ErrorModal/ErrorModal.styles.scss
+++ b/frontend/src/components/ErrorModal/ErrorModal.styles.scss
@@ -5,7 +5,7 @@
align-items: center;
gap: 4px;
border-radius: 20px;
- background: rgba(229, 72, 77, 0.2);
+ background: color-mix(in srgb, var(--bg-cherry-500) 20%, transparent);
padding-left: 3px;
padding-right: 8px;
cursor: pointer;
@@ -21,11 +21,11 @@
&__wrap {
background: linear-gradient(
180deg,
- rgba(11, 12, 14, 0.12) 0.07%,
- rgba(39, 8, 14, 0.24) 50.04%,
- rgba(106, 29, 44, 0.36) 75.02%,
- rgba(197, 57, 85, 0.48) 87.51%,
- rgba(242, 71, 105, 0.6) 100%
+ color-mix(in srgb, var(--background) 12%, transparent) 0.07%,
+ color-mix(in srgb, var(--bg-sakura-950) 24%, transparent) 50.04%,
+ color-mix(in srgb, var(--bg-sakura-800) 36%, transparent) 75.02%,
+ color-mix(in srgb, var(--bg-sakura-600) 48%, transparent) 87.51%,
+ color-mix(in srgb, var(--bg-sakura-500) 60%, transparent) 100%
);
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
@@ -42,7 +42,7 @@
}
&__body {
padding: 0;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
overflow: hidden;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
@@ -72,21 +72,21 @@
text-transform: uppercase;
&,
&:hover {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
&__value {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
pointer-events: none;
}
}
.close-button {
padding: 3px 7px;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
display: inline-flex;
align-items: center;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
box-shadow: none;
}
}
@@ -102,17 +102,3 @@
background: none !important;
}
}
-
-.lightMode {
- .error-modal {
- &__body,
- &__header .close-button {
- background: var(--bg-vanilla-100);
- }
- &__header .close-button {
- svg {
- fill: var(--bg-vanilla-100);
- }
- }
- }
-}
diff --git a/frontend/src/components/ErrorModal/components/ErrorContent.styles.scss b/frontend/src/components/ErrorModal/components/ErrorContent.styles.scss
index a00f2111f3..75c2d6c3ab 100644
--- a/frontend/src/components/ErrorModal/components/ErrorContent.styles.scss
+++ b/frontend/src/components/ErrorModal/components/ErrorContent.styles.scss
@@ -5,7 +5,7 @@
&__summary-section {
display: flex;
flex-direction: column;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
}
&__summary {
@@ -27,7 +27,7 @@
}
&__error-code {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
margin: 0;
font-size: 16px;
font-weight: 500;
@@ -37,7 +37,7 @@
&__error-message {
margin: 0;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 400;
line-height: 20px; /* 142.857% */
@@ -49,14 +49,14 @@
align-items: center;
gap: 6px;
padding: 9px 12.5px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-weight: 400;
line-height: 18px; /* 150% */
letter-spacing: 0.12px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: none;
}
@@ -68,7 +68,7 @@
.key-value-label {
width: fit-content;
- border-color: var(--bg-slate-400);
+ border-color: var(--l1-border);
border-radius: 20px;
overflow: hidden;
&__key {
@@ -77,7 +77,7 @@
}
&__value {
padding-right: 10px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-weight: 500;
line-height: 18px; /* 150% */
@@ -96,7 +96,7 @@
border-radius: 50%;
}
&-text {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 10px;
font-weight: 500;
line-height: 18px; /* 180% */
@@ -106,7 +106,11 @@
&-line {
flex: 1;
height: 8px;
- background-image: radial-gradient(circle, #444c63 1px, transparent 2px);
+ background-image: radial-gradient(
+ circle,
+ var(--l3-background) 1px,
+ transparent 2px
+ );
background-size: 8px 11px;
background-position: top left;
padding: 6px;
@@ -129,12 +133,11 @@
&__message-item {
position: relative;
margin-bottom: 4px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Geist Mono;
font-size: 12px;
font-weight: 400;
line-height: 18px;
- color: var(--bg-vanilla-400);
padding: 3px 12px;
padding-left: 26px;
}
@@ -149,7 +152,7 @@
width: 2px;
height: 4px;
border-radius: 50px;
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
&__scroll-hint {
@@ -164,7 +167,7 @@
justify-content: center;
align-items: center;
gap: 3px;
- background: var(--bg-slate-200);
+ background: var(--l1-border);
border-radius: 20px;
box-shadow: 0px 103px 12px 0px rgba(0, 0, 0, 0.01),
0px 66px 18px 0px rgba(0, 0, 0, 0.01), 0px 37px 22px 0px rgba(0, 0, 0, 0.03),
@@ -172,7 +175,7 @@
}
&__scroll-hint-text {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 12px;
font-weight: 400;
@@ -180,29 +183,3 @@
letter-spacing: -0.06px;
}
}
-
-.lightMode {
- .error-content {
- &__error-code {
- color: var(--bg-ink-100);
- }
- &__error-message {
- color: var(--bg-ink-400);
- }
- &__message-item {
- color: var(--bg-ink-400);
- }
- &__message-badge {
- &-label-text {
- color: var(--bg-ink-400);
- }
- .key-value-label__value {
- color: var(--bg-ink-400);
- }
- }
- &__docs-button {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-100);
- }
- }
-}
diff --git a/frontend/src/components/Header/Header.styles.scss b/frontend/src/components/Header/Header.styles.scss
index ec19029a96..6219c47f87 100644
--- a/frontend/src/components/Header/Header.styles.scss
+++ b/frontend/src/components/Header/Header.styles.scss
@@ -5,9 +5,8 @@
padding: 8px 16px;
height: 48px;
box-sizing: border-box;
- background: rgba(11, 12, 14, 0.9);
+ background: var(--l1-background);
backdrop-filter: blur(20px);
- border-bottom: 1px solid var(--Slate-500, #161922);
}
.header-left {
@@ -19,11 +18,3 @@
display: flex;
align-items: center;
}
-
-.lightMode {
- .header-container {
- background: var(--bg-vanilla-100);
- backdrop-filter: blur(20px);
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
-}
diff --git a/frontend/src/components/HeaderRightSection/FeedbackModal.tsx b/frontend/src/components/HeaderRightSection/FeedbackModal.tsx
index fa18ae68a5..1eea397408 100644
--- a/frontend/src/components/HeaderRightSection/FeedbackModal.tsx
+++ b/frontend/src/components/HeaderRightSection/FeedbackModal.tsx
@@ -1,6 +1,6 @@
import { useCallback, useEffect, useState } from 'react';
import { useLocation } from 'react-router-dom';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { Button, Input, Radio, RadioChangeEvent, Typography } from 'antd';
import logEvent from 'api/common/logEvent';
import { useGetTenantLicense } from 'hooks/useGetTenantLicense';
diff --git a/frontend/src/components/HeaderRightSection/HeaderRightSection.styles.scss b/frontend/src/components/HeaderRightSection/HeaderRightSection.styles.scss
index 910200e988..913479ca63 100644
--- a/frontend/src/components/HeaderRightSection/HeaderRightSection.styles.scss
+++ b/frontend/src/components/HeaderRightSection/HeaderRightSection.styles.scss
@@ -23,7 +23,7 @@
justify-content: space-between;
.absolute-relative-time-toggler-label {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 13px;
font-style: normal;
font-weight: 500;
@@ -40,7 +40,7 @@
.absolute-relative-time-error {
font-size: 12px;
- color: var(--bg-amber-600);
+ color: var(--accent-amber);
}
.share-link {
@@ -57,7 +57,7 @@
.url-share-title,
.url-share-sub-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 13px;
font-style: normal;
font-weight: 500;
@@ -67,7 +67,7 @@
.url-share-sub-title {
font-size: 12px;
- color: var(--bg-vanilla-300);
+ color: var(--l3-foreground);
font-weight: 400;
line-height: 18px;
letter-spacing: -0.06px;
@@ -86,14 +86,14 @@
flex: 1;
margin: 0px !important;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
&:before {
display: none;
}
.ant-radio-button-checked {
- background-color: var(--bg-slate-400);
+ background-color: var(--l3-background);
}
}
@@ -108,15 +108,15 @@
}
.feedback-tab {
- background-color: var(--bg-sakura-500);
+ background-color: var(--danger-background);
}
.bug-tab {
- background-color: var(--bg-amber-500);
+ background-color: var(--warning-background);
}
.feature-tab {
- background-color: var(--bg-robin-500);
+ background-color: var(--primary-background);
}
}
@@ -125,9 +125,9 @@
padding: 6px 16px;
border-radius: 2px;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
margin: 0 !important;
@@ -140,13 +140,13 @@
}
&-active {
- background: var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ background: var(--l3-background);
+ color: var(--l1-foreground);
border-bottom: none !important;
.ant-tabs-tab-btn {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
@@ -181,7 +181,7 @@
.feedback-modal-content-footer-info-text {
font-size: 12px;
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
text-align: center;
/* button/ small */
@@ -200,54 +200,3 @@
}
}
}
-
-.lightMode {
- .share-modal-content,
- .feedback-modal-container {
- .absolute-relative-time-toggler-container {
- .absolute-relative-time-toggler-label {
- color: var(--bg-ink-400);
- }
- }
-
- .share-link {
- .url-share-container {
- .url-share-container-header {
- .url-share-title,
- .url-share-sub-title {
- color: var(--bg-ink-400);
- }
-
- .url-share-sub-title {
- color: var(--bg-ink-300);
- }
- }
- }
- }
- }
-
- .feedback-modal-container {
- .feedback-modal-tabs {
- .ant-radio-button-wrapper {
- flex: 1;
- margin: 0px !important;
-
- border: 1px solid var(--bg-vanilla-300);
-
- &:before {
- display: none;
- }
-
- .ant-radio-button-checked {
- background-color: var(--bg-vanilla-300);
- }
- }
- }
-
- .feedback-modal-content-footer {
- .feedback-modal-content-footer-info-text {
- color: var(--bg-slate-400);
- }
- }
- }
-}
diff --git a/frontend/src/components/HeaderRightSection/__tests__/FeedbackModal.test.tsx b/frontend/src/components/HeaderRightSection/__tests__/FeedbackModal.test.tsx
index a73d2fb4e3..0c3ea06282 100644
--- a/frontend/src/components/HeaderRightSection/__tests__/FeedbackModal.test.tsx
+++ b/frontend/src/components/HeaderRightSection/__tests__/FeedbackModal.test.tsx
@@ -1,6 +1,6 @@
// Mock dependencies before imports
import { useLocation } from 'react-router-dom';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { render, screen } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import logEvent from 'api/common/logEvent';
@@ -19,7 +19,8 @@ jest.mock('react-router-dom', () => ({
useLocation: jest.fn(),
}));
-jest.mock('@signozhq/sonner', () => ({
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
toast: {
success: jest.fn(),
error: jest.fn(),
diff --git a/frontend/src/components/HostMetricsDetail/Containers/Containers.styles.scss b/frontend/src/components/HostMetricsDetail/Containers/Containers.styles.scss
index 925ec30f2a..df5d958cc7 100644
--- a/frontend/src/components/HostMetricsDetail/Containers/Containers.styles.scss
+++ b/frontend/src/components/HostMetricsDetail/Containers/Containers.styles.scss
@@ -28,7 +28,7 @@
.infra-container-card-text {
font-size: var(--font-size-sm);
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
line-height: 20px;
letter-spacing: -0.07px;
width: 400px;
@@ -44,7 +44,7 @@
align-items: flex-start;
gap: 12px;
border-radius: 4px;
- background: rgba(171, 189, 255, 0.04);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
.ant-space {
align-items: flex-start;
@@ -58,9 +58,3 @@
margin: auto;
}
}
-
-.lightMode {
- .infra-container-card-text {
- color: var(--text-ink-200);
- }
-}
diff --git a/frontend/src/components/HostMetricsDetail/HostMetricTraces/HostMetricTraces.styles.scss b/frontend/src/components/HostMetricsDetail/HostMetricTraces/HostMetricTraces.styles.scss
index 2bcabd1b30..1c11bf8daf 100644
--- a/frontend/src/components/HostMetricsDetail/HostMetricTraces/HostMetricTraces.styles.scss
+++ b/frontend/src/components/HostMetricsDetail/HostMetricTraces/HostMetricTraces.styles.scss
@@ -9,15 +9,15 @@
gap: 8px;
padding: 12px;
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.filter-section {
flex: 1;
.ant-select-selector {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400) !important;
- background-color: var(--bg-ink-300) !important;
+ border: 1px solid var(--l1-border) !important;
+ background-color: var(--l3-background) !important;
input {
font-size: 12px;
@@ -37,7 +37,7 @@
.ant-table {
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.ant-table-thead > tr > th {
padding: 12px;
@@ -45,10 +45,10 @@
font-size: 12px;
line-height: 18px;
- background: rgba(171, 189, 255, 0.01);
+ background: color-mix(in srgb, var(--bg-robin-200) 1%, transparent);
border-bottom: none;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -63,23 +63,23 @@
}
.ant-table-thead > tr > th:has(.hostname-column-header) {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.ant-table-cell {
padding: 12px;
font-size: 13px;
line-height: 20px;
- color: var(--bg-vanilla-100);
- background: rgba(171, 189, 255, 0.01);
+ color: var(--l1-foreground);
+ background: color-mix(in srgb, var(--bg-robin-200) 1%, transparent);
}
.ant-table-cell:has(.hostname-column-value) {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.hostname-column-value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-style: normal;
font-weight: 600;
@@ -105,7 +105,7 @@
}
.ant-table-tbody > tr:hover > td {
- background: rgba(255, 255, 255, 0.04);
+ background: color-mix(in srgb, var(--l1-foreground) 4%, transparent);
}
.ant-table-cell:first-child {
@@ -143,51 +143,3 @@
}
}
}
-
-.lightMode {
- .host-metric-traces-header {
- .filter-section {
- border-top: 1px solid var(--bg-vanilla-300);
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .ant-select-selector {
- border-color: var(--bg-vanilla-300) !important;
- background-color: var(--bg-vanilla-100) !important;
- color: var(--bg-ink-200);
- }
- }
- }
-
- .host-metric-traces-table {
- .ant-table {
- border-radius: 3px;
- border: 1px solid var(--bg-vanilla-300);
-
- .ant-table-thead > tr > th {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- }
-
- .ant-table-thead > tr > th:has(.hostname-column-header) {
- background: var(--bg-vanilla-100);
- }
-
- .ant-table-cell {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-500);
- }
-
- .ant-table-cell:has(.hostname-column-value) {
- background: var(--bg-vanilla-100);
- }
-
- .hostname-column-value {
- color: var(--bg-ink-300);
- }
-
- .ant-table-tbody > tr:hover > td {
- background: rgba(0, 0, 0, 0.04);
- }
- }
- }
-}
diff --git a/frontend/src/components/HostMetricsDetail/HostMetricsDetail.styles.scss b/frontend/src/components/HostMetricsDetail/HostMetricsDetail.styles.scss
index 219c0bd464..6d073c2a2b 100644
--- a/frontend/src/components/HostMetricsDetail/HostMetricsDetail.styles.scss
+++ b/frontend/src/components/HostMetricsDetail/HostMetricsDetail.styles.scss
@@ -1,6 +1,6 @@
.host-detail-drawer {
- border-left: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border-left: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: -4px 10px 16px 2px rgba(0, 0, 0, 0.2);
.ant-drawer-header {
@@ -9,8 +9,8 @@
align-items: stretch;
- border-bottom: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border-bottom: 1px solid var(--l1-border);
+ background: var(--l2-background);
}
.ant-drawer-close {
@@ -24,7 +24,7 @@
}
.title {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Geist Mono';
font-size: 14px;
font-style: normal;
@@ -38,8 +38,8 @@
align-items: center;
justify-content: center;
padding-top: var(--padding-1);
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
@@ -58,7 +58,7 @@
}
.host-details-metadata-label {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -97,7 +97,7 @@
.ant-card {
&.ant-card-bordered {
- border: 1px solid var(--bg-slate-500) !important;
+ border: 1px solid var(--l1-border) !important;
}
}
}
@@ -111,8 +111,8 @@
.action-btn {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
@@ -127,7 +127,7 @@
align-items: center;
.views-tabs {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
.view-title {
display: flex;
@@ -140,22 +140,22 @@
}
.tab {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
width: 114px;
}
.tab::before {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
.selected_view {
- background: var(--bg-slate-300);
- color: var(--text-vanilla-100);
- border: 1px solid var(--bg-slate-400);
+ background: var(--l3-background);
+ color: var(--l1-foreground);
+ border: 1px solid var(--l1-border);
}
.selected_view::before {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
}
@@ -164,8 +164,8 @@
height: 30px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
}
@@ -174,60 +174,3 @@
padding: 0px;
}
}
-
-.lightMode {
- .ant-drawer-header {
- border-bottom: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100);
- }
-
- .host-detail-drawer {
- .title {
- color: var(--text-ink-300);
- }
-
- .host-detail-drawer__host {
- .ant-typography {
- color: var(--text-ink-300);
- background: transparent;
- }
- }
-
- .radio-button {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- }
-
- .views-tabs {
- .tab {
- background: var(--bg-vanilla-100);
- }
-
- .selected_view {
- background: var(--bg-vanilla-300);
- border: 1px solid var(--bg-slate-300);
- color: var(--text-ink-400);
- }
-
- .selected_view::before {
- background: var(--bg-vanilla-300);
- border-left: 1px solid var(--bg-slate-300);
- }
- }
-
- .compass-button {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
- }
-
- .tabs-and-search {
- .action-btn {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- }
- }
- }
-}
diff --git a/frontend/src/components/HostMetricsDetail/HostMetricsLogs/HostMetricLogs.styles.scss b/frontend/src/components/HostMetricsDetail/HostMetricsLogs/HostMetricLogs.styles.scss
index 256b9f2221..47101fce43 100644
--- a/frontend/src/components/HostMetricsDetail/HostMetricsLogs/HostMetricLogs.styles.scss
+++ b/frontend/src/components/HostMetricsDetail/HostMetricsLogs/HostMetricLogs.styles.scss
@@ -6,8 +6,7 @@
.ant-select-selector {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400) !important;
- background-color: var(--bg-ink-300) !important;
+ border: 1px solid var(--l1-border) !important;
input {
font-size: 12px;
@@ -26,7 +25,7 @@
padding: 12px;
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
}
.host-metrics-logs {
@@ -45,11 +44,11 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l1-border);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-200);
+ background: var(--l1-border);
}
.ant-row {
@@ -118,16 +117,3 @@
gap: 16px;
}
}
-
-.lightMode {
- .filter-section {
- border-top: 1px solid var(--bg-vanilla-300);
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .ant-select-selector {
- border-color: var(--bg-vanilla-300) !important;
- background-color: var(--bg-vanilla-100) !important;
- color: var(--bg-ink-200);
- }
- }
-}
diff --git a/frontend/src/components/HostMetricsDetail/Metrics/Metrics.styles.scss b/frontend/src/components/HostMetricsDetail/Metrics/Metrics.styles.scss
index 3978680c09..65dcd00fdb 100644
--- a/frontend/src/components/HostMetricsDetail/Metrics/Metrics.styles.scss
+++ b/frontend/src/components/HostMetricsDetail/Metrics/Metrics.styles.scss
@@ -17,7 +17,7 @@
gap: 8px;
padding: 12px;
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
}
.host-metrics-card {
@@ -25,7 +25,7 @@
height: 300px;
padding: 10px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.ant-card-body {
padding: 0;
diff --git a/frontend/src/components/HostMetricsDetail/Processes/Processes.styles.scss b/frontend/src/components/HostMetricsDetail/Processes/Processes.styles.scss
index b1e4fda451..c4429b186a 100644
--- a/frontend/src/components/HostMetricsDetail/Processes/Processes.styles.scss
+++ b/frontend/src/components/HostMetricsDetail/Processes/Processes.styles.scss
@@ -28,7 +28,7 @@
.infra-container-card-text {
font-size: var(--font-size-sm);
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
line-height: 20px;
letter-spacing: -0.07px;
width: 400px;
@@ -44,7 +44,7 @@
align-items: flex-start;
gap: 12px;
border-radius: 4px;
- background: rgba(171, 189, 255, 0.04);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
.ant-space {
align-items: flex-start;
@@ -58,9 +58,3 @@
margin: auto;
}
}
-
-.lightMode {
- .infra-container-card-text {
- color: var(--text-ink-200);
- }
-}
diff --git a/frontend/src/components/HttpStatusBadge/HttpStatusBadge.tsx b/frontend/src/components/HttpStatusBadge/HttpStatusBadge.tsx
index 97a3eb0809..0b27ca8124 100644
--- a/frontend/src/components/HttpStatusBadge/HttpStatusBadge.tsx
+++ b/frontend/src/components/HttpStatusBadge/HttpStatusBadge.tsx
@@ -1,4 +1,4 @@
-import { Badge } from '@signozhq/badge';
+import { Badge } from '@signozhq/ui';
type BadgeColor =
| 'vanilla'
diff --git a/frontend/src/components/InputWithLabel/InputWithLabel.styles.scss b/frontend/src/components/InputWithLabel/InputWithLabel.styles.scss
index d79a6ff7c4..9d74b8ab13 100644
--- a/frontend/src/components/InputWithLabel/InputWithLabel.styles.scss
+++ b/frontend/src/components/InputWithLabel/InputWithLabel.styles.scss
@@ -5,7 +5,7 @@
border-radius: 2px 0px 0px 2px;
.label {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-style: normal;
font-weight: 500;
@@ -21,8 +21,8 @@
padding: 0px 8px;
border-radius: 2px 0px 0px 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
display: flex;
justify-content: flex-start;
@@ -36,7 +36,7 @@
font-family: 'Space Mono', monospace !important;
border-radius: 2px 0px 0px 2px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
border-right: none;
border-left: none;
@@ -47,7 +47,7 @@
font-size: 12px !important;
line-height: 27px;
&::placeholder {
- color: var(--bg-vanilla-400) !important;
+ color: var(--l2-foreground) !important;
font-size: 12px !important;
}
&[type='number']::-webkit-inner-spin-button,
@@ -61,8 +61,8 @@
.close-btn {
border-radius: 0px 2px 2px 0px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
height: 38px;
width: 38px;
}
@@ -70,8 +70,8 @@
&.labelAfter {
.input {
border-radius: 0px 2px 2px 0px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
@@ -83,31 +83,3 @@
}
}
}
-
-.lightMode {
- .input-with-label {
- .label {
- color: var(--bg-ink-500) !important;
-
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
- }
-
- .input {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
- }
-
- .close-btn {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
- }
-
- &.labelAfter {
- .input {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
- }
- }
- }
-}
diff --git a/frontend/src/components/InviteMembersModal/InviteMembersModal.styles.scss b/frontend/src/components/InviteMembersModal/InviteMembersModal.styles.scss
index 334cb883c9..b87920d328 100644
--- a/frontend/src/components/InviteMembersModal/InviteMembersModal.styles.scss
+++ b/frontend/src/components/InviteMembersModal/InviteMembersModal.styles.scss
@@ -19,7 +19,7 @@
font-weight: var(--label-base-400-font-weight);
line-height: var(--label-base-400-line-height);
letter-spacing: -0.065px;
- color: var(--bg-base-white);
+ color: var(--l1-foreground);
margin: 0;
}
@@ -116,7 +116,7 @@
height: 32px;
color: var(--l1-foreground);
background-color: var(--l2-background);
- border-color: var(--border);
+ border-color: var(--l1-border);
font-size: var(--paragraph-base-400-font-size);
&::placeholder {
@@ -149,7 +149,7 @@
.ant-select-selection-item {
font-size: var(--paragraph-base-400-font-size);
letter-spacing: -0.07px;
- color: var(--bg-base-white);
+ color: var(--l1-foreground);
line-height: 32px;
}
}
@@ -181,7 +181,7 @@
box-shadow: none;
&:hover {
- background: rgba(229, 72, 77, 0.1);
+ background: color-mix(in srgb, var(--bg-cherry-500) 10%, transparent);
opacity: 0.9;
}
}
@@ -196,8 +196,8 @@
}
.invite-team-members-error-callout {
- background: rgba(229, 72, 77, 0.1);
- border: 1px solid rgba(229, 72, 77, 0.2);
+ background: color-mix(in srgb, var(--bg-cherry-500) 10%, transparent);
+ border: 1px solid color-mix(in srgb, var(--bg-cherry-500) 20%, transparent);
border-radius: 4px;
animation: horizontal-shaking 300ms ease-out;
}
@@ -246,19 +246,3 @@
color: var(--l1-foreground);
}
}
-
-.lightMode {
- .invite-members-modal {
- [data-slot='dialog-title'] {
- color: var(--bg-base-black);
- }
- }
-
- .team-member-role-select {
- .ant-select-selector {
- .ant-select-selection-item {
- color: var(--bg-base-black);
- }
- }
- }
-}
diff --git a/frontend/src/components/InviteMembersModal/InviteMembersModal.tsx b/frontend/src/components/InviteMembersModal/InviteMembersModal.tsx
index 1f1160ddca..d24e951451 100644
--- a/frontend/src/components/InviteMembersModal/InviteMembersModal.tsx
+++ b/frontend/src/components/InviteMembersModal/InviteMembersModal.tsx
@@ -5,7 +5,7 @@ import { Style } from '@signozhq/design-tokens';
import { DialogFooter, DialogWrapper } from '@signozhq/dialog';
import { ChevronDown, CircleAlert, Plus, Trash2, X } from '@signozhq/icons';
import { Input } from '@signozhq/input';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { Select } from 'antd';
import inviteUsers from 'api/v1/invite/bulk/create';
import sendInvite from 'api/v1/invite/create';
diff --git a/frontend/src/components/InviteMembersModal/__tests__/InviteMembersModal.test.tsx b/frontend/src/components/InviteMembersModal/__tests__/InviteMembersModal.test.tsx
index 40eacc4c4d..558b1d9151 100644
--- a/frontend/src/components/InviteMembersModal/__tests__/InviteMembersModal.test.tsx
+++ b/frontend/src/components/InviteMembersModal/__tests__/InviteMembersModal.test.tsx
@@ -14,7 +14,8 @@ const makeApiError = (message: string, code = StatusCodes.CONFLICT): APIError =>
jest.mock('api/v1/invite/create');
jest.mock('api/v1/invite/bulk/create');
-jest.mock('@signozhq/sonner', () => ({
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
toast: {
success: jest.fn(),
error: jest.fn(),
diff --git a/frontend/src/components/LaunchChatSupport/LaunchChatSupport.styles.scss b/frontend/src/components/LaunchChatSupport/LaunchChatSupport.styles.scss
index 2cf239dfd9..c2f3b8c931 100644
--- a/frontend/src/components/LaunchChatSupport/LaunchChatSupport.styles.scss
+++ b/frontend/src/components/LaunchChatSupport/LaunchChatSupport.styles.scss
@@ -8,18 +8,6 @@
}
}
-.lightMode {
- .facing-issue-button {
- color: var(--bg-vanilla-500);
- border-color: var(--bg-vanilla-300);
-
- > .ant-btn:hover {
- color: var(--bg-vanilla-500) !important;
- border-color: var(--bg-vanilla-300) !important;
- }
- }
-}
-
.tooltip-overlay {
text-wrap: nowrap;
.ant-tooltip-inner {
diff --git a/frontend/src/components/LogDetail/LogDetails.styles.scss b/frontend/src/components/LogDetail/LogDetails.styles.scss
index fab241ebd6..4c2713dfce 100644
--- a/frontend/src/components/LogDetail/LogDetails.styles.scss
+++ b/frontend/src/components/LogDetail/LogDetails.styles.scss
@@ -1,6 +1,6 @@
.log-detail-drawer {
- border-left: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border-left: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: -4px 10px 16px 2px rgba(0, 0, 0, 0.2);
.log-detail-drawer__title {
@@ -30,8 +30,8 @@
align-items: stretch;
- border-bottom: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border-bottom: 1px solid var(--l1-border);
+ background: var(--l2-background);
}
.ant-drawer-close {
@@ -46,7 +46,7 @@
}
.title {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: var(--font-size-sm);
font-style: normal;
@@ -60,8 +60,8 @@
align-items: center;
justify-content: center;
padding-top: var(--padding-1);
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
@@ -91,31 +91,31 @@
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
opacity: 0.6;
}
.log-type-indicator {
height: 24px;
- border: 2px solid var(--bg-slate-400);
+ border: 2px solid var(--l1-border);
border-radius: 5px;
margin-left: 0;
&.INFO {
- border-color: #1d212d;
+ border-color: var(--l1-border);
}
&.WARNING {
- border-color: #ffcd56;
+ border-color: var(--bg-amber-400);
}
&.ERROR {
- border-color: #e5484d;
+ border-color: var(--bg-cherry-500);
}
}
.log-overflow-shadow {
- background: linear-gradient(270deg, #121317 10.4%, rgba(18, 19, 23, 0) 100%);
+ background: linear-gradient(270deg, var(--card) 10.4%, transparent 100%);
width: 196px;
position: absolute;
@@ -131,8 +131,8 @@
.action-btn {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
@@ -146,7 +146,7 @@
}
.views-tabs {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
.view-title {
display: flex;
@@ -159,28 +159,28 @@
}
.tab {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
width: 114px;
}
.tab::before {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
.selected_view {
- background: var(--bg-slate-300);
- color: var(--text-vanilla-100);
- border: 1px solid var(--bg-slate-400);
+ background: var(--l3-background);
+ color: var(--l1-foreground);
+ border: 1px solid var(--l1-border);
}
.selected_view::before {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
}
.search-input {
margin-top: var(--margin-2);
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
height: 46px;
padding: var(--padding-1) var(--padding-2);
box-shadow: none;
@@ -197,8 +197,8 @@
right: 0;
padding: 8px 16px;
text-align: left;
- color: var(--text-vanilla-200);
- background: var(--bg-ink-400);
+ color: var(--l3-foreground);
+ background: var(--l2-background);
z-index: 10;
.log-detail-drawer__footer-hint-content {
@@ -210,7 +210,7 @@
.log-detail-drawer__footer-hint-icon {
display: inline;
vertical-align: middle;
- color: var(--text-vanilla-200);
+ color: var(--l3-foreground);
}
.log-detail-drawer__footer-hint-text {
@@ -232,9 +232,9 @@
min-width: 28px;
height: 28px;
border-radius: 4px;
- background: var(--bg-ink-400);
- color: var(--text-vanilla-400);
- border: 1px solid var(--bg-ink-300);
+ background: var(--l2-background);
+ color: var(--l2-foreground);
+ border: 1px solid var(--l1-border);
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
display: flex;
align-items: center;
@@ -244,154 +244,24 @@
.log-arrow-btn-up,
.log-arrow-btn-down {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.log-arrow-btn:active,
.log-arrow-btn:focus {
- background: var(--bg-ink-300);
- color: var(--text-vanilla-100);
+ background: var(--l3-background);
+ color: var(--l1-foreground);
}
.log-arrow-btn[disabled] {
opacity: 0.5;
cursor: not-allowed;
- background: var(--bg-ink-500);
- color: var(--text-vanilla-200);
+ background: var(--l1-background);
+ color: var(--l3-foreground);
.log-arrow-btn:hover:not([disabled]) {
- background: var(--bg-ink-300);
- color: var(--text-vanilla-100);
- }
- }
-}
-
-.lightMode {
- .log-arrows {
- background: var(--bg-vanilla-100);
- box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.04);
- }
-
- .log-arrow-btn {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-400);
- border: 1px solid var(--bg-vanilla-300);
- box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
- }
-
- .log-arrow-btn-up,
- .log-arrow-btn-down {
- background: var(--bg-vanilla-100);
- }
-
- .log-arrow-btn:active,
- .log-arrow-btn:focus {
- background: var(--bg-vanilla-200);
- color: var(--text-ink-500);
- }
-
- .log-arrow-btn:hover:not([disabled]) {
- background: var(--bg-vanilla-200);
- color: var(--text-ink-500);
- }
-
- .log-arrow-btn[disabled] {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-200);
- }
- .ant-drawer-header {
- border-bottom: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100);
- }
-
- .log-detail-drawer {
- .title {
- color: var(--text-ink-300);
- }
-
- .log-detail-drawer__log {
- .log-overflow-shadow {
- background: linear-gradient(
- 270deg,
- var(--bg-vanilla-100) 10.4%,
- rgba(255, 255, 255, 0) 100%
- );
- }
-
- .log-type-indicator {
- border: 2px solid var(--bg-vanilla-400);
- }
-
- .ant-typography {
- color: var(--text-ink-300);
- background: transparent;
- }
- }
-
- .radio-button {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- }
-
- .views-tabs {
- .tab {
- background: var(--bg-vanilla-100);
- }
-
- .selected_view {
- background: var(--bg-vanilla-300);
- border: 1px solid var(--bg-slate-300);
- color: var(--text-ink-400);
- }
-
- .selected_view::before {
- background: var(--bg-vanilla-300);
- border-left: 1px solid var(--bg-slate-300);
- }
- }
-
- .tabs-and-search {
- .action-btn {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- }
- }
-
- .search-input {
- border: 1px solid var(--bg-vanilla-200);
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- }
- }
-
- .log-detail-drawer__footer-hint {
- position: sticky;
- bottom: 0;
- left: 0;
- right: 0;
- padding: 8px 16px;
- text-align: left;
- color: var(--text-vanilla-700);
- background: var(--bg-vanilla-100);
- z-index: 10;
-
- .log-detail-drawer__footer-hint-content {
- display: flex;
- align-items: center;
- gap: 4px;
- }
-
- .log-detail-drawer__footer-hint-icon {
- display: inline;
- vertical-align: middle;
- color: var(--text-vanilla-700);
- }
-
- .log-detail-drawer__footer-hint-text {
- font-size: 13px;
- margin: 0;
+ background: var(--l3-background);
+ color: var(--l1-foreground);
}
}
}
diff --git a/frontend/src/components/LogDetail/QueryBuilderSearchWrapper.styles.scss b/frontend/src/components/LogDetail/QueryBuilderSearchWrapper.styles.scss
index 2a6822dc00..d8ec0457c2 100644
--- a/frontend/src/components/LogDetail/QueryBuilderSearchWrapper.styles.scss
+++ b/frontend/src/components/LogDetail/QueryBuilderSearchWrapper.styles.scss
@@ -1,6 +1,6 @@
.query-builder-search-wrapper {
margin-top: 10px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
border-bottom: none;
.ant-select-selector {
diff --git a/frontend/src/components/Logs/ListLogView/ListLogView.styles.scss b/frontend/src/components/Logs/ListLogView/ListLogView.styles.scss
index 4921c414a2..7a1f93ee4a 100644
--- a/frontend/src/components/Logs/ListLogView/ListLogView.styles.scss
+++ b/frontend/src/components/Logs/ListLogView/ListLogView.styles.scss
@@ -6,7 +6,7 @@
}
.log-field-key,
.log-field-key-colon {
- color: var(--text-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-size: 14px;
font-style: normal;
font-weight: 400;
@@ -41,7 +41,7 @@
flex-shrink: 0;
}
.log-value {
- color: var(--text-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-size: 14px;
font-style: normal;
font-weight: 400;
@@ -104,7 +104,7 @@
.selected-log-value {
color: var(--bg-sienna-500);
border-radius: 2px;
- background: rgba(173, 127, 88, 0.08);
+ background: color-mix(in srgb, var(--bg-sienna-500) 8%, transparent);
padding: 0px 2px;
margin-left: 7px;
font-weight: 400;
@@ -154,8 +154,8 @@
height: 32px;
width: 68px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400, #1d212d);
- background: var(--bg-ink-400, #121317);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
.context-btn {
@@ -163,7 +163,7 @@
}
.copy-link-btn {
width: 50% !important;
- border-left: 1px solid var(--bg-slate-400, #1d212d) !important;
+ border-left: 1px solid var(--l1-border) !important;
}
.ant-btn-default {
@@ -172,16 +172,6 @@
}
}
-.lightMode {
- .log-field-key,
- .log-field-key-colon {
- color: var(--text-slate-400);
- }
- .log-value {
- color: var(--text-slate-400);
- }
-}
-
.dark {
.log-field-key,
.log-field-key-colon {
diff --git a/frontend/src/components/Logs/LogLinesActionButtons/LogLinesActionButtons.styles.scss b/frontend/src/components/Logs/LogLinesActionButtons/LogLinesActionButtons.styles.scss
index 85ac73befa..376d3e7582 100644
--- a/frontend/src/components/Logs/LogLinesActionButtons/LogLinesActionButtons.styles.scss
+++ b/frontend/src/components/Logs/LogLinesActionButtons/LogLinesActionButtons.styles.scss
@@ -6,8 +6,8 @@
right: 0;
cursor: pointer;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.ant-btn-default {
border: none;
@@ -18,13 +18,13 @@
display: flex;
&.active-tab {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
}
}
.copy-log-btn {
- border-left: 1px solid var(--bg-slate-400);
- border-color: var(--bg-slate-400) !important;
+ border-left: 1px solid var(--l1-border);
+ border-color: var(--l1-border) !important;
}
}
@@ -38,15 +38,3 @@
margin: 0;
z-index: 5;
}
-
-.lightMode {
- .log-line-action-buttons {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-400);
-
- .copy-log-btn {
- border-left: 1px solid var(--bg-vanilla-400);
- border-color: var(--bg-vanilla-400) !important;
- }
- }
-}
diff --git a/frontend/src/components/Logs/LogStateIndicator/LogStateIndicator.styles.scss b/frontend/src/components/Logs/LogStateIndicator/LogStateIndicator.styles.scss
index b3e51fe54f..2cc0881c42 100644
--- a/frontend/src/components/Logs/LogStateIndicator/LogStateIndicator.styles.scss
+++ b/frontend/src/components/Logs/LogStateIndicator/LogStateIndicator.styles.scss
@@ -60,7 +60,7 @@
background-color: var(--bg-robin-600);
}
&.severity-info-1 {
- background-color: var(--bg-robin-500);
+ background-color: var(--primary-background);
}
&.severity-info-2 {
background-color: var(--bg-robin-400);
diff --git a/frontend/src/components/Logs/TableView/useTableView.styles.scss b/frontend/src/components/Logs/TableView/useTableView.styles.scss
index 53f76d6e40..edb15f0cc1 100644
--- a/frontend/src/components/Logs/TableView/useTableView.styles.scss
+++ b/frontend/src/components/Logs/TableView/useTableView.styles.scss
@@ -1,5 +1,5 @@
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-style: normal;
font-weight: 400;
@@ -38,12 +38,6 @@
}
}
-.lightMode {
- .text {
- color: var(--bg-slate-400);
- }
-}
-
.paragraph {
margin: 0;
padding: 0px !important;
diff --git a/frontend/src/components/LogsFormatOptionsMenu/LogsFormatOptionsMenu.styles.scss b/frontend/src/components/LogsFormatOptionsMenu/LogsFormatOptionsMenu.styles.scss
index 49cf59e841..accc452eee 100644
--- a/frontend/src/components/LogsFormatOptionsMenu/LogsFormatOptionsMenu.styles.scss
+++ b/frontend/src/components/LogsFormatOptionsMenu/LogsFormatOptionsMenu.styles.scss
@@ -1,11 +1,11 @@
.format-options-popover {
.ant-popover-inner {
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- var(--bg-ink-400) 0%,
- var(--bg-ink-500) 98.68%
+ var(--l2-background) 0%,
+ var(--l1-background) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -35,7 +35,7 @@
}
.text {
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -65,7 +65,7 @@
flex-shrink: 0;
}
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -76,7 +76,7 @@
}
.text:hover {
- color: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
}
}
@@ -93,7 +93,7 @@
gap: 12px;
.title {
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -111,7 +111,7 @@
align-items: center;
border: none !important;
.font-value {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -139,7 +139,7 @@
line-height: 18px;
letter-spacing: 0.08em;
text-align: left;
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
}
.menu-items {
@@ -159,7 +159,7 @@
.item-label {
display: flex;
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
justify-content: space-between;
align-items: center;
}
@@ -170,14 +170,14 @@
.horizontal-line {
height: 1px;
- background: #1d212d;
+ background: var(--l3-background);
}
.max-lines-per-row {
padding: 12px;
.title {
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -193,7 +193,7 @@
align-items: center;
.lucide {
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
cursor: pointer;
}
}
@@ -210,8 +210,8 @@
width: auto;
border-right: none;
border-left: none;
- border-top: 1px solid var(--bg-slate-400);
- border-bottom: 1px solid var(--bg-slate-400);
+ border-top: 1px solid var(--l1-border);
+ border-bottom: 1px solid var(--l1-border);
text-align: center;
height: 26px;
border-radius: 0;
@@ -250,7 +250,7 @@
height: 26px;
border-radius: 0px 1px 1px 0px;
- background: var(--bg-ink-300, #16181d);
+ background: var(--l3-background);
}
}
}
@@ -273,7 +273,7 @@
display: flex;
gap: 4px;
align-items: center;
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
text-transform: uppercase;
font-size: 11px;
font-weight: 500;
@@ -302,7 +302,7 @@
.column-name {
padding: 4px 8px;
border-radius: 1px;
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -311,7 +311,7 @@
letter-spacing: -0.07px;
&.selected {
- background-color: var(--bg-ink-200);
+ background-color: var(--l3-background);
cursor: pointer;
}
}
@@ -330,7 +330,7 @@
}
.title {
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -346,14 +346,14 @@
align-items: center;
.lucide {
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
cursor: pointer;
}
}
.horizontal-line {
height: 1px;
- background: #1d212d;
+ background: var(--l3-background);
}
.loading-container {
@@ -371,7 +371,7 @@
margin-top: 12px;
.column-name {
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -387,18 +387,18 @@
cursor: pointer;
&.default-column {
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
cursor: not-allowed;
}
&.no-columns-selected {
- color: var(--bg-slate-100);
+ color: var(--l3-foreground);
font-size: 12px;
cursor: not-allowed;
}
&.add-new-column-btn {
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
cursor: pointer;
}
@@ -447,7 +447,7 @@
.column-divider {
margin: 12px 0;
- border-top: 2px solid var(--bg-slate-400);
+ border-top: 2px solid var(--l1-border);
}
}
}
@@ -458,7 +458,7 @@
.item {
.item-label {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
}
@@ -468,11 +468,11 @@
margin-left: -5%;
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
@@ -490,7 +490,7 @@
.lightMode {
.format-options-popover {
.ant-popover-inner {
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
rgba(255, 255, 255, 0.8) 0%,
@@ -502,18 +502,18 @@
.font-size-dropdown {
.back-btn {
.text {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
.content {
.option-btn {
.text {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
.text:hover {
- color: var(--bg-ink-300);
+ color: var(--l3-background);
}
}
}
@@ -522,105 +522,105 @@
.add-new-column-container {
.add-new-column-header {
.title {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
}
.add-new-column-content {
.column-format-new-options {
.column-name {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
&.selected {
- background-color: var(--bg-vanilla-400);
+ background-color: var(--l3-background);
}
}
}
.loading-container {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
.font-size-container {
.title {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
.value {
.font-value {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
.horizontal-line {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
.item-content {
.column-divider {
- border-top: 2px solid var(--bg-vanilla-300);
+ border-top: 2px solid var(--l1-border);
}
}
.max-lines-per-row {
.title {
- color: var(--bg-ink-200);
+ color: var(--l2-foreground);
.lucide {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
}
.max-lines-per-row-input {
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
.periscope-btn {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
}
}
.menu-container {
.title {
- color: var(--bg-ink-200);
+ color: var(--l2-foreground);
}
.item {
.item-label {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
.selected-item-content-container {
.title {
- color: var(--bg-ink-200);
+ color: var(--l2-foreground);
.lucide {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
}
.horizontal-line {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
.item-content {
.max-lines-per-row-input {
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
.periscope-btn {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
}
.column-format,
.column-format-new-options {
.column-name {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
}
}
@@ -632,13 +632,13 @@
.item {
.item-label {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
}
}
.selected-item-content-container {
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
rgba(255, 255, 255, 0.8) 0%,
diff --git a/frontend/src/components/MarkdownRenderer/CodeCopyBtn/CodeCopyBtn.scss b/frontend/src/components/MarkdownRenderer/CodeCopyBtn/CodeCopyBtn.scss
index 2d2166ff52..09e6c60884 100644
--- a/frontend/src/components/MarkdownRenderer/CodeCopyBtn/CodeCopyBtn.scss
+++ b/frontend/src/components/MarkdownRenderer/CodeCopyBtn/CodeCopyBtn.scss
@@ -1,8 +1,8 @@
.code-snippet-container {
position: relative;
// background-color: rgb(43, 43, 43);
- background-color: #111a2c;
- border-color: #111a2c;
+ background-color: var(--bg-ink-400);
+ border-color: var(--bg-ink-400);
}
.code-copy-btn {
@@ -16,21 +16,21 @@
button {
cursor: pointer;
- background-color: rgba($color: #1d1d1d, $alpha: 0.7);
- color: white;
+ background-color: color-mix(in srgb, var(--bg-ink-300) 70%, transparent);
+ color: var(--l1-foreground);
border: none;
padding: 8px;
border-radius: 3px;
transition: all 0.1s;
&:hover {
- background-color: rgba($color: #1d1d1d, $alpha: 1);
+ background-color: var(--bg-ink-300);
}
}
&.copied {
button {
- background-color: rgba($color: #52c41a, $alpha: 1);
+ background-color: var(--bg-forest-500);
}
}
}
diff --git a/frontend/src/components/MembersTable/MembersTable.styles.scss b/frontend/src/components/MembersTable/MembersTable.styles.scss
index 3cd5c51faf..e610750a03 100644
--- a/frontend/src/components/MembersTable/MembersTable.styles.scss
+++ b/frontend/src/components/MembersTable/MembersTable.styles.scss
@@ -54,7 +54,7 @@
.ant-table-column-sorter-up.active,
.ant-table-column-sorter-down.active {
- color: var(--bg-base-white);
+ color: var(--l1-foreground);
opacity: 1;
}
}
@@ -69,10 +69,14 @@
}
> tr.members-table-row--tinted > td {
- background: rgba(171, 189, 255, 0.02);
+ background: color-mix(in srgb, var(--bg-robin-200) 2%, transparent);
}
> tr:hover > td {
- background: rgba(171, 189, 255, 0.04) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-robin-200) 4%,
+ transparent
+ ) !important;
}
}
@@ -166,7 +170,7 @@
strong {
font-weight: var(--font-weight-medium);
- color: var(--bg-base-white);
+ color: var(--l1-foreground);
}
}
}
@@ -205,12 +209,4 @@
}
}
}
-
- .members-empty-state {
- &__text {
- strong {
- color: var(--bg-base-black);
- }
- }
- }
}
diff --git a/frontend/src/components/MembersTable/MembersTable.tsx b/frontend/src/components/MembersTable/MembersTable.tsx
index ce4106caf8..3d69fc3643 100644
--- a/frontend/src/components/MembersTable/MembersTable.tsx
+++ b/frontend/src/components/MembersTable/MembersTable.tsx
@@ -1,5 +1,5 @@
import type React from 'react';
-import { Badge } from '@signozhq/badge';
+import { Badge } from '@signozhq/ui';
import { Table, Tooltip } from 'antd';
import type { ColumnsType, SorterResult } from 'antd/es/table/interface';
import { DATE_TIME_FORMATS } from 'constants/dateTimeFormats';
diff --git a/frontend/src/components/MessagingQueueHealthCheck/MessagingQueueHealthCheck.styles.scss b/frontend/src/components/MessagingQueueHealthCheck/MessagingQueueHealthCheck.styles.scss
index 4e7bd9a64c..d406a2d965 100644
--- a/frontend/src/components/MessagingQueueHealthCheck/MessagingQueueHealthCheck.styles.scss
+++ b/frontend/src/components/MessagingQueueHealthCheck/MessagingQueueHealthCheck.styles.scss
@@ -1,8 +1,8 @@
.mq-health-check-modal {
.ant-modal-content {
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
.ant-modal-close {
@@ -10,13 +10,13 @@
}
.ant-modal-header {
- border-bottom: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border-bottom: 1px solid var(--l1-border);
+ background: var(--l2-background);
margin-bottom: 16px;
padding-bottom: 4px;
.ant-modal-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -31,7 +31,7 @@
flex-direction: column;
gap: 8px;
padding: 8px;
- background: var(--bg-ink-300);
+ background: var(--l3-background);
.attribute-select {
align-items: center;
@@ -47,8 +47,8 @@
gap: 4px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
@@ -57,7 +57,7 @@
}
.tree-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Geist Mono';
font-size: 12px;
font-style: normal;
@@ -101,7 +101,7 @@
.success-attribute-icon {
width: 44px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
display: flex;
> svg {
@@ -128,7 +128,7 @@
align-items: center;
height: 100%;
padding: 8px;
- background: var(--bg-ink-300);
+ background: var(--l3-background);
height: 156px;
}
}
@@ -147,10 +147,10 @@
border-radius: 2px;
border: none;
box-shadow: none;
- background: var(--bg-slate-500);
+ background: var(--l3-background);
&.missing-config-btn {
- background: rgba(255, 205, 86, 0.1);
+ background: color-mix(in srgb, var(--bg-amber-500) 10%, transparent);
color: var(--bg-amber-400);
&:hover {
@@ -162,68 +162,14 @@
display: flex;
align-items: center;
margin-right: 8px;
- border-right: 1px solid rgba(255, 215, 120, 0.1);
+ border-right: 1px solid
+ color-mix(in srgb, var(--bg-amber-400) 10%, transparent);
padding-right: 8px;
}
}
.lightMode {
- .mq-health-check-modal {
- .ant-modal-content {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-200);
-
- .ant-modal-header {
- border-bottom: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-200);
-
- .ant-modal-title {
- color: var(--bg-ink-300);
- }
- }
-
- .modal-content {
- background: var(--bg-vanilla-100);
-
- .attribute-select {
- .ant-select-selector {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-200);
- }
- }
-
- .tree-text {
- color: var(--bg-ink-300);
- }
-
- .ant-tree {
- .ant-tree-title {
- .attribute-error-title {
- color: var(--bg-amber-500);
-
- .tree-text {
- color: var(--bg-amber-500);
- }
- }
-
- .attribute-success-title {
- .success-attribute-icon {
- color: var(--bg-ink-300);
- }
- }
- }
- }
- }
-
- .loader-container {
- background: var(--bg-ink-300);
- }
- }
- }
-
.config-btn {
- background: var(--bg-vanilla-300);
-
&.missing-config-btn {
background: var(--bg-amber-100);
color: var(--bg-amber-500);
diff --git a/frontend/src/components/MessagingQueues/MQCommon/MQCommon.styles.scss b/frontend/src/components/MessagingQueues/MQCommon/MQCommon.styles.scss
index 426be83a43..d7d880cc8d 100644
--- a/frontend/src/components/MessagingQueues/MQCommon/MQCommon.styles.scss
+++ b/frontend/src/components/MessagingQueues/MQCommon/MQCommon.styles.scss
@@ -2,8 +2,8 @@
display: inline-flex;
padding: 4px 8px;
border-radius: 20px;
- border: 1px solid rgba(173, 127, 88, 0.2);
- background: rgba(173, 127, 88, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-sienna-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-sienna-500) 10%, transparent);
justify-content: center;
align-items: center;
gap: 5px;
diff --git a/frontend/src/components/NewSelect/styles.scss b/frontend/src/components/NewSelect/styles.scss
index c4023d9593..903699474a 100644
--- a/frontend/src/components/NewSelect/styles.scss
+++ b/frontend/src/components/NewSelect/styles.scss
@@ -9,24 +9,25 @@ $custom-border-color: #2c3044;
&.ant-select-focused {
.ant-select-selector {
- border-color: var(--bg-robin-500);
- box-shadow: 0 0 0 2px rgba(78, 116, 248, 0.2);
+ border-color: var(--primary-background);
+ box-shadow: 0 0 0 2px
+ color-mix(in srgb, var(--primary-background) 20%, transparent);
}
}
.ant-select-selection-placeholder {
- color: rgba(192, 193, 195, 0.45);
+ color: color-mix(in srgb, var(--border) 45%, transparent);
}
// Base styles are for dark mode
.ant-select-selector {
- background-color: var(--bg-ink-400);
- border-color: var(--bg-slate-400);
+ background-color: var(--l2-background);
+ border-color: var(--l1-border);
}
.ant-select-clear {
- background-color: var(--bg-ink-400);
- color: rgba(192, 193, 195, 0.7);
+ background-color: var(--l2-background);
+ color: color-mix(in srgb, var(--border) 70%, transparent);
}
}
@@ -42,7 +43,7 @@ $custom-border-color: #2c3044;
.ant-select-selection-placeholder {
opacity: 1 !important;
- color: var(--bg-vanilla-400) !important;
+ color: var(--l2-foreground) !important;
font-weight: 500;
visibility: visible !important;
pointer-events: none;
@@ -63,7 +64,7 @@ $custom-border-color: #2c3044;
left: 12px;
top: 50%;
transform: translateY(-50%);
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
z-index: 1;
pointer-events: none;
@@ -76,8 +77,8 @@ $custom-border-color: #2c3044;
max-height: 200px;
overflow: auto;
scrollbar-width: thin;
- background-color: var(--bg-ink-400);
- border-color: var(--bg-slate-400);
+ background-color: var(--l2-background);
+ border-color: var(--l1-border);
cursor: text;
&::-webkit-scrollbar {
@@ -90,7 +91,7 @@ $custom-border-color: #2c3044;
}
&::-webkit-scrollbar-track {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
}
}
@@ -106,46 +107,57 @@ $custom-border-color: #2c3044;
&.ant-select-focused {
.ant-select-selector {
- border-color: var(--bg-robin-500);
- box-shadow: 0 0 0 2px rgba(78, 116, 248, 0.2);
+ border-color: var(--primary-background);
+ box-shadow: 0 0 0 2px
+ color-mix(in srgb, var(--primary-background) 20%, transparent);
}
}
.ant-select-selection-placeholder {
- color: rgba(192, 193, 195, 0.45);
+ color: color-mix(in srgb, var(--border) 45%, transparent);
}
// Customize tags in multiselect (dark mode by default)
.ant-select-selection-item {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
border-radius: 4px;
border: 1px solid $custom-border-color;
margin-right: 4px;
transition: all 0.2s;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
// Style for active tag (keyboard navigation)
&-active {
- border-color: var(--bg-robin-500) !important;
- background-color: rgba(78, 116, 248, 0.15) !important;
- outline: 2px solid rgba(78, 116, 248, 0.2);
+ border-color: var(--primary-background) !important;
+ background-color: color-mix(
+ in srgb,
+ var(--primary-background) 15%,
+ transparent
+ ) !important;
+ outline: 2px solid
+ color-mix(in srgb, var(--primary-background) 20%, transparent);
}
// Style for selected tags (via keyboard or mouse selection)
&-selected {
- border-color: var(--bg-robin-500) !important;
- background-color: rgba(78, 116, 248, 0.15) !important;
- box-shadow: 0 0 0 2px rgba(78, 116, 248, 0.2);
+ border-color: var(--primary-background) !important;
+ background-color: color-mix(
+ in srgb,
+ var(--primary-background) 15%,
+ transparent
+ ) !important;
+ box-shadow: 0 0 0 2px
+ color-mix(in srgb, var(--primary-background) 20%, transparent);
}
.ant-select-selection-item-content {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
.ant-select-selection-item-remove {
- color: rgba(192, 193, 195, 0.7);
+ color: color-mix(in srgb, var(--border) 70%, transparent);
&:hover {
- color: rgba(192, 193, 195, 1);
+ color: var(--l1-border);
}
}
}
@@ -170,20 +182,24 @@ $custom-border-color: #2c3044;
padding: 0;
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.5), 0 6px 16px 0 rgba(0, 0, 0, 0.4),
0 9px 28px 8px rgba(0, 0, 0, 0.3);
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-400);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
.ant-select-item {
padding: 8px 12px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
// Make keyboard navigation visible
&-option-active {
- background-color: var(--bg-slate-400) !important;
+ background-color: var(--l1-border) !important;
}
&-option-selected {
- background-color: rgba(78, 116, 248, 0.15) !important;
+ background-color: color-mix(
+ in srgb,
+ var(--primary-background) 15%,
+ transparent
+ ) !important;
}
}
}
@@ -199,7 +215,7 @@ $custom-border-color: #2c3044;
.empty-message {
padding: 12px;
text-align: center;
- color: rgba(192, 193, 195, 0.45);
+ color: color-mix(in srgb, var(--border) 45%, transparent);
}
}
@@ -211,9 +227,9 @@ $custom-border-color: #2c3044;
overflow-x: hidden;
scrollbar-width: thin;
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
width: 100%;
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
&::-webkit-scrollbar {
width: 6px;
@@ -225,7 +241,7 @@ $custom-border-color: #2c3044;
}
&::-webkit-scrollbar-track {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
}
.no-section-options {
@@ -241,8 +257,8 @@ $custom-border-color: #2c3044;
font-weight: 500;
padding: 4px 12px;
font-size: 13px;
- color: var(--bg-vanilla-400);
- background-color: var(--bg-slate-400);
+ color: var(--l2-foreground);
+ background-color: var(--l1-border);
border-bottom: 1px solid $custom-border-color;
border-top: 1px solid $custom-border-color;
position: relative;
@@ -259,20 +275,28 @@ $custom-border-color: #2c3044;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
&:hover {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
}
&.selected {
- background-color: rgba(78, 116, 248, 0.15);
+ background-color: color-mix(
+ in srgb,
+ var(--primary-background) 15%,
+ transparent
+ );
font-weight: 500;
}
&.active {
- background-color: rgba(78, 116, 248, 0.15);
- border-color: var(--bg-robin-500);
+ background-color: color-mix(
+ in srgb,
+ var(--primary-background) 15%,
+ transparent
+ );
+ border-color: var(--primary-background);
}
.option-content {
@@ -290,7 +314,7 @@ $custom-border-color: #2c3044;
padding: 2px 6px;
border-radius: 4px;
background-color: $custom-border-color;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
margin-left: 8px;
}
}
@@ -307,20 +331,20 @@ $custom-border-color: #2c3044;
display: flex;
align-items: center;
padding: 8px 12px;
- border-top: 1px solid var(--bg-slate-400);
+ border-top: 1px solid var(--l1-border);
position: sticky;
bottom: 0;
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
z-index: 1;
.navigation-icons {
display: flex;
margin-right: 8px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
.navigation-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
}
@@ -362,11 +386,11 @@ $custom-border-color: #2c3044;
height: 14px;
flex-shrink: 0;
border-radius: 2.286px;
- border-top: 1.143px solid var(--bg-ink-200);
- border-right: 1.143px solid var(--bg-ink-200);
- border-bottom: 2.286px solid var(--bg-ink-200);
- border-left: 1.143px solid var(--bg-ink-200);
- background: var(--Ink-400, var(--bg-ink-400));
+ border-top: 1.143px solid var(--l1-border);
+ border-right: 1.143px solid var(--l1-border);
+ border-bottom: 2.286px solid var(--l1-border);
+ border-left: 1.143px solid var(--l1-border);
+ background: var(--l2-background);
}
}
}
@@ -379,16 +403,16 @@ $custom-border-color: #2c3044;
overflow-x: hidden;
scrollbar-width: thin;
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
width: 100%;
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
.select-all-option,
.custom-value-option {
padding: 8px 12px;
border-bottom: 1px solid $custom-border-color;
margin-bottom: 8px;
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
position: sticky;
top: 0;
z-index: 1;
@@ -417,8 +441,8 @@ $custom-border-color: #2c3044;
font-weight: 500;
padding: 4px 12px;
font-size: 13px;
- color: var(--bg-vanilla-400);
- background-color: var(--bg-slate-400);
+ color: var(--l2-foreground);
+ background-color: var(--l1-border);
border-bottom: 1px solid $custom-border-color;
border-top: 1px solid $custom-border-color;
position: relative;
@@ -432,19 +456,27 @@ $custom-border-color: #2c3044;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
&.active {
- background-color: rgba(78, 116, 248, 0.15);
- border-color: var(--bg-robin-500);
+ background-color: color-mix(
+ in srgb,
+ var(--primary-background) 15%,
+ transparent
+ );
+ border-color: var(--primary-background);
}
&:hover {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
}
&.selected {
- background-color: rgba(78, 116, 248, 0.15);
+ background-color: color-mix(
+ in srgb,
+ var(--primary-background) 15%,
+ transparent
+ );
font-weight: 500;
}
@@ -483,7 +515,7 @@ $custom-border-color: #2c3044;
padding: 2px 6px;
border-radius: 4px;
background-color: $custom-border-color;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
margin-left: 8px;
}
}
@@ -541,21 +573,25 @@ $custom-border-color: #2c3044;
.empty-message {
padding: 12px;
text-align: center;
- color: rgba(192, 193, 195, 0.45);
+ color: color-mix(in srgb, var(--border) 45%, transparent);
}
.status-message {
padding: 8px 12px;
text-align: center;
font-style: italic;
- color: rgba(192, 193, 195, 0.65);
+ color: color-mix(in srgb, var(--border) 65%, transparent);
border-top: 1px dashed $custom-border-color;
}
}
// Custom styles for highlight text
.highlight-text {
- background-color: rgba(78, 116, 248, 0.2);
+ background-color: color-mix(
+ in srgb,
+ var(--primary-background) 20%,
+ transparent
+ );
padding: 0 1px;
border-radius: 2px;
font-weight: 500;
@@ -565,7 +601,7 @@ $custom-border-color: #2c3044;
.custom-option {
&.focused,
&.ant-select-item-option-active {
- background-color: var(--bg-slate-400) !important;
+ background-color: var(--l1-border) !important;
}
}
@@ -576,7 +612,7 @@ $custom-border-color: #2c3044;
position: sticky;
top: 0;
z-index: 2;
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
border-bottom: 1px solid $custom-border-color;
padding: 4px 12px;
margin: 0;
@@ -594,7 +630,8 @@ $custom-border-color: #2c3044;
// Custom scrollbar styling (shared between components)
@mixin custom-scrollbar {
scrollbar-width: thin;
- scrollbar-color: rgba(192, 193, 195, 0.3) rgba(29, 33, 45, 0.6);
+ scrollbar-color: color-mix(in srgb, var(--border) 30%, transparent)
+ color-mix(in srgb, var(--border) 60%, transparent);
&::-webkit-scrollbar {
width: 6px;
@@ -602,17 +639,17 @@ $custom-border-color: #2c3044;
}
&::-webkit-scrollbar-track {
- background-color: rgba(29, 33, 45, 0.6);
+ background-color: color-mix(in srgb, var(--border) 60%, transparent);
border-radius: 10px;
}
&::-webkit-scrollbar-thumb {
- background-color: rgba(192, 193, 195, 0.3);
+ background-color: color-mix(in srgb, var(--border) 30%, transparent);
border-radius: 10px;
transition: background-color 0.2s ease;
&:hover {
- background-color: rgba(192, 193, 195, 0.5);
+ background-color: color-mix(in srgb, var(--border) 50%, transparent);
}
}
}
@@ -620,7 +657,8 @@ $custom-border-color: #2c3044;
// Subtle nested scrollbar styling
@mixin nested-scrollbar {
scrollbar-width: thin;
- scrollbar-color: rgba(192, 193, 195, 0.2) rgba(29, 33, 45, 0.6);
+ scrollbar-color: color-mix(in srgb, var(--border) 20%, transparent)
+ color-mix(in srgb, var(--border) 60%, transparent);
&::-webkit-scrollbar {
width: 4px;
@@ -628,16 +666,16 @@ $custom-border-color: #2c3044;
}
&::-webkit-scrollbar-track {
- background-color: rgba(29, 33, 45, 0.6);
+ background-color: color-mix(in srgb, var(--border) 60%, transparent);
border-radius: 10px;
}
&::-webkit-scrollbar-thumb {
- background-color: rgba(192, 193, 195, 0.2);
+ background-color: color-mix(in srgb, var(--border) 20%, transparent);
border-radius: 10px;
&:hover {
- background-color: rgba(192, 193, 195, 0.3);
+ background-color: color-mix(in srgb, var(--border) 30%, transparent);
}
}
}
@@ -676,7 +714,7 @@ $custom-border-color: #2c3044;
.lightMode {
.custom-select {
.ant-select-selector {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-background);
border-color: #e9e9e9;
}
@@ -685,7 +723,7 @@ $custom-border-color: #2c3044;
}
.ant-select-clear {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-background);
color: rgba(0, 0, 0, 0.45);
}
@@ -699,7 +737,7 @@ $custom-border-color: #2c3044;
.custom-multiselect {
.ant-select-selector {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-background);
border-color: #e9e9e9;
cursor: text; // Make entire selector clickable for input focus
@@ -751,37 +789,37 @@ $custom-border-color: #2c3044;
}
&-active {
- border-color: var(--bg-robin-500) !important;
- background-color: var(--bg-vanilla-300) !important;
+ border-color: var(--primary-background) !important;
+ background-color: var(--l3-background) !important;
}
&-selected {
- border-color: #1890ff !important;
- background-color: var(--bg-vanilla-300) !important;
+ border-color: var(--primary-background) !important;
+ background-color: var(--l3-background) !important;
}
}
}
.custom-select-dropdown-container,
.custom-multiselect-dropdown-container {
- background-color: var(--bg-vanilla-100);
- border: 1px solid #f0f0f0;
+ background-color: var(--l1-background);
+ border: 1px solid var(--l1-border);
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12),
0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
.empty-message {
- color: rgba(0, 0, 0, 0.45);
+ color: var(--l2-foreground);
}
.ant-select-item {
- color: rgba(0, 0, 0, 0.85);
+ color: var(--l1-foreground);
&-option-active {
- background-color: #f5f5f5 !important;
+ background-color: var(--l3-background) !important;
}
&-option-selected {
- background-color: var(--bg-vanilla-300) !important;
+ background-color: var(--l2-background) !important;
}
}
}
@@ -789,7 +827,7 @@ $custom-border-color: #2c3044;
.custom-select-dropdown,
.custom-multiselect-dropdown {
border: 1px solid #f0f0f0;
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-background);
&::-webkit-scrollbar-thumb {
background-color: #ccc;
@@ -820,11 +858,11 @@ $custom-border-color: #2c3044;
}
&.selected {
- background-color: var(--bg-vanilla-300);
+ background-color: var(--l3-background);
}
&.active {
- background-color: var(--bg-vanilla-300);
+ background-color: var(--l3-background);
border-color: #91d5ff;
}
@@ -839,7 +877,7 @@ $custom-border-color: #2c3044;
.navigation-footer {
border-top: 1px solid #f0f0f0;
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-background);
.navigation-icons {
color: rgba(0, 0, 0, 0.45);
@@ -851,11 +889,11 @@ $custom-border-color: #2c3044;
.navigate {
.icons {
- border-top: 1.143px solid var(--bg-ink-200);
- border-right: 1.143px solid var(--bg-ink-200);
- border-bottom: 2.286px solid var(--bg-ink-200);
- border-left: 1.143px solid var(--bg-ink-200);
- background: var(--bg-vanilla-300);
+ border-top: 1.143px solid var(--l2-foreground);
+ border-right: 1.143px solid var(--l2-foreground);
+ border-bottom: 2.286px solid var(--l2-foreground);
+ border-left: 1.143px solid var(--l2-foreground);
+ background: var(--l3-background);
}
}
}
@@ -934,7 +972,7 @@ $custom-border-color: #2c3044;
left: 12px;
top: 50%;
transform: translateY(-50%);
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-weight: 500;
z-index: 2;
pointer-events: none;
diff --git a/frontend/src/components/QueryBuilderV2/QueryBuilderV2.styles.scss b/frontend/src/components/QueryBuilderV2/QueryBuilderV2.styles.scss
index 6c02dd9d93..0fccf781fd 100644
--- a/frontend/src/components/QueryBuilderV2/QueryBuilderV2.styles.scss
+++ b/frontend/src/components/QueryBuilderV2/QueryBuilderV2.styles.scss
@@ -5,8 +5,8 @@
width: 100%;
- border-bottom: 1px solid var(--bg-slate-400);
- border-top: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
+ border-top: 1px solid var(--l1-border);
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
'Helvetica Neue', sans-serif;
@@ -72,8 +72,8 @@
width: 1px;
background: repeating-linear-gradient(
to bottom,
- #1d212d,
- #1d212d 4px,
+ var(--l1-border),
+ var(--l1-border) 4px,
transparent 4px,
transparent 8px
);
@@ -93,7 +93,7 @@
top: 12px;
width: 6px;
height: 6px;
- border-left: 6px dotted #1d212d;
+ border-left: 6px dotted var(--l1-border);
}
/* Horizontal line pointing from vertical to the item */
@@ -106,8 +106,8 @@
height: 1px;
background: repeating-linear-gradient(
to right,
- #1d212d,
- #1d212d 4px,
+ var(--l1-border),
+ var(--l1-border) 4px,
transparent 4px,
transparent 8px
);
@@ -149,7 +149,7 @@
width: 44px;
padding: 8px;
- border-left: 1px solid var(--bg-slate-400);
+ border-left: 1px solid var(--l1-border);
.query-name {
display: flex;
@@ -163,10 +163,10 @@
border-radius: 0px 2px 2px 0px;
border-radius: 2px;
- border: 1px solid rgba(242, 71, 105, 0.2);
- background: rgba(242, 71, 105, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-sakura-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-sakura-500) 10%, transparent);
- color: var(--Sakura-400, #f56c87);
+ color: var(--bg-sakura-400);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
@@ -188,10 +188,10 @@
border-radius: 0px 2px 2px 0px;
border-radius: 2px;
- border: 1px solid rgba(173, 127, 88, 0.2);
- background: rgba(173, 127, 88, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-sienna-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-sienna-500) 10%, transparent);
- color: var(--Sienna-500, #ad7f58);
+ color: var(--bg-sienna-500);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
@@ -233,7 +233,7 @@
top: 12px;
width: 6px;
height: 6px;
- border-left: 6px dotted #1d212d;
+ border-left: 6px dotted var(--l1-border);
}
/* Horizontal line pointing from vertical to the item */
@@ -246,8 +246,8 @@
height: 1px;
background: repeating-linear-gradient(
to right,
- #1d212d,
- #1d212d 4px,
+ var(--l1-border),
+ var(--l1-border) 4px,
transparent 4px,
transparent 8px
);
@@ -274,8 +274,8 @@
.ant-input-group-addon {
border-top-left-radius: 0px !important;
border-top-right-radius: 0px !important;
- background: var(--bg-ink-300);
- color: var(--bg-vanilla-400);
+ background: var(--l3-background);
+ color: var(--l2-foreground);
font-size: 12px;
font-weight: 300;
}
@@ -315,8 +315,8 @@
width: 1px;
background: repeating-linear-gradient(
to bottom,
- #1d212d,
- #1d212d 4px,
+ var(--l1-border),
+ var(--l1-border) 4px,
transparent 4px,
transparent 8px
);
@@ -344,10 +344,14 @@
.options {
.query-name {
border-radius: 0px 2px 2px 0px !important;
- border: 1px solid rgba(242, 71, 105, 0.2) !important;
- background: rgba(242, 71, 105, 0.1) !important;
-
- color: var(--Sakura-400, #f56c87) !important;
+ border: 1px solid color-mix(in srgb, var(--bg-sakura-500) 20%, transparent) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-sakura-500) 10%,
+ transparent
+ ) !important;
+
+ color: var(--bg-sakura-400) !important;
font-family: 'Space Mono';
font-size: 14px;
font-style: normal;
@@ -362,8 +366,8 @@
.formula-name {
border-radius: 0px 2px 2px 0px;
- border: 1px solid rgba(173, 127, 88, 0.2);
- background: rgba(173, 127, 88, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-sienna-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-sienna-500) 10%, transparent);
font-family: 'Space Mono';
font-size: 14px;
@@ -383,8 +387,8 @@
width: 1px;
background: repeating-linear-gradient(
to bottom,
- #1d212d,
- #1d212d 4px,
+ var(--l1-border),
+ var(--l1-border) 4px,
transparent 4px,
transparent 8px
);
@@ -400,9 +404,13 @@
min-width: 120px;
border-radius: 2px;
- border: 1px solid var(--Slate-400, #1d212d);
- background: var(--Ink-300, #16181d);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
+
+ .ant-select-selection-item {
+ color: var(--l1-foreground);
+ }
}
}
}
@@ -441,14 +449,18 @@
.ant-select-selector {
border-radius: 2px;
- border: 1px solid var(--Slate-400, #1d212d) !important;
- background: var(--Ink-300, #16181d) !important;
+ border: 1px solid var(--l1-border) !important;
+ background: var(--l1-background) !important;
height: 34px !important;
box-sizing: border-box !important;
+
+ .ant-select-selection-item {
+ color: var(--l1-foreground);
+ }
}
.ant-select-arrow {
- color: var(--bg-vanilla-400) !important;
+ color: var(--l2-foreground) !important;
}
}
@@ -456,133 +468,3 @@
cursor: pointer;
}
}
-
-.lightMode {
- .query-builder-v2 {
- border-bottom: 1px solid var(--bg-vanilla-300);
- border-top: 1px solid var(--bg-vanilla-300);
-
- .qb-content-section {
- .qb-elements-container {
- &::after {
- background: repeating-linear-gradient(
- to bottom,
- var(--bg-vanilla-300),
- var(--bg-vanilla-300) 4px,
- transparent 4px,
- transparent 8px
- );
- }
-
- .code-mirror-where-clause,
- .query-aggregation-container,
- .query-add-ons,
- .metrics-aggregation-section-content,
- .metrics-container {
- &::before {
- border-left: 6px dotted var(--bg-vanilla-300);
- }
-
- /* Horizontal line pointing from vertical to the item */
- &::after {
- background: repeating-linear-gradient(
- to right,
- var(--bg-vanilla-300),
- var(--bg-vanilla-300) 4px,
- transparent 4px,
- transparent 8px
- );
- }
- }
- }
- }
-
- .query-names-section {
- border-left: 1px solid var(--bg-vanilla-300);
- }
-
- .qb-formulas-container {
- .qb-formula {
- .formula-container {
- .ant-col {
- &::before {
- border-left: 6px dotted var(--bg-vanilla-300);
- }
-
- /* Horizontal line pointing from vertical to the item */
- &::after {
- background: repeating-linear-gradient(
- to right,
- var(--bg-vanilla-300),
- var(--bg-vanilla-300) 4px,
- transparent 4px,
- transparent 8px
- );
- }
- }
- }
- }
- }
-
- .qb-footer {
- .qb-footer-container {
- .qb-add-new-query {
- &::before {
- background: repeating-linear-gradient(
- to bottom,
- var(--bg-vanilla-300),
- var(--bg-vanilla-300) 4px,
- transparent 4px,
- transparent 8px
- );
- }
- }
- }
- }
-
- .qb-entity-options {
- .options {
- .formula-name {
- &::before {
- background: repeating-linear-gradient(
- to bottom,
- var(--bg-vanilla-300),
- var(--bg-vanilla-300) 4px,
- transparent 4px,
- transparent 8px
- );
- left: 15px;
- }
- }
- }
-
- .query-data-source {
- .ant-select-selector {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
- box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1) !important;
-
- .ant-select-selection-item {
- color: var(--text-ink-400);
- }
- }
- }
- }
-
- .qb-search-filter-container {
- .ant-select-selector {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
- box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1) !important;
-
- .ant-select-selection-item {
- color: var(--text-ink-400);
- }
- }
-
- .ant-select-arrow {
- color: var(--bg-vanilla-400) !important;
- }
- }
- }
-}
diff --git a/frontend/src/components/QueryBuilderV2/QueryV2/MerticsAggregateSection/MetricsAggregateSection.styles.scss b/frontend/src/components/QueryBuilderV2/QueryV2/MerticsAggregateSection/MetricsAggregateSection.styles.scss
index ead2fc7ecb..62ab9e43e5 100644
--- a/frontend/src/components/QueryBuilderV2/QueryV2/MerticsAggregateSection/MetricsAggregateSection.styles.scss
+++ b/frontend/src/components/QueryBuilderV2/QueryV2/MerticsAggregateSection/MetricsAggregateSection.styles.scss
@@ -39,7 +39,7 @@
align-items: center;
gap: 6px;
- color: var(--Slate-50, #62687c);
+ color: var(--l3-foreground);
font-family: 'Geist Mono';
font-size: 12px;
font-style: normal;
@@ -65,7 +65,7 @@
gap: 10px;
.metrics-aggregation-section-content-item-label {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: 'Geist Mono';
font-size: 13px;
font-style: normal;
@@ -74,7 +74,7 @@
letter-spacing: -0.07px;
&.main-label {
- color: var(--Slate-50, #62687c);
+ color: var(--l3-foreground);
font-family: 'Geist Mono';
font-size: 12px;
font-style: normal;
@@ -100,15 +100,19 @@
.ant-select-selector {
border-radius: 2px;
- border: 1.005px solid var(--Slate-400, #1d212d);
- background: var(--Ink-300, #16181d);
- color: var(--bg-vanilla-400);
+ border: 1.005px solid var(--l1-border);
+ background: var(--l1-background);
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 20px;
letter-spacing: -0.07px;
+
+ .ant-select-selection-item {
+ color: var(--l1-foreground);
+ }
}
.input-with-label {
@@ -145,10 +149,10 @@
.metrics-operators-select {
border-radius: 2px;
- border: 1.005px solid var(--Slate-400, #1d212d);
- background: var(--Ink-300, #16181d);
+ border: 1.005px solid var(--l1-border);
+ background: var(--l1-background);
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-size: 13px;
font-style: normal;
@@ -156,35 +160,3 @@
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
}
-
-.lightMode {
- .metrics-aggregate-section {
- .metrics-aggregation-section-content {
- .metrics-aggregation-section-content-item {
- .metrics-aggregation-section-content-item-label {
- color: var(--text-ink-200);
-
- &.main-label {
- color: var(--text-slate-100);
- }
- }
-
- .metrics-aggregation-section-content-item-value {
- .ant-select-selector {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
-
- .ant-select-selection-item {
- color: var(--text-ink-400);
- }
- }
- }
- }
- }
- }
- .metrics-operators-select {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
- color: var(--text-ink-100);
- }
-}
diff --git a/frontend/src/components/QueryBuilderV2/QueryV2/MetricsSelect/MetricsSelect.styles.scss b/frontend/src/components/QueryBuilderV2/QueryV2/MetricsSelect/MetricsSelect.styles.scss
index 32537399ad..266653c24b 100644
--- a/frontend/src/components/QueryBuilderV2/QueryV2/MetricsSelect/MetricsSelect.styles.scss
+++ b/frontend/src/components/QueryBuilderV2/QueryV2/MetricsSelect/MetricsSelect.styles.scss
@@ -10,7 +10,7 @@
font-size: 12px !important;
line-height: 27px;
&::placeholder {
- color: var(--bg-vanilla-400) !important;
+ color: var(--l2-foreground) !important;
font-size: 12px !important;
}
}
@@ -22,9 +22,9 @@
.ant-select-selector {
width: 100%;
border-radius: 2px;
- border: 1px solid #1d212d !important;
- background: #16181d;
- color: #fff;
+ border: 1px solid var(--l1-border) !important;
+ background: var(--l1-background);
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-size: 13px;
font-style: normal;
@@ -33,65 +33,35 @@
min-height: 36px;
.ant-select-selection-placeholder {
- color: var(--bg-vanilla-400) !important;
+ color: var(--l2-foreground) !important;
font-size: 12px !important;
}
}
.ant-select-dropdown {
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
- background: linear-gradient(
- 139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
- );
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
.ant-select-item {
- color: #fff;
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
- &:hover {
- background: rgba(171, 189, 255, 0.04) !important;
+ &:hover,
+ &.ant-select-item-option-active {
+ background: var(--l3-background) !important;
}
- }
- }
-}
-
-.lightMode {
- .metrics-source-select-container {
- .ant-select-selector {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100);
- color: var(--text-ink-100);
- }
-
- .ant-select-dropdown {
- background: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300) !important;
- box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12),
- 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
- backdrop-filter: none;
-
- .ant-select-item {
- color: var(--text-ink-100);
-
- &:hover,
- &.ant-select-item-option-active {
- background: var(--bg-vanilla-300) !important;
- }
- &.ant-select-item-option-selected {
- background: var(--bg-vanilla-300) !important;
- border: 1px solid var(--bg-slate-400);
- font-weight: 600;
- }
+ &.ant-select-item-option-selected {
+ background: var(--l3-background) !important;
+ border: 1px solid var(--l1-border);
+ font-weight: 600;
}
}
}
diff --git a/frontend/src/components/QueryBuilderV2/QueryV2/QueryAddOns/QueryAddOns.styles.scss b/frontend/src/components/QueryBuilderV2/QueryV2/QueryAddOns/QueryAddOns.styles.scss
index 23d54d1e4e..18be596658 100644
--- a/frontend/src/components/QueryBuilderV2/QueryV2/QueryAddOns/QueryAddOns.styles.scss
+++ b/frontend/src/components/QueryBuilderV2/QueryV2/QueryAddOns/QueryAddOns.styles.scss
@@ -20,34 +20,34 @@
font-style: normal;
font-weight: var(--font-weight-normal);
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
}
.tab {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
border-left: none;
min-width: 120px;
height: 36px;
line-height: 36px;
&:first-child {
- border-left: 1px solid var(--bg-slate-400);
+ border-left: 1px solid var(--l1-border);
}
}
.tab::before {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
.selected-view {
color: var(--text-robin-500);
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
display: none;
}
.selected-view::before {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
}
@@ -56,8 +56,8 @@
height: 30px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
}
@@ -89,7 +89,7 @@
position: relative !important;
&:focus-within {
- border-color: var(--bg-robin-500);
+ border-color: var(--primary-background);
}
&.cm-focused {
@@ -98,20 +98,20 @@
.cm-content {
border-radius: 2px;
- border: 1px solid var(--Slate-400, #1d212d);
+ border: 1px solid var(--l1-border);
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
padding: 0px !important;
- background-color: #121317 !important;
+ background-color: var(--card) !important;
&:focus-within {
- border-color: var(--bg-ink-200);
+ border-color: var(--l1-border);
}
}
.cm-tooltip-autocomplete {
- background: var(--bg-ink-300) !important;
- color: var(--bg-ink-500) !important;
+ background: var(--l3-background) !important;
+ color: var(--l1-background) !important;
border-radius: 2px !important;
font-size: 12px !important;
font-weight: 500 !important;
@@ -121,17 +121,17 @@
right: 0px !important;
border-radius: 4px;
- border: 1px solid var(--bg-slate-200, #1d212d);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
) !important;
backdrop-filter: blur(20px);
box-sizing: border-box;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
font-family: 'Space Mono', monospace !important;
- color: var(--bg-vanilla-100) !important;
+ color: var(--l1-foreground) !important;
ul {
width: 100% !important;
@@ -174,7 +174,11 @@
&[aria-selected='true'] {
// background-color: rgba(78, 116, 248, 0.7) !important;
- background: rgba(171, 189, 255, 0.04) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-robin-200) 4%,
+ transparent
+ ) !important;
}
}
}
@@ -207,25 +211,25 @@
.cm-line {
line-height: 36px !important;
font-family: 'Space Mono', monospace !important;
- background-color: #121317 !important;
+ background-color: var(--card) !important;
::-moz-selection {
- background: var(--bg-ink-100) !important;
+ background: var(--l3-background) !important;
opacity: 0.5 !important;
}
::selection {
- background: var(--bg-ink-100) !important;
+ background: var(--l3-background) !important;
opacity: 0.5 !important;
}
.cm-function {
- color: var(--bg-robin-500) !important;
+ color: var(--primary-background) !important;
}
.chip-decorator {
- background: rgba(36, 40, 52, 1) !important;
- color: var(--bg-vanilla-100) !important;
+ background: var(--l3-background) !important;
+ color: var(--l1-foreground) !important;
border-radius: 4px;
padding: 2px 4px;
margin-right: 4px;
@@ -233,7 +237,7 @@
}
.cm-selectionBackground {
- background: var(--bg-ink-100) !important;
+ background: var(--l3-background) !important;
opacity: 0.5 !important;
}
@@ -245,8 +249,8 @@
.close-btn {
border-radius: 0px 2px 2px 0px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
height: 38px;
width: 38px;
@@ -285,35 +289,35 @@
.add-ons-list {
.add-ons-tabs {
.add-on-tab-title {
- color: var(--bg-ink-500) !important;
+ color: var(--l1-foreground) !important;
}
.tab {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
+ border: 1px solid var(--l1-border) !important;
+ background: var(--l1-background) !important;
&:first-child {
- border-left: 1px solid var(--bg-vanilla-300) !important;
+ border-left: 1px solid var(--l1-border) !important;
}
}
.tab::before {
- background: var(--bg-vanilla-300) !important;
+ background: var(--l3-background) !important;
}
.selected-view {
- color: var(--bg-robin-500) !important;
- border: 1px solid var(--bg-vanilla-300) !important;
+ color: var(--primary-background) !important;
+ border: 1px solid var(--l1-border) !important;
}
.selected-view::before {
- background: var(--bg-vanilla-300) !important;
+ background: var(--l3-background) !important;
}
}
.compass-button {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
+ border: 1px solid var(--l1-border) !important;
+ background: var(--l1-background) !important;
}
}
@@ -322,33 +326,33 @@
.having-filter-select-editor {
.cm-editor {
&:focus-within {
- border-color: var(--bg-vanilla-300) !important;
+ border-color: var(--l1-border) !important;
}
.cm-content {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
+ border: 1px solid var(--l1-border) !important;
+ background: var(--l1-background) !important;
&:focus-within {
- border-color: var(--bg-vanilla-300) !important;
+ border-color: var(--l1-border) !important;
}
}
.cm-tooltip-autocomplete {
- background: var(--bg-vanilla-100) !important;
- border: 1px solid var(--bg-vanilla-300) !important;
- color: var(--bg-ink-500) !important;
+ background: var(--l1-background) !important;
+ border: 1px solid var(--l1-border) !important;
+ color: var(--l1-foreground) !important;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
ul {
li {
- color: var(--bg-ink-300) !important;
+ color: var(--l1-foreground) !important;
&:hover {
- background: var(--bg-vanilla-300) !important;
+ background: var(--l3-background) !important;
}
&[aria-selected='true'] {
- background: var(--bg-vanilla-300) !important;
+ background: var(--l3-background) !important;
font-weight: 600 !important;
}
}
@@ -356,31 +360,31 @@
}
.cm-line {
- background-color: var(--bg-vanilla-100) !important;
+ background-color: var(--l1-background) !important;
::-moz-selection {
- background: var(--bg-vanilla-100) !important;
+ background: var(--l1-background) !important;
}
::selection {
- background: var(--bg-ink-100) !important;
+ background: var(--l3-background) !important;
}
.chip-decorator {
- background: var(--bg-vanilla-300) !important;
- color: var(--bg-ink-400) !important;
+ background: var(--l3-background) !important;
+ color: var(--l1-foreground) !important;
}
}
.cm-selectionBackground {
- background: var(--bg-vanilla-100) !important;
+ background: var(--l1-background) !important;
}
}
}
.close-btn {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
+ border: 1px solid var(--l1-border) !important;
+ background: var(--l1-background) !important;
}
}
}
diff --git a/frontend/src/components/QueryBuilderV2/QueryV2/QueryAggregation/QueryAggregation.styles.scss b/frontend/src/components/QueryBuilderV2/QueryV2/QueryAggregation/QueryAggregation.styles.scss
index 9041ea2167..526129b3a5 100644
--- a/frontend/src/components/QueryBuilderV2/QueryV2/QueryAggregation/QueryAggregation.styles.scss
+++ b/frontend/src/components/QueryBuilderV2/QueryV2/QueryAggregation/QueryAggregation.styles.scss
@@ -21,7 +21,7 @@
flex: 1;
min-width: 0;
font-size: 12px;
- color: var(--bg-vanilla-400) !important;
+ color: var(--l2-foreground) !important;
&.error {
.cm-editor {
@@ -44,24 +44,24 @@
}
&:focus-within {
- border-color: var(--bg-robin-500);
+ border-color: var(--primary-background);
}
.cm-content {
border-radius: 2px;
- border: 1px solid var(--Slate-400, #1d212d);
+ border: 1px solid var(--l1-border);
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
padding: 0px !important;
- background-color: #121317 !important;
+ background-color: var(--l1-background) !important;
&:focus-within {
- border-color: var(--bg-ink-200);
+ border-color: var(--l1-border);
}
}
.cm-tooltip-autocomplete {
- background: var(--bg-ink-300) !important;
+ background: var(--l3-background) !important;
border-radius: 2px !important;
font-size: 12px !important;
font-weight: 500 !important;
@@ -72,11 +72,11 @@
right: 0px !important;
border-radius: 4px;
- border: 1px solid var(--bg-slate-200, #1d212d);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
) !important;
backdrop-filter: blur(20px);
box-sizing: border-box;
@@ -116,15 +116,18 @@
box-sizing: border-box;
overflow: hidden;
+ color: var(--l2-foreground) !important;
font-family: 'Space Mono', monospace !important;
.cm-completionIcon {
display: none !important;
}
+ &:hover,
&[aria-selected='true'] {
- // background-color: rgba(78, 116, 248, 0.7) !important;
- background: rgba(171, 189, 255, 0.04) !important;
+ background: var(--l3-background) !important;
+ color: var(--l1-foreground) !important;
+ font-weight: 600 !important;
}
}
}
@@ -137,25 +140,25 @@
.cm-line {
line-height: 36px !important;
font-family: 'Space Mono', monospace !important;
- background-color: #121317 !important;
+ background-color: var(--l1-background) !important;
::-moz-selection {
- background: var(--bg-ink-100) !important;
+ background: var(--l3-background) !important;
opacity: 0.5 !important;
}
::selection {
- background: var(--bg-ink-100) !important;
+ background: var(--l3-background) !important;
opacity: 0.5 !important;
}
.cm-function {
- color: var(--bg-robin-500) !important;
+ color: var(--primary-background) !important;
}
.chip-decorator {
- background: rgba(36, 40, 52, 1) !important;
- color: var(--bg-vanilla-100) !important;
+ background: var(--l3-background) !important;
+ color: var(--l1-foreground) !important;
border-radius: 4px;
padding: 2px 4px;
margin-right: 4px;
@@ -163,7 +166,7 @@
}
.cm-selectionBackground {
- background: var(--bg-ink-100) !important;
+ background: var(--l3-background) !important;
opacity: 0.5 !important;
}
}
@@ -195,8 +198,8 @@
}
.close-btn {
border-radius: 0px 2px 2px 0px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
height: 38px;
width: 38px;
@@ -211,13 +214,13 @@
height: 36px;
line-height: 36px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
font-family: 'Space Mono', monospace !important;
&::placeholder {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
opacity: 0.5;
}
}
@@ -234,7 +237,7 @@
input {
max-width: 120px;
&::placeholder {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
}
@@ -246,88 +249,48 @@
.lightMode {
.query-aggregation-container {
.aggregation-container {
- .query-aggregation-options-input {
- border-color: var(--bg-vanilla-300) !important;
-
- &::placeholder {
- color: var(--bg-ink-400) !important;
- opacity: 0.5 !important;
- }
- }
-
.query-aggregation-select-container {
.query-aggregation-select-editor {
.cm-editor {
- .cm-content {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
- box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1) !important;
-
- &:focus-within {
- border-color: var(--bg-vanilla-300) !important;
- }
- }
-
.cm-tooltip-autocomplete {
- background: var(--bg-vanilla-100) !important;
- border: 1px solid var(--bg-vanilla-300) !important;
- color: var(--bg-ink-500) !important;
+ background: var(--l1-background) !important;
+ border: 1px solid var(--l1-border) !important;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
+ backdrop-filter: none;
ul {
li {
- color: var(--bg-ink-300) !important;
-
&:hover,
&[aria-selected='true'] {
- background: var(--bg-vanilla-300) !important;
- color: var(--bg-ink-500) !important;
- font-weight: 600 !important;
+ background: var(--l3-background) !important;
}
}
}
}
.cm-line {
- background-color: var(--bg-vanilla-100) !important;
-
::-moz-selection {
- background: var(--bg-vanilla-100) !important;
+ background: var(--l1-background) !important;
opacity: 0.5 !important;
}
::selection {
- background: var(--bg-vanilla-100) !important;
+ background: var(--l1-background) !important;
opacity: 0.5 !important;
}
.cm-function {
- color: var(--bg-robin-500) !important;
- }
-
- .chip-decorator {
- background: var(--bg-vanilla-300) !important;
- color: var(--bg-ink-400) !important;
+ color: var(--primary-background) !important;
}
}
-
- // .cm-selectionBackground {
- // background: var(--bg-vanilla-100) !important;
- // opacity: 0.5 !important;
- // }
}
}
-
- .close-btn {
- border-color: var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
- }
}
}
}
.query-aggregation-error-popover {
.ant-popover-inner {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-background);
border: none;
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}
@@ -336,8 +299,8 @@
.query-aggregation-error-popover {
.ant-popover-inner {
- background-color: var(--bg-slate-500);
- border: 1px solid var(--bg-slate-400);
+ background-color: var(--l1-border);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}
diff --git a/frontend/src/components/QueryBuilderV2/QueryV2/QueryFooter/QueryFooter.styles.scss b/frontend/src/components/QueryBuilderV2/QueryV2/QueryFooter/QueryFooter.styles.scss
index 1ceea9f340..af6b1ae57a 100644
--- a/frontend/src/components/QueryBuilderV2/QueryV2/QueryFooter/QueryFooter.styles.scss
+++ b/frontend/src/components/QueryBuilderV2/QueryV2/QueryFooter/QueryFooter.styles.scss
@@ -1,7 +1,7 @@
.add-trace-operator-button,
.add-new-query-button,
.add-formula-button {
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
diff --git a/frontend/src/components/QueryBuilderV2/QueryV2/QuerySearch/QuerySearch.styles.scss b/frontend/src/components/QueryBuilderV2/QueryV2/QuerySearch/QuerySearch.styles.scss
index 28303f4294..794b0fa7fa 100644
--- a/frontend/src/components/QueryBuilderV2/QueryV2/QuerySearch/QuerySearch.styles.scss
+++ b/frontend/src/components/QueryBuilderV2/QueryV2/QuerySearch/QuerySearch.styles.scss
@@ -19,11 +19,11 @@
.query-status-container {
width: 32px;
- background-color: #121317 !important;
+ background-color: var(--l1-background) !important;
display: flex;
justify-content: center;
align-items: center;
- border: 1px solid var(--bg-slate-200);
+ border: 1px solid var(--l1-border);
border-radius: 2px;
border-top-left-radius: 0px !important;
border-bottom-left-radius: 0px !important;
@@ -53,26 +53,26 @@
background-color: transparent !important;
&:focus-within {
- border-color: var(--bg-robin-500);
+ border-color: var(--primary-background);
}
.cm-content {
border-radius: 2px;
- border: 1px solid var(--Slate-400, #1d212d);
+ border: 1px solid var(--l1-border);
padding: 0px !important;
- background-color: #121317 !important;
+ background-color: var(--l1-background) !important;
&:focus-within {
- border-color: var(--bg-ink-200);
+ border-color: var(--l1-border);
}
}
&.cm-focused {
- outline: 1px solid var(--bg-slate-200);
+ outline: 1px solid var(--l1-border);
}
.cm-tooltip-autocomplete {
- background: var(--bg-ink-300) !important;
+ background: var(--l3-background) !important;
border-radius: 2px !important;
font-size: 12px !important;
font-weight: 500 !important;
@@ -86,13 +86,13 @@
border: 0px;
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
) !important;
backdrop-filter: blur(20px);
box-sizing: border-box;
font-family: 'Space Mono', monospace !important;
- border: 1px solid var(--bg-slate-200);
+ border: 1px solid var(--l1-border);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
ul {
@@ -130,8 +130,11 @@
font-family: 'Space Mono', monospace !important;
+ background-color: var(--l1-background) !important;
+ color: var(--l2-foreground) !important;
+
&:hover {
- background: var(--bg-ink-100) !important;
+ background: var(--l3-background) !important;
}
.cm-completionIcon {
@@ -139,8 +142,8 @@
}
&[aria-selected='true'] {
- // background-color: rgba(78, 116, 248, 0.7) !important;
- background: rgba(171, 189, 255, 0.04) !important;
+ background: var(--l3-background) !important;
+ font-weight: 600 !important;
}
}
}
@@ -153,30 +156,30 @@
.cm-line {
line-height: 34px !important;
font-family: 'Space Mono', monospace !important;
- background-color: #121317 !important;
+ background-color: var(--l1-background) !important;
::-moz-selection {
- background: var(--bg-ink-100) !important;
+ background: var(--l3-background) !important;
opacity: 0.5 !important;
}
::selection {
- background: var(--bg-ink-100) !important;
+ background: var(--l3-background) !important;
opacity: 0.5 !important;
}
}
.cm-selectionBackground {
- background: var(--bg-ink-100) !important;
+ background: var(--l3-background) !important;
opacity: 0.5 !important;
}
}
.cursor-position {
font-size: 12px;
- color: var(--bg-ink-200);
+ color: var(--l2-foreground);
padding: 6px;
- background-color: var(--bg-vanilla-200);
+ background-color: var(--l1-background);
border-radius: 4px;
display: inline-flex;
align-items: center;
@@ -202,13 +205,13 @@
}
.valid {
- background-color: rgba(39, 174, 96, 0.1);
- color: #27ae60;
+ background-color: color-mix(in srgb, var(--bg-forest-400) 10%, transparent);
+ color: var(--bg-forest-600);
}
.invalid {
- background-color: rgba(235, 87, 87, 0.1);
- color: #eb5757;
+ background-color: color-mix(in srgb, var(--bg-cherry-400) 10%, transparent);
+ color: var(--bg-cherry-500);
}
.query-validation-status {
@@ -237,13 +240,13 @@
.query-context {
padding: 12px;
- background-color: var(--bg-ink-400);
+ background-color: var(--l1-background);
border-radius: 4px;
- border-left: 3px solid var(--bg-robin-500);
- color: var(--bg-ink-300) !important;
+ border-left: 3px solid var(--l1-border);
+ color: var(--l2-foreground) !important;
.ant-card-head {
- color: var(--bg-vanilla-300) !important;
+ color: var(--l2-foreground) !important;
}
.context-details {
@@ -256,7 +259,7 @@
font-size: 13px;
strong {
- color: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
margin-right: 4px;
}
}
@@ -271,8 +274,8 @@
.query-text-preview-title {
font-size: 13px;
- color: var(--bg-vanilla-100);
- background-color: var(--bg-robin-500);
+ color: var(--primary-foreground);
+ background-color: var(--primary-background);
padding: 2px 6px;
border-radius: 2px;
margin-right: 4px;
@@ -281,14 +284,14 @@
.query-text-preview {
font-family: 'Space Mono', monospace;
font-size: 13px;
- color: var(--bg-vanilla-200);
+ color: var(--l2-foreground);
padding: 2px 6px;
font-style: italic;
}
.query-examples-card {
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-200);
+ background-color: var(--l1-background);
+ border: 1px solid var(--l1-border);
.ant-card-body {
padding: 0;
@@ -297,7 +300,7 @@
.query-examples {
.ant-collapse-header {
padding: 8px 16px !important;
- color: var(--bg-vanilla-300) !important;
+ color: var(--l2-foreground) !important;
font-weight: 500;
}
@@ -317,20 +320,20 @@
flex-direction: column;
gap: 4px;
padding: 8px 12px;
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-200);
+ background-color: var(--l1-background);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
cursor: pointer;
transition: all 0.2s ease;
outline: none;
&:hover {
- background-color: var(--bg-ink-300);
- border-color: var(--bg-robin-500);
+ background-color: var(--l3-background);
+ border-color: var(--primary-background);
}
&:focus-visible {
- outline: 2px solid var(--bg-robin-500);
+ outline: 2px solid var(--primary-background);
outline-offset: 2px;
}
@@ -342,22 +345,22 @@
.query-example-label {
font-weight: 500;
- color: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
font-size: 13px;
}
.query-example-query {
font-family: 'Space Mono', monospace;
font-size: 12px;
- color: var(--bg-vanilla-200);
- background-color: var(--bg-ink-300);
+ color: var(--l2-foreground);
+ background-color: var(--l3-background);
padding: 2px 6px;
border-radius: 2px;
}
.query-example-description {
font-size: 12px;
- color: var(--bg-vanilla-200);
+ color: var(--l2-foreground);
opacity: 0.8;
}
}
@@ -404,33 +407,37 @@
// Color variations based on context
&.context-indicator-key {
- border-left-color: #1890ff; // blue
- background-color: rgba(24, 144, 255, 0.1);
+ border-left-color: var(--primary-background);
+ background-color: color-mix(
+ in srgb,
+ var(--primary-background) 10%,
+ transparent
+ );
}
&.context-indicator-operator {
- border-left-color: #722ed1; // purple
- background-color: rgba(114, 46, 209, 0.1);
+ border-left-color: var(--bg-robin-600); // purple
+ background-color: color-mix(in srgb, var(--bg-robin-600) 10%, transparent);
}
&.context-indicator-value {
- border-left-color: #52c41a; // green
- background-color: rgba(82, 196, 26, 0.1);
+ border-left-color: var(--bg-forest-500); // green
+ background-color: color-mix(in srgb, var(--bg-forest-400) 10%, transparent);
}
&.context-indicator-conjunction {
- border-left-color: #fa8c16; // orange
- background-color: rgba(250, 140, 22, 0.1);
+ border-left-color: var(--bg-amber-500); // orange
+ background-color: color-mix(in srgb, var(--bg-amber-400) 10%, transparent);
}
&.context-indicator-function {
- border-left-color: #13c2c2; // cyan
- background-color: rgba(19, 194, 194, 0.1);
+ border-left-color: var(--bg-aqua-500); // cyan
+ background-color: color-mix(in srgb, var(--bg-aqua-500) 10%, transparent);
}
&.context-indicator-parenthesis {
- border-left-color: #eb2f96; // magenta
- background-color: rgba(235, 47, 150, 0.1);
+ border-left-color: var(--bg-sakura-500); // magenta
+ background-color: color-mix(in srgb, var(--bg-sakura-500) 10%, transparent);
}
}
}
@@ -441,279 +448,36 @@
}
.ant-popover-content {
- background: linear-gradient(
- 139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
- );
- box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
- backdrop-filter: blur(20px);
+ background: var(--l1-background);
+ box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
margin-top: -6px !important;
}
}
-// /* Dark mode support */
-// :global(.darkMode) {
-// .code-mirror-where-clause {
-// .cm-editor {
-// border-color: var(--bg-slate-500);
-// background-color: var(--bg-ink-400);
-// }
-
-// .cursor-position {
-// background-color: var(--bg-ink-400);
-// color: var(--bg-vanilla-100);
-// }
-
-// .query-context {
-// background-color: var(--bg-ink-400);
-// color: var(--bg-vanilla-100);
-
-// h3 {
-// color: var(--bg-vanilla-100);
-// }
-
-// .context-details {
-// p {
-// strong {
-// color: var(--bg-vanilla-200);
-// }
-// }
-// }
-// }
-
-// .query-examples-card {
-// background-color: var(--bg-ink-400);
-// border-color: var(--bg-slate-500);
-
-// .ant-collapse-header {
-// color: var(--bg-vanilla-100) !important;
-// }
-
-// .query-example-tag {
-// background-color: var(--bg-ink-400);
-// border-color: var(--bg-slate-500);
-
-// &:hover {
-// background-color: var(--bg-ink-300);
-// border-color: var(--bg-robin-500);
-// }
-
-// .query-example-label {
-// color: var(--bg-vanilla-100);
-// }
-
-// .query-example-query {
-// color: var(--bg-vanilla-100);
-// background-color: var(--bg-ink-300);
-// }
-
-// .query-example-description {
-// color: var(--bg-vanilla-100);
-// }
-// }
-// }
-
-// .context-indicator {
-// background-color: var(--bg-ink-300);
-// color: var(--bg-vanilla-100);
-
-// .query-pair-info {
-// border-left: 1px solid rgba(255, 255, 255, 0.1);
-// background-color: rgba(255, 255, 255, 0.05);
-// }
-// }
-// }
-// }
-
.lightMode {
.code-mirror-where-clause {
- .query-where-clause-editor-container {
- .query-status-container {
- background-color: var(--bg-vanilla-100) !important;
- border: 1px solid var(--bg-vanilla-300);
-
- &.hasErrors {
- border-color: var(--bg-cherry-500);
- }
- }
- }
-
- .query-where-clause-editor {
- &.hasErrors {
- .cm-editor {
- .cm-content {
- border-color: var(--bg-cherry-500);
- border-top-right-radius: 0px !important;
- border-bottom-right-radius: 0px !important;
- }
- }
- }
- }
-
.cm-editor {
- &:focus-within {
- border-color: var(--bg-robin-500);
- }
-
- &.cm-focused {
- outline: 1px solid var(--bg-vanilla-300);
- }
-
- .cm-content {
- border-radius: 2px;
- border: 1px solid var(--bg-vanilla-300);
- padding: 0px !important;
- background-color: var(--bg-vanilla-100) !important;
-
- &:focus-within {
- border-color: var(--bg-vanilla-200);
- }
- }
-
.cm-tooltip-autocomplete {
- background: var(--bg-vanilla-100) !important;
- border: 1px solid var(--bg-vanilla-300);
+ background: var(--l1-background) !important;
+ border: 1px solid var(--l1-border);
backdrop-filter: blur(20px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
-
- ul {
- li {
- background-color: var(--bg-vanilla-100) !important;
- color: var(--bg-ink-300) !important;
-
- &:hover,
- &[aria-selected='true'] {
- background-color: var(--bg-vanilla-300) !important;
- font-weight: 600 !important;
- }
- }
- }
}
.cm-line {
- background-color: var(--bg-vanilla-100) !important;
-
::-moz-selection {
- background: #b3d4fc !important;
+ background: var(--bg-robin-200) !important;
}
::selection {
- background: #b3d4fc !important;
+ background: var(--bg-robin-200) !important;
}
}
.cm-selectionBackground {
- background: #b3d4fc !important;
+ background: var(--bg-robin-200) !important;
}
}
-
- .cursor-position {
- color: var(--bg-vanilla-200);
- background-color: var(--bg-vanilla-100);
- }
-
- .query-context {
- background-color: var(--bg-vanilla-100);
- border-left: 3px solid var(--bg-vanilla-300);
- color: var(--bg-vanilla-300) !important;
-
- .ant-card-head {
- color: var(--bg-ink-300) !important;
- }
-
- .context-details {
- p {
- strong {
- color: var(--bg-ink-300);
- }
- }
- }
- }
-
- .query-examples-card {
- background-color: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
-
- .query-examples {
- .ant-collapse-header {
- color: var(--bg-ink-300) !important;
- }
-
- .query-example-tag {
- background-color: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
-
- &:hover {
- background-color: var(--bg-vanilla-200);
- border-color: var(--bg-vanilla-300);
- }
-
- .query-example-label {
- color: var(--bg-ink-300);
- }
-
- .query-example-query {
- color: var(--bg-ink-300);
- background-color: var(--bg-vanilla-100);
- }
-
- .query-example-description {
- color: var(--bg-ink-300);
- }
- }
- }
- }
-
- .context-indicator {
- background-color: var(--bg-vanilla-100);
- border-left: 4px solid var(--bg-vanilla-300);
-
- display: none;
-
- .query-pair-info {
- border-left: 1px solid rgba(255, 255, 255, 0.1);
- background-color: rgba(255, 255, 255, 0.03);
- }
-
- // Color variations based on context
- &.context-indicator-key {
- border-left-color: #1890ff; // blue
- background-color: rgba(24, 144, 255, 0.1);
- }
-
- &.context-indicator-operator {
- border-left-color: #722ed1; // purple
- background-color: rgba(114, 46, 209, 0.1);
- }
-
- &.context-indicator-value {
- border-left-color: #52c41a; // green
- background-color: rgba(82, 196, 26, 0.1);
- }
-
- &.context-indicator-conjunction {
- border-left-color: #fa8c16; // orange
- background-color: rgba(250, 140, 22, 0.1);
- }
-
- &.context-indicator-function {
- border-left-color: #13c2c2; // cyan
- background-color: rgba(19, 194, 194, 0.1);
- }
-
- &.context-indicator-parenthesis {
- border-left-color: #eb2f96; // magenta
- background-color: rgba(235, 47, 150, 0.1);
- }
- }
- }
-
- .query-status-popover {
- .ant-popover-content {
- background: var(--bg-vanilla-100);
- box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
- }
}
}
diff --git a/frontend/src/components/QueryBuilderV2/QueryV2/TraceOperator/TraceOperator.styles.scss b/frontend/src/components/QueryBuilderV2/QueryV2/TraceOperator/TraceOperator.styles.scss
index d8945d5b30..0db379ea04 100644
--- a/frontend/src/components/QueryBuilderV2/QueryV2/TraceOperator/TraceOperator.styles.scss
+++ b/frontend/src/components/QueryBuilderV2/QueryV2/TraceOperator/TraceOperator.styles.scss
@@ -16,8 +16,8 @@
width: 1px;
background: repeating-linear-gradient(
to bottom,
- var(--bg-slate-400),
- var(--bg-slate-400) 4px,
+ var(--l1-border),
+ var(--l1-border) 4px,
transparent 4px,
transparent 8px
);
@@ -36,8 +36,8 @@
width: 20px;
background: repeating-linear-gradient(
to right,
- var(--bg-slate-400),
- var(--bg-slate-400) 4px,
+ var(--l1-border),
+ var(--l1-border) 4px,
transparent 4px,
transparent 8px
);
@@ -52,7 +52,7 @@
height: 4px;
width: 4px;
border-radius: 50%;
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
}
}
@@ -87,8 +87,8 @@
flex-direction: row;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
.qb-trace-operator-editor-container {
flex: 1;
@@ -105,17 +105,17 @@
top: 50%;
height: 1px;
width: 16px;
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
}
}
.label {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 0px 8px;
- border-right: 1px solid var(--bg-slate-400);
+ border-right: 1px solid var(--l1-border);
font-size: 12px;
font-weight: 300;
}
@@ -128,22 +128,22 @@
&::before {
background: repeating-linear-gradient(
to right,
- var(--bg-vanilla-300),
- var(--bg-vanilla-300) 4px,
+ var(--l3-background),
+ var(--l3-background) 4px,
transparent 4px,
transparent 8px
);
}
&::after {
- background-color: var(--bg-vanilla-300);
+ background-color: var(--l3-background);
}
}
&.non-list-view {
&::before {
background: repeating-linear-gradient(
to bottom,
- var(--bg-vanilla-300),
- var(--bg-vanilla-300) 4px,
+ var(--l3-background),
+ var(--l3-background) 4px,
transparent 4px,
transparent 8px
);
@@ -151,13 +151,13 @@
}
&-label-with-input {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
+ border: 1px solid var(--l1-border) !important;
+ background: var(--l1-background) !important;
.label {
- color: var(--bg-ink-500) !important;
- border-right: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
+ color: var(--l1-foreground) !important;
+ border-right: 1px solid var(--l1-border) !important;
+ background: var(--l1-background) !important;
}
}
}
diff --git a/frontend/src/components/QuickFilters/FilterRenderers/Checkbox/Checkbox.styles.scss b/frontend/src/components/QuickFilters/FilterRenderers/Checkbox/Checkbox.styles.scss
index 6d614ded70..ace1885276 100644
--- a/frontend/src/components/QuickFilters/FilterRenderers/Checkbox/Checkbox.styles.scss
+++ b/frontend/src/components/QuickFilters/FilterRenderers/Checkbox/Checkbox.styles.scss
@@ -3,7 +3,7 @@
flex-direction: column;
padding: 12px;
gap: 12px;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
.filter-header-checkbox {
display: flex;
align-items: center;
@@ -16,7 +16,7 @@
gap: 6px;
.title {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -34,7 +34,7 @@
.clear-all {
font-size: 12px;
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
cursor: pointer;
}
}
@@ -47,7 +47,7 @@
.filter-separator {
height: 1px;
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
margin: 4px 0;
}
@@ -71,17 +71,17 @@
cursor: not-allowed;
.value-string {
- color: var(--bg-slate-200);
+ color: var(--l3-foreground);
}
.only-btn {
cursor: not-allowed;
- color: var(--bg-slate-200);
+ color: var(--l3-foreground);
}
.toggle-btn {
cursor: not-allowed;
- color: var(--bg-slate-200);
+ color: var(--l3-foreground);
}
}
@@ -134,7 +134,7 @@
justify-content: center;
.show-more-text {
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
cursor: pointer;
}
}
@@ -149,7 +149,7 @@
margin-top: 4px;
&-message {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
@@ -173,25 +173,6 @@
}
}
-.lightMode {
- .checkbox-filter {
- border-bottom: 1px solid var(--bg-vanilla-300);
- .filter-header-checkbox {
- .left-action {
- .title {
- color: var(--bg-ink-400);
- }
- }
- }
-
- .values {
- .filter-separator {
- background-color: var(--bg-vanilla-300);
- }
- }
- }
-}
-
.label-false {
width: 2px;
height: 11px;
diff --git a/frontend/src/components/QuickFilters/FilterRenderers/Duration/Duration.styles.scss b/frontend/src/components/QuickFilters/FilterRenderers/Duration/Duration.styles.scss
index 9578c6e604..4cbfc860e9 100644
--- a/frontend/src/components/QuickFilters/FilterRenderers/Duration/Duration.styles.scss
+++ b/frontend/src/components/QuickFilters/FilterRenderers/Duration/Duration.styles.scss
@@ -1,6 +1,6 @@
.collapseContainer {
- background-color: var(--bg-ink-500);
- border-bottom: 1px solid var(--bg-slate-400);
+ background-color: var(--l1-background);
+ border-bottom: 1px solid var(--l1-border);
.ant-collapse-header {
padding: 12px !important;
@@ -12,7 +12,7 @@
}
.ant-collapse-header-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -28,7 +28,7 @@
.min-max-input {
.ant-input-group-addon {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono', monospace;
font-size: 12px;
font-style: normal;
@@ -41,7 +41,7 @@
.ant-input {
padding: 4px 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono', monospace;
font-size: 12px;
font-style: normal;
@@ -54,9 +54,9 @@
}
.divider {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
margin: 0;
- border-color: var(--bg-slate-400);
+ border-color: var(--l1-border);
}
.filter-header {
@@ -66,7 +66,7 @@
gap: 6px;
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -77,14 +77,14 @@
}
.sync-icon {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
border: 0;
box-shadow: none;
padding: 8px;
}
.arrow-icon {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
border: 0;
box-shadow: none;
padding-top: 8px;
@@ -112,7 +112,7 @@
}
.section-card {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
.ant-card-body {
padding: 0;
display: flex;
@@ -124,51 +124,3 @@
}
width: 240px;
}
-.lightMode {
- .collapseContainer {
- background-color: var(--bg-vanilla-100);
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .ant-collapse-header-text {
- color: var(--bg-slate-100);
- }
-
- .duration-inputs {
- .min-max-input {
- .ant-input-group-addon {
- color: var(--bg-slate-100);
- }
-
- .ant-input {
- color: var(--bg-slate-100);
- }
- }
- }
- }
-
- .divider {
- background-color: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-200);
- }
-
- .filter-header {
- .filter-title {
- .ant-typography {
- color: var(--bg-slate-100);
- }
- }
-
- .arrow-icon {
- background-color: var(--bg-vanilla-100);
- }
-
- .sync-icon {
- background-color: var(--bg-vanilla-100);
- }
- }
-
- .section-card {
- background-color: var(--bg-vanilla-100);
- box-shadow: none;
- }
-}
diff --git a/frontend/src/components/QuickFilters/QuickFilters.styles.scss b/frontend/src/components/QuickFilters/QuickFilters.styles.scss
index ff928adc68..658317e5f4 100644
--- a/frontend/src/components/QuickFilters/QuickFilters.styles.scss
+++ b/frontend/src/components/QuickFilters/QuickFilters.styles.scss
@@ -22,8 +22,8 @@
min-width: 0;
height: 100%;
min-height: 0;
- border-right: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ border-right: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
.overlay-scrollbar {
flex: 1;
@@ -35,7 +35,7 @@
align-items: center;
justify-content: space-between;
padding: 10.5px;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
.left-actions {
display: flex;
@@ -45,7 +45,7 @@
justify-content: flex-start;
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -64,9 +64,10 @@
align-items: center;
gap: 10px;
border-radius: 2px;
- border: 1px solid rgba(78, 116, 248, 0.2);
- background: rgba(78, 116, 248, 0.1);
- color: var(--bg-robin-500);
+ border: 1px solid
+ color-mix(in srgb, var(--primary-background) 20%, transparent);
+ background: var(--primary-background);
+ color: var(--primary-foreground);
font-family: 'Geist Mono';
font-size: 14px;
font-style: normal;
@@ -74,6 +75,7 @@
line-height: 18px;
text-transform: uppercase;
}
+
.select-box {
display: flex;
padding: 2px 5px;
@@ -99,7 +101,7 @@
.divider-filter {
width: 1px;
height: 14px;
- background: #161922;
+ background: var(--l1-background);
}
.sync-icon {
@@ -111,7 +113,7 @@
position: relative;
display: flex;
padding: 2px;
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
.settings-icon {
height: 14px;
@@ -121,7 +123,7 @@
&.active,
&:hover {
- background: var(--bg-slate-500);
+ background: var(--l2-background);
}
}
}
@@ -156,43 +158,12 @@
mask-image: radial-gradient(
circle at 50% 0,
- rgba(11, 12, 14, 0.1) 0,
- rgba(11, 12, 14, 0) 100%
+ color-mix(in srgb, var(--background) 10%, transparent) 0,
+ transparent 100%
);
-webkit-mask-image: radial-gradient(
circle at 50% 0,
- rgba(11, 12, 14, 0.1) 0,
- rgba(11, 12, 14, 0) 100%
+ color-mix(in srgb, var(--background) 10%, transparent) 0,
+ transparent 100%
);
}
-
-.lightMode {
- .quick-filters {
- background-color: var(--bg-vanilla-100);
- border-right: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-200);
-
- .header {
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .left-actions {
- .text {
- color: var(--bg-ink-400);
- }
-
- .sync-icon {
- background-color: var(--bg-vanilla-100);
- }
- }
- .right-actions {
- .right-action-icon-container {
- background-color: var(--bg-vanilla-100);
- &.active,
- &:hover {
- background-color: var(--bg-vanilla-200);
- }
- }
- }
- }
- }
-}
diff --git a/frontend/src/components/QuickFilters/QuickFiltersSettings/AnnouncementTooltip/AnnouncementTooltip.styles.scss b/frontend/src/components/QuickFilters/QuickFiltersSettings/AnnouncementTooltip/AnnouncementTooltip.styles.scss
index c615e02778..e127d438c4 100644
--- a/frontend/src/components/QuickFilters/QuickFiltersSettings/AnnouncementTooltip/AnnouncementTooltip.styles.scss
+++ b/frontend/src/components/QuickFilters/QuickFiltersSettings/AnnouncementTooltip/AnnouncementTooltip.styles.scss
@@ -4,7 +4,7 @@
width: 8px;
height: 8px;
border-radius: 50%;
- background-color: var(--bg-robin-500);
+ background-color: var(--primary-background);
z-index: 1000;
}
@@ -16,8 +16,8 @@
&__container {
position: absolute;
width: 320px;
- background-color: var(--bg-robin-500);
- color: var(--text-white);
+ background-color: var(--primary-background);
+ color: var(--primary-foreground);
border-radius: 8px;
padding: 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
@@ -32,7 +32,7 @@
&__close-icon {
cursor: pointer;
- color: var(--text-white);
+ color: var(--primary-foreground);
}
&__message {
@@ -46,8 +46,8 @@
}
&__button {
- background: var(--bg-vanilla-100);
- color: var(--bg-robin-500);
+ background: var(--card);
+ color: var(--accent-primary);
border: none;
padding: 6px 12px;
border-radius: 4px;
diff --git a/frontend/src/components/QuickFilters/QuickFiltersSettings/QuickFiltersSettings.styles.scss b/frontend/src/components/QuickFilters/QuickFiltersSettings/QuickFiltersSettings.styles.scss
index 28f5f96003..9e8d9d8b6f 100644
--- a/frontend/src/components/QuickFilters/QuickFiltersSettings/QuickFiltersSettings.styles.scss
+++ b/frontend/src/components/QuickFilters/QuickFiltersSettings/QuickFiltersSettings.styles.scss
@@ -6,10 +6,10 @@
left: 0;
z-index: 999;
width: 342px;
- background: var(--bg-slate-500);
+ background: var(--l1-background);
transition: width 0.05s ease-in-out;
overflow: hidden;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
&.qf-logs-explorer {
height: calc(100vh - 45px);
@@ -63,7 +63,7 @@
.search {
.ant-input {
- background-color: var(--bg-slate-500);
+ background-color: var(--l1-background);
height: 46px;
border-radius: 0;
}
@@ -80,7 +80,7 @@
display: flex;
gap: 12px;
padding: 12px;
- border-top: 1px solid var(--bg-slate-400);
+ border-top: 1px solid var(--l1-border);
button {
display: flex;
align-items: center;
@@ -99,7 +99,7 @@
display: flex;
flex-direction: column;
.qf-filters-header {
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -172,31 +172,10 @@
}
&:hover {
- background-color: var(--bg-slate-400);
+ background-color: var(--l2-background);
.remove-filter-btn,
.add-filter-btn {
opacity: 1;
}
}
}
-
-.lightMode {
- .quick-filters-settings {
- background: var(--bg-vanilla-100);
- color: var(--bg-slate-500);
- .search {
- .ant-input {
- background-color: var(--bg-vanilla-100);
- }
- }
- .qf-footer {
- border-top: 1px solid var(--bg-vanilla-300);
- }
- }
-
- .qf-filter-item {
- &:hover {
- background-color: var(--bg-vanilla-200);
- }
- }
-}
diff --git a/frontend/src/components/ResizeTable/ResizeTable.styles.scss b/frontend/src/components/ResizeTable/ResizeTable.styles.scss
index b514d56820..3f2993d6d6 100644
--- a/frontend/src/components/ResizeTable/ResizeTable.styles.scss
+++ b/frontend/src/components/ResizeTable/ResizeTable.styles.scss
@@ -45,7 +45,7 @@
transform: translate(-50%, -50%);
width: 1px;
height: 1.6em;
- background-color: var(--bg-slate-200);
+ background-color: var(--l3-background);
transition: background-color 0.2s;
}
}
diff --git a/frontend/src/components/RolesSelect/RolesSelect.styles.scss b/frontend/src/components/RolesSelect/RolesSelect.styles.scss
index 7f3987c636..c98426440a 100644
--- a/frontend/src/components/RolesSelect/RolesSelect.styles.scss
+++ b/frontend/src/components/RolesSelect/RolesSelect.styles.scss
@@ -33,7 +33,7 @@
font-size: var(--font-size-sm);
color: var(--l1-foreground);
background: var(--l3-background);
- border: 1px solid var(--border);
+ border: 1px solid var(--l1-border);
border-radius: 2px;
padding: 0 var(--padding-1) 0 6px;
line-height: var(--line-height-20);
diff --git a/frontend/src/components/ServiceAccountDrawer/AddKeyModal/AddKeyModal.styles.scss b/frontend/src/components/ServiceAccountDrawer/AddKeyModal/AddKeyModal.styles.scss
index 263ba79e5b..ee5e700d8f 100644
--- a/frontend/src/components/ServiceAccountDrawer/AddKeyModal/AddKeyModal.styles.scss
+++ b/frontend/src/components/ServiceAccountDrawer/AddKeyModal/AddKeyModal.styles.scss
@@ -27,7 +27,7 @@
&__input {
height: 32px;
background: var(--l2-background);
- border-color: var(--border);
+ border-color: var(--l1-border);
color: var(--l1-foreground);
box-shadow: none;
@@ -39,7 +39,7 @@
&__expiry-toggle {
width: 60%;
display: flex;
- border: 1px solid var(--border);
+ border: 1px solid var(--l1-border);
border-radius: 2px;
overflow: hidden;
padding: 0;
@@ -60,7 +60,7 @@
justify-content: center;
background: transparent;
border: none;
- border-right: 1px solid var(--border);
+ border-right: 1px solid var(--l1-border);
color: var(--foreground);
&:last-child {
@@ -80,7 +80,7 @@
.ant-picker {
background: var(--l2-background);
- border-color: var(--border);
+ border-color: var(--l1-border);
border-radius: 2px;
width: 100%;
height: 32px;
@@ -108,7 +108,7 @@
align-items: center;
height: 32px;
background: var(--l2-background);
- border: 1px solid var(--border);
+ border: 1px solid var(--l1-border);
border-radius: 2px;
overflow: hidden;
}
@@ -132,7 +132,7 @@
border-top: none;
border-right: none;
border-bottom: none;
- border-left: 1px solid var(--border);
+ border-left: 1px solid var(--l1-border);
min-width: 40px;
}
diff --git a/frontend/src/components/ServiceAccountDrawer/AddKeyModal/KeyCreatedPhase.tsx b/frontend/src/components/ServiceAccountDrawer/AddKeyModal/KeyCreatedPhase.tsx
index dec6310262..574a78c01c 100644
--- a/frontend/src/components/ServiceAccountDrawer/AddKeyModal/KeyCreatedPhase.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/AddKeyModal/KeyCreatedPhase.tsx
@@ -1,7 +1,7 @@
-import { Badge } from '@signozhq/badge';
import { Button } from '@signozhq/button';
import { Callout } from '@signozhq/callout';
import { Check, Copy } from '@signozhq/icons';
+import { Badge } from '@signozhq/ui';
import type { ServiceaccounttypesGettableFactorAPIKeyWithKeyDTO } from 'api/generated/services/sigNoz.schemas';
export interface KeyCreatedPhaseProps {
diff --git a/frontend/src/components/ServiceAccountDrawer/AddKeyModal/index.tsx b/frontend/src/components/ServiceAccountDrawer/AddKeyModal/index.tsx
index 98f7dcee1b..c8d1969622 100644
--- a/frontend/src/components/ServiceAccountDrawer/AddKeyModal/index.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/AddKeyModal/index.tsx
@@ -3,7 +3,7 @@ import { useForm } from 'react-hook-form';
import { useQueryClient } from 'react-query';
import { useCopyToClipboard } from 'react-use';
import { DialogWrapper } from '@signozhq/dialog';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { convertToApiError } from 'api/ErrorResponseHandlerForGeneratedAPIs';
import {
invalidateListServiceAccountKeys,
diff --git a/frontend/src/components/ServiceAccountDrawer/DeleteAccountModal.tsx b/frontend/src/components/ServiceAccountDrawer/DeleteAccountModal.tsx
index 622d744d0e..0d3b59eef5 100644
--- a/frontend/src/components/ServiceAccountDrawer/DeleteAccountModal.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/DeleteAccountModal.tsx
@@ -2,7 +2,7 @@ import { useQueryClient } from 'react-query';
import { Button } from '@signozhq/button';
import { DialogFooter, DialogWrapper } from '@signozhq/dialog';
import { Trash2, X } from '@signozhq/icons';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { convertToApiError } from 'api/ErrorResponseHandlerForGeneratedAPIs';
import {
getGetServiceAccountQueryKey,
diff --git a/frontend/src/components/ServiceAccountDrawer/EditKeyModal/EditKeyForm.tsx b/frontend/src/components/ServiceAccountDrawer/EditKeyModal/EditKeyForm.tsx
index 55510a36a1..9df9f13989 100644
--- a/frontend/src/components/ServiceAccountDrawer/EditKeyModal/EditKeyForm.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/EditKeyModal/EditKeyForm.tsx
@@ -1,10 +1,10 @@
import type { Control, UseFormRegister } from 'react-hook-form';
import { Controller } from 'react-hook-form';
-import { Badge } from '@signozhq/badge';
import { Button } from '@signozhq/button';
import { LockKeyhole, Trash2, X } from '@signozhq/icons';
import { Input } from '@signozhq/input';
import { ToggleGroup, ToggleGroupItem } from '@signozhq/toggle-group';
+import { Badge } from '@signozhq/ui';
import { DatePicker } from 'antd';
import type { ServiceaccounttypesGettableFactorAPIKeyDTO } from 'api/generated/services/sigNoz.schemas';
import { popupContainer } from 'utils/selectPopupContainer';
diff --git a/frontend/src/components/ServiceAccountDrawer/EditKeyModal/EditKeyModal.styles.scss b/frontend/src/components/ServiceAccountDrawer/EditKeyModal/EditKeyModal.styles.scss
index af5395a97e..e08bf34d20 100644
--- a/frontend/src/components/ServiceAccountDrawer/EditKeyModal/EditKeyModal.styles.scss
+++ b/frontend/src/components/ServiceAccountDrawer/EditKeyModal/EditKeyModal.styles.scss
@@ -27,7 +27,7 @@
&__input {
height: 32px;
background: var(--l2-background);
- border-color: var(--border);
+ border-color: var(--l1-border);
color: var(--l1-foreground);
box-shadow: none;
@@ -44,7 +44,7 @@
padding: 0 var(--padding-2);
border-radius: 2px;
background: var(--l2-background);
- border: 1px solid var(--border);
+ border: 1px solid var(--l1-border);
cursor: not-allowed;
opacity: 0.8;
}
@@ -70,7 +70,7 @@
&__expiry-toggle {
width: 60%;
display: flex;
- border: 1px solid var(--border);
+ border: 1px solid var(--l1-border);
border-radius: 2px;
overflow: hidden;
padding: 0;
@@ -91,7 +91,7 @@
justify-content: center;
background: transparent;
border: none;
- border-right: 1px solid var(--border);
+ border-right: 1px solid var(--l1-border);
color: var(--foreground);
white-space: nowrap;
@@ -112,7 +112,7 @@
.ant-picker {
background: var(--l2-background);
- border-color: var(--border);
+ border-color: var(--l1-border);
border-radius: 2px;
width: 100%;
height: 32px;
diff --git a/frontend/src/components/ServiceAccountDrawer/EditKeyModal/index.tsx b/frontend/src/components/ServiceAccountDrawer/EditKeyModal/index.tsx
index 52b7e36355..bb445cfa61 100644
--- a/frontend/src/components/ServiceAccountDrawer/EditKeyModal/index.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/EditKeyModal/index.tsx
@@ -2,7 +2,7 @@ import { useEffect, useState } from 'react';
import { useForm } from 'react-hook-form';
import { useQueryClient } from 'react-query';
import { DialogWrapper } from '@signozhq/dialog';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { convertToApiError } from 'api/ErrorResponseHandlerForGeneratedAPIs';
import {
invalidateListServiceAccountKeys,
diff --git a/frontend/src/components/ServiceAccountDrawer/OverviewTab.tsx b/frontend/src/components/ServiceAccountDrawer/OverviewTab.tsx
index 798288112c..da0435bab7 100644
--- a/frontend/src/components/ServiceAccountDrawer/OverviewTab.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/OverviewTab.tsx
@@ -1,7 +1,7 @@
import { useCallback } from 'react';
-import { Badge } from '@signozhq/badge';
import { LockKeyhole } from '@signozhq/icons';
import { Input } from '@signozhq/input';
+import { Badge } from '@signozhq/ui';
import type { AuthtypesRoleDTO } from 'api/generated/services/sigNoz.schemas';
import RolesSelect from 'components/RolesSelect';
import { DATE_TIME_FORMATS } from 'constants/dateTimeFormats';
diff --git a/frontend/src/components/ServiceAccountDrawer/RevokeKeyModal.tsx b/frontend/src/components/ServiceAccountDrawer/RevokeKeyModal.tsx
index 83b7951b56..533cb9a1af 100644
--- a/frontend/src/components/ServiceAccountDrawer/RevokeKeyModal.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/RevokeKeyModal.tsx
@@ -2,7 +2,7 @@ import { useQueryClient } from 'react-query';
import { Button } from '@signozhq/button';
import { DialogFooter, DialogWrapper } from '@signozhq/dialog';
import { Trash2, X } from '@signozhq/icons';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { convertToApiError } from 'api/ErrorResponseHandlerForGeneratedAPIs';
import {
getListServiceAccountKeysQueryKey,
diff --git a/frontend/src/components/ServiceAccountDrawer/ServiceAccountDrawer.styles.scss b/frontend/src/components/ServiceAccountDrawer/ServiceAccountDrawer.styles.scss
index 9d12ff0747..19a5a581aa 100644
--- a/frontend/src/components/ServiceAccountDrawer/ServiceAccountDrawer.styles.scss
+++ b/frontend/src/components/ServiceAccountDrawer/ServiceAccountDrawer.styles.scss
@@ -51,7 +51,7 @@
}
&:hover {
- background: rgba(171, 189, 255, 0.04);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
color: var(--l1-foreground);
}
@@ -175,7 +175,7 @@
&__input {
height: 32px;
background: var(--l2-background);
- border-color: var(--border);
+ border-color: var(--l1-border);
color: var(--l1-foreground);
box-shadow: none;
@@ -192,7 +192,7 @@
padding: 0 var(--padding-2);
border-radius: 2px;
background: var(--l2-background);
- border: 1px solid var(--border);
+ border: 1px solid var(--l1-border);
&--disabled {
cursor: not-allowed;
@@ -485,14 +485,22 @@
background: transparent;
&:hover > td {
- background: rgba(171, 189, 255, 0.06) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-robin-200) 6%,
+ transparent
+ ) !important;
}
&.keys-tab__table-row--alt > td {
- background: rgba(171, 189, 255, 0.02);
+ background: color-mix(in srgb, var(--bg-robin-200) 2%, transparent);
&:hover {
- background: rgba(171, 189, 255, 0.06) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-robin-200) 6%,
+ transparent
+ ) !important;
}
}
}
@@ -555,7 +563,7 @@
.sa-delete-dialog {
background: var(--l2-background);
- border: 1px solid var(--l2-border);
+ border: 1px solid var(--l1-border);
[data-slot='dialog-title'] {
color: var(--l1-foreground);
diff --git a/frontend/src/components/ServiceAccountDrawer/ServiceAccountDrawer.tsx b/frontend/src/components/ServiceAccountDrawer/ServiceAccountDrawer.tsx
index 29eb0f238e..96363e3ad3 100644
--- a/frontend/src/components/ServiceAccountDrawer/ServiceAccountDrawer.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/ServiceAccountDrawer.tsx
@@ -3,8 +3,8 @@ import { useQueryClient } from 'react-query';
import { Button } from '@signozhq/button';
import { DrawerWrapper } from '@signozhq/drawer';
import { Key, LayoutGrid, Plus, Trash2, X } from '@signozhq/icons';
-import { toast } from '@signozhq/sonner';
import { ToggleGroup, ToggleGroupItem } from '@signozhq/toggle-group';
+import { toast } from '@signozhq/ui';
import { Pagination, Skeleton } from 'antd';
import { convertToApiError } from 'api/ErrorResponseHandlerForGeneratedAPIs';
import {
diff --git a/frontend/src/components/ServiceAccountDrawer/__tests__/AddKeyModal.test.tsx b/frontend/src/components/ServiceAccountDrawer/__tests__/AddKeyModal.test.tsx
index 116a36691c..62cd8b6d2b 100644
--- a/frontend/src/components/ServiceAccountDrawer/__tests__/AddKeyModal.test.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/__tests__/AddKeyModal.test.tsx
@@ -1,11 +1,12 @@
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { rest, server } from 'mocks-server/server';
import { NuqsTestingAdapter } from 'nuqs/adapters/testing';
import { render, screen, userEvent, waitFor } from 'tests/test-utils';
import AddKeyModal from '../AddKeyModal';
-jest.mock('@signozhq/sonner', () => ({
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
toast: { success: jest.fn(), error: jest.fn() },
}));
diff --git a/frontend/src/components/ServiceAccountDrawer/__tests__/EditKeyModal.test.tsx b/frontend/src/components/ServiceAccountDrawer/__tests__/EditKeyModal.test.tsx
index 79685b5a14..5ea8fb556f 100644
--- a/frontend/src/components/ServiceAccountDrawer/__tests__/EditKeyModal.test.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/__tests__/EditKeyModal.test.tsx
@@ -1,4 +1,4 @@
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import type { ServiceaccounttypesGettableFactorAPIKeyDTO } from 'api/generated/services/sigNoz.schemas';
import { rest, server } from 'mocks-server/server';
import { NuqsTestingAdapter } from 'nuqs/adapters/testing';
@@ -6,7 +6,8 @@ import { render, screen, userEvent, waitFor } from 'tests/test-utils';
import EditKeyModal from '../EditKeyModal';
-jest.mock('@signozhq/sonner', () => ({
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
toast: { success: jest.fn(), error: jest.fn() },
}));
diff --git a/frontend/src/components/ServiceAccountDrawer/__tests__/KeysTab.test.tsx b/frontend/src/components/ServiceAccountDrawer/__tests__/KeysTab.test.tsx
index 5d4f129637..17450437ee 100644
--- a/frontend/src/components/ServiceAccountDrawer/__tests__/KeysTab.test.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/__tests__/KeysTab.test.tsx
@@ -1,4 +1,4 @@
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { ServiceaccounttypesGettableFactorAPIKeyDTO } from 'api/generated/services/sigNoz.schemas';
import { rest, server } from 'mocks-server/server';
import { NuqsTestingAdapter } from 'nuqs/adapters/testing';
@@ -6,7 +6,8 @@ import { render, screen, userEvent, waitFor } from 'tests/test-utils';
import KeysTab from '../KeysTab';
-jest.mock('@signozhq/sonner', () => ({
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
toast: { success: jest.fn(), error: jest.fn() },
}));
diff --git a/frontend/src/components/ServiceAccountDrawer/__tests__/ServiceAccountDrawer.test.tsx b/frontend/src/components/ServiceAccountDrawer/__tests__/ServiceAccountDrawer.test.tsx
index 198d33d6f4..2451b4473d 100644
--- a/frontend/src/components/ServiceAccountDrawer/__tests__/ServiceAccountDrawer.test.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/__tests__/ServiceAccountDrawer.test.tsx
@@ -16,7 +16,8 @@ jest.mock('@signozhq/drawer', () => ({
}): JSX.Element | null => (open ? <div>{content}</div> : null),
}));
-jest.mock('@signozhq/sonner', () => ({
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
toast: { success: jest.fn(), error: jest.fn() },
}));
diff --git a/frontend/src/components/ServiceAccountsTable/ServiceAccountsTable.styles.scss b/frontend/src/components/ServiceAccountsTable/ServiceAccountsTable.styles.scss
index 1d5b67968b..dfbd7ffd4c 100644
--- a/frontend/src/components/ServiceAccountsTable/ServiceAccountsTable.styles.scss
+++ b/frontend/src/components/ServiceAccountsTable/ServiceAccountsTable.styles.scss
@@ -47,11 +47,15 @@
}
> tr.sa-table-row--tinted > td {
- background: rgba(171, 189, 255, 0.02);
+ background: color-mix(in srgb, var(--bg-robin-200) 2%, transparent);
}
> tr:hover > td {
- background: rgba(171, 189, 255, 0.04) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-robin-200) 4%,
+ transparent
+ ) !important;
}
}
@@ -151,7 +155,7 @@
strong {
font-weight: var(--font-weight-medium);
- color: var(--bg-base-white);
+ color: var(--l1-foreground);
}
}
}
@@ -180,7 +184,7 @@
.sa-tooltip {
.ant-tooltip-inner {
- background-color: var(--bg-slate-500);
+ background-color: var(--l1-border);
color: var(--foreground);
font-size: var(--font-size-xs);
line-height: normal;
@@ -190,7 +194,7 @@
}
.ant-tooltip-arrow-content {
- background-color: var(--bg-slate-500);
+ background-color: var(--l1-border);
}
}
@@ -206,12 +210,4 @@
}
}
}
-
- .sa-empty-state {
- &__text {
- strong {
- color: var(--bg-base-black);
- }
- }
- }
}
diff --git a/frontend/src/components/ServiceAccountsTable/utils.tsx b/frontend/src/components/ServiceAccountsTable/utils.tsx
index a894806ec9..a6fbf59653 100644
--- a/frontend/src/components/ServiceAccountsTable/utils.tsx
+++ b/frontend/src/components/ServiceAccountsTable/utils.tsx
@@ -1,5 +1,5 @@
-import { Badge } from '@signozhq/badge';
import { ScanSearch } from '@signozhq/icons';
+import { Badge } from '@signozhq/ui';
import { Tooltip } from 'antd';
import type { ColumnsType } from 'antd/es/table/interface';
import { ServiceAccountRow } from 'container/ServiceAccountsSettings/utils';
diff --git a/frontend/src/components/ShiftOverlay/shiftOverlay.scss b/frontend/src/components/ShiftOverlay/shiftOverlay.scss
index a0f3684fbf..5f55ee2196 100644
--- a/frontend/src/components/ShiftOverlay/shiftOverlay.scss
+++ b/frontend/src/components/ShiftOverlay/shiftOverlay.scss
@@ -11,14 +11,14 @@
gap: 20px;
padding: 8px 12px;
- background: var(--bg-ink-500);
- color: var(--bg-vanilla-300);
+ background: var(--background);
+ color: var(--l2-foreground);
border-radius: 8px;
font-size: 13px;
line-height: 1.2;
- box-shadow: 0 6px 20px var(--bg-ink-500);
+ box-shadow: 0 6px 20px var(--l1-background);
animation: shift-overlay-fade-in 120ms ease-out;
}
@@ -40,7 +40,7 @@
display: flex;
border-radius: 4px;
- background: var(--bg-slate-100);
+ background: var(--l3-background);
}
&__key {
@@ -53,12 +53,12 @@
border-radius: 4px;
- background-color: var(--bg-slate-100);
+ background-color: var(--l3-background);
font-size: 12px;
font-weight: 500;
line-height: 1;
- color: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
flex-shrink: 0;
}
}
diff --git a/frontend/src/components/SignozModal/SignozModal.style.scss b/frontend/src/components/SignozModal/SignozModal.style.scss
index 2acecbee68..f49aa0661e 100644
--- a/frontend/src/components/SignozModal/SignozModal.style.scss
+++ b/frontend/src/components/SignozModal/SignozModal.style.scss
@@ -1,15 +1,15 @@
.signoz-modal {
.ant-modal-content {
padding: 0;
- background: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-500);
+ background: var(--l1-background);
+ border: 1px solid var(--l1-border);
}
.ant-modal-header {
- background: var(--bg-ink-400);
+ background: var(--l1-background);
border-bottom: none;
padding: 12px 24px 8px;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
margin-bottom: 0;
}
@@ -23,7 +23,7 @@
}
.ant-modal-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
font-weight: 400;
line-height: 20px;
@@ -41,30 +41,35 @@
}
.ant-typography {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
.ant-select {
border-radius: 2px !important;
&-selector {
- background: var(--bg-ink-300) !important;
- border: 1px solid var(--bg-slate-400) !important;
+ background: var(--l1-background) !important;
+ border: 1px solid var(--l1-border) !important;
border-radius: 2px !important;
}
}
.ant-select-dropdown {
- background: var(--bg-ink-400);
- border: 1px solid var(--bg-ink-300);
+ background: var(--l1-background);
+ border: 1px solid var(--l1-border);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
}
.ant-select-item {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
&-option-selected {
- background: var(--bg-ink-300);
+ background: var(--l3-background);
+ color: var(--l1-foreground);
+ }
+
+ &-option-active {
+ background: var(--l2-background);
}
}
@@ -79,50 +84,3 @@
}
}
}
-
-.lightMode {
- .signoz-modal {
- .ant-modal-content {
- background: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-300);
- }
-
- .ant-modal-header {
- background: var(--bg-vanilla-100);
- border-bottom-color: var(--bg-vanilla-300);
- }
-
- .ant-modal-title {
- color: var(--bg-ink-500);
- }
-
- .ant-typography {
- color: var(--bg-ink-500);
- }
-
- .ant-select {
- &-selector {
- background: var(--bg-vanilla-100) !important;
- border-color: var(--bg-vanilla-300) !important;
- }
- }
-
- .ant-select-dropdown {
- background: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-300);
- }
-
- .ant-select-item {
- color: var(--bg-ink-400);
-
- &-option-selected {
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-500);
- }
-
- &-option-active {
- background: var(--bg-vanilla-200);
- }
- }
- }
-}
diff --git a/frontend/src/components/SignozRadioGroup/SignozRadioGroup.styles.scss b/frontend/src/components/SignozRadioGroup/SignozRadioGroup.styles.scss
index ab5baa5380..c395f0597e 100644
--- a/frontend/src/components/SignozRadioGroup/SignozRadioGroup.styles.scss
+++ b/frontend/src/components/SignozRadioGroup/SignozRadioGroup.styles.scss
@@ -1,5 +1,5 @@
.signoz-radio-group.ant-radio-group {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
&.ant-radio-group-disabled {
opacity: 0.5;
@@ -31,60 +31,42 @@
}
.tab {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
&:hover {
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
}
&::before {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
}
.selected_view {
&,
&:hover {
- background: var(--bg-slate-300);
- color: var(--text-vanilla-100);
- border: 1px solid var(--bg-slate-400);
+ background: var(--l3-background);
+ color: var(--l1-foreground);
+ border: 1px solid var(--l1-border);
}
&::before {
- background: var(--bg-slate-400);
+ background: var(--l3-background);
+ border-left: 1px solid var(--l1-border);
}
}
-}
-
-// Light mode styles
-.lightMode {
- .signoz-radio-group {
- &.ant-radio-group-disabled {
- .tab,
- .selected_view {
- background: var(--bg-vanilla-200) !important;
- border-color: var(--bg-vanilla-400) !important;
- color: var(--text-ink-400) !important;
- }
-
- .tab:hover,
- .selected_view:hover {
- background: var(--bg-vanilla-200) !important;
- border-color: var(--bg-vanilla-400) !important;
- color: var(--text-ink-400) !important;
- }
- }
-
- .tab {
- background: var(--bg-vanilla-100);
- }
+ &.ant-radio-group-disabled {
+ .tab,
.selected_view {
- background: var(--bg-vanilla-300);
- border: 1px solid var(--bg-slate-300);
- color: var(--text-ink-400);
+ background: var(--l2-background) !important;
+ border-color: var(--l1-border) !important;
+ color: var(--l1-foreground) !important;
}
- .selected_view::before {
- background: var(--bg-vanilla-300);
- border-left: 1px solid var(--bg-slate-300);
+ .tab:hover,
+ .selected_view:hover {
+ background: var(--l2-background) !important;
+ border-color: var(--l1-border) !important;
+ color: var(--l1-foreground) !important;
}
}
}
diff --git a/frontend/src/components/SpanHoverCard/SpanHoverCard.styles.scss b/frontend/src/components/SpanHoverCard/SpanHoverCard.styles.scss
index b27303009f..f5aa7ce844 100644
--- a/frontend/src/components/SpanHoverCard/SpanHoverCard.styles.scss
+++ b/frontend/src/components/SpanHoverCard/SpanHoverCard.styles.scss
@@ -2,11 +2,11 @@
.ant-popover-inner {
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.32) 0%,
- rgba(18, 19, 23, 0.36) 98.68%
+ color-mix(in srgb, var(--card) 32%, transparent) 0%,
+ color-mix(in srgb, var(--card) 36%, transparent) 98.68%
);
padding: 12px 16px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
&::before {
content: '';
@@ -17,8 +17,8 @@
bottom: 0;
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.32) 0%,
- rgba(18, 19, 23, 0.36) 98.68%
+ color-mix(in srgb, var(--card) 32%, transparent) 0%,
+ color-mix(in srgb, var(--card) 36%, transparent) 98.68%
);
backdrop-filter: blur(20px);
border-radius: 4px;
@@ -35,7 +35,7 @@
}
&__operation {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 12px;
font-weight: 500;
line-height: 20px;
@@ -44,7 +44,7 @@
&__service {
font-size: 0.875rem;
- color: var(--bg-vanilla-400);
+ color: var(--muted-foreground);
font-weight: 400;
}
@@ -63,14 +63,14 @@
}
&__label {
- color: var(--bg-vanilla-400);
+ color: var(--muted-foreground);
font-size: 12px;
font-weight: 500;
line-height: 20px;
}
&__value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 12px;
font-weight: 500;
line-height: 20px;
@@ -86,7 +86,7 @@
background: linear-gradient(
90deg,
hsla(358, 75%, 59%, 0.2) 0%,
- rgba(229, 72, 77, 0) 100%
+ transparent 100%
);
&-icon {
diff --git a/frontend/src/components/Tags/Tags.styles.scss b/frontend/src/components/Tags/Tags.styles.scss
index 1990b16269..57a9c3f2e2 100644
--- a/frontend/src/components/Tags/Tags.styles.scss
+++ b/frontend/src/components/Tags/Tags.styles.scss
@@ -17,7 +17,7 @@
.ant-tag {
margin-right: 0;
- background: var(--bg-vanilla-100);
+ background: var(--card);
}
}
diff --git a/frontend/src/components/TimePreferenceDropDown/TimePreference.styles.scss b/frontend/src/components/TimePreferenceDropDown/TimePreference.styles.scss
index bb1d464057..d0aaf8cf5e 100644
--- a/frontend/src/components/TimePreferenceDropDown/TimePreference.styles.scss
+++ b/frontend/src/components/TimePreferenceDropDown/TimePreference.styles.scss
@@ -7,8 +7,8 @@
gap: 4px;
align-self: stretch;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: none;
.button-selected-text {
@@ -18,7 +18,7 @@
}
.selected-value {
- color: var(--bg-vanilla-100);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -26,14 +26,3 @@
line-height: 16px; /* 133.333% */
}
}
-
-.lightMode {
- .time-selection-target {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
-
- .selected-value {
- color: var(--bg-ink-300);
- }
- }
-}
diff --git a/frontend/src/components/ValueGraph/ValueGraph.styles.scss b/frontend/src/components/ValueGraph/ValueGraph.styles.scss
index a5b076e7c2..76bfaa3d27 100644
--- a/frontend/src/components/ValueGraph/ValueGraph.styles.scss
+++ b/frontend/src/components/ValueGraph/ValueGraph.styles.scss
@@ -37,6 +37,6 @@
}
.value-graph-icon {
- color: #e89a3c;
+ color: var(--warning-background);
}
}
diff --git a/frontend/src/components/WarningPopover/WarningPopover.styles.scss b/frontend/src/components/WarningPopover/WarningPopover.styles.scss
index 1867cf241e..3e124e630f 100644
--- a/frontend/src/components/WarningPopover/WarningPopover.styles.scss
+++ b/frontend/src/components/WarningPopover/WarningPopover.styles.scss
@@ -5,7 +5,7 @@
&__summary-section {
display: flex;
flex-direction: column;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
}
&__summary {
@@ -27,7 +27,7 @@
}
&__warning-code {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
margin: 0;
font-size: 16px;
font-weight: 500;
@@ -37,7 +37,7 @@
&__warning-message {
margin: 0;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 400;
line-height: 20px; /* 142.857% */
@@ -49,14 +49,14 @@
align-items: center;
gap: 6px;
padding: 9px 12.5px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-weight: 400;
line-height: 18px; /* 150% */
letter-spacing: 0.12px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: none;
}
@@ -68,7 +68,7 @@
.key-value-label {
width: fit-content;
- border-color: var(--bg-slate-400);
+ border-color: var(--l1-border);
border-radius: 20px;
overflow: hidden;
&__key {
@@ -77,7 +77,7 @@
}
&__value {
padding-right: 10px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-weight: 500;
line-height: 18px; /* 150% */
@@ -96,7 +96,7 @@
border-radius: 50%;
}
&-text {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 10px;
font-weight: 500;
line-height: 18px; /* 180% */
@@ -106,7 +106,11 @@
&-line {
flex: 1;
height: 8px;
- background-image: radial-gradient(circle, #444c63 1px, transparent 2px);
+ background-image: radial-gradient(
+ circle,
+ var(--l3-background) 1px,
+ transparent 2px
+ );
background-size: 8px 11px;
background-position: top left;
padding: 6px;
@@ -129,12 +133,11 @@
&__message-item {
position: relative;
margin-bottom: 4px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Geist Mono;
font-size: 12px;
font-weight: 400;
line-height: 18px;
- color: var(--bg-vanilla-400);
padding: 3px 12px;
padding-left: 26px;
}
@@ -149,7 +152,7 @@
width: 2px;
height: 4px;
border-radius: 50px;
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
&__scroll-hint {
@@ -164,7 +167,7 @@
justify-content: center;
align-items: center;
gap: 3px;
- background: var(--bg-slate-200);
+ background: var(--l1-border);
border-radius: 20px;
box-shadow: 0px 103px 12px 0px rgba(0, 0, 0, 0.01),
0px 66px 18px 0px rgba(0, 0, 0, 0.01), 0px 37px 22px 0px rgba(0, 0, 0, 0.03),
@@ -172,7 +175,7 @@
}
&__scroll-hint-text {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 12px;
font-weight: 400;
@@ -184,25 +187,25 @@
.lightMode {
.warning-content {
&__warning-code {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
&__warning-message {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
&__message-item {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
&__message-badge {
&-label-text {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
.key-value-label__value {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
}
&__docs-button {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-100);
+ background: var(--l1-background);
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/components/cmdKPalette/cmdKPalette.scss b/frontend/src/components/cmdKPalette/cmdKPalette.scss
index 769a7d364c..798c7379c9 100644
--- a/frontend/src/components/cmdKPalette/cmdKPalette.scss
+++ b/frontend/src/components/cmdKPalette/cmdKPalette.scss
@@ -11,7 +11,7 @@
.cmdk-section-heading [cmdk-group-heading] {
text-transform: uppercase;
- color: var(--bg-slate-100);
+ color: var(--l3-foreground);
}
/* Hide scrollbar but keep scroll */
@@ -33,12 +33,12 @@
.cmdk-item-light:hover {
cursor: pointer;
- background-color: var(--bg-vanilla-200) !important;
+ background-color: var(--background) !important;
}
.cmdk-item-light[data-selected='true'] {
- background-color: var(--bg-vanilla-300) !important;
- color: var(--bg-ink-500);
+ background-color: var(--l3-background) !important;
+ color: var(--foreground);
}
.cmdk-item {
diff --git a/frontend/src/container/AlertHistory/AlertPopover/AlertPopover.styles.scss b/frontend/src/container/AlertHistory/AlertPopover/AlertPopover.styles.scss
index 144996ba38..8eea11e82e 100644
--- a/frontend/src/container/AlertHistory/AlertPopover/AlertPopover.styles.scss
+++ b/frontend/src/container/AlertHistory/AlertPopover/AlertPopover.styles.scss
@@ -4,18 +4,12 @@
.alert-history-popover {
.ant-popover-inner {
- border: 1px solid var(--bg-slate-400);
-
- .lightMode & {
- background: var(--bg-vanilla-100) !important;
- border: 1px solid var(--bg-vanilla-300);
- }
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background) !important;
}
.ant-popover-arrow {
&::before {
- .lightMode & {
- background: var(--bg-vanilla-100);
- }
+ background: var(--l1-background);
}
}
}
diff --git a/frontend/src/container/AlertHistory/Statistics/Statistics.styles.scss b/frontend/src/container/AlertHistory/Statistics/Statistics.styles.scss
index cc0a5b1b43..74ebbabdf3 100644
--- a/frontend/src/container/AlertHistory/Statistics/Statistics.styles.scss
+++ b/frontend/src/container/AlertHistory/Statistics/Statistics.styles.scss
@@ -2,13 +2,7 @@
display: flex;
justify-content: space-between;
height: 280px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
margin: 0 16px;
}
-
-.lightMode {
- .statistics {
- border: 1px solid var(--bg-vanilla-300);
- }
-}
diff --git a/frontend/src/container/AlertHistory/Statistics/StatsCard/StatsCard.styles.scss b/frontend/src/container/AlertHistory/Statistics/StatsCard/StatsCard.styles.scss
index d174b8ea6b..52643de624 100644
--- a/frontend/src/container/AlertHistory/Statistics/StatsCard/StatsCard.styles.scss
+++ b/frontend/src/container/AlertHistory/Statistics/StatsCard/StatsCard.styles.scss
@@ -1,6 +1,6 @@
.stats-card {
width: 21.7%;
- border-right: 1px solid var(--bg-slate-500);
+ border-right: 1px solid var(--l1-border);
padding: 9px 12px 13px;
&--empty {
@@ -16,7 +16,7 @@
text-transform: uppercase;
font-size: 13px;
line-height: 22px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-weight: 500;
}
.duration-indicator {
@@ -29,7 +29,7 @@
}
.text {
text-transform: uppercase;
- color: var(--text-slate-200);
+ color: var(--l3-foreground);
font-size: 12px;
font-weight: 600;
letter-spacing: 0.48px;
@@ -42,7 +42,7 @@
flex-direction: column;
gap: 4px;
.count-label {
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-size: 24px;
line-height: 36px;
@@ -67,18 +67,21 @@
gap: 4px;
&--success {
- background: rgba(37, 225, 146, 0.1);
- color: var(--bg-forest-500);
+ background: color-mix(in srgb, var(--success-background) 10%, transparent);
+ color: var(--success-foreground);
}
+
&--error {
- background: rgba(229, 72, 77, 0.1);
- color: var(--bg-cherry-500);
+ background: color-mix(in srgb, var(--error-background) 10%, transparent);
+ color: var(--error-foreground);
}
+
&--no-previous-data {
- color: var(--text-robin-500);
- background: rgba(78, 116, 248, 0.1);
+ color: var(--primary-foreground);
+ background: color-mix(in srgb, var(--primary-background) 10%, transparent);
padding: 4px 16px;
}
+
&__icon {
display: flex;
align-self: center;
@@ -89,24 +92,3 @@
line-height: 16px;
}
}
-
-.lightMode {
- .stats-card {
- border-color: var(--bg-vanilla-300);
- &__title-wrapper {
- .title {
- color: var(--text-ink-400);
- }
- .duration-indicator {
- .text {
- color: var(--text-ink-200);
- }
- }
- }
- &__stats {
- .count-label {
- color: var(--text-ink-100);
- }
- }
- }
-}
diff --git a/frontend/src/container/AlertHistory/Statistics/TopContributorsCard/TopContributorsCard.styles.scss b/frontend/src/container/AlertHistory/Statistics/TopContributorsCard/TopContributorsCard.styles.scss
index 0b0995fb3e..bd0feed274 100644
--- a/frontend/src/container/AlertHistory/Statistics/TopContributorsCard/TopContributorsCard.styles.scss
+++ b/frontend/src/container/AlertHistory/Statistics/TopContributorsCard/TopContributorsCard.styles.scss
@@ -11,9 +11,9 @@
justify-content: space-between;
padding: 8px 12px;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
.title {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-size: 13px;
font-weight: 500;
line-height: 22px;
@@ -32,7 +32,7 @@
}
.label {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
line-height: 20px;
letter-spacing: -0.07px;
@@ -52,23 +52,23 @@
}
}
.contributors-row {
- background: var(--bg-ink-500);
+ background: var(--l1-background);
td {
border: none !important;
}
&:not(:last-of-type) td {
- border-bottom: 1px solid var(--bg-slate-500) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
}
.total-contribution {
- color: var(--text-robin-500);
+ color: var(--primary-foreground);
font-family: 'Geist Mono';
font-size: 12px;
font-weight: 500;
letter-spacing: -0.06px;
padding: 4px 8px;
- background: rgba(78, 116, 248, 0.1);
+ background: color-mix(in srgb, var(--primary-background) 10%, transparent);
border-radius: 50px;
width: max-content;
}
@@ -79,7 +79,7 @@
display: flex;
flex-direction: column;
gap: 12px;
- border: 1px dashed var(--bg-slate-500);
+ border: 1px dashed var(--l1-border);
border-radius: 6px;
&__icon {
@@ -89,10 +89,10 @@
letter-spacing: -0.103px;
}
&__text {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
line-height: 18px;
.bold-text {
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
font-weight: 500;
}
}
@@ -101,9 +101,9 @@
.configure-alert-rule-button {
padding: 8px 16px;
border-radius: 2px;
- background: var(--bg-slate-400);
+ background: var(--l3-background);
border-width: 0;
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
line-height: 24px;
font-size: 12px;
font-weight: 500;
@@ -126,42 +126,31 @@
align-items: center;
gap: 6px;
padding: 12px 15px;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
letter-spacing: 0.14px;
width: 160px;
cursor: pointer;
+ background: var(--l1-background);
+ border-color: var(--l1-border);
.text,
.icon {
- color: var(--text-vanilla-100);
-
- .lightMode & {
- color: var(--text-ink-500);
- }
+ color: var(--l1-foreground);
}
&:hover {
- background: var(--bg-slate-400);
+ background: var(--l2-background);
.text,
.icon {
- color: var(--text-vanilla-100);
-
- .lightMode & {
- color: var(--text-ink-500);
- }
+ color: var(--l1-foreground);
}
}
.icon {
display: flex;
}
-
- .lightMode & {
- background: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-400);
- }
}
}
@@ -173,41 +162,4 @@
.ant-table {
background: inherit;
}
-
- .top-contributors-card {
- &__header {
- border-color: var(--bg-vanilla-300);
- .title {
- color: var(--text-ink-400);
- }
- .view-all {
- .label {
- color: var(--text-ink-400);
- }
- }
- }
- &__content {
- .contributors-row {
- background: inherit;
- &:not(:last-of-type) td {
- border-bottom: 1px solid var(--bg-vanilla-300) !important;
- }
- }
- }
- .empty-content {
- border-color: var(--bg-vanilla-300);
- &__text {
- color: var(--text-ink-400);
- .bold-text {
- color: var(--text-ink-500);
- }
- }
- &__button-wrapper {
- .configure-alert-rule-button {
- background: var(--bg-vanilla-300);
- color: var(--text-ink-500);
- }
- }
- }
- }
}
diff --git a/frontend/src/container/AlertHistory/Timeline/Graph/Graph.styles.scss b/frontend/src/container/AlertHistory/Timeline/Graph/Graph.styles.scss
index 3ea30fe25a..4e3b4ae52e 100644
--- a/frontend/src/container/AlertHistory/Timeline/Graph/Graph.styles.scss
+++ b/frontend/src/container/AlertHistory/Timeline/Graph/Graph.styles.scss
@@ -2,19 +2,19 @@
display: flex;
flex-direction: column;
gap: 24px;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
padding: 12px;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
height: 150px;
&__title {
width: max-content;
padding: 2px 8px;
border-radius: 4px;
- border: 1px solid #1d212d;
- background: rgba(29, 33, 45, 0.5);
- color: #ebebeb;
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
+ color: var(--l1-foreground);
font-size: 12px;
line-height: 18px;
letter-spacing: -0.06px;
@@ -23,7 +23,7 @@
.chart-placeholder {
width: 100%;
height: 52px;
- background: rgba(255, 255, 255, 0.1215686275);
+ background: color-mix(in srgb, var(--l1-foreground) 12%, transparent);
display: flex;
align-items: center;
justify-content: center;
@@ -33,20 +33,3 @@
}
}
}
-
-.lightMode {
- .timeline-graph {
- background: var(--bg-vanilla-200);
- border-color: var(--bg-vanilla-300);
- &__title {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-400);
- border-color: var(--bg-vanilla-300);
- }
- &__chart {
- .chart-placeholder {
- background: var(--bg-vanilla-300);
- }
- }
- }
-}
diff --git a/frontend/src/container/AlertHistory/Timeline/Table/Table.styles.scss b/frontend/src/container/AlertHistory/Timeline/Table/Table.styles.scss
index 5a143dd1b8..0b8d928978 100644
--- a/frontend/src/container/AlertHistory/Timeline/Table/Table.styles.scss
+++ b/frontend/src/container/AlertHistory/Timeline/Table/Table.styles.scss
@@ -1,11 +1,11 @@
.timeline-table {
- border-top: 1px solid var(--text-slate-500);
+ border-top: 1px solid var(--l1-border);
border-radius: 6px;
overflow: hidden;
margin-top: 4px;
min-height: 600px;
.ant-table {
- background: var(--bg-ink-500);
+ background: var(--l1-background);
&-cell {
padding: 12px 16px !important;
vertical-align: baseline;
@@ -14,8 +14,8 @@
}
}
&-thead > tr > th {
- border-color: var(--bg-slate-500);
- background: var(--bg-ink-500);
+ border-color: var(--l1-border);
+ background: var(--l1-background);
font-size: 12px;
font-weight: 500;
padding: 12px 16px 8px !important;
@@ -28,11 +28,11 @@
.label-filter {
padding: 6px 8px;
border-radius: 4px;
- background: var(--text-ink-400);
+ background: var(--l1-foreground);
border-width: 0;
line-height: 18px;
& ::placeholder {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
letter-spacing: 0.6px;
text-transform: uppercase;
@@ -43,7 +43,7 @@
&-value,
&__created-at {
font-size: 14px;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
}
&-value {
font-weight: 500;
@@ -55,9 +55,9 @@
}
}
.ant-table.ant-table-middle {
- border-bottom: 1px solid var(--bg-slate-500);
- border-left: 1px solid var(--bg-slate-500);
- border-right: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
+ border-left: 1px solid var(--l1-border);
+ border-right: 1px solid var(--l1-border);
border-radius: 6px;
}
@@ -71,9 +71,10 @@
justify-content: center;
padding: 1px 8px;
border-radius: 2px;
- background: var(--bg-robin-500);
+ background: var(--primary-background);
+
& > a {
- color: var(--text-ink-500);
+ color: var(--primary-foreground);
line-height: 20px;
font-weight: 500;
}
@@ -82,42 +83,7 @@
.alert-history-label-search {
.ant-select-selector {
border: none;
- }
- }
-}
-
-.lightMode {
- .timeline-table {
- border-color: var(--bg-vanilla-300);
-
- .ant-table {
- background: var(--bg-vanilla-100);
- &-thead {
- & > tr > th {
- background: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-300);
- }
- }
- &.ant-table-middle {
- border-color: var(--bg-vanilla-300);
- }
- }
- .alert-history-label-search {
- .ant-select-selector {
- background: var(--bg-vanilla-200);
- }
- }
-
- .alert-rule {
- &__value,
- &__created-at {
- color: var(--text-ink-400);
- }
- }
- .ant-pagination-item {
- &-active > a {
- color: var(--text-vanilla-100);
- }
+ background: var(--l2-background);
}
}
}
diff --git a/frontend/src/container/AlertHistory/Timeline/TabsAndFilters/TabsAndFilters.styles.scss b/frontend/src/container/AlertHistory/Timeline/TabsAndFilters/TabsAndFilters.styles.scss
index c153ba65fc..63a544d82a 100644
--- a/frontend/src/container/AlertHistory/Timeline/TabsAndFilters/TabsAndFilters.styles.scss
+++ b/frontend/src/container/AlertHistory/Timeline/TabsAndFilters/TabsAndFilters.styles.scss
@@ -12,8 +12,8 @@
display: inline-flex;
padding: 4px 8px;
border-radius: 20px;
- border: 1px solid rgba(173, 127, 88, 0.2);
- background: rgba(173, 127, 88, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-sienna-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-sienna-500) 10%, transparent);
justify-content: center;
align-items: center;
gap: 5px;
diff --git a/frontend/src/container/AlertHistory/Timeline/Timeline.styles.scss b/frontend/src/container/AlertHistory/Timeline/Timeline.styles.scss
index 1d6b4d7990..2f9ca53f8a 100644
--- a/frontend/src/container/AlertHistory/Timeline/Timeline.styles.scss
+++ b/frontend/src/container/AlertHistory/Timeline/Timeline.styles.scss
@@ -5,18 +5,10 @@
margin: 0 16px;
&__title {
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
font-weight: 500;
line-height: 20px;
letter-spacing: -0.07px;
}
}
-
-.lightMode {
- .timeline {
- &__title {
- color: var(--text-ink-400);
- }
- }
-}
diff --git a/frontend/src/container/ApiMonitoring/Explorer/Domains/DomainDetails/DomainDetails.styles.scss b/frontend/src/container/ApiMonitoring/Explorer/Domains/DomainDetails/DomainDetails.styles.scss
index ca525b68e6..ed74a2dae5 100644
--- a/frontend/src/container/ApiMonitoring/Explorer/Domains/DomainDetails/DomainDetails.styles.scss
+++ b/frontend/src/container/ApiMonitoring/Explorer/Domains/DomainDetails/DomainDetails.styles.scss
@@ -8,8 +8,8 @@
align-items: center;
justify-content: center;
border-radius: 2px 0px 0px 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
@@ -21,8 +21,8 @@
}
.domain-detail-drawer {
- border-left: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border-left: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: -4px 10px 16px 2px rgba(0, 0, 0, 0.2);
.ant-drawer-header {
@@ -31,8 +31,8 @@
align-items: stretch;
- border-bottom: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border-bottom: 1px solid var(--l1-border);
+ background: var(--l2-background);
}
.ant-drawer-close {
@@ -46,7 +46,7 @@
}
.title {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Geist Mono';
font-size: 14px;
font-style: normal;
@@ -60,8 +60,8 @@
align-items: center;
justify-content: center;
padding-top: var(--padding-1);
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
@@ -73,8 +73,8 @@
width: fit-content;
border-radius: 50px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
text-transform: lowercase;
}
@@ -93,7 +93,7 @@
}
.domain-details-metadata-label {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -104,7 +104,7 @@
}
.domain-details-metadata-value {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Geist Mono';
font-size: 12px;
font-style: normal;
@@ -152,7 +152,7 @@
.ant-card {
&.ant-card-bordered {
- border: 1px solid var(--bg-slate-500) !important;
+ border: 1px solid var(--l1-border) !important;
}
}
}
@@ -163,10 +163,10 @@
display: flex;
justify-content: space-between;
align-items: center;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
.views-tabs {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
.view-title {
display: flex;
@@ -180,23 +180,23 @@
.tab {
padding: 0 32px;
- background: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-400);
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
width: auto;
}
.tab::before {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
.selected_view {
background: none;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
border-bottom: none;
}
.selected_view::before {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
}
}
@@ -221,11 +221,11 @@
flex-shrink: 0;
border-radius: 2px 0px 0px 2px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
border-right: none;
- background: var(--bg-ink-300);
+ background: var(--l3-background);
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -239,28 +239,28 @@
.ant-select-selector {
font-size: 14px;
border-radius: 2px 0px 0px 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
}
// Add border-bottom to table cells when pagination is not present
.ant-spin-container:not(:has(.ant-pagination)) .ant-table-cell {
- border-bottom: 1px solid var(--bg-slate-500) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
.endpoints-table-container {
display: flex;
flex-direction: column;
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.endpoints-table-header {
display: flex;
align-items: center;
gap: 10px;
padding: 12px;
- color: var(--Vanilla-100, #fff);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -276,7 +276,7 @@
line-height: 18px;
border-bottom: none;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -293,28 +293,34 @@
}
.ant-table-thead > tr > th:has(.endpoint-name-header) {
- background: var(--bg-ink-300);
- opacity: 0.6;
+ background: color-mix(in srgb, var(--l3-background) 60%, transparent);
}
.ant-table-cell {
padding: 12px;
font-size: 13px;
line-height: 20px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
border-bottom: none;
}
.ant-table-cell:has(.endpoint-name-value) {
- background: var(--bg-ink-300);
- opacity: 0.6;
+ background: color-mix(in srgb, var(--l3-background) 60%, transparent);
}
.ant-table-tbody > tr:hover > td {
- background: rgba(255, 255, 255, 0.04);
+ background: color-mix(in srgb, var(--l1-foreground) 4%, transparent);
cursor: pointer;
}
+ .ant-table-tbody > tr:hover > td:has(.endpoint-name-value) {
+ background: color-mix(
+ in srgb,
+ var(--l1-foreground) 4%,
+ color-mix(in srgb, var(--l3-background) 60%, transparent)
+ );
+ }
+
.ant-table-cell:first-child {
text-align: justify;
}
@@ -354,7 +360,7 @@
}
.table-row-dark {
- background: var(--bg-ink-300);
+ background: var(--l3-background);
}
.endpoint-name-value {
@@ -427,24 +433,24 @@
.endpoint-meta-data-pill {
display: flex;
border-radius: 4px;
- border: 1px solid var(--bg-slate-300);
+ border: 1px solid var(--l1-border);
overflow: hidden;
box-sizing: content-box;
.endpoint-meta-data-label {
padding: 6px 8px;
- border-right: 1px solid var(--bg-slate-300);
- color: var(--text-vanilla-100);
+ border-right: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
font-size: 14px;
line-height: 18px; /* 128.571% */
letter-spacing: -0.07px;
padding: 6px 8px;
- background: var(--bg-slate-500);
+ background: var(--l1-border);
}
.endpoint-meta-data-value {
padding: 6px 8px;
- color: var(--text-vanilla-400);
- background: var(--bg-slate-400);
+ color: var(--l2-foreground);
+ background: var(--l1-border);
font-size: 14px;
line-height: 18px;
letter-spacing: -0.07px;
@@ -456,7 +462,7 @@
display: flex;
flex-direction: row;
align-items: center;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
height: 36px;
box-sizing: content-box;
.ant-select-selector {
@@ -465,7 +471,7 @@
.endpoint-details-filters-container-dropdown {
width: 120px;
- border-right: 1px solid var(--bg-slate-500);
+ border-right: 1px solid var(--l1-border);
height: 36px;
display: flex;
align-items: center;
@@ -488,7 +494,7 @@
.status-code-table-container {
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.ant-table {
.ant-table-thead > tr > th {
padding: 12px;
@@ -497,7 +503,7 @@
line-height: 18px;
border-bottom: none;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -514,25 +520,31 @@
}
.ant-table-thead > tr > th:has(.status-code-header) {
- background: var(--bg-ink-300);
- opacity: 0.6;
+ background: color-mix(in srgb, var(--l3-background) 60%, transparent);
}
.ant-table-cell {
padding: 12px;
font-size: 13px;
line-height: 20px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
border-bottom: none;
}
.ant-table-cell:has(.status-code-value) {
- background: var(--bg-ink-300);
- opacity: 0.6;
+ background: color-mix(in srgb, var(--l3-background) 60%, transparent);
}
.ant-table-tbody > tr:hover > td {
- background: rgba(255, 255, 255, 0.04);
+ background: color-mix(in srgb, var(--l1-foreground) 4%, transparent);
+ }
+
+ .ant-table-tbody > tr:hover > td:has(.status-code-value) {
+ background: color-mix(
+ in srgb,
+ var(--l1-foreground) 4%,
+ color-mix(in srgb, var(--l3-background) 60%, transparent)
+ );
}
.ant-table-cell:first-child {
@@ -574,7 +586,7 @@
}
.table-row-dark {
- background: var(--bg-ink-300);
+ background: var(--l3-background);
}
.endpoint-name-value {
@@ -622,7 +634,7 @@
padding: 16px 0px 16px 0px;
border-radius: 6px;
- border: 1px dashed var(--bg-slate-500);
+ border: 1px dashed var(--l1-border);
font-family: 'Inter';
.error-state-content-wrapper {
@@ -645,7 +657,7 @@
.refresh-cta {
display: inline-flex;
border-radius: 2px;
- background: var(--bg-slate-400);
+ background: var(--l1-border);
border: none;
align-items: center;
width: fit-content;
@@ -658,7 +670,7 @@
height: 370px;
padding: 10px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.header {
display: flex;
@@ -675,7 +687,7 @@
padding: 0;
height: 100%;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -696,7 +708,7 @@
}
.views-tabs {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
.ant-btn {
box-shadow: none;
@@ -704,7 +716,7 @@
}
.tab {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
width: 114px;
z-index: 1;
}
@@ -714,18 +726,18 @@
}
.tab::before {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.selected_view {
- background: var(--bg-slate-400);
- color: var(--text-vanilla-100);
- border: 1px solid var(--bg-slate-400);
+ background: var(--l1-border);
+ color: var(--l1-foreground);
+ border: 1px solid var(--l1-border);
z-index: 2;
}
.selected_view::before {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
}
}
@@ -736,14 +748,14 @@
font-family: 'Geist Mono' !important;
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.title-wrapper {
display: inline-flex;
padding: 1px 2px;
align-items: center;
border-radius: 2px;
- background: rgba(113, 144, 249, 0.08);
+ background: color-mix(in srgb, var(--bg-robin-400) 8%, transparent);
color: var(--bg-robin-400);
font-family: Inter;
@@ -755,7 +767,7 @@
}
.dependent-services-container {
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.ant-table {
.ant-table-thead > tr > th {
padding: 12px;
@@ -764,7 +776,7 @@
line-height: 18px;
border-bottom: none;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -781,33 +793,36 @@
}
.ant-table-thead > tr > th:has(.status-code-header) {
- background: var(--bg-ink-300);
- opacity: 0.6;
+ background: color-mix(in srgb, var(--l3-background) 60%, transparent);
}
.ant-table-cell {
padding: 12px;
font-size: 13px;
line-height: 20px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
border-bottom: none;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.ant-table-cell:has(.col-title) {
- background: rgba(171, 189, 255, 0.04);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
}
.ant-table-cell:has(.top-services-item-latency) {
text-align: center;
+ opacity: 0.8;
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
}
.ant-table-cell:has(.top-services-item-latency-title) {
text-align: center;
+ opacity: 0.8;
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
}
.ant-table-tbody > tr:hover > td {
- background: rgba(255, 255, 255, 0.04);
+ background: color-mix(in srgb, var(--l1-foreground) 4%, transparent);
}
.ant-table-cell:first-child {
@@ -838,7 +853,7 @@
}
.table-row-dark {
- background: var(--bg-ink-300);
+ background: var(--l3-background);
}
.ant-table-content {
@@ -877,7 +892,7 @@
gap: 12px;
height: 34px;
width: 100%;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
padding: 0 12px;
margin-right: 12px;
align-items: center;
@@ -888,15 +903,15 @@
}
.top-services-item-count {
- background-color: var(--bg-slate-300);
+ background-color: var(--l3-background);
border-radius: 50px;
padding: 2px 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
z-index: 2;
}
.top-services-item-progress-bar {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
border-radius: 2px;
height: 100%;
position: absolute;
@@ -907,15 +922,15 @@
}
.top-services-item-percentage {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
z-index: 2;
}
.top-services-load-more {
- border-top: 1px solid var(--bg-slate-500);
+ border-top: 1px solid var(--l1-border);
padding: 10px;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -992,11 +1007,11 @@
letter-spacing: -0.07px;
.title {
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
}
.description {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
}
}
@@ -1014,14 +1029,9 @@
}
.lightMode {
- .ant-drawer-header {
- background: var(--bg-vanilla-100);
- }
-
.domain-navigate-cta {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
}
.domain-detail-drawer {
@@ -1039,99 +1049,69 @@
.group-by-label,
.ant-select-selector,
.ant-drawer-header {
- border-color: var(--bg-vanilla-300) !important;
+ border-color: var(--l1-border) !important;
}
.views-tabs .tab::before {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
.title {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
.domain-detail-drawer__endpoint {
.ant-typography {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
background: transparent;
}
}
.radio-button {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
}
.views-tabs {
.tab {
- background: var(--bg-vanilla-100);
+ background: var(--l3-background);
}
.selected_view {
- background: var(--bg-vanilla-300);
- color: var(--text-ink-400);
+ background: var(--l3-background);
}
.selected_view::before {
- background: var(--bg-vanilla-300);
- border-left: 1px solid var(--bg-slate-300);
+ background: var(--l3-background);
+ border-left: 1px solid var(--l1-border);
}
}
}
.round-metric-tag {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
.group-by-container {
.group-by-label {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- }
-
- .group-by-select {
- width: 100%;
- .ant-select-selector {
- background: var(--bg-vanilla-100);
- }
+ color: var(--l2-foreground);
}
}
.endpoints-table-container {
.ant-table {
- .ant-table-thead > tr > th {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- }
-
- .ant-table-thead > tr > th:has(.endpoint-name-header) {
- background: var(--bg-vanilla-100);
- }
-
.ant-table-cell {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-500);
- }
-
- .ant-table-cell:has(.endpoint-name-value) {
- background: var(--bg-vanilla-100);
- }
-
- .ant-table-tbody > tr:hover > td {
- background: rgba(0, 0, 0, 0.04);
+ color: var(--l1-foreground);
}
.table-row-light {
background: none;
- color: var(--bg-ink-500);
}
.table-row-dark {
background: none;
- color: var(--bg-ink-500);
}
.round-metric-tag {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
@@ -1139,65 +1119,37 @@
.endpoint-meta-data {
.endpoint-meta-data-pill {
.endpoint-meta-data-label {
- color: var(--text-ink-300);
- background: var(--bg-vanilla-100);
+ color: var(--l2-foreground);
}
.endpoint-meta-data-value {
- color: var(--text-ink-300);
- background: var(--bg-vanilla-100);
+ color: var(--l2-foreground);
}
}
}
.status-code-table-container {
.ant-table {
- .ant-table-thead > tr > th {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- }
-
- .ant-table-cell {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-500);
- }
-
- .ant-table-thead > tr > th:has(.status-code-header) {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- }
-
.ant-table-cell {
- color: var(--text-ink-300);
- }
-
- .ant-table-cell:has(.status-code-value) {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- }
-
- .ant-table-tbody > tr:hover > td {
- background: rgba(0, 0, 0, 0.04);
+ color: var(--l1-foreground);
}
.table-row-light {
background: none;
- color: var(--bg-ink-500);
}
.table-row-dark {
background: none;
- color: var(--bg-ink-500);
}
.round-metric-tag {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
.top-services-content {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
.dependent-services-container {
border: none;
@@ -1211,63 +1163,58 @@
gap: 12px;
height: 34px;
width: 100%;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
padding: 0 12px;
margin-right: 12px;
align-items: center;
position: relative;
.top-services-item-key {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
.top-services-item-count {
- background-color: var(--bg-slate-300);
- color: var(--bg-vanilla-400);
+ background-color: var(--l3-background);
+ color: var(--l2-foreground);
}
.top-services-item-progress-bar {
- background-color: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
}
}
}
.ant-table {
.ant-table-thead > tr > th {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
.ant-table-cell {
- &,
- &:has(.top-services-item-latency) {
- background: var(--bg-vanilla-100);
- }
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
.ant-table-tbody > tr:hover > td {
- background: var(--bg-vanilla-200);
+ background: var(--l2-background);
}
.table-row-dark {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
}
.top-services-item-percentage {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
.top-services-load-more {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
}
.error-state-container {
.error-state-content-wrapper {
.refresh-cta {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- border: 1px solid var(--bg-slate-300);
+ color: var(--l2-foreground);
+ border: 1px solid var(--l1-border);
}
}
}
@@ -1276,17 +1223,17 @@
.end-point-details-zero-state-content-wrapper {
.end-point-details-zero-state-text-content {
.title {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
.description {
- color: var(--text-ink-100);
+ color: var(--l1-foreground);
}
}
}
}
// Add border-bottom to table cells when pagination is not present
.ant-spin-container:not(:has(.ant-pagination)) .ant-table-cell {
- border-bottom: 1px solid var(--bg-vanilla-300) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
}
diff --git a/frontend/src/container/ApiMonitoring/Explorer/Domains/DomainDetails/DomainDetails.tsx b/frontend/src/container/ApiMonitoring/Explorer/Domains/DomainDetails/DomainDetails.tsx
index d76aaaf9f2..d1a5f7117f 100644
--- a/frontend/src/container/ApiMonitoring/Explorer/Domains/DomainDetails/DomainDetails.tsx
+++ b/frontend/src/container/ApiMonitoring/Explorer/Domains/DomainDetails/DomainDetails.tsx
@@ -1,7 +1,7 @@
import { useCallback, useEffect, useMemo, useState } from 'react';
// eslint-disable-next-line no-restricted-imports
import { useSelector } from 'react-redux';
-import { Color, Spacing } from '@signozhq/design-tokens';
+import { Spacing } from '@signozhq/design-tokens';
import { Button, Divider, Drawer, Radio, Typography } from 'antd';
import type { RadioChangeEvent } from 'antd/lib';
import DateTimeSelectionV2 from 'container/TopNav/DateTimeSelectionV2';
@@ -9,7 +9,6 @@ import {
CustomTimeType,
Time,
} from 'container/TopNav/DateTimeSelectionV2/types';
-import { useIsDarkMode } from 'hooks/useDarkMode';
import GetMinMax from 'lib/getMinMax';
import { ArrowDown, ArrowUp, X } from 'lucide-react';
import { AppState } from 'store/reducers';
@@ -55,7 +54,6 @@ function DomainDetails({
const [initialFiltersEndPointStats, setInitialFiltersEndPointStats] = useState<
IBuilderQuery['filters']
>(domainListFilters);
- const isDarkMode = useIsDarkMode();
const handleTabChange = (e: RadioChangeEvent): void => {
setSelectedView(e.target.value);
@@ -210,7 +208,7 @@ function DomainDetails({
open={!!domainData}
style={{
overscrollBehavior: 'contain',
- background: isDarkMode ? Color.BG_INK_400 : Color.BG_VANILLA_100,
+ background: 'var(--l1-background)',
}}
className="domain-detail-drawer"
destroyOnClose
diff --git a/frontend/src/container/ApiMonitoring/Explorer/Explorer.styles.scss b/frontend/src/container/ApiMonitoring/Explorer/Explorer.styles.scss
index 144d07513d..66c6ee0508 100644
--- a/frontend/src/container/ApiMonitoring/Explorer/Explorer.styles.scss
+++ b/frontend/src/container/ApiMonitoring/Explorer/Explorer.styles.scss
@@ -8,7 +8,8 @@
.api-quick-filters-header {
padding: 12px;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
+ border-right: 1px solid var(--l1-border);
display: flex;
align-items: center;
@@ -25,8 +26,7 @@
width: 100%;
.toolbar {
- border-top: 0px;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
}
.api-monitoring-list-header {
@@ -54,7 +54,7 @@
line-height: 18px;
border-bottom: none;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -71,21 +71,19 @@
}
.ant-table-thead > tr > th:has(.domain-list-name-col-header) {
- background: var(--bg-ink-300);
- opacity: 0.6;
+ background: color-mix(in srgb, var(--l3-background) 60%, transparent);
}
.ant-table-cell {
padding: 12px;
font-size: 13px;
line-height: 20px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
border-bottom: none;
}
.ant-table-cell:has(.domain-list-name-col-value) {
- background: var(--bg-ink-300);
- opacity: 0.6;
+ background: color-mix(in srgb, var(--l3-background) 60%, transparent);
}
.round-metric-tag {
@@ -96,13 +94,21 @@
width: fit-content;
border-radius: 50px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
text-transform: lowercase;
}
.ant-table-tbody > tr:hover > td {
- background: rgba(255, 255, 255, 0.04);
+ background: color-mix(in srgb, var(--l1-foreground) 4%, transparent);
+ }
+
+ .ant-table-tbody > tr:hover > td:has(.domain-list-name-col-value) {
+ background: color-mix(
+ in srgb,
+ var(--l1-foreground) 4%,
+ color-mix(in srgb, var(--l3-background) 60%, transparent)
+ );
}
.ant-table-cell:first-child {
@@ -141,7 +147,7 @@
}
.table-row-dark {
- background: var(--bg-ink-300);
+ background: var(--l3-background);
}
.expanded-clickable-row {
@@ -189,7 +195,7 @@
flex-direction: column;
.no-domain-title {
- color: var(--bg-vanilla-100, #fff);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -198,7 +204,7 @@
}
.no-domain-subtitle {
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -236,11 +242,11 @@
.no-filtered-domains-message-content {
.no-filtered-domains-message {
.no-domain-title {
- color: var(--text-ink-500);
+ color: var(--l1-foreground);
}
.no-domain-subtitle {
- color: var(--text-ink-400);
+ color: var(--l2-foreground);
.attribute {
font-family: 'Space Mono';
@@ -251,26 +257,8 @@
}
.api-monitoring-domain-list-table {
.ant-table {
- .ant-table-thead > tr > th {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- }
-
- .ant-table-thead > tr > th:has(.domain-list-name-col-header) {
- background: var(--bg-vanilla-100);
- }
-
.ant-table-cell {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-500);
- }
-
- .ant-table-cell:has(.domain-list-name-col-value) {
- background: var(--bg-vanilla-100);
- }
-
- .ant-table-tbody > tr:hover > td {
- background: rgba(0, 0, 0, 0.04);
+ color: var(--l1-foreground);
}
.table-row-light {
@@ -282,7 +270,7 @@
}
.round-metric-tag {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
diff --git a/frontend/src/container/AppLayout/AppLayout.styles.scss b/frontend/src/container/AppLayout/AppLayout.styles.scss
index 220268d010..21497e080e 100644
--- a/frontend/src/container/AppLayout/AppLayout.styles.scss
+++ b/frontend/src/container/AppLayout/AppLayout.styles.scss
@@ -115,10 +115,10 @@
.highlight-text {
border-radius: 2px;
- background: rgba(78, 116, 248, 0.1);
+ background: color-mix(in srgb, var(--primary-background) 10%, transparent);
padding-right: 4px;
font-family: 'Geist Mono';
- color: var(--bg-robin-500);
+ color: var(--primary-foreground);
}
.add-credit-card-modal {
@@ -130,7 +130,7 @@
.cancel-btn {
border-radius: 2px;
border: none;
- background: var(--bg-slate-500, #161922);
+ background: var(--l1-background, #161922);
box-shadow: none;
}
@@ -142,7 +142,7 @@
.isDarkMode {
.app-layout {
.app-content {
- background: #0b0c0e;
+ background: var(--background);
}
}
}
@@ -150,7 +150,7 @@
.isLightMode {
.app-layout {
.app-content {
- background: #ffffff;
+ background: var(--card);
}
}
}
@@ -165,10 +165,10 @@
}
.slow-api-warning-banner {
- background-color: var(--bg-robin-500);
+ background-color: var(--primary-background);
.dismiss-banner {
- color: white;
+ color: var(--primary-foreground);
float: right;
padding: 0 16px;
@@ -177,7 +177,7 @@
gap: 4px;
&:hover {
- color: white;
+ color: var(--primary-foreground);
}
}
}
diff --git a/frontend/src/container/AppLayout/index.tsx b/frontend/src/container/AppLayout/index.tsx
index 86a0eae261..4956e18a97 100644
--- a/frontend/src/container/AppLayout/index.tsx
+++ b/frontend/src/container/AppLayout/index.tsx
@@ -13,7 +13,7 @@ import { useMutation, useQueries } from 'react-query';
import { useDispatch, useSelector } from 'react-redux';
import { useLocation } from 'react-router-dom';
import * as Sentry from '@sentry/react';
-import { Toaster } from '@signozhq/sonner';
+import { Toaster } from '@signozhq/ui';
import { Flex } from 'antd';
import getLocalStorageApi from 'api/browser/localstorage/get';
import setLocalStorageApi from 'api/browser/localstorage/set';
diff --git a/frontend/src/container/BillingContainer/BillingContainer.styles.scss b/frontend/src/container/BillingContainer/BillingContainer.styles.scss
index a1f6fe2d7a..e209cf671e 100644
--- a/frontend/src/container/BillingContainer/BillingContainer.styles.scss
+++ b/frontend/src/container/BillingContainer/BillingContainer.styles.scss
@@ -12,25 +12,25 @@
margin: 24px 0px;
.ant-table-title {
- color: var(--bg-vanilla-400);
- background-color: rgb(27, 28, 32);
+ color: var(--l2-foreground);
+ background-color: var(--l3-background);
}
.ant-table-cell {
- background-color: var(--bg-ink-400);
- border-color: var(--bg-slate-500);
+ background-color: var(--l1-background);
+ border-color: var(--l1-border);
}
.ant-table-tbody {
td {
- border-color: var(--bg-slate-500);
+ border-color: var(--l1-border);
}
}
}
.upgrade-plan-benefits {
margin: 0px 8px;
- border: 1px solid #333;
+ border: 1px solid var(--l1-border);
border-radius: 5px;
padding: 0 48px;
.plan-benefits {
@@ -55,7 +55,7 @@
.billing-update-note {
text-align: left;
font-size: 13px;
- color: var(--bg-vanilla-200);
+ color: var(--l2-foreground);
margin-top: 16px;
}
}
@@ -68,24 +68,3 @@
.ant-skeleton.ant-skeleton-element .ant-skeleton-input {
min-width: 100% !important;
}
-
-.lightMode {
- .billing-container {
- .billing-details {
- .ant-table-cell {
- background: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-200);
- }
-
- .ant-table-tbody {
- td {
- border-color: var(--bg-vanilla-200);
- }
- }
- }
-
- .billing-update-note {
- color: var(--bg-ink-200);
- }
- }
-}
diff --git a/frontend/src/container/BillingContainer/BillingContainer.tsx b/frontend/src/container/BillingContainer/BillingContainer.tsx
index a6bfac6ce6..fd66dcb20a 100644
--- a/frontend/src/container/BillingContainer/BillingContainer.tsx
+++ b/frontend/src/container/BillingContainer/BillingContainer.tsx
@@ -472,7 +472,7 @@ export default function BillingContainer(): JSX.Element {
{trialInfo?.onTrial && trialInfo?.trialConvertedToSubscription && (
<Typography.Text
ellipsis
- style={{ fontWeight: '300', color: '#49aa19', fontSize: 12 }}
+ style={{ fontWeight: '300', color: 'var(--bg-forest-500)', fontSize: 12 }}
>
{t('card_details_recieved_and_billing_info')}
</Typography.Text>
@@ -562,7 +562,7 @@ export default function BillingContainer(): JSX.Element {
<a
href="https://signoz.io/pricing/"
style={{
- color: '#f99781',
+ color: 'var(--bg-cherry-300)',
}}
target="_blank"
rel="noreferrer"
diff --git a/frontend/src/container/BillingContainer/BillingUsageGraph/BillingUsageGraph.styles.scss b/frontend/src/container/BillingContainer/BillingUsageGraph/BillingUsageGraph.styles.scss
index e5722d4f4a..2f87701e1c 100644
--- a/frontend/src/container/BillingContainer/BillingUsageGraph/BillingUsageGraph.styles.scss
+++ b/frontend/src/container/BillingContainer/BillingUsageGraph/BillingUsageGraph.styles.scss
@@ -18,12 +18,6 @@
font-weight: 500;
line-height: 22px;
letter-spacing: 0.48px;
- color: rgba(255, 255, 255, 0.5);
- }
-}
-
-.lightMode {
- .total-spent-title {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
}
diff --git a/frontend/src/container/CloudIntegrationPage/Header/Header.styles.scss b/frontend/src/container/CloudIntegrationPage/Header/Header.styles.scss
index 79a6e26815..0506869453 100644
--- a/frontend/src/container/CloudIntegrationPage/Header/Header.styles.scss
+++ b/frontend/src/container/CloudIntegrationPage/Header/Header.styles.scss
@@ -3,7 +3,7 @@
justify-content: space-between;
align-items: center;
padding: 8px 18px;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
&__navigation {
display: flex;
@@ -18,7 +18,7 @@
}
&__breadcrumb-title {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
@@ -30,8 +30,8 @@
justify-content: center;
padding: 6px;
gap: 6px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
border-radius: 2px;
font-size: 12px;
line-height: 10px;
@@ -41,28 +41,7 @@
cursor: pointer;
&,
&:hover {
- color: var(--bg-vanilla-400);
- }
- }
-}
-
-.lightMode {
- .cloud-header {
- border-bottom: 1px solid var(--bg-slate-300);
-
- &__breadcrumb-title {
- color: var(--bg-ink-400);
- }
-
- &__help {
- border-color: var(--bg-slate-300);
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-400);
-
- &:hover {
- border-color: var(--bg-slate-400);
- color: var(--bg-ink-500);
- }
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/container/CloudIntegrationPage/HeroSection/HeroSection.style.scss b/frontend/src/container/CloudIntegrationPage/HeroSection/HeroSection.style.scss
index 28b5b864c6..1275a3e580 100644
--- a/frontend/src/container/CloudIntegrationPage/HeroSection/HeroSection.style.scss
+++ b/frontend/src/container/CloudIntegrationPage/HeroSection/HeroSection.style.scss
@@ -8,13 +8,13 @@
background-position: right;
background-size: cover;
background-repeat: no-repeat;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
&__icon {
height: fit-content;
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
padding: 12px;
- border: 1px solid var(--bg-ink-300);
+ border: 1px solid var(--l3-background);
border-radius: 6px;
width: 60px;
height: 60px;
@@ -31,7 +31,7 @@
gap: 12px;
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 24px;
font-weight: 500;
line-height: 20px;
@@ -39,7 +39,7 @@
}
.description {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-weight: 400;
line-height: 18px;
@@ -47,26 +47,6 @@
}
}
-.lightMode {
- .hero-section {
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- &__icon {
- background-color: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-300);
- }
-
- &__details {
- .title {
- color: var(--bg-ink-500);
- }
-
- .description {
- color: var(--bg-ink-400);
- }
- }
- }
-}
.integrations-select {
height: 44px;
}
diff --git a/frontend/src/container/CloudIntegrationPage/HeroSection/components/AccountActions.style.scss b/frontend/src/container/CloudIntegrationPage/HeroSection/components/AccountActions.style.scss
index 3ed26e2151..aa0223766e 100644
--- a/frontend/src/container/CloudIntegrationPage/HeroSection/components/AccountActions.style.scss
+++ b/frontend/src/container/CloudIntegrationPage/HeroSection/components/AccountActions.style.scss
@@ -37,18 +37,18 @@
padding: 8px 17px;
&.primary {
- background: var(--bg-robin-500);
+ background: var(--primary-background);
border: none;
- color: var(--bg-vanilla-100);
+ color: var(--primary-foreground);
}
&.secondary {
display: flex;
align-items: center;
- border: 1px solid var(--bg-ink-300);
- color: var(--bg-vanilla-100);
+ border: 1px solid var(--l3-background);
+ color: var(--l1-foreground);
border-radius: 2px;
- background: var(--bg-slate-400);
+ background: var(--l1-border);
box-shadow: none;
}
}
@@ -56,22 +56,22 @@
.cloud-account-selector {
border-radius: 2px;
- border: 1px solid var(--bg-ink-300);
+ border: 1px solid var(--l3-background);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
.ant-select-selector {
- border-color: var(--bg-slate-400) !important;
- background: var(--bg-ink-300) !important;
+ border-color: var(--l1-border) !important;
+ background: var(--l3-background) !important;
padding: 6px 8px !important;
}
.ant-select-selection-item {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-weight: 400;
line-height: 16px;
@@ -87,7 +87,11 @@
justify-content: center;
height: 14px;
width: 14px;
- background-color: rgba(192, 193, 195, 0.2); /* #C0C1C3 with 0.2 opacity */
+ background-color: color-mix(
+ in srgb,
+ var(--border) 20%,
+ transparent
+ ); /* #C0C1C3 with 0.2 opacity */
border-radius: 2px;
}
}
@@ -95,48 +99,48 @@
.lightMode {
.hero-section__action-button {
&.primary {
- background: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
+ background: var(--primary-background);
+ color: var(--primary-foreground);
}
&.secondary {
- border-color: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- background: var(--bg-vanilla-100);
+ border-color: var(--l1-border);
+ color: var(--l1-foreground);
+ background: var(--l1-background);
&:hover {
- border-color: var(--bg-vanilla-400);
- color: var(--bg-ink-500);
+ border-color: var(--l1-border);
+ color: var(--l1-foreground);
}
}
}
.cloud-account-selector {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
.ant-select-selector {
- background: var(--bg-vanilla-100) !important;
- border-color: var(--bg-vanilla-400) !important;
+ background: var(--l1-background) !important;
+ border-color: var(--l1-border) !important;
}
.ant-select-item-option-active {
- background: var(--bg-vanilla-400) !important;
+ background: var(--l3-background) !important;
}
.ant-select-selection-item {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
&:hover {
.ant-select-selector {
- border-color: var(--bg-vanilla-400) !important;
+ border-color: var(--l1-border) !important;
}
}
}
.account-option-item {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
&__selected {
- background: var(--bg-robin-500);
+ background: var(--primary-background);
}
}
}
diff --git a/frontend/src/container/CloudIntegrationPage/HeroSection/components/AccountSettingsModal.style.scss b/frontend/src/container/CloudIntegrationPage/HeroSection/components/AccountSettingsModal.style.scss
index f2d1fd66fd..0e2f895363 100644
--- a/frontend/src/container/CloudIntegrationPage/HeroSection/components/AccountSettingsModal.style.scss
+++ b/frontend/src/container/CloudIntegrationPage/HeroSection/components/AccountSettingsModal.style.scss
@@ -1,6 +1,6 @@
.account-settings-modal {
&__title-account-id {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-size: 14px;
font-weight: 600;
@@ -12,19 +12,19 @@
flex-direction: column;
gap: 17px;
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
padding: 14px;
&-account-info {
&-connected-account-details {
&-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
font-weight: 500;
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
}
&-account-id {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
line-height: 18px;
letter-spacing: -0.06px;
@@ -43,7 +43,7 @@
flex-direction: column;
gap: 10px;
&-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
font-weight: 500;
line-height: 20px;
@@ -54,7 +54,7 @@
align-items: center;
gap: 10px;
&-label {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
background-color: transparent;
border: none;
font-family: Inter;
@@ -74,7 +74,7 @@
&__footer {
&-close-button,
&-save-button {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 12px;
font-weight: 500;
@@ -83,13 +83,13 @@
}
&-close-button {
border-radius: 2px;
- background: var(--bg-slate-400);
+ background: var(--l1-border);
border: none;
}
&-save-button {
&:disabled {
- background: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
+ background: var(--primary-background);
+ color: var(--primary-foreground);
opacity: 0.6;
border: none;
}
@@ -113,23 +113,23 @@
.lightMode {
.account-settings-modal {
&__title-account-id {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
&__body {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
&-account-info {
&-connected-account-details {
&-title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
&-account-id {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
&-account-id {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
}
@@ -137,15 +137,15 @@
&-regions-switch {
&-title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
&-switch {
&-label {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
&:hover {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
}
@@ -155,28 +155,28 @@
&__footer {
&-close-button,
&-save-button {
- color: var(--bg-vanilla-100);
+ color: var(--l1-background);
}
&-close-button {
- background: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ background: var(--l1-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
&:hover {
- border-color: var(--bg-vanilla-400);
- color: var(--bg-ink-500);
+ border-color: var(--l1-border);
+ color: var(--l1-foreground);
}
}
&-save-button {
// Keep primary button same as dark mode
- background: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
+ background: var(--primary-background);
+ color: var(--primary-foreground);
&:disabled {
- background: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
+ background: var(--primary-background);
+ color: var(--primary-foreground);
opacity: 0.6;
}
diff --git a/frontend/src/container/CloudIntegrationPage/HeroSection/components/CloudAccountSetupModal.style.scss b/frontend/src/container/CloudIntegrationPage/HeroSection/components/CloudAccountSetupModal.style.scss
index 41ce437d53..35b964e7f5 100644
--- a/frontend/src/container/CloudIntegrationPage/HeroSection/components/CloudAccountSetupModal.style.scss
+++ b/frontend/src/container/CloudIntegrationPage/HeroSection/components/CloudAccountSetupModal.style.scss
@@ -1,8 +1,8 @@
.cloud-account-setup-modal {
.account-setup-modal-footer {
&__confirm-button {
- background: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
+ background: var(--primary-background);
+ color: var(--primary-foreground);
font-size: 12px;
font-weight: 500;
}
@@ -10,9 +10,9 @@
font-family: 'Geist Mono';
}
&__close-button {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
border-radius: 2px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Inter';
font-size: 12px;
font-weight: 500;
@@ -37,16 +37,21 @@
line-height: 22px; /* 157.143% */
letter-spacing: -0.07px;
}
+
&.ant-alert-error {
- color: var(--bg-sakura-400);
- border: 1px solid rgba(242, 71, 105, 0.1);
- background: rgba(242, 71, 105, 0.1);
+ color: var(--danger-foreground);
+ border: 1px solid
+ color-mix(in srgb, var(--danger-background) 10%, transparent);
+ background: color-mix(in srgb, var(--danger-background) 10%, transparent);
}
+
&.ant-alert-warning {
- color: var(--bg-amber-400);
- border: 1px solid rgba(255, 205, 86, 0.1);
- background: rgba(255, 205, 86, 0.1);
+ color: var(--warning-foreground);
+ border: 1px solid
+ color-mix(in srgb, var(--warning-background) 10%, transparent);
+ background: color-mix(in srgb, var(--warning-background) 10%, transparent);
}
+
&-message {
display: flex;
align-items: center;
@@ -66,14 +71,14 @@
gap: 12px;
}
&__title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
font-weight: 500;
line-height: 20px;
letter-spacing: -0.07px;
}
&__description {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-weight: 400;
line-height: 18px;
@@ -81,7 +86,7 @@
}
&__select {
.ant-select-selection-item {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
line-height: 20px;
letter-spacing: -0.07px;
@@ -94,7 +99,7 @@
display: flex;
align-items: center;
gap: 10px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
line-height: 18px;
letter-spacing: -0.06px;
@@ -102,7 +107,7 @@
&-label {
background-color: transparent;
border: none;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
line-height: 18px;
letter-spacing: -0.06px;
@@ -116,13 +121,14 @@
line-height: 22px;
letter-spacing: -0.06px;
border-radius: 4px;
- border: 1px solid rgba(78, 116, 248, 0.1);
- background: rgba(78, 116, 248, 0.1);
+ border: 1px solid
+ color-mix(in srgb, var(--primary-background) 10%, transparent);
+ background: color-mix(in srgb, var(--primary-background) 10%, transparent);
}
&__submit-button {
border-radius: 2px;
- background: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
+ background: var(--primary-background);
+ color: var(--primary-foreground);
font-size: 14px;
font-weight: 500;
line-height: 20px;
@@ -143,76 +149,79 @@
.cloud-account-setup-modal {
.account-setup-modal-footer {
&__confirm-button {
- background: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
+ background: var(--primary-background);
+ color: var(--primary-foreground);
}
&__close-button {
- background: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ background: var(--l1-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
&:hover {
- border-color: var(--bg-vanilla-400);
- color: var(--bg-ink-500);
+ border-color: var(--l1-border);
+ color: var(--l1-foreground);
}
}
}
.cloud-account-setup-form {
&__title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
&__description {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
&__select {
.ant-select-selection-item {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
&__include-all-regions-switch {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
&-label {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
&:hover {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
}
&__note {
- color: var(--bg-robin-500);
- border: 1px solid rgba(78, 116, 248, 0.2);
- background: rgba(78, 116, 248, 0.1);
+ color: var(--primary-foreground);
+ border: 1px solid
+ color-mix(in srgb, var(--primary-background) 20%, transparent);
+ background: color-mix(in srgb, var(--primary-background) 10%, transparent);
}
&__submit-button {
- background: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
+ background: var(--primary-background);
+ color: var(--primary-foreground);
}
&__alert {
&.ant-alert-error {
- color: var(--bg-cherry-500);
- border: 1px solid rgba(242, 71, 105, 0.2);
- background: rgba(242, 71, 105, 0.1);
+ color: var(--danger-foreground);
+ border: 1px solid
+ color-mix(in srgb, var(--danger-background) 20%, transparent);
+ background: color-mix(in srgb, var(--danger-background) 10%, transparent);
}
&.ant-alert-warning {
- color: var(--bg-amber-500);
- border: 1px solid rgba(255, 205, 86, 0.2);
- background: rgba(255, 205, 86, 0.1);
+ color: var(--warning-foreground);
+ border: 1px solid
+ color-mix(in srgb, var(--warning-background) 20%, transparent);
+ background: color-mix(in srgb, var(--warning-background) 10%, transparent);
}
&-message {
.retry-time {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
}
diff --git a/frontend/src/container/CloudIntegrationPage/HeroSection/components/RemoveIntegrationAccount.scss b/frontend/src/container/CloudIntegrationPage/HeroSection/components/RemoveIntegrationAccount.scss
index a945a92598..73a6d504de 100644
--- a/frontend/src/container/CloudIntegrationPage/HeroSection/components/RemoveIntegrationAccount.scss
+++ b/frontend/src/container/CloudIntegrationPage/HeroSection/components/RemoveIntegrationAccount.scss
@@ -3,8 +3,8 @@
justify-content: space-between;
padding: 16px;
border-radius: 4px;
- border: 1px solid rgba(218, 85, 101, 0.2);
- background: rgba(218, 85, 101, 0.06);
+ border: 1px solid color-mix(in srgb, var(--bg-sakura-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-sakura-500) 6%, transparent);
&__header {
display: flex;
flex-direction: column;
@@ -29,7 +29,7 @@
align-items: center;
background: var(--bg-cherry-500);
border: none;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 12px;
font-weight: 500;
line-height: 13.3px; /* 110.833% */
@@ -40,7 +40,7 @@
&:hover {
&.ant-btn-default {
- color: var(--bg-vanilla-300) !important;
+ color: var(--l2-foreground) !important;
}
}
}
diff --git a/frontend/src/container/CloudIntegrationPage/HeroSection/components/SuccessView.style.scss b/frontend/src/container/CloudIntegrationPage/HeroSection/components/SuccessView.style.scss
index c57a831b14..9ecf726d9b 100644
--- a/frontend/src/container/CloudIntegrationPage/HeroSection/components/SuccessView.style.scss
+++ b/frontend/src/container/CloudIntegrationPage/HeroSection/components/SuccessView.style.scss
@@ -16,14 +16,14 @@
.cloud-account-setup-success-view {
&__title {
h3 {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 20px;
font-weight: 500;
line-height: 32px;
}
}
&__description {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 400;
line-height: 20px;
@@ -37,7 +37,7 @@
gap: 18px;
text-align: left;
&-title {
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
font-size: 11px;
font-weight: 500;
line-height: 18px;
@@ -52,6 +52,7 @@
display: flex;
gap: 10px;
align-items: baseline;
+
&.ant-alert {
padding: 14px;
border-radius: 8px;
@@ -59,10 +60,11 @@
line-height: 20px; /* 142.857% */
letter-spacing: -0.21px;
}
+
&.ant-alert-info {
- border: 1px solid rgba(63, 94, 204, 0.5);
- background: rgba(78, 116, 248, 0.2);
- color: var(--bg-robin-400);
+ border: 1px solid color-mix(in srgb, var(--bg-robin-600) 50%, transparent);
+ background: color-mix(in srgb, var(--primary-background) 20%, transparent);
+ color: var(--primary-foreground);
}
.what-next-item {
@@ -84,8 +86,8 @@
&__footer {
padding-top: 18px;
.ant-btn {
- background: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
+ background: var(--primary-background);
+ color: var(--primary-foreground);
font-size: 14px;
font-weight: 500;
line-height: 20px;
@@ -108,34 +110,38 @@
.cloud-account-setup-success-view {
&__title {
h3 {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
&__description {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
}
}
&__what-next {
&-title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
.what-next-items-wrapper {
&__item {
&.ant-alert-info {
- border: 1px solid rgba(63, 94, 204, 0.2);
- background: rgba(78, 116, 248, 0.1);
- color: var(--bg-robin-500);
+ border: 1px solid color-mix(in srgb, var(--bg-robin-600) 20%, transparent);
+ background: color-mix(
+ in srgb,
+ var(--primary-background) 10%,
+ transparent
+ );
+ color: var(--primary-foreground);
}
.what-next-item {
- color: var(--bg-robin-500);
+ color: var(--primary-foreground);
&-text {
- color: var(--bg-robin-500);
+ color: var(--primary-foreground);
}
}
}
@@ -144,11 +150,11 @@
&__footer {
.ant-btn {
- background: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
+ background: var(--primary-background);
+ color: var(--primary-foreground);
&:hover {
- background: var(--bg-robin-400);
+ background: var(--primary-background-hover);
}
}
}
diff --git a/frontend/src/container/CloudIntegrationPage/ServicesSection/ConfigureServiceModal.styles.scss b/frontend/src/container/CloudIntegrationPage/ServicesSection/ConfigureServiceModal.styles.scss
index dbeb90c535..afcd4a83ea 100644
--- a/frontend/src/container/CloudIntegrationPage/ServicesSection/ConfigureServiceModal.styles.scss
+++ b/frontend/src/container/CloudIntegrationPage/ServicesSection/ConfigureServiceModal.styles.scss
@@ -3,7 +3,7 @@
display: flex;
flex-direction: column;
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
padding: 14px;
&-regions-switch-switch {
@@ -12,7 +12,7 @@
gap: 6px;
&-label {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
font-weight: 500;
line-height: 20px;
@@ -22,7 +22,7 @@
&-switch-description {
margin-top: 4px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-weight: 400;
line-height: 18px;
@@ -46,35 +46,35 @@
.lightMode {
.configure-service-modal {
&__body {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
&-regions-switch-switch {
&-label {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
&-switch-description {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
}
.ant-btn {
&.ant-btn-default {
- background: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ background: var(--l1-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
&:hover {
- border-color: var(--bg-vanilla-400);
- color: var(--bg-ink-500);
+ border-color: var(--l1-border);
+ color: var(--l1-foreground);
}
}
&.ant-btn-primary {
// Keep primary button same as dark mode
- background: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
+ background: var(--primary-background);
+ color: var(--l1-background);
&:hover {
background: var(--bg-robin-400);
diff --git a/frontend/src/container/CloudIntegrationPage/ServicesSection/ServicesTabs.style.scss b/frontend/src/container/CloudIntegrationPage/ServicesSection/ServicesTabs.style.scss
index 70b46a98e9..4692a240cb 100644
--- a/frontend/src/container/CloudIntegrationPage/ServicesSection/ServicesTabs.style.scss
+++ b/frontend/src/container/CloudIntegrationPage/ServicesSection/ServicesTabs.style.scss
@@ -9,13 +9,13 @@
&.ant-tabs-tab-active {
.ant-tabs-tab-btn {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
.ant-tabs-ink-bar {
- background: var(--bg-robin-500);
+ background: var(--primary-background);
}
}
.services-section {
@@ -34,15 +34,15 @@
.services-filter {
padding: 16px 0;
.ant-select-selector {
- background-color: var(--bg-ink-300) !important;
- border: 1px solid var(--bg-slate-400) !important;
- color: var(--bg-vanilla-400) !important;
+ background-color: var(--l3-background) !important;
+ border: 1px solid var(--l1-border) !important;
+ color: var(--l2-foreground) !important;
font-family: Inter;
font-size: 12px;
}
.ant-select-arrow {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
@@ -56,11 +56,11 @@
width: 100%;
cursor: pointer;
&:not(:last-child) {
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
}
&.active {
- background-color: var(--bg-ink-100);
+ background-color: var(--bg-ink-100); /* keep: no semantic equivalent */
}
&__icon-wrapper {
height: 40px;
@@ -68,8 +68,8 @@
display: flex;
align-items: center;
justify-content: center;
- background-color: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-400);
+ background-color: var(--l3-background);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
.service-item__icon {
width: 24px;
@@ -77,7 +77,7 @@
}
}
&__title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
font-weight: 500;
line-height: 20px; /* 142.857% */
@@ -95,10 +95,10 @@
justify-content: space-between;
align-items: center;
height: 48px;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
.service-details__details-title {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 500;
line-height: 20px; /* 142.857% */
@@ -120,18 +120,18 @@
border-radius: 2px;
line-height: normal;
&--connected {
- border: 1px solid rgba(37, 225, 146, 0.1);
- background: rgba(37, 225, 146, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-forest-500) 10%, transparent);
+ background: color-mix(in srgb, var(--bg-forest-500) 10%, transparent);
color: var(--bg-forest-400);
}
&--stale-data {
- background: rgba(255, 215, 120, 0.1);
- border: 1px solid rgba(255, 215, 120, 0.1);
+ background: color-mix(in srgb, var(--bg-amber-400) 10%, transparent);
+ border: 1px solid color-mix(in srgb, var(--bg-amber-400) 10%, transparent);
color: var(--bg-amber-400);
}
&--no-data {
- border: 1px solid rgba(234, 109, 113, 0.1);
- background: rgba(234, 109, 113, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-cherry-400) 10%, transparent);
+ background: color-mix(in srgb, var(--bg-cherry-400) 10%, transparent);
color: var(--bg-cherry-400);
}
}
@@ -144,21 +144,21 @@
width: 116px;
box-shadow: none;
&--default {
- color: var(--bg-vanilla-400);
- background: var(--bg-slate-400);
- border: 1px solid var(--bg-slate-400);
+ color: var(--l2-foreground);
+ background: var(--l1-border);
+ border: 1px solid var(--l1-border);
}
&--primary {
- background-color: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
+ background-color: var(--primary-background);
+ color: var(--l1-foreground);
font-weight: 500;
- color: var(--Vanilla-100, #fff);
+ color: var(--l1-foreground);
}
}
}
}
&__overview {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 400;
line-height: 20px; /* 142.857% */
@@ -185,26 +185,26 @@
&-btn {
padding: 10px 24px;
- color: var(--text-vanilla-400) !important;
+ color: var(--l2-foreground) !important;
font-family: Inter;
font-size: 12px;
font-weight: 400;
line-height: 18px; /* 150% */
letter-spacing: -0.06px;
&[aria-selected='true'] {
- color: var(--text-vanilla-100) !important;
+ color: var(--l1-foreground) !important;
}
}
&-active {
- background: var(--bg-slate-400, #1d212d);
+ background: var(--l1-border);
}
}
&-extra-content {
padding: 0 16px 16px;
}
&-nav-list {
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
border-radius: 2px;
}
}
@@ -215,7 +215,7 @@
flex-direction: column;
gap: 10px;
&__title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 18px;
font-weight: 500;
line-height: 20px; /* 111.111% */
@@ -235,7 +235,7 @@
gap: 8px;
.ant-table {
background: transparent;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
.ant-table-thead {
> tr > th {
@@ -244,7 +244,7 @@
}
background: transparent;
border: none;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-weight: 600;
line-height: 18px; /* 150% */
@@ -257,7 +257,11 @@
> tr {
&:nth-child(odd),
&:hover > td {
- background: rgba(255, 255, 255, 0.01) !important;
+ background: color-mix(
+ in srgb,
+ var(--l1-foreground) 1%,
+ transparent
+ ) !important;
}
> td {
@@ -265,7 +269,7 @@
font-weight: 500;
}
border: none;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 400;
line-height: 20px; /* 142.857% */
@@ -276,7 +280,7 @@
}
}
&__table-heading {
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
font-size: 11px;
font-weight: 500;
line-height: 18px; /* 163.636% */
@@ -292,7 +296,7 @@
.ant-tabs-tab {
&.ant-tabs-tab-active {
.ant-tabs-tab-btn {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
}
@@ -300,98 +304,98 @@
.services-filter {
.ant-select-selector {
- background-color: var(--bg-vanilla-100) !important;
- border-color: var(--bg-vanilla-300) !important;
- color: var(--bg-ink-400) !important;
+ background-color: var(--l1-background) !important;
+ border-color: var(--l1-border) !important;
+ color: var(--l1-foreground) !important;
}
.ant-select-arrow {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
}
.service-item {
&:not(:last-child) {
- border-bottom: 1px solid var(--bg-vanilla-300);
+ border-bottom: 1px solid var(--l1-border);
}
&.active {
- background-color: var(--bg-vanilla-300);
+ background-color: var(--l3-background);
}
&__icon-wrapper {
- background-color: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-300);
+ background-color: var(--l1-background);
+ border-color: var(--l1-border);
}
&__title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
.service-details {
&__title-bar {
- border-bottom: 1px solid var(--bg-vanilla-300);
+ border-bottom: 1px solid var(--l1-border);
.service-details__details-title {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
.configure-button {
- color: var(--bg-ink-400);
- background: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-300);
+ color: var(--l1-foreground);
+ background: var(--l1-background);
+ border-color: var(--l1-border);
&:hover {
- border-color: var(--bg-vanilla-400);
- color: var(--bg-ink-500);
+ border-color: var(--l2-foreground);
+ color: var(--l1-foreground);
}
}
.service-status {
&--connected {
- border: 1px solid rgba(37, 225, 146, 0.2);
- background: rgba(37, 225, 146, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-forest-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-forest-500) 10%, transparent);
color: var(--bg-forest-500);
}
&--stale-data {
- border: 1px solid rgba(255, 215, 120, 0.2);
- background: rgba(255, 215, 120, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-amber-400) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-amber-400) 10%, transparent);
color: var(--bg-amber-500);
}
&--no-data {
- border: 1px solid rgba(234, 109, 113, 0.2);
- background: rgba(234, 109, 113, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-cherry-400) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-cherry-400) 10%, transparent);
color: var(--bg-cherry-500);
}
}
}
&__overview {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
&__tabs {
.ant-tabs {
&-tab {
&-btn {
- color: var(--bg-ink-400) !important;
+ color: var(--l1-foreground) !important;
&[aria-selected='true'] {
- color: var(--bg-ink-500) !important;
+ color: var(--l1-foreground) !important;
}
}
&-active {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
}
&-nav-list {
- border-color: var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border-color: var(--l1-border);
+ background: var(--l1-background);
}
}
}
@@ -399,18 +403,18 @@
.cloud-service {
&-dashboard-item {
&__title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
&-data-collected {
&__table {
.ant-table {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
.ant-table-thead {
> tr > th {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
}
@@ -418,11 +422,11 @@
> tr {
&:nth-child(odd),
&:hover > td {
- background: var(--bg-vanilla-100) !important;
+ background: var(--l1-background) !important;
}
> td {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
}
}
@@ -430,7 +434,7 @@
}
&__table-heading {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
}
diff --git a/frontend/src/container/CreateAlertChannels/CreateAlertChannels.styles.scss b/frontend/src/container/CreateAlertChannels/CreateAlertChannels.styles.scss
index 669df6535f..7fbdb86066 100644
--- a/frontend/src/container/CreateAlertChannels/CreateAlertChannels.styles.scss
+++ b/frontend/src/container/CreateAlertChannels/CreateAlertChannels.styles.scss
@@ -2,8 +2,8 @@
width: 90%;
margin: 12px auto;
- border: 1px solid var(--Slate-500, #161922);
- background: var(--Ink-400, #121317);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
border-radius: 3px;
padding: 16px;
@@ -13,14 +13,3 @@
margin-bottom: 16px;
}
}
-
-.lightMode {
- .create-alert-channels-container {
- background: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-300);
-
- .form-alert-channels-title {
- color: var(--bg-ink-100);
- }
- }
-}
diff --git a/frontend/src/container/CreateAlertV2/AlertCondition/styles.scss b/frontend/src/container/CreateAlertV2/AlertCondition/styles.scss
index 97497285bf..e81931ddd0 100644
--- a/frontend/src/container/CreateAlertV2/AlertCondition/styles.scss
+++ b/frontend/src/container/CreateAlertV2/AlertCondition/styles.scss
@@ -11,8 +11,8 @@
.alert-condition-tabs {
display: flex;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
flex-direction: row;
border-bottom: none;
margin-bottom: -1px;
@@ -26,24 +26,24 @@
padding: 9px;
box-shadow: none;
border-radius: 0px;
- border-left: 0.5px solid var(--bg-slate-400);
- border-bottom: 0.5px solid var(--bg-slate-400);
+ border-left: 0.5px solid var(--l1-border);
+ border-bottom: 0.5px solid var(--l1-border);
width: 120px;
height: 36px;
gap: 8px;
&.active-tab {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
border-bottom: none;
&:hover {
- background-color: var(--bg-ink-500) !important;
+ background-color: var(--l1-background) !important;
}
}
&:disabled {
- background-color: var(--bg-ink-300);
+ background-color: var(--l2-background);
opacity: 0.6;
}
@@ -54,7 +54,7 @@
&:hover {
background-color: transparent !important;
border-left: 1px solid transparent !important;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
@@ -65,8 +65,8 @@
.anomaly-threshold-container {
padding: 24px;
padding-right: 72px;
- background-color: var(--bg-ink-500);
- border: 1px solid var(--bg-slate-400);
+ background-color: var(--l1-background);
+ border: 1px solid var(--l1-border);
width: 100%;
.alert-condition-sentences {
@@ -81,7 +81,7 @@
flex-wrap: wrap;
.sentence-text {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
line-height: 1.5;
display: flex;
@@ -93,27 +93,27 @@
width: 240px;
.ant-select-selector {
- background-color: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-400);
- color: var(--text-vanilla-400);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
+ color: var(--muted-foreground);
font-family: 'Space Mono';
&:hover {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&:focus {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
}
.ant-select-selection-item {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
.ant-select-arrow {
- color: var(--bg-vanilla-400);
+ color: var(--muted-foreground);
}
}
}
@@ -151,9 +151,9 @@
flex-wrap: wrap;
.ant-input {
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ background-color: var(--card);
+ border: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
height: 32px;
&::placeholder {
@@ -161,28 +161,28 @@
}
&:hover {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&:focus {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
}
.ant-select {
.ant-select-selector {
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ background-color: var(--card);
+ border: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
height: 32px;
&:hover {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&:focus {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
@@ -192,17 +192,17 @@
}
.ant-select-selection-item {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
.ant-select-arrow {
- color: var(--bg-vanilla-400);
+ color: var(--muted-foreground);
}
}
.icon-btn {
- color: var(--bg-vanilla-400);
- border: 1px solid var(--bg-slate-400);
+ color: var(--muted-foreground);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
display: flex;
align-items: center;
@@ -225,9 +225,9 @@
.recovery-threshold-btn {
pointer-events: none;
cursor: default;
- color: var(--bg-vanilla-400);
- background-color: var(--bg-ink-400) !important;
- border: 1px solid var(--bg-slate-400);
+ color: var(--muted-foreground);
+ background-color: var(--card) !important;
+ border: 1px solid var(--l1-border);
border-radius: 4px;
display: flex;
align-items: center;
@@ -235,9 +235,9 @@
}
.ant-input {
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ background-color: var(--card);
+ border: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
height: 32px;
&::placeholder {
@@ -245,11 +245,11 @@
}
&:hover {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&:focus {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
}
@@ -258,8 +258,8 @@
.add-threshold-btn {
margin-top: 8px;
- border: 1px dashed var(--bg-slate-400);
- color: var(--bg-vanilla-300);
+ border: 1px dashed var(--l1-border);
+ color: var(--l2-foreground);
background-color: transparent;
border-radius: 4px;
height: 32px;
@@ -269,8 +269,8 @@
justify-content: center;
&:hover {
- border-color: var(--bg-vanilla-300);
- color: var(--bg-vanilla-100);
+ border-color: var(--l1-border);
+ color: var(--l1-foreground);
}
.anticon {
@@ -285,8 +285,12 @@
justify-content: space-between;
gap: 8px;
margin-top: 16px;
- background-color: #4568dc1a;
- border: 1px solid var(--bg-robin-500);
+ background-color: color-mix(
+ in srgb,
+ var(--primary-background) 10%,
+ transparent
+ );
+ border: 1px solid var(--primary-background);
padding: 8px 16px;
.routing-policies-info-banner-right {
@@ -295,7 +299,7 @@
gap: 8px;
.view-routing-policies-button {
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
font-size: 12px;
font-weight: 500;
display: flex;
@@ -305,7 +309,7 @@
}
.ant-typography {
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
}
}
}
@@ -335,11 +339,11 @@
min-width: 240px;
width: auto;
justify-content: space-between;
- background-color: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-400);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
.evaluate-alert-conditions-button-left {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
flex-shrink: 0;
}
@@ -347,212 +351,20 @@
.evaluate-alert-conditions-button-right {
display: flex;
align-items: center;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
gap: 8px;
flex-shrink: 0;
.evaluate-alert-conditions-button-right-text {
font-size: 12px;
font-weight: 500;
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
padding: 1px 4px;
}
}
}
}
-.lightMode {
- .alert-condition-container {
- .alert-condition {
- .alert-condition-tabs {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
-
- .explorer-view-option {
- border-left: 0.5px solid var(--bg-vanilla-300);
- border-bottom: 0.5px solid var(--bg-vanilla-300);
-
- &.active-tab {
- background-color: var(--bg-vanilla-100);
-
- &:hover {
- background-color: var(--bg-vanilla-100) !important;
- }
- }
-
- &:disabled {
- background-color: var(--bg-vanilla-300);
- }
-
- &:hover {
- color: var(--bg-ink-400);
- }
- }
- }
- }
- }
-
- .alert-threshold-container,
- .anomaly-threshold-container {
- background-color: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
-
- .alert-condition-sentences {
- .alert-condition-sentence {
- .sentence-text {
- color: var(--text-ink-400);
- }
-
- .ant-select {
- .ant-select-selector {
- background-color: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--text-ink-400);
-
- &:hover {
- border-color: var(--bg-ink-300);
- }
-
- &:focus {
- border-color: var(--bg-ink-300);
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
- }
- }
-
- .ant-select-selection-item {
- color: var(--bg-ink-400);
- }
-
- .ant-select-arrow {
- color: var(--bg-ink-400);
- }
- }
- }
- }
-
- .thresholds-section {
- .threshold-item {
- .threshold-row {
- .threshold-controls {
- .threshold-inputs {
- display: flex;
- align-items: center;
- gap: 8px;
- }
-
- .ant-input {
- background-color: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
-
- &:hover {
- border-color: var(--bg-ink-300);
- }
-
- &:focus {
- border-color: var(--bg-ink-300);
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
- }
- }
-
- .ant-select {
- .ant-select-selector {
- background-color: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
-
- &:hover {
- border-color: var(--bg-ink-300);
- }
-
- &:focus {
- border-color: var(--bg-ink-300);
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
- }
- }
-
- .ant-select-selection-item {
- color: var(--bg-ink-400);
- }
-
- .ant-select-arrow {
- color: var(--bg-ink-400);
- }
- }
-
- .icon-btn {
- color: var(--bg-ink-400);
- border: 1px solid var(--bg-vanilla-300);
- }
- }
- }
-
- .recovery-threshold-input-group {
- .recovery-threshold-btn {
- color: var(--bg-ink-400);
- background-color: var(--bg-vanilla-200) !important;
- border: 1px solid var(--bg-vanilla-300);
- }
-
- .ant-input {
- background-color: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
-
- &:hover {
- border-color: var(--bg-ink-300);
- }
-
- &:focus {
- border-color: var(--bg-ink-300);
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
- }
- }
- }
- }
-
- .add-threshold-btn,
- .ant-btn.add-threshold-btn {
- border: 1px dashed var(--bg-vanilla-300);
- color: var(--bg-ink-300);
- background-color: transparent;
-
- .ant-typography {
- color: var(--bg-ink-400);
- }
-
- &:hover {
- border-color: var(--bg-ink-300);
- color: var(--bg-ink-400);
- }
- }
- }
- }
-
- .condensed-evaluation-settings-container {
- .ant-btn {
- background-color: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-300);
- min-width: 240px;
- width: auto;
-
- .evaluate-alert-conditions-button-left {
- color: var(--bg-ink-400);
- flex-shrink: 0;
- }
-
- .evaluate-alert-conditions-button-right {
- color: var(--bg-ink-400);
- flex-shrink: 0;
-
- .evaluate-alert-conditions-button-right-text {
- background-color: var(--bg-vanilla-300);
- }
- }
- }
- }
-}
-
.highlighted-text {
font-weight: bold;
color: var(--bg-robin-400);
@@ -577,12 +389,12 @@
.tooltip-example {
margin-bottom: 8px;
- color: #8b92a0;
+ color: var(--l2-foreground);
}
.tooltip-link {
.tooltip-link-text {
- color: #1890ff;
+ color: var(--accent-primary);
font-size: 11px;
text-decoration: none;
diff --git a/frontend/src/container/CreateAlertV2/CreateAlertHeader/styles.scss b/frontend/src/container/CreateAlertV2/CreateAlertHeader/styles.scss
index 7dd4b25d63..0f23b8af1d 100644
--- a/frontend/src/container/CreateAlertV2/CreateAlertHeader/styles.scss
+++ b/frontend/src/container/CreateAlertV2/CreateAlertHeader/styles.scss
@@ -1,7 +1,7 @@
.alert-header {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
font-family: inherit;
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
&__tab-bar {
display: flex;
@@ -13,11 +13,11 @@
&__tab {
display: flex;
align-items: center;
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
padding: 0 12px;
height: 32px;
font-size: 13px;
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
margin-left: 12px;
margin-top: 12px;
}
@@ -26,12 +26,12 @@
content: '•';
margin-right: 6px;
font-size: 14px;
- color: var(--bg-slate-100);
+ color: var(--l3-foreground);
}
&__content {
padding: 16px;
- background: var(--bg-ink-500);
+ background: var(--l1-background);
display: flex;
flex-direction: column;
gap: 8px;
@@ -43,7 +43,7 @@
font-size: 18px;
font-weight: 500;
background-color: transparent;
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
width: 100%;
min-width: 300px;
}
@@ -57,15 +57,15 @@
&__input.description {
font-size: 14px;
background-color: transparent;
- color: var(--text-vanilla-300);
+ color: var(--l2-foreground);
}
.ant-btn {
display: flex;
gap: 4px;
align-items: center;
- color: var(--text-vanilla-100);
- border: 1px solid var(--bg-slate-300);
+ color: var(--l1-foreground);
+ border: 1px solid var(--l1-border);
margin-right: 16px;
}
}
@@ -78,16 +78,16 @@
&__add-button {
width: fit-content;
font-size: 13px;
- color: #ccc;
- border: 1px solid #333;
+ color: var(--l2-foreground);
+ border: 1px solid var(--l1-border);
background-color: transparent;
cursor: pointer;
padding: 4px 8px;
border-radius: 4px;
&:hover {
- border-color: #555;
- color: #fff;
+ border-color: var(--l1-border);
+ color: var(--l1-foreground);
}
}
@@ -122,7 +122,7 @@
font-size: 10px;
&:hover {
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
}
}
@@ -139,11 +139,11 @@
border: none;
outline: none;
padding: 6px 8px;
- color: #fff;
+ color: var(--l1-foreground);
font-size: 13px;
&::placeholder {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
&:focus,
@@ -153,74 +153,3 @@
}
}
}
-
-.lightMode {
- .alert-header {
- background-color: var(--bg-vanilla-100);
- color: var(--text-ink-100);
-
- &__tab {
- background-color: var(--bg-vanilla-100);
- color: var(--text-ink-100);
- }
-
- &__tab::before {
- color: var(--bg-ink-100);
- }
-
- &__content {
- background: var(--bg-vanilla-100);
- }
-
- &__input.title {
- color: var(--text-ink-100);
- }
-
- &__input.description {
- color: var(--text-ink-300);
- }
- }
-
- .edit-alert-header {
- width: 100%;
- }
-
- .edit-alert-header .alert-header__content {
- background: var(--bg-vanilla-200);
- }
-
- .labels-input {
- &__add-button {
- color: var(--bg-ink-400);
- border: 1px solid var(--bg-vanilla-300);
- background-color: var(--bg-vanilla-100);
-
- &:hover {
- border-color: var(--bg-ink-300);
- color: var(--bg-ink-500);
- }
- }
-
- &__label-pill {
- background-color: #ad7f581a;
- color: var(--bg-sienna-400);
- border: 1px solid var(--bg-sienna-500);
- }
-
- &__remove-button {
- color: var(--bg-sienna-400);
-
- &:hover {
- color: var(--text-ink-100);
- }
- }
-
- &__input {
- color: var(--bg-ink-500);
-
- &::placeholder {
- color: var(--bg-ink-300);
- }
- }
- }
-}
diff --git a/frontend/src/container/CreateAlertV2/CreateAlertV2.styles.scss b/frontend/src/container/CreateAlertV2/CreateAlertV2.styles.scss
index 7ecb3fce40..cc0254c7b5 100644
--- a/frontend/src/container/CreateAlertV2/CreateAlertV2.styles.scss
+++ b/frontend/src/container/CreateAlertV2/CreateAlertV2.styles.scss
@@ -1,14 +1,8 @@
.create-alert-v2-container {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
padding-bottom: 100px;
}
-.lightMode {
- .create-alert-v2-container {
- background-color: var(--bg-vanilla-100);
- }
-}
-
.sticky-page-spinner {
position: fixed;
inset: 0;
diff --git a/frontend/src/container/CreateAlertV2/EvaluationSettings/AdvancedOptionItem/styles.scss b/frontend/src/container/CreateAlertV2/EvaluationSettings/AdvancedOptionItem/styles.scss
index 4026eeffce..a8acf1dbd5 100644
--- a/frontend/src/container/CreateAlertV2/EvaluationSettings/AdvancedOptionItem/styles.scss
+++ b/frontend/src/container/CreateAlertV2/EvaluationSettings/AdvancedOptionItem/styles.scss
@@ -3,7 +3,7 @@
justify-content: space-between;
align-items: flex-start;
padding: 16px;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
.advanced-option-item-left-content {
display: flex;
@@ -11,7 +11,7 @@
gap: 6px;
.advanced-option-item-title {
- color: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-weight: 500;
@@ -21,7 +21,7 @@
}
.advanced-option-item-description {
- color: var(--bg-vanilla-400);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 14px;
font-weight: 400;
@@ -31,9 +31,9 @@
margin-top: 16px;
.ant-input {
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
height: 32px;
&::placeholder {
@@ -41,28 +41,28 @@
}
&:hover {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&:focus {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
}
.ant-select {
.ant-select-selector {
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
height: 32px;
&:hover {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&:focus {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
@@ -72,11 +72,11 @@
}
.ant-select-selection-item {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
.ant-select-arrow {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
}
@@ -93,33 +93,33 @@
gap: 8px;
.ant-input {
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
&:hover {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&:focus {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
}
.ant-select {
.ant-select-selector {
- background-color: var(--bg-ink-400);
- color: var(--bg-vanilla-100);
+ background-color: var(--l2-background);
+ color: var(--l1-foreground);
height: 32px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
&:hover {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&:focus {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
.ant-select-selection-placeholder {
@@ -128,11 +128,11 @@
}
.ant-select-selection-item {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
.ant-select-arrow {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
}
@@ -141,118 +141,10 @@
display: flex;
align-items: center;
gap: 8px;
- background-color: var(--bg-ink-200);
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-400);
+ background-color: var(--l3-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
border-radius: 4px;
}
}
}
-
-.lightMode {
- .advanced-option-item {
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .advanced-option-item-left-content {
- .advanced-option-item-title {
- color: var(--bg-ink-300);
- }
-
- .advanced-option-item-description {
- color: var(--bg-ink-400);
- }
-
- .advanced-option-item-input {
- .ant-input {
- background-color: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
-
- &:hover {
- border-color: var(--bg-ink-300);
- }
-
- &:focus {
- border-color: var(--bg-ink-300);
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
- }
- }
-
- .ant-select {
- .ant-select-selector {
- background-color: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
-
- &:hover {
- border-color: var(--bg-ink-300);
- }
-
- &:focus {
- border-color: var(--bg-ink-300);
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
- }
- }
-
- .ant-select-selection-item {
- color: var(--bg-ink-400);
- }
-
- .ant-select-arrow {
- color: var(--bg-ink-400);
- }
- }
- }
- }
-
- .advanced-option-item-right-content {
- .advanced-option-item-input-group {
- .ant-input {
- background-color: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
-
- &:hover {
- border-color: var(--bg-ink-300);
- }
-
- &:focus {
- border-color: var(--bg-ink-300);
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
- }
- }
-
- .ant-select {
- .ant-select-selector {
- background-color: var(--bg-vanilla-200);
- color: var(--bg-ink-400);
- border: 1px solid var(--bg-vanilla-300);
-
- &:hover {
- border-color: var(--bg-ink-300);
- }
-
- &:focus {
- border-color: var(--bg-ink-300);
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
- }
- }
-
- .ant-select-selection-item {
- color: var(--bg-ink-400);
- }
-
- .ant-select-arrow {
- color: var(--bg-ink-400);
- }
- }
- }
-
- .advanced-option-item-button {
- background-color: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- }
- }
- }
-}
diff --git a/frontend/src/container/CreateAlertV2/EvaluationSettings/EvaluationCadence/styles.scss b/frontend/src/container/CreateAlertV2/EvaluationSettings/EvaluationCadence/styles.scss
index 35b56fe4d9..b596fd28d4 100644
--- a/frontend/src/container/CreateAlertV2/EvaluationSettings/EvaluationCadence/styles.scss
+++ b/frontend/src/container/CreateAlertV2/EvaluationSettings/EvaluationCadence/styles.scss
@@ -1,5 +1,5 @@
.evaluation-cadence-container {
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
.evaluation-cadence-item {
border-bottom: none !important;
}
@@ -12,14 +12,14 @@
padding: 16px;
.ant-typography {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 13px;
.highlight {
- background-color: var(--bg-slate-500);
+ background-color: var(--l1-background);
padding: 4px 8px;
border-radius: 4px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-weight: 500;
margin: 0 4px;
font-size: 14px;
@@ -28,8 +28,8 @@
.ant-btn-group {
.ant-btn {
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-400);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
font-size: 14px;
display: flex;
align-items: center;
@@ -44,10 +44,10 @@
display: flex;
flex-direction: column;
gap: 16px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.evaluation-cadence-details-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
font-weight: 500;
padding-left: 16px;
@@ -61,8 +61,8 @@
.query-section-query-actions {
display: flex;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
flex-direction: row;
border-bottom: none;
margin-bottom: -1px;
@@ -76,24 +76,24 @@
padding: 9px;
box-shadow: none;
border-radius: 0px;
- border-left: 0.5px solid var(--bg-slate-400);
- border-bottom: 0.5px solid var(--bg-slate-400);
+ border-left: 0.5px solid var(--l1-border);
+ border-bottom: 0.5px solid var(--l1-border);
width: 120px;
height: 36px;
gap: 8px;
&.active-tab {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
border-bottom: none;
&:hover {
- background-color: var(--bg-ink-500) !important;
+ background-color: var(--l1-background) !important;
}
}
&:disabled {
- background-color: var(--bg-ink-300);
+ background-color: var(--l2-background);
opacity: 0.6;
}
@@ -104,7 +104,7 @@
&:hover {
background-color: transparent !important;
border-left: 1px solid transparent !important;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
@@ -113,7 +113,7 @@
.evaluation-cadence-details-content {
display: flex;
gap: 16px;
- border-top: 1px solid var(--bg-slate-500);
+ border-top: 1px solid var(--l1-border);
padding: 16px;
.evaluation-cadence-details-content-row {
@@ -133,16 +133,16 @@
textarea {
height: 200px;
- background: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-400);
+ background: var(--l2-background);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
- color: var(--bg-vanilla-400) !important;
+ color: var(--l2-foreground) !important;
font-family: 'Space Mono';
font-size: 14px;
&::placeholder {
font-family: 'Space Mono';
- color: var(--bg-vanilla-400) !important;
+ color: var(--muted-foreground) !important;
}
}
@@ -152,36 +152,36 @@
gap: 4px;
.ant-typography {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 13px;
font-weight: 500;
}
.ant-select {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
.ant-select-selector {
- background-color: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
&:hover {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&:focus {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
}
}
.ant-picker {
- background-color: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-400);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
.ant-picker-input {
- background-color: var(--bg-ink-300);
- color: var(--bg-vanilla-100);
+ background-color: var(--l2-background);
+ color: var(--l1-foreground);
}
}
}
@@ -201,7 +201,7 @@
flex-direction: column;
gap: 8px;
height: 100%;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
}
@@ -217,14 +217,14 @@
align-items: center;
gap: 8px;
padding: 8px 0;
- background-color: var(--bg-ink-400);
+ background-color: var(--card);
position: sticky;
top: 0;
z-index: 1;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
.schedule-preview-title {
- color: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 500;
}
@@ -247,11 +247,11 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l1-border);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-200);
+ background: var(--l3-background);
}
.schedule-preview-item {
@@ -269,7 +269,7 @@
.schedule-preview-timeline-line {
width: 1px;
height: 20px;
- background-color: var(--bg-slate-400);
+ background-color: var(--l2-background);
}
}
@@ -280,7 +280,7 @@
flex: 1;
.schedule-preview-date {
- color: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 400;
white-space: nowrap;
@@ -289,11 +289,11 @@
.schedule-preview-separator {
flex: 1;
height: 1px;
- border-top: 1px dashed var(--bg-slate-400);
+ border-top: 1px dashed var(--l1-border);
}
.schedule-preview-timezone {
- color: var(--bg-vanilla-400);
+ color: var(--muted-foreground);
font-size: 12px;
font-weight: 400;
white-space: nowrap;
@@ -307,53 +307,53 @@
}
.ant-picker-date-panel {
- background-color: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-300);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
}
.ant-picker-date-panel-layout {
- background-color: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-300);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
}
.ant-picker-date-panel-header {
- background-color: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-300);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
}
// Custom modal styles for preview
.evaluation-cadence-preview-modal {
.ant-modal-content {
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-500);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
border-radius: 8px;
}
.ant-modal-header {
- background-color: var(--bg-ink-400);
- border-bottom: 1px solid var(--bg-slate-500);
+ background-color: var(--l2-background);
+ border-bottom: 1px solid var(--l1-border);
padding: 16px 20px;
.ant-modal-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 16px;
font-weight: 600;
}
}
.ant-modal-close {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
top: 16px;
right: 20px;
&:hover {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
.ant-modal-body {
padding: 0;
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
}
.evaluation-cadence-details {
@@ -379,23 +379,23 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-400);
+ background: var(--l2-background);
border-radius: 3px;
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
.schedule-preview {
.schedule-preview-header {
- background-color: var(--bg-ink-400);
- border-bottom: 1px solid var(--bg-slate-500);
+ background-color: var(--card);
+ border-bottom: 1px solid var(--l1-border);
padding: 12px 16px;
margin: -12px -12px 16px -12px;
.schedule-preview-title {
- color: var(--bg-vanilla-300);
+ color: var(--l1-foreground);
font-size: 14px;
font-weight: 500;
}
@@ -404,7 +404,7 @@
.schedule-preview-list {
.schedule-preview-item {
padding: 12px 0;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
&:last-child {
border-bottom: none;
@@ -414,20 +414,20 @@
.schedule-preview-timeline-line {
width: 2px;
height: 24px;
- background-color: var(--bg-robin-500);
+ background-color: var(--primary-background);
border-radius: 1px;
}
}
.schedule-preview-content {
.schedule-preview-date {
- color: var(--bg-vanilla-300);
+ color: var(--l1-foreground);
font-size: 14px;
font-weight: 500;
}
.schedule-preview-timezone {
- background-color: var(--bg-slate-500);
+ background-color: var(--l1-background);
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
@@ -442,7 +442,7 @@
padding: 40px 12px;
svg {
- color: var(--bg-slate-400);
+ color: var(--muted-foreground);
}
}
}
@@ -451,267 +451,3 @@
}
// Light mode styles
-.lightMode {
- .evaluation-cadence-container {
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .edit-custom-schedule {
- .ant-typography {
- color: var(--bg-ink-400);
-
- .highlight {
- background-color: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- }
- }
-
- .ant-btn-group {
- .ant-btn {
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- }
- }
- }
- }
-
- .evaluation-cadence-details {
- border: 1px solid var(--bg-vanilla-300);
-
- .evaluation-cadence-details-title {
- color: var(--bg-ink-400);
- }
-
- .query-section-tabs {
- .query-section-query-actions {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
-
- .explorer-view-option {
- border-left: 0.5px solid var(--bg-vanilla-300);
- border-bottom: 0.5px solid var(--bg-vanilla-300);
-
- &.active-tab {
- background-color: var(--bg-vanilla-100);
-
- &:hover {
- background-color: var(--bg-vanilla-100) !important;
- }
- }
-
- &:disabled {
- background-color: var(--bg-vanilla-300);
- }
-
- &:hover {
- color: var(--bg-ink-400);
- }
- }
- }
- }
-
- .evaluation-cadence-details-content {
- border-top: 1px solid var(--bg-vanilla-300);
-
- .evaluation-cadence-details-content-row {
- .editor-view,
- .rrule-view {
- textarea {
- background: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400) !important;
-
- &::placeholder {
- color: var(--bg-ink-400) !important;
- }
- }
-
- .select-group {
- .ant-typography {
- color: var(--bg-ink-400);
- }
-
- .ant-select {
- border: 1px solid var(--bg-vanilla-300);
-
- .ant-select-selector {
- background-color: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
-
- &:hover {
- border-color: var(--bg-ink-300);
- }
-
- &:focus {
- border-color: var(--bg-ink-300);
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
- }
- }
- }
-
- .ant-picker {
- background-color: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-300);
-
- .ant-picker-input {
- background-color: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- }
- }
- }
- }
-
- .no-schedule {
- color: var(--bg-ink-400);
- }
-
- .schedule-preview {
- .schedule-preview-header {
- background-color: var(--bg-vanilla-200);
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .schedule-preview-title {
- color: var(--bg-ink-300);
- }
- }
-
- .schedule-preview-list {
- &::-webkit-scrollbar-thumb {
- background: var(--bg-vanilla-300);
- }
-
- &::-webkit-scrollbar-thumb:hover {
- background: var(--bg-vanilla-400);
- }
-
- .schedule-preview-item {
- .schedule-preview-timeline {
- .schedule-preview-timeline-line {
- background-color: var(--bg-vanilla-300);
- }
- }
-
- .schedule-preview-content {
- .schedule-preview-date {
- color: var(--bg-ink-300);
- }
-
- .schedule-preview-separator {
- border-top: 1px dashed var(--bg-vanilla-300);
- }
-
- .schedule-preview-timezone {
- color: var(--bg-ink-400);
- }
- }
- }
- }
- }
- }
- }
- }
-
- .ant-picker-date-panel {
- background-color: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-300);
- }
-
- .ant-picker-date-panel-layout {
- background-color: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-300);
- }
-
- .ant-picker-date-panel-header {
- background-color: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-300);
- }
-
- // Light mode styles for preview modal
- .evaluation-cadence-preview-modal {
- .ant-modal-content {
- background-color: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
- }
-
- .ant-modal-header {
- background-color: var(--bg-vanilla-200);
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .ant-modal-title {
- color: var(--bg-ink-400);
- }
- }
-
- .ant-modal-close {
- color: var(--bg-ink-400);
-
- &:hover {
- color: var(--bg-ink-300);
- }
- }
-
- .ant-modal-body {
- background-color: var(--bg-vanilla-200);
- }
-
- .evaluation-cadence-details {
- .evaluation-cadence-details-content {
- .evaluation-cadence-details-content-row {
- &::-webkit-scrollbar-thumb {
- background: var(--bg-vanilla-300);
- }
-
- &::-webkit-scrollbar-thumb:hover {
- background: var(--bg-vanilla-400);
- }
-
- .schedule-preview {
- .schedule-preview-header {
- background-color: var(--bg-vanilla-200);
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .schedule-preview-title {
- color: var(--bg-ink-300);
- }
- }
-
- .schedule-preview-list {
- .schedule-preview-item {
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .schedule-preview-timeline {
- .schedule-preview-timeline-line {
- background-color: var(--bg-robin-500);
- }
- }
-
- .schedule-preview-content {
- .schedule-preview-date {
- color: var(--bg-ink-300);
- }
-
- .schedule-preview-separator {
- border-top: 1px dashed var(--bg-vanilla-300);
- }
-
- .schedule-preview-timezone {
- background-color: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- }
- }
- }
- }
- }
-
- .no-schedule {
- color: var(--bg-ink-400);
-
- svg {
- color: var(--bg-vanilla-300);
- }
- }
- }
- }
- }
- }
-}
diff --git a/frontend/src/container/CreateAlertV2/EvaluationSettings/TimeInput/TimeInput.scss b/frontend/src/container/CreateAlertV2/EvaluationSettings/TimeInput/TimeInput.scss
index fe4574f53e..7e6b842428 100644
--- a/frontend/src/container/CreateAlertV2/EvaluationSettings/TimeInput/TimeInput.scss
+++ b/frontend/src/container/CreateAlertV2/EvaluationSettings/TimeInput/TimeInput.scss
@@ -6,9 +6,9 @@
.time-input-field {
width: 40px;
height: 32px;
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
font-family: 'Space Mono', monospace;
font-size: 14px;
font-weight: 600;
@@ -16,73 +16,36 @@
border-radius: 4px;
&::placeholder {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono', monospace;
}
&:hover {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&:focus {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
outline: none;
}
&:disabled {
- background-color: var(--bg-ink-300);
- color: var(--bg-vanilla-400);
+ background-color: var(--l2-background);
+ color: var(--l2-foreground);
cursor: not-allowed;
&:hover {
- border-color: var(--bg-slate-400);
+ border-color: var(--l1-border);
}
}
}
.time-input-separator {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 600;
margin: 0 4px;
user-select: none;
}
}
-
-.lightMode {
- .time-input-container {
- .time-input-field {
- background-color: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
-
- &::placeholder {
- color: var(--bg-ink-300);
- }
-
- &:hover {
- border-color: var(--bg-ink-300);
- }
-
- &:focus {
- border-color: var(--bg-ink-300);
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
- }
-
- &:disabled {
- background-color: var(--bg-vanilla-300);
- color: var(--bg-ink-300);
- cursor: not-allowed;
-
- &:hover {
- border-color: var(--bg-vanilla-300);
- }
- }
- }
-
- .time-input-separator {
- color: var(--bg-ink-300);
- }
- }
-}
diff --git a/frontend/src/container/CreateAlertV2/EvaluationSettings/styles.scss b/frontend/src/container/CreateAlertV2/EvaluationSettings/styles.scss
index aa34d8c984..c28476e3a4 100644
--- a/frontend/src/container/CreateAlertV2/EvaluationSettings/styles.scss
+++ b/frontend/src/container/CreateAlertV2/EvaluationSettings/styles.scss
@@ -5,32 +5,32 @@
display: flex;
align-items: center;
gap: 16px;
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
padding: 16px;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
margin-bottom: 16px;
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
}
.evaluate-alert-conditions-separator {
flex: 1;
height: 1px;
- border-top: 1px dashed var(--bg-slate-400);
+ border-top: 1px dashed var(--l1-border);
}
.ant-btn {
display: flex;
align-items: center;
justify-content: space-between;
- background-color: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-400);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
.evaluate-alert-conditions-button-left {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
padding-right: 16px;
}
@@ -38,13 +38,13 @@
.evaluate-alert-conditions-button-right {
display: flex;
align-items: center;
- color: var(--bg-vanilla-400);
+ color: var(--muted-foreground);
gap: 8px;
.evaluate-alert-conditions-button-right-text {
font-size: 12px;
font-weight: 500;
- background-color: var(--bg-slate-400);
+ background-color: var(--l2-background);
padding: 1px 4px;
}
}
@@ -56,18 +56,18 @@
.ant-collapse {
.ant-collapse-item {
.ant-collapse-header {
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-500);
+ background-color: var(--card);
+ border: 1px solid var(--l1-border);
.ant-collapse-header-text {
- color: var(--bg-vanilla-400);
+ color: var(--muted-foreground);
font-family: Inter;
}
}
.ant-collapse-content {
.ant-collapse-content-box {
- background-color: var(--bg-ink-400);
+ background-color: var(--card);
}
}
}
@@ -79,14 +79,14 @@
}
.ant-popover-content {
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-400);
+ background-color: var(--card);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
padding: 0;
margin: 10px;
.ant-popover-inner {
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
border: none;
padding: 0;
@@ -100,13 +100,13 @@
display: flex;
flex-direction: column;
gap: 8px;
- border-right: 1px solid var(--bg-slate-400);
+ border-right: 1px solid var(--l1-border);
padding: 12px 16px;
min-width: 250px;
min-height: 300px;
.evaluation-window-content-item-label {
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
font-size: 11px;
line-height: 18px;
font-weight: 500;
@@ -124,22 +124,22 @@
padding: 4px 16px;
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--muted-foreground);
font-weight: 400;
}
&.active {
- background-color: var(--bg-slate-500);
+ background-color: var(--l1-background);
border-left: 2px solid var(--bg-robin-500);
.ant-typography {
font-weight: 500;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
&:hover {
cursor: pointer;
- background-color: var(--bg-slate-500);
+ background-color: var(--l1-background);
}
}
}
@@ -153,7 +153,7 @@
width: 400px;
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--muted-foreground);
}
.ant-btn {
@@ -166,15 +166,15 @@
display: flex;
justify-content: flex-end;
gap: 8px;
- background-color: var(--bg-ink-300);
- border-top: 1px solid var(--bg-slate-400);
+ background-color: var(--l2-background);
+ border-top: 1px solid var(--l1-border);
padding: 16px;
}
.ant-btn {
- background-color: var(--bg-ink-200);
- border: 1px solid var(--bg-slate-200);
- color: var(--bg-vanilla-400);
+ background-color: var(--l3-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
font-size: 14px;
}
}
@@ -195,7 +195,7 @@
gap: 2px;
.ant-typography {
- color: var(--bg-slate-50);
+ color: var(--l3-foreground);
font-size: 11px;
line-height: 18px;
font-weight: 500;
@@ -212,11 +212,11 @@
.ant-select-selector {
&:hover {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&:focus {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
}
}
@@ -224,192 +224,43 @@
}
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 13px;
font-weight: 500;
}
.ant-select {
width: 60%;
- background-color: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
height: 32px;
.ant-select-selector {
- background-color: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
height: 32px;
&:hover {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&:focus {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
}
&:hover {
- border-color: var(--bg-ink-400);
+ border-color: var(--l1-border);
}
}
.select-group .ant-input:not(.time-input-field) {
- background-color: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
height: 32px;
width: 60%;
}
}
-
-.lightMode {
- .evaluation-settings-container {
- .evaluate-alert-conditions-container {
- background-color: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
-
- .ant-typography {
- color: var(--bg-ink-400);
- }
-
- .evaluate-alert-conditions-separator {
- border-top: 1px dashed var(--bg-vanilla-300);
- }
-
- .ant-btn {
- background-color: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-300);
-
- .evaluate-alert-conditions-button-left {
- color: var(--bg-ink-400);
- }
-
- .evaluate-alert-conditions-button-right {
- color: var(--bg-ink-400);
-
- .evaluate-alert-conditions-button-right-text {
- background-color: var(--bg-vanilla-300);
- }
- }
- }
- }
- }
-
- .advanced-options-container {
- .ant-collapse {
- .ant-collapse-item {
- .ant-collapse-header {
- background-color: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
-
- .ant-collapse-header-text {
- color: var(--bg-ink-400);
- }
- }
-
- .ant-collapse-content {
- .ant-collapse-content-box {
- background-color: var(--bg-vanilla-200);
- }
- }
- }
- }
- }
-
- .ant-popover-content {
- background-color: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
-
- .ant-popover-inner {
- background-color: var(--bg-vanilla-200);
-
- .evaluation-window-popover {
- .evaluation-window-content {
- .evaluation-window-content-item {
- border-right: 1px solid var(--bg-vanilla-300);
-
- .evaluation-window-content-item-label {
- color: var(--bg-ink-300);
- }
-
- .evaluation-window-content-list {
- .evaluation-window-content-list-item {
- .ant-typography {
- color: var(--bg-ink-400);
- }
-
- &.active {
- background-color: var(--bg-vanilla-300);
- border-left: 2px solid var(--bg-robin-500);
- .ant-typography {
- color: var(--bg-ink-400);
- }
- }
-
- &:hover {
- background-color: var(--bg-vanilla-300);
- }
- }
- }
- }
-
- .selection-content {
- .ant-typography {
- color: var(--bg-ink-400);
- }
- }
- }
-
- .evaluation-window-footer {
- background-color: var(--bg-vanilla-300);
- border-top: 1px solid var(--bg-vanilla-300);
- }
-
- .ant-btn {
- background-color: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- }
- }
- }
- }
-
- .evaluation-window-details {
- .select-group {
- .ant-typography {
- color: var(--bg-ink-300);
- }
- }
-
- .ant-typography {
- color: var(--bg-ink-400);
- }
-
- .ant-select {
- background-color: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
-
- .ant-select-selector {
- background-color: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
-
- &:hover {
- border-color: var(--bg-ink-300);
- }
-
- &:focus {
- border-color: var(--bg-ink-300);
- }
- }
-
- &:hover {
- border-color: var(--bg-vanilla-200);
- }
- }
- }
-}
diff --git a/frontend/src/container/CreateAlertV2/Footer/Footer.tsx b/frontend/src/container/CreateAlertV2/Footer/Footer.tsx
index 5db503df58..5d0da03a46 100644
--- a/frontend/src/container/CreateAlertV2/Footer/Footer.tsx
+++ b/frontend/src/container/CreateAlertV2/Footer/Footer.tsx
@@ -1,5 +1,5 @@
import { useCallback, useMemo } from 'react';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { Button, Tooltip, Typography } from 'antd';
import { useQueryBuilder } from 'hooks/queryBuilder/useQueryBuilder';
import { useSafeNavigate } from 'hooks/useSafeNavigate';
diff --git a/frontend/src/container/CreateAlertV2/Footer/styles.scss b/frontend/src/container/CreateAlertV2/Footer/styles.scss
index 14c9b03f6a..812e458809 100644
--- a/frontend/src/container/CreateAlertV2/Footer/styles.scss
+++ b/frontend/src/container/CreateAlertV2/Footer/styles.scss
@@ -3,9 +3,9 @@
bottom: 0;
left: 63px;
right: 0;
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
height: 70px;
- border-top: 1px solid var(--bg-slate-500);
+ border-top: 1px solid var(--l1-border);
padding: 16px 24px;
z-index: 1000;
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
@@ -25,27 +25,8 @@
}
.ant-btn-default {
- background-color: var(--bg-slate-500);
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-400);
- }
-}
-
-.lightMode {
- .create-alert-v2-footer {
- background-color: var(--bg-vanilla-100);
- border-top: 1px solid var(--bg-vanilla-300);
-
- .ant-btn-default {
- background-color: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-400);
- color: var(--bg-ink-400);
- }
-
- .ant-btn-primary {
- .ant-typography {
- color: var(--bg-vanilla-100);
- }
- }
+ background-color: var(--l1-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
}
}
diff --git a/frontend/src/container/CreateAlertV2/NotificationSettings/styles.scss b/frontend/src/container/CreateAlertV2/NotificationSettings/styles.scss
index f9cfbe8281..89055900c0 100644
--- a/frontend/src/container/CreateAlertV2/NotificationSettings/styles.scss
+++ b/frontend/src/container/CreateAlertV2/NotificationSettings/styles.scss
@@ -8,8 +8,8 @@
flex-direction: column;
gap: 16px;
margin-top: -8px;
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-400);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
padding: 16px;
.notification-message-header {
@@ -27,14 +27,14 @@
display: flex;
gap: 8px;
align-items: center;
- color: var(--bg-vanilla-300);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-weight: 500;
}
.notification-message-header-description {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-weight: 400;
@@ -54,10 +54,10 @@
textarea {
height: 150px;
- background: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-200);
+ background: var(--l2-background);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
- color: var(--bg-vanilla-400) !important;
+ color: var(--l2-foreground) !important;
font-family: Inter;
font-size: 14px;
}
@@ -66,8 +66,8 @@
.notification-settings-content {
display: flex;
flex-direction: column;
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-400);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
padding: 16px;
margin-top: 16px;
@@ -78,7 +78,7 @@
.ant-input {
width: 120px;
- border: 1px solid var(--bg-slate-100);
+ border: 1px solid var(--l1-border);
}
.ant-select {
@@ -86,11 +86,11 @@
width: 120px;
&:hover {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&:focus {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
}
}
@@ -100,11 +100,11 @@
width: 200px;
&:hover {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&:focus {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
}
}
@@ -113,7 +113,7 @@
.multiple-notifications-container {
display: flex;
padding: 4px 16px 16px 16px;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
justify-content: space-between;
.multiple-notifications-header {
@@ -128,7 +128,7 @@
}
.multiple-notifications-header-title {
- color: var(--bg-vanilla-300);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-weight: 500;
@@ -138,7 +138,7 @@
}
.multiple-notifications-header-description {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-weight: 400;
@@ -151,7 +151,7 @@
.multiple-notifications-select-description {
font-size: 10px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
margin-top: 4px;
}
}
@@ -160,8 +160,8 @@
display: flex;
flex-direction: column;
gap: 16px;
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-400);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
padding: 16px;
margin-top: 16px;
@@ -177,14 +177,14 @@
gap: 6px;
.advanced-option-item-title {
- color: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-weight: 500;
}
.advanced-option-item-description {
- color: var(--bg-vanilla-400);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 14px;
font-weight: 400;
@@ -193,7 +193,7 @@
}
.border-bottom {
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
width: 100%;
margin-left: -16px;
margin-right: -32px;
@@ -208,7 +208,7 @@
.ant-typography {
font-size: 14px;
font-weight: 400;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
white-space: nowrap;
}
@@ -217,14 +217,14 @@
height: 32px;
flex-shrink: 0;
.ant-select-selector {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
&:hover {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&:focus {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
}
@@ -233,7 +233,7 @@
.ant-input {
width: 200px;
flex-shrink: 0;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
}
}
}
@@ -252,129 +252,9 @@
align-items: center;
code {
- background-color: var(--bg-slate-500);
- color: var(--bg-vanilla-400);
+ background-color: var(--l1-background);
+ color: var(--l2-foreground);
padding: 2px 4px;
}
}
}
-
-.lightMode {
- .notification-settings-container {
- .notification-message-container {
- background-color: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
-
- .notification-message-header {
- .notification-message-header-content {
- .notification-message-header-title {
- color: var(--bg-ink-300);
- }
-
- .notification-message-header-description {
- color: var(--bg-ink-400);
- }
- }
-
- .notification-message-header-actions {
- .ant-btn {
- color: var(--bg-robin-500);
- }
- }
- }
-
- textarea {
- background: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400) !important;
- }
- }
-
- .notification-settings-content {
- background-color: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
-
- .repeat-notifications-input {
- .ant-input {
- border: 1px solid var(--bg-vanilla-300);
- }
- }
-
- .multiple-notifications-container {
- background-color: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
-
- .multiple-notifications-header {
- .multiple-notifications-header-title {
- color: var(--bg-ink-300);
- }
-
- .multiple-notifications-header-description {
- color: var(--bg-ink-400);
- }
- }
-
- .multiple-notifications-select-description {
- color: var(--bg-ink-400);
- }
-
- .border-bottom {
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
- }
- }
-
- .re-notification-container {
- background-color: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
-
- .advanced-option-item {
- .advanced-option-item-left-content {
- .advanced-option-item-title {
- color: var(--bg-ink-300);
- }
-
- .advanced-option-item-description {
- color: var(--bg-ink-400);
- }
- }
- }
-
- .border-bottom {
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
-
- .re-notification-condition {
- .ant-typography {
- color: var(--bg-ink-400);
- }
-
- .ant-select {
- .ant-select-selector {
- border: 1px solid var(--bg-vanilla-300);
-
- &:hover {
- border-color: var(--bg-ink-300);
- }
-
- &:focus {
- border-color: var(--bg-ink-300);
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
- }
- }
- }
-
- .ant-input {
- border: 1px solid var(--bg-vanilla-300);
- }
- }
- }
- }
-
- .template-variable-content-item {
- code {
- background-color: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- }
- }
-}
diff --git a/frontend/src/container/CreateAlertV2/QuerySection/styles.scss b/frontend/src/container/CreateAlertV2/QuerySection/styles.scss
index 28d3c1b0fd..4126e38e35 100644
--- a/frontend/src/container/CreateAlertV2/QuerySection/styles.scss
+++ b/frontend/src/container/CreateAlertV2/QuerySection/styles.scss
@@ -9,8 +9,8 @@
.query-section-query-actions {
display: flex;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
flex-direction: row;
border-bottom: none;
margin-bottom: -1px;
@@ -29,24 +29,24 @@
padding: 9px;
box-shadow: none;
border-radius: 0px;
- border-left: 0.5px solid var(--bg-slate-400);
- border-bottom: 0.5px solid var(--bg-slate-400);
+ border-left: 0.5px solid var(--l1-border);
+ border-bottom: 0.5px solid var(--l1-border);
width: 120px;
height: 36px;
gap: 8px;
&.active-tab {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
border-bottom: none;
&:hover {
- background-color: var(--bg-ink-500) !important;
+ background-color: var(--l1-background) !important;
}
}
&:disabled {
- background-color: var(--bg-ink-300);
+ background-color: var(--l2-background);
opacity: 0.6;
}
@@ -57,7 +57,7 @@
&:hover {
background-color: transparent !important;
border-left: 1px solid transparent !important;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
@@ -75,15 +75,15 @@
.ant-select {
.ant-select-selector {
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
&:hover {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&:focus {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
}
}
@@ -93,9 +93,9 @@
margin-right: 4px;
.alert-chart-container {
.ant-card {
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.ant-card-body {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
.chart-preview-headline {
display: flex;
@@ -115,82 +115,7 @@
.alert-query-section-container {
margin: 0;
- background-color: var(--bg-ink-500);
- border: 1px solid var(--bg-slate-400);
- }
-}
-
-.lightMode {
- .query-section {
- .query-section-tabs {
- .query-section-query-actions {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
-
- .explorer-view-option {
- border-left: 0.5px solid var(--bg-vanilla-300);
- border-bottom: 0.5px solid var(--bg-vanilla-300);
-
- &.active-tab {
- background-color: var(--bg-vanilla-300);
-
- &:hover {
- background-color: var(--bg-vanilla-100) !important;
- }
- }
-
- &:disabled {
- background-color: var(--bg-vanilla-300);
- }
-
- &:hover {
- color: var(--bg-ink-400);
- }
- }
- }
- }
-
- .y-axis-unit-selector-component {
- .ant-select {
- .ant-select-selector {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
-
- &:hover {
- border-color: var(--bg-ink-300);
- }
-
- &:focus {
- border-color: var(--bg-ink-300);
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
- }
- }
- }
- }
-
- .chart-preview-container {
- .alert-chart-container {
- .ant-card {
- border: 1px solid var(--bg-vanilla-300);
- .ant-card-body {
- background-color: var(--bg-vanilla-100);
- }
-
- .ant-card-body {
- .chart-preview-header {
- .plot-tag {
- background-color: var(--bg-vanilla-300);
- color: var(--bg-slate-100);
- }
- }
- }
- }
- }
- }
-
- .alert-query-section-container {
- background-color: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
- }
+ background-color: var(--l1-background);
+ border: 1px solid var(--l1-border);
}
}
diff --git a/frontend/src/container/CreateAlertV2/Stepper/styles.scss b/frontend/src/container/CreateAlertV2/Stepper/styles.scss
index 5288553d66..8a205a579a 100644
--- a/frontend/src/container/CreateAlertV2/Stepper/styles.scss
+++ b/frontend/src/container/CreateAlertV2/Stepper/styles.scss
@@ -12,7 +12,7 @@
height: 24px;
border-radius: 50%;
background-color: var(--bg-robin-400);
- color: var(--text-slate-400);
+ color: var(--muted-foreground);
display: flex;
align-items: center;
justify-content: center;
@@ -26,7 +26,7 @@
font-size: 12px;
line-height: 20px;
font-weight: 500;
- color: #e5e7eb;
+ color: var(--l1-foreground);
text-transform: uppercase;
letter-spacing: 0.1em;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
@@ -36,28 +36,13 @@
.dotted-line {
flex: 1;
height: 8px;
- background-image: radial-gradient(circle, #4a4a4a 1px, transparent 1px);
+ background-image: radial-gradient(
+ circle,
+ var(--l1-border) 1px,
+ transparent 1px
+ );
background-size: 8px 8px;
background-repeat: repeat-x;
background-position: center;
margin-left: 8px;
}
-
-.lightMode {
- .step-number {
- background-color: var(--bg-robin-400);
- color: var(--text-slate-400);
- }
-
- .step-label {
- color: var(--bg-ink-300);
- }
-
- .dotted-line {
- background-image: radial-gradient(
- circle,
- var(--bg-ink-200) 1px,
- transparent 1px
- );
- }
-}
diff --git a/frontend/src/container/CustomDomainSettings/CustomDomainSettings.styles.scss b/frontend/src/container/CustomDomainSettings/CustomDomainSettings.styles.scss
index 119542af96..b7c2e85dfe 100644
--- a/frontend/src/container/CustomDomainSettings/CustomDomainSettings.styles.scss
+++ b/frontend/src/container/CustomDomainSettings/CustomDomainSettings.styles.scss
@@ -10,7 +10,7 @@
position: absolute;
inset: 1px;
border-radius: 50%;
- background: rgba(78, 116, 248, 0.2);
+ background: color-mix(in srgb, var(--primary-background) 20%, transparent);
}
&::after {
@@ -29,7 +29,7 @@
width: 100%;
max-width: 768px;
border-radius: 4px;
- border: 1px solid var(--l2-border);
+ border: 1px solid var(--l1-border);
background: var(--l2-background);
overflow: hidden;
@@ -45,7 +45,7 @@
gap: var(--spacing-6);
.custom-domain-edit-button {
- border: 1px solid var(--l3-border);
+ border: 1px solid var(--l1-border);
background: var(--l3-background);
&:hover {
@@ -118,7 +118,7 @@
.custom-domain-card-divider {
height: 1px;
- background: var(--l2-border);
+ background: var(--l1-border);
margin: 0;
}
}
diff --git a/frontend/src/container/CustomDomainSettings/CustomDomainSettings.tsx b/frontend/src/container/CustomDomainSettings/CustomDomainSettings.tsx
index 1bea14a9db..2d4dee8251 100644
--- a/frontend/src/container/CustomDomainSettings/CustomDomainSettings.tsx
+++ b/frontend/src/container/CustomDomainSettings/CustomDomainSettings.tsx
@@ -11,7 +11,7 @@ import {
SolidAlertCircle,
X,
} from '@signozhq/icons';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { Dropdown, Skeleton } from 'antd';
import {
RenderErrorResponseDTO,
diff --git a/frontend/src/container/CustomDomainSettings/__tests__/CustomDomainSettings.test.tsx b/frontend/src/container/CustomDomainSettings/__tests__/CustomDomainSettings.test.tsx
index 36cf651639..6808b589f9 100644
--- a/frontend/src/container/CustomDomainSettings/__tests__/CustomDomainSettings.test.tsx
+++ b/frontend/src/container/CustomDomainSettings/__tests__/CustomDomainSettings.test.tsx
@@ -12,7 +12,8 @@ jest.mock('components/LaunchChatSupport/LaunchChatSupport', () => ({
}));
const mockToastCustom = jest.fn();
-jest.mock('@signozhq/sonner', () => ({
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
toast: {
custom: (...args: unknown[]): unknown => mockToastCustom(...args),
dismiss: jest.fn(),
diff --git a/frontend/src/container/DashboardContainer/DashboardDescription/Description.styles.scss b/frontend/src/container/DashboardContainer/DashboardDescription/Description.styles.scss
index fff92abb86..048ebd53e7 100644
--- a/frontend/src/container/DashboardContainer/DashboardDescription/Description.styles.scss
+++ b/frontend/src/container/DashboardContainer/DashboardDescription/Description.styles.scss
@@ -3,7 +3,7 @@
border: none;
background: unset;
box-shadow: none;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
.ant-card-body {
padding: 0px;
@@ -64,9 +64,9 @@
padding: 6px;
justify-content: center;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
- color: var(--bg-vanilla-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -86,9 +86,9 @@
padding: 6px;
justify-content: center;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
- color: var(--bg-vanilla-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -104,7 +104,8 @@
padding: 5.937px 11.875px;
justify-content: center;
align-items: center;
- color: var(--bg-vanilla-100);
+ color: var(--primary-foreground);
+ background: var(--primary-background);
font-family: Inter;
font-size: 11.875px;
font-style: normal;
@@ -126,8 +127,8 @@
justify-content: center;
align-items: center;
border-radius: 20px;
- border: 1px solid rgba(173, 127, 88, 0.2);
- background: rgba(173, 127, 88, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-sienna-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-sienna-500) 10%, transparent);
color: var(--bg-sienna-400);
text-align: center;
font-family: Inter;
@@ -140,7 +141,7 @@
}
}
.dashboard-description-section {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -171,11 +172,11 @@
.ant-popover-inner {
padding: 0px;
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
) !important;
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -189,7 +190,7 @@
display: flex;
flex-direction: column;
align-items: start;
- border-bottom: 1px solid #1d212d;
+ border-bottom: 1px solid var(--l1-border);
.ant-btn {
display: flex;
@@ -198,7 +199,7 @@
padding: 16px 18px 18px 14px;
align-items: center;
gap: 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -214,7 +215,7 @@
display: flex;
flex-direction: column;
align-items: start;
- border-bottom: 1px solid #1d212d;
+ border-bottom: 1px solid var(--l1-border);
.ant-btn {
display: flex;
@@ -223,7 +224,7 @@
padding: 16px 18px 18px 14px;
align-items: center;
gap: 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -265,19 +266,19 @@
width: 384px;
flex-shrink: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
padding: 0px;
.ant-modal-header {
height: 52px;
padding: 16px;
- background: var(--bg-ink-400);
- border-bottom: 1px solid var(--bg-slate-500);
+ background: var(--l2-background);
+ border-bottom: 1px solid var(--l1-border);
margin-bottom: 0px;
.ant-modal-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -297,7 +298,7 @@
gap: 8px;
.name-text {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -312,8 +313,8 @@
gap: 4px;
align-self: stretch;
border-radius: 0px 2px 2px 0px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
}
@@ -333,7 +334,7 @@
align-items: center;
gap: 4px;
border-radius: 2px;
- background: var(--bg-slate-500);
+ background: var(--l1-border);
.ant-btn-icon {
margin-inline-end: 0px;
@@ -350,7 +351,7 @@
align-items: center;
gap: 4px;
border-radius: 2px;
- background: var(--bg-robin-500);
+ background: var(--primary-background);
.ant-btn-icon {
margin-inline-end: 0px;
@@ -366,19 +367,19 @@
width: 384px;
flex-shrink: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
padding: 0px;
.ant-modal-header {
height: 52px;
padding: 16px;
- background: var(--bg-ink-400);
- border-bottom: 1px solid var(--bg-slate-500);
+ background: var(--l2-background);
+ border-bottom: 1px solid var(--l1-border);
margin-bottom: 0px;
.ant-modal-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -398,7 +399,7 @@
gap: 8px;
.name-text {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -414,8 +415,8 @@
gap: 4px;
align-self: stretch;
border-radius: 0px 2px 2px 0px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
}
@@ -435,7 +436,7 @@
align-items: center;
gap: 4px;
border-radius: 2px;
- background: var(--bg-slate-500);
+ background: var(--l1-border);
.ant-btn-icon {
margin-inline-end: 0px;
@@ -452,7 +453,7 @@
align-items: center;
gap: 4px;
border-radius: 2px;
- background: var(--bg-robin-500);
+ background: var(--primary-background);
.ant-btn-icon {
margin-inline-end: 0px;
@@ -465,41 +466,38 @@
.lightMode {
.dashboard-description-container {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
.dashboard-details {
.left-section {
.dashboard-title {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
}
.right-section {
.icons {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-400);
- }
- .configure-button {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
+ color: var(--l1-foreground);
}
- .add-panel-btn {
- color: var(--bg-vanilla-100);
+ .configure-button {
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
+ color: var(--l1-foreground);
}
}
}
.dashboard-description-section {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
}
.dashboard-settings {
.ant-popover-inner {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100) !important;
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background) !important;
}
.menu-content {
@@ -507,17 +505,17 @@
flex-direction: column;
.section-1 {
- border-bottom: 1px solid var(--bg-vanilla-300);
+ border-bottom: 1px solid var(--l1-border);
.ant-btn {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
}
.section-2 {
- border-bottom: 1px solid var(--bg-vanilla-300);
+ border-bottom: 1px solid var(--l1-border);
.ant-btn {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
}
}
@@ -525,27 +523,27 @@
.rename-dashboard {
.ant-modal-content {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
.ant-modal-header {
- background: var(--bg-vanilla-100);
- border-bottom: 1px solid var(--bg-vanilla-300);
+ background: var(--l1-background);
+ border-bottom: 1px solid var(--l1-border);
.ant-modal-title {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
}
.ant-modal-body {
.dashboard-content {
.name-text {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
.dashboard-name-input {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
}
}
}
@@ -553,7 +551,7 @@
.ant-modal-footer {
.dashboard-rename {
.cancel-btn {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
}
}
@@ -562,27 +560,27 @@
.section-naming {
.ant-modal-content {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
.ant-modal-header {
- background: var(--bg-vanilla-100);
- border-bottom: 1px solid var(--bg-vanilla-300);
+ background: var(--l1-background);
+ border-bottom: 1px solid var(--l1-border);
.ant-modal-title {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
}
.ant-modal-body {
.section-naming-content {
.name-text {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
.section-name-input {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
}
}
}
@@ -590,7 +588,7 @@
.ant-modal-footer {
.dashboard-rename {
.cancel-btn {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
}
}
diff --git a/frontend/src/container/DashboardContainer/DashboardDescription/SettingsDrawer/SettingsDrawer.styles.scss b/frontend/src/container/DashboardContainer/DashboardDescription/SettingsDrawer/SettingsDrawer.styles.scss
index 0acc283963..c8a7201d13 100644
--- a/frontend/src/container/DashboardContainer/DashboardDescription/SettingsDrawer/SettingsDrawer.styles.scss
+++ b/frontend/src/container/DashboardContainer/DashboardDescription/SettingsDrawer/SettingsDrawer.styles.scss
@@ -1,19 +1,19 @@
.settings-container-root {
.ant-drawer-wrapper-body {
- border-left: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border-left: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: -4px 10px 16px 2px rgba(0, 0, 0, 0.2);
.ant-drawer-header {
height: 48px;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
padding: 14px 14px 14px 11px;
.ant-drawer-header-title {
gap: 16px;
.ant-drawer-title {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -21,7 +21,7 @@
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
padding-left: 16px;
- border-left: 1px solid var(--bg-slate-500);
+ border-left: 1px solid var(--l1-border);
}
.ant-drawer-close {
@@ -41,27 +41,3 @@
}
}
}
-
-.lightMode {
- .settings-container-root {
- .ant-drawer-wrapper-body {
- border-left: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
-
- .ant-drawer-header {
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .ant-drawer-header-title {
- .ant-drawer-title {
- color: var(--bg-ink-400);
- border-left: 1px solid var(--bg-vanilla-300);
- }
-
- .ant-drawer-close {
- color: var(--bg-ink-300);
- }
- }
- }
- }
- }
-}
diff --git a/frontend/src/container/DashboardContainer/DashboardSettings/DashboardSettings.styles.scss b/frontend/src/container/DashboardContainer/DashboardSettings/DashboardSettings.styles.scss
index e9ba203b45..9426d8b33a 100644
--- a/frontend/src/container/DashboardContainer/DashboardSettings/DashboardSettings.styles.scss
+++ b/frontend/src/container/DashboardContainer/DashboardSettings/DashboardSettings.styles.scss
@@ -62,14 +62,14 @@
padding: 4px 6px;
align-items: center;
gap: 3px;
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
.delete-variable-button {
width: 26px;
height: 22px;
border-radius: 2px;
- background: rgba(229, 72, 77, 0.1);
+ background: color-mix(in srgb, var(--bg-cherry-500) 10%, transparent);
display: flex;
padding: 4px 6px;
align-items: center;
@@ -85,7 +85,7 @@
padding: 0px 6px;
align-items: center;
gap: 3px;
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
}
}
@@ -99,7 +99,7 @@
.ant-table-thead {
.ant-table-cell {
padding: 8px 12px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
background: unset;
}
@@ -111,47 +111,13 @@
.ant-table-tbody {
.ant-table-cell {
padding: 14px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
}
}
.ant-table-row {
.ant-table-cell:nth-child(even) {
- background: rgba(22, 25, 34, 0.4);
- }
- }
-}
-
-.lightMode {
- .dashboard-variable-settings-table {
- .variable-description-actions {
- .actions-btns {
- .edit-variable-button {
- background: var(--bg-vanilla-300);
- }
-
- .apply-to-all-button {
- background: var(--bg-vanilla-300);
- }
- }
- }
-
- .ant-table-thead {
- .ant-table-cell {
- border: 1px solid var(--bg-vanilla-300);
- }
- }
-
- .ant-table-tbody {
- .ant-table-cell {
- border: 1px solid var(--bg-vanilla-300);
- }
- }
-
- .ant-table-row {
- .ant-table-cell:nth-child(even) {
- background: var(--bg-vanilla-200);
- }
+ background: color-mix(in srgb, var(--l1-border) 40%, transparent);
}
}
}
diff --git a/frontend/src/container/DashboardContainer/DashboardSettings/DashboardSettingsContent.styles.scss b/frontend/src/container/DashboardContainer/DashboardSettings/DashboardSettingsContent.styles.scss
index 6e5adf071a..8ee3038b36 100644
--- a/frontend/src/container/DashboardContainer/DashboardSettings/DashboardSettingsContent.styles.scss
+++ b/frontend/src/container/DashboardContainer/DashboardSettings/DashboardSettingsContent.styles.scss
@@ -3,8 +3,8 @@
height: 32px;
flex-shrink: 0;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
transition: opacity 0.1s !important;
@@ -13,7 +13,7 @@
}
.ant-tabs-tab:not(:last-child) {
- border-right: 1px solid var(--bg-slate-400) !important;
+ border-right: 1px solid var(--l1-border) !important;
}
.overview-btn {
@@ -49,17 +49,17 @@
.ant-tabs-tab-active {
.overview-btn {
border-radius: 2px 0px 0px 2px;
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
.variables-btn {
border-radius: 2px 0px 0px 2px;
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
.public-dashboard-btn {
border-radius: 2px 0px 0px 2px;
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
}
}
@@ -68,26 +68,3 @@
border-bottom: none;
}
}
-
-.lightMode {
- .settings-tabs {
- .ant-tabs-nav-list {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
-
- .ant-tabs-tab-active {
- .overview-btn {
- background: var(--bg-vanilla-300);
- }
-
- .variables-btn {
- background: var(--bg-vanilla-300);
- }
-
- .public-dashboard-btn {
- background: var(--bg-vanilla-300);
- }
- }
- }
- }
-}
diff --git a/frontend/src/container/DashboardContainer/DashboardSettings/DashboardVariableSettings/VariableItem/DynamicVariable/DynamicVariable.styles.scss b/frontend/src/container/DashboardContainer/DashboardSettings/DashboardVariableSettings/VariableItem/DynamicVariable/DynamicVariable.styles.scss
index 6e844b6370..f48aa69e20 100644
--- a/frontend/src/container/DashboardContainer/DashboardSettings/DashboardVariableSettings/VariableItem/DynamicVariable/DynamicVariable.styles.scss
+++ b/frontend/src/container/DashboardContainer/DashboardSettings/DashboardVariableSettings/VariableItem/DynamicVariable/DynamicVariable.styles.scss
@@ -11,13 +11,13 @@
.ant-select {
.ant-select-selector {
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
}
}
.ant-input {
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
max-width: 300px;
}
@@ -29,19 +29,3 @@
}
}
}
-
-.lightMode {
- .dynamic-variable-container {
- .dynamic-variable-config-container {
- .ant-select {
- .ant-select-selector {
- border: 1px solid var(--bg-vanilla-300);
- }
- }
-
- .ant-input {
- border: 1px solid var(--bg-vanilla-300);
- }
- }
- }
-}
diff --git a/frontend/src/container/DashboardContainer/DashboardSettings/DashboardVariableSettings/VariableItem/VariableItem.styles.scss b/frontend/src/container/DashboardContainer/DashboardSettings/DashboardVariableSettings/VariableItem/VariableItem.styles.scss
index 971d834283..d5227f7cfc 100644
--- a/frontend/src/container/DashboardContainer/DashboardSettings/DashboardVariableSettings/VariableItem/VariableItem.styles.scss
+++ b/frontend/src/container/DashboardContainer/DashboardSettings/DashboardVariableSettings/VariableItem/VariableItem.styles.scss
@@ -11,20 +11,20 @@
display: flex;
flex-direction: column;
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.all-variables {
display: flex;
padding: 10px 16px;
align-items: center;
gap: 8px;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
.all-variables-btn {
display: flex;
align-items: center;
height: 24px;
padding: 0px;
- color: #c0c1c3;
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -48,7 +48,7 @@
gap: 8px;
.typography-variables {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -58,8 +58,8 @@
.name-input {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
padding: 6px 6px 6px 8px;
}
}
@@ -68,7 +68,7 @@
gap: 8px;
.typography-variables {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -78,8 +78,8 @@
.description-input {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
padding: 6px 6px 6px 8px;
}
}
@@ -96,7 +96,7 @@
}
.typography-variables {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -110,8 +110,8 @@
height: 32px;
flex-shrink: 0;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
.ant-btn {
@@ -130,10 +130,10 @@
}
.variable-type-btn + .variable-type-btn {
- border-left: 1px solid var(--bg-slate-400);
+ border-left: 1px solid var(--l1-border);
}
.selected {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
}
}
@@ -143,7 +143,7 @@
margin-bottom: 0;
.typography-variables {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -153,7 +153,7 @@
}
.typography-sort {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -164,13 +164,13 @@
.sort-input {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
.ant-select-selector {
width: 192px;
height: 32px;
padding: 6px 6px 6px 8px;
- background: var(--bg-ink-300);
+ background: var(--l3-background);
}
}
}
@@ -180,7 +180,7 @@
margin-bottom: 0;
.typography-variables {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -196,7 +196,7 @@
margin-bottom: 0;
.typography-variables {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -212,7 +212,7 @@
grid-template-columns: max-content 1fr;
.default-value-description {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -227,7 +227,7 @@
margin-bottom: 0;
.typography-variables {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -244,7 +244,7 @@
align-items: center;
.typography-variables {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -260,8 +260,8 @@
gap: 4px;
flex: 1 0 0;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
width: 342px;
}
}
@@ -271,7 +271,7 @@
.custom-collapse {
width: 100%;
border-radius: 3px 3px 0px 0px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.ant-collapse-item {
border-bottom: none;
@@ -280,7 +280,7 @@
.ant-collapse-header {
height: 38px;
border-radius: 3px 3px 0px 0px;
- background: var(--bg-ink-300);
+ background: var(--l3-background);
align-items: center;
padding: 12px;
gap: 8px;
@@ -301,7 +301,7 @@
align-items: center;
gap: 10px;
border-radius: 2px;
- background: rgba(113, 144, 249, 0.08);
+ background: color-mix(in srgb, var(--bg-robin-400) 8%, transparent);
}
}
@@ -325,7 +325,7 @@
flex-direction: column;
margin-bottom: 0px;
border-radius: 0px 0px 3px 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
height: 108px;
margin-top: -20px;
border-collapse: collapse;
@@ -344,7 +344,7 @@
align-items: center;
gap: 10px;
border-radius: 0px 0px 2px 0px;
- background: rgba(113, 144, 249, 0.08);
+ background: color-mix(in srgb, var(--bg-robin-400) 8%, transparent);
}
.preview-values {
@@ -356,7 +356,7 @@
.ant-tag {
height: 30px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Space Mono';
font-size: 14px;
font-style: normal;
@@ -366,7 +366,7 @@
letter-spacing: -0.07px;
align-items: center;
border-radius: 2px;
- border: 1px solid var(--bg-slate-300);
+ border: 1px solid var(--l1-border);
margin-inline-end: 0px;
}
}
@@ -383,8 +383,8 @@
display: flex;
align-items: center;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
height: 34px;
padding: 4px 8px 4px 10px;
box-shadow: none;
@@ -394,148 +394,11 @@
display: flex;
align-items: center;
border-radius: 2px;
- border: 1px solid var(--bg-robin-500);
- background: var(--bg-robin-500);
+ border: 1px solid var(--primary-background);
+ background: var(--primary-background);
width: 123px;
height: 34px;
padding: 4px 8px 4px 10px;
box-shadow: none;
}
}
-
-.lightMode {
- .variable-item-container {
- border: 1px solid var(--bg-vanilla-300);
-
- .all-variables {
- border-bottom: 1px solid var(--bg-vanilla-300);
- .all-variables-btn {
- color: var(--bg-ink-300);
- }
- }
-
- .variable-item-content {
- .variable-name-section {
- .typography-variables {
- color: var(--bg-ink-400);
- }
-
- .name-input {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- }
- }
- .variable-description-section {
- .typography-variables {
- color: var(--bg-ink-400);
- }
-
- .description-input {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- }
- }
-
- .variable-type-section {
- .typography-variables {
- color: var(--bg-slate-400);
- }
-
- .variable-type-btn-group {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
-
- .variable-type-btn + .variable-type-btn {
- border-left: 1px solid var(--bg-vanilla-200);
- }
- .selected {
- background: var(--bg-vanilla-200);
- }
- }
- }
-
- .sort-values-section {
- .typography-variables {
- color: var(--bg-ink-300);
- }
-
- .typography-sort {
- color: var(--bg-ink-400);
- }
-
- .sort-input {
- border: 1px solid var(--bg-vanilla-300);
-
- .ant-select-selector {
- background: var(--bg-vanilla-300);
- border: var(--bg-vanilla-300);
- }
- }
- }
-
- .multiple-values-section {
- .typography-variables {
- color: var(--bg-ink-400);
- }
- }
-
- .all-option-section {
- .typography-variables {
- color: var(--bg-ink-400);
- }
- }
-
- .default-value-section {
- .default-value-description {
- color: var(--bg-ink-400);
- }
- }
-
- .dynamic-variable-section {
- .typography-variables {
- color: var(--bg-ink-400);
- }
- }
-
- .variable-textbox-section {
- .typography-variables {
- color: var(--bg-ink-400);
- }
-
- .default-input {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-300);
- }
- }
-
- .variable-custom-section {
- .custom-collapse {
- border: 1px solid var(--bg-vanilla-300);
-
- .ant-collapse-header {
- background: var(--bg-vanilla-300);
- }
- }
- }
-
- .variables-preview-section {
- border: 1px solid var(--bg-vanilla-300);
-
- .preview-values {
- .ant-tag {
- color: var(--bg-slate-300);
- border: 1px solid var(--bg-vanilla-300);
- }
- }
- }
- }
- }
-
- .variable-item-footer {
- .footer-btn-discard {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-200);
- }
- }
-}
diff --git a/frontend/src/container/DashboardContainer/DashboardSettings/General/AddTags/AddTags.styles.scss b/frontend/src/container/DashboardContainer/DashboardSettings/General/AddTags/AddTags.styles.scss
index 2bd3d09988..c99497ccae 100644
--- a/frontend/src/container/DashboardContainer/DashboardSettings/General/AddTags/AddTags.styles.scss
+++ b/frontend/src/container/DashboardContainer/DashboardSettings/General/AddTags/AddTags.styles.scss
@@ -19,8 +19,8 @@
height: 24px;
flex-shrink: 0;
border-radius: 50px;
- border: 1px solid rgba(173, 127, 88, 0.2);
- background: rgba(173, 127, 88, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-sienna-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-sienna-500) 10%, transparent);
padding: 2px 8px;
}
diff --git a/frontend/src/container/DashboardContainer/DashboardSettings/General/GeneralSettings.styles.scss b/frontend/src/container/DashboardContainer/DashboardSettings/General/GeneralSettings.styles.scss
index 47c6431721..6c2e9e985b 100644
--- a/frontend/src/container/DashboardContainer/DashboardSettings/General/GeneralSettings.styles.scss
+++ b/frontend/src/container/DashboardContainer/DashboardSettings/General/GeneralSettings.styles.scss
@@ -4,7 +4,7 @@
.overview-settings {
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
padding: 16px !important;
.name-icon-input {
@@ -18,8 +18,8 @@
justify-content: center;
align-items: center;
border-radius: 2px 0px 0px 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
.ant-select-selection-item {
display: flex;
@@ -35,13 +35,13 @@
.dashboard-name-input {
border-radius: 0px 2px 2px 0px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
.dashboard-name {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -52,8 +52,8 @@
.description-text-area {
padding: 6px 6px 6px 8px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
@@ -66,8 +66,8 @@
position: fixed;
bottom: 0;
height: 32px;
- border-top: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border-top: 1px solid var(--l1-border);
+ background: var(--l2-background);
.unsaved {
display: flex;
@@ -78,8 +78,9 @@
width: 6px;
height: 6px;
border-radius: 50px;
- background: var(--bg-robin-500);
- box-shadow: 0px 0px 6px 0px rgba(78, 116, 248, 0.4);
+ background: var(--primary-background);
+ box-shadow: 0px 0px 6px 0px
+ color-mix(in srgb, var(--primary-background) 40%, transparent);
}
.unsaved-changes {
color: var(--bg-robin-400);
@@ -97,7 +98,7 @@
.discard-btn {
margin: '16px 0';
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -107,7 +108,7 @@
.save-btn {
margin: 0px !important;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -144,39 +145,39 @@
.lightMode {
.overview-content {
.overview-settings {
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
.name-icon-input {
.dashboard-image-input {
.ant-select-selector {
- border: 1px solid var(--bg-vanilla-200);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
.dashboard-name-input {
- border: 1px solid var(--bg-vanilla-200);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
.dashboard-name {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
.description-text-area {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
.overview-settings-footer {
- border-top: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border-top: 1px solid var(--l1-border);
+ background: var(--l1-background);
.unsaved {
.unsaved-dot {
- background: var(--bg-robin-500);
+ background: var(--primary-background);
}
.unsaved-changes {
color: var(--bg-robin-400);
@@ -184,12 +185,12 @@
}
.footer-action-btns {
.discard-btn {
- color: var(--bg-ink-300);
- background-color: var(--bg-vanilla-300);
+ color: var(--l1-foreground);
+ background-color: var(--l3-background);
}
.save-btn {
- color: var(--bg-vanilla-300);
+ color: var(--l3-background);
}
}
}
diff --git a/frontend/src/container/DashboardContainer/DashboardSettings/PublicDashboard/PublicDashboard.styles.scss b/frontend/src/container/DashboardContainer/DashboardSettings/PublicDashboard/PublicDashboard.styles.scss
index eaa27430c0..eb8862a2de 100644
--- a/frontend/src/container/DashboardContainer/DashboardSettings/PublicDashboard/PublicDashboard.styles.scss
+++ b/frontend/src/container/DashboardContainer/DashboardSettings/PublicDashboard/PublicDashboard.styles.scss
@@ -1,6 +1,6 @@
.public-dashboard-setting-container {
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
padding: 16px !important;
.public-dashboard-setting-content {
@@ -35,8 +35,8 @@
justify-content: center;
align-items: center;
border-radius: 2px 0px 0px 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
.ant-select-selection-item {
display: flex;
@@ -64,8 +64,8 @@
display: flex;
align-items: center;
gap: 8px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
border-radius: 4px;
padding: 0px 4px;
@@ -84,7 +84,7 @@
.public-dashboard-setting-callout {
margin-top: 12px;
- background: color-mix(in srgb, var(--bg-robin-500) 10%, transparent);
+ background: color-mix(in srgb, var(--primary-background) 10%, transparent);
padding: 12px 8px;
border-radius: 3px;
@@ -107,26 +107,3 @@
justify-content: flex-end;
}
}
-
-.lightMode {
- .public-dashboard-setting-container {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
-
- .public-dashboard-setting-content {
- .default-time-range-select {
- .ant-select-selector {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
- }
-
- .public-dashboard-url {
- .url-container {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
- }
- }
- }
-}
diff --git a/frontend/src/container/DashboardContainer/DashboardSettings/PublicDashboard/__tests__/PublicDashboard.test.tsx b/frontend/src/container/DashboardContainer/DashboardSettings/PublicDashboard/__tests__/PublicDashboard.test.tsx
index 6abdee67eb..64fa786247 100644
--- a/frontend/src/container/DashboardContainer/DashboardSettings/PublicDashboard/__tests__/PublicDashboard.test.tsx
+++ b/frontend/src/container/DashboardContainer/DashboardSettings/PublicDashboard/__tests__/PublicDashboard.test.tsx
@@ -1,5 +1,5 @@
import { useCopyToClipboard } from 'react-use';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { fireEvent, within } from '@testing-library/react';
import { DEFAULT_TIME_RANGE } from 'container/TopNav/DateTimeSelectionV2/constants';
import { StatusCodes } from 'http-status-codes';
@@ -20,7 +20,8 @@ jest.mock('react-use', () => ({
...jest.requireActual('react-use'),
useCopyToClipboard: jest.fn(),
}));
-jest.mock('@signozhq/sonner', () => ({
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
toast: {
success: jest.fn(),
error: jest.fn(),
diff --git a/frontend/src/container/DashboardContainer/DashboardSettings/PublicDashboard/index.tsx b/frontend/src/container/DashboardContainer/DashboardSettings/PublicDashboard/index.tsx
index 6527b12474..9f4dd9f1b3 100644
--- a/frontend/src/container/DashboardContainer/DashboardSettings/PublicDashboard/index.tsx
+++ b/frontend/src/container/DashboardContainer/DashboardSettings/PublicDashboard/index.tsx
@@ -2,7 +2,7 @@ import { useCallback, useEffect, useMemo, useState } from 'react';
import { useMutation } from 'react-query';
import { useCopyToClipboard } from 'react-use';
import { Checkbox } from '@signozhq/checkbox';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { Button, Select, Typography } from 'antd';
import createPublicDashboardAPI from 'api/dashboard/public/createPublicDashboard';
import revokePublicDashboardAccessAPI from 'api/dashboard/public/revokePublicDashboardAccess';
diff --git a/frontend/src/container/DashboardContainer/DashboardVariablesSelection/DashboardVariableSelection.styles.scss b/frontend/src/container/DashboardContainer/DashboardVariablesSelection/DashboardVariableSelection.styles.scss
index 8c711a7d75..4b66cd1ede 100644
--- a/frontend/src/container/DashboardContainer/DashboardVariablesSelection/DashboardVariableSelection.styles.scss
+++ b/frontend/src/container/DashboardContainer/DashboardVariablesSelection/DashboardVariableSelection.styles.scss
@@ -10,8 +10,8 @@
align-items: center;
gap: 4px;
border-radius: 2px 0px 0px 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
color: var(--bg-robin-300);
font-family: Inter;
font-size: 12px;
@@ -21,7 +21,7 @@
.info-icon {
margin-left: 4px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
@@ -33,10 +33,10 @@
align-items: center;
gap: 4px;
border-radius: 0px 2px 2px 0px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
border-left: none;
- background: var(--bg-ink-400);
- color: var(--bg-vanilla-400);
+ background: var(--l2-background);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -62,7 +62,7 @@
.rc-virtual-list-holder {
[data-testid='option-ALL'] {
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
padding-bottom: 12px;
margin-bottom: 8px;
}
@@ -103,15 +103,15 @@
.lightMode {
.variable-item {
.variable-name {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
color: var(--bg-robin-300);
}
.variable-value {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
+ color: var(--l1-foreground);
&:hover,
&:focus-within {
diff --git a/frontend/src/container/DashboardContainer/PanelTypeSelectionModal/PanelTypeSelectionModal.styles.scss b/frontend/src/container/DashboardContainer/PanelTypeSelectionModal/PanelTypeSelectionModal.styles.scss
index 58e168553f..639eb65599 100644
--- a/frontend/src/container/DashboardContainer/PanelTypeSelectionModal/PanelTypeSelectionModal.styles.scss
+++ b/frontend/src/container/DashboardContainer/PanelTypeSelectionModal/PanelTypeSelectionModal.styles.scss
@@ -5,20 +5,20 @@
overflow-y: auto;
flex-shrink: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
padding: 0px;
.ant-modal-header {
height: 52px;
padding: 16px;
- background: var(--bg-ink-400);
- border-bottom: 1px solid var(--bg-slate-500);
+ background: var(--l2-background);
+ border-bottom: 1px solid var(--l1-border);
margin-bottom: 0px;
.ant-modal-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -31,11 +31,10 @@
.panel-selection {
display: flex;
flex-flow: wrap;
- padding: 16px;
gap: 16px;
.selected {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
.ant-card {
@@ -47,7 +46,7 @@
align-items: center;
border-radius: 4px;
cursor: pointer;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
.ant-card-body {
padding: 0px;
@@ -59,7 +58,7 @@
.ant-typography {
margin-top: 0px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -86,8 +85,8 @@
.ant-modal-footer {
border-radius: 0px 0px 4px 4px;
- border-top: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border-top: 1px solid var(--l1-border);
+ background: var(--l2-background);
padding: 12px 15px;
margin-top: 0px;
@@ -97,7 +96,7 @@
align-items: center;
flex-direction: row-reverse;
justify-content: center;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
/* button/ small */
font-family: Inter;
@@ -106,7 +105,7 @@
font-weight: 500;
line-height: 24px; /* 200% */
border-radius: 2px;
- background: var(--bg-robin-500);
+ background: var(--primary-background);
padding: 4px 8px;
gap: 4px;
}
@@ -121,30 +120,30 @@
.lightMode {
.panel-type-selection-modal {
.ant-modal-content {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
.ant-modal-header {
- background: var(--bg-vanilla-100);
- border-bottom: 1px solid var(--bg-vanilla-300);
+ background: var(--l1-background);
+ border-bottom: 1px solid var(--l1-border);
.ant-modal-title {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
}
.ant-modal-body {
.panel-selection {
.selected {
- background: var(--bg-vanilla-200);
+ background: var(--l2-background);
}
.ant-card {
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
.ant-card-body {
.ant-typography {
- color: var(--bg-ink-200);
+ color: var(--l2-foreground);
}
}
}
@@ -152,13 +151,13 @@
}
.ant-modal-footer {
- border-top: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border-top: 1px solid var(--l1-border);
+ background: var(--l1-background);
.ant-btn {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
- background: var(--bg-robin-500);
+ background: var(--primary-background);
}
}
}
diff --git a/frontend/src/container/DashboardContainer/components/DashboardHeader/DashboardBreadcrumbs.styles.scss b/frontend/src/container/DashboardContainer/components/DashboardHeader/DashboardBreadcrumbs.styles.scss
index a50aba9174..7cdf2dceb0 100644
--- a/frontend/src/container/DashboardContainer/components/DashboardHeader/DashboardBreadcrumbs.styles.scss
+++ b/frontend/src/container/DashboardContainer/components/DashboardHeader/DashboardBreadcrumbs.styles.scss
@@ -9,7 +9,7 @@
.dashboard-btn {
display: flex;
align-items: center;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -30,7 +30,7 @@
gap: 4px;
padding: 0px 2px;
border-radius: 2px;
- background: rgba(113, 144, 249, 0.1);
+ background: color-mix(in srgb, var(--bg-robin-400) 10%, transparent);
color: var(--bg-robin-400);
font-family: Inter;
font-size: 14px;
@@ -52,7 +52,7 @@
}
}
.id-btn:hover {
- background: rgba(113, 144, 249, 0.1);
+ background: color-mix(in srgb, var(--bg-robin-400) 10%, transparent);
color: var(--bg-robin-300);
}
@@ -65,7 +65,7 @@
.lightMode {
.dashboard-breadcrumbs {
.dashboard-btn {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
}
}
diff --git a/frontend/src/container/DashboardContainer/components/DashboardHeader/DashboardHeader.styles.scss b/frontend/src/container/DashboardContainer/components/DashboardHeader/DashboardHeader.styles.scss
index e3bb9cf9e9..cdbb58b352 100644
--- a/frontend/src/container/DashboardContainer/components/DashboardHeader/DashboardHeader.styles.scss
+++ b/frontend/src/container/DashboardContainer/components/DashboardHeader/DashboardHeader.styles.scss
@@ -1,5 +1,5 @@
.dashboard-header {
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
display: flex;
justify-content: space-between;
gap: 16px;
@@ -7,9 +7,3 @@
padding: 0 8px;
box-sizing: border-box;
}
-
-.lightMode {
- .dashboard-header {
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
-}
diff --git a/frontend/src/container/DownloadV2/DownloadV2.styles.scss b/frontend/src/container/DownloadV2/DownloadV2.styles.scss
index 850c1c7d16..103549d015 100644
--- a/frontend/src/container/DownloadV2/DownloadV2.styles.scss
+++ b/frontend/src/container/DownloadV2/DownloadV2.styles.scss
@@ -1,11 +1,11 @@
.download-logs-popover {
.ant-popover-inner {
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -22,7 +22,7 @@
width: 159px;
display: flex;
align-items: center;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-style: normal;
font-weight: 400;
@@ -37,12 +37,16 @@
.action-btns:hover {
&.ant-btn-text {
- background-color: rgba(171, 189, 255, 0.04) !important;
+ background-color: color-mix(
+ in srgb,
+ var(--bg-robin-200) 4%,
+ transparent
+ ) !important;
}
}
.export-heading {
- color: #52575c;
+ color: var(--muted-foreground);
font-size: 11px;
font-style: normal;
font-weight: 600;
@@ -57,26 +61,26 @@
.lightMode {
.download-logs-popover {
.ant-popover-inner {
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(255, 255, 255, 0.8) 0%,
- rgba(255, 255, 255, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(255, 255, 255, 0.2);
.download-logs-content {
.action-btns {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
.action-btns:hover {
&.ant-btn-text {
- background-color: var(--bg-vanilla-300) !important;
+ background-color: var(--l3-background) !important;
}
}
.export-heading {
- color: var(--bg-ink-200);
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/container/EmptyLogsSearch/EmptyLogsSearch.styles.scss b/frontend/src/container/EmptyLogsSearch/EmptyLogsSearch.styles.scss
index bf8e07f908..d6625e112a 100644
--- a/frontend/src/container/EmptyLogsSearch/EmptyLogsSearch.styles.scss
+++ b/frontend/src/container/EmptyLogsSearch/EmptyLogsSearch.styles.scss
@@ -10,7 +10,7 @@
display: flex;
flex-direction: column;
gap: 4px;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -42,7 +42,7 @@
}
&__title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
font-weight: 500;
line-height: 20px;
@@ -50,7 +50,7 @@
}
&__subtitle {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 400;
line-height: 20px;
@@ -59,14 +59,14 @@
&__description {
font-size: 14px;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
line-height: 20px;
}
&__description-list {
margin: 0;
margin-top: 8px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 400;
line-height: 20px;
@@ -103,9 +103,9 @@
justify-content: space-between;
align-items: flex-start;
border-radius: 3px;
- border: 1px dashed var(--bg-slate-500);
+ border: 1px dashed var(--l1-border);
background: transparent;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 400;
line-height: 18px;
@@ -138,14 +138,14 @@
}
&__resources-card {
- background: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-500);
+ background: var(--l2-background);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
width: 332px;
}
&__resources-title {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-weight: 600;
@@ -153,7 +153,7 @@
letter-spacing: 0.88px;
text-transform: uppercase;
padding: 16px 16px 12px;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
height: 46px;
}
@@ -171,30 +171,3 @@
}
}
}
-.lightMode {
- .empty-logs-search {
- &__resources-card {
- background: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
- }
-
- &__resources-title {
- color: var(--bg-ink-400);
- }
-
- &__resources-description,
- &__description-list,
- &__subtitle {
- color: var(--bg-ink-300);
- }
-
- &__title {
- color: var(--bg-ink-500);
- }
-
- &__clear-filters-btn {
- border: 1px dashed var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- }
- }
-}
diff --git a/frontend/src/container/ExplorerOptions/ExplorerOptions.styles.scss b/frontend/src/container/ExplorerOptions/ExplorerOptions.styles.scss
index 836def9086..1d01ae51dc 100644
--- a/frontend/src/container/ExplorerOptions/ExplorerOptions.styles.scss
+++ b/frontend/src/container/ExplorerOptions/ExplorerOptions.styles.scss
@@ -34,8 +34,8 @@
align-items: center;
gap: 12px;
padding: 10px 12px;
- background: rgba(22, 24, 29, 0.6);
- border: 1px solid var(--bg-slate-500);
+ background: color-mix(in srgb, var(--l1-border) 60%, transparent);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
backdrop-filter: blur(20px);
box-sizing: border-box;
@@ -46,8 +46,8 @@
align-items: center;
padding: 8px;
border-radius: 50px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
cursor: pointer;
box-shadow: none;
}
@@ -59,15 +59,15 @@
.ant-divider {
margin: 0;
height: 28px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
}
}
.explorer-options {
padding: 10px 12px;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
backdrop-filter: blur(20px);
cursor: default;
@@ -80,7 +80,7 @@
}
hr {
- border-color: #1d212d;
+ border-color: var(--l1-border);
}
.view-options,
@@ -104,7 +104,7 @@
align-items: center;
border: none;
- border: 1px solid #1d2023;
+ border: 1px solid var(--l1-border);
box-shadow: none !important;
@@ -115,7 +115,7 @@
&.ant-btn-round:disabled {
background-color: rgba(209, 209, 209, 0.074);
- color: #5f5f5f;
+ color: var(--muted-foreground);
}
}
@@ -155,7 +155,7 @@
align-items: center;
gap: 8px;
padding: 0 2px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -177,21 +177,21 @@
.ant-modal-content {
padding: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
.ant-modal-header {
padding: 16px;
- background: var(--bg-ink-400);
- border-bottom: 1px solid var(--bg-slate-500);
+ background: var(--l2-background);
+ border-bottom: 1px solid var(--l1-border);
}
.ant-modal-body {
padding: 12px 16px 0px 16px;
.ant-typography {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -208,8 +208,8 @@
.ant-color-picker-trigger {
padding: 6px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
width: 32px;
height: 32px;
@@ -238,8 +238,8 @@
display: flex;
align-items: center;
border-radius: 2px;
- background-color: var(--bg-robin-500) !important;
- color: var(--bg-vanilla-100) !important;
+ background-color: var(--primary-background) !important;
+ color: var(--l1-foreground) !important;
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -249,7 +249,7 @@
}
}
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -260,85 +260,85 @@
.lightMode {
.explorer-options-container {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
}
.explorer-options {
background: transparent;
box-shadow: none;
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
backdrop-filter: blur(20px);
hr {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
.view-options,
.actions {
button {
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-200);
- background-color: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
+ background-color: var(--l3-background);
}
.info-icon {
- color: var(--bg-ink-200);
+ color: var(--l2-foreground);
}
}
}
.render-options {
- color: var(--bg-ink-200);
+ color: var(--l2-foreground);
}
.explorer-update {
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
background: transparent;
box-shadow: 4px 4px 16px 4px rgba(255, 255, 255, 0.55);
backdrop-filter: blur(20px);
.action-icon {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
.ant-divider {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
}
.ant-tooltip-arrow {
- border-top-color: var(--bg-vanilla-300) !important;
+ border-top-color: var(--l1-border) !important;
}
.ant-tooltip-inner {
- background-color: var(--bg-vanilla-300);
- color: var(--bg-ink-200);
+ background-color: var(--l3-background);
+ color: var(--l2-foreground);
}
.save-view-modal {
.ant-modal-content {
- background: var(--bg-vanilla-200);
- border-color: var(--bg-vanilla-300);
+ background: var(--l2-background);
+ border-color: var(--l1-border);
.ant-modal-header {
- background: var(--bg-vanilla-200);
- border-bottom: 1px solid var(--bg-vanilla-300);
+ background: var(--l2-background);
+ border-bottom: 1px solid var(--l1-border);
}
.ant-modal-body {
.ant-typography {
- color: var(--bg-ink-200);
+ color: var(--l2-foreground);
}
.ant-color-picker-trigger {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
.ant-color-picker-color-block {
.ant-color-picker-color-block-inner {
svg {
- fill: var(--bg-ink-200);
+ fill: var(--l2-foreground);
}
}
}
@@ -347,7 +347,7 @@
}
.title {
- color: var(--bg-ink-200);
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/container/ExplorerOptions/ExplorerOptions.tsx b/frontend/src/container/ExplorerOptions/ExplorerOptions.tsx
index 73f636ad90..03767ebf00 100644
--- a/frontend/src/container/ExplorerOptions/ExplorerOptions.tsx
+++ b/frontend/src/container/ExplorerOptions/ExplorerOptions.tsx
@@ -648,7 +648,7 @@ function ExplorerOptions({
? `1px solid ${Color.BG_SLATE_400}`
: `1px solid ${Color.BG_VANILLA_300}`,
background: isDarkMode
- ? 'linear-gradient(139deg, rgba(18, 19, 23, 0.80) 0%, rgba(18, 19, 23, 0.90) 98.68%)'
+ ? 'var(--bg-gradient-dark-shadow)'
: 'linear-gradient(139deg, rgba(241, 241, 241, 0.8) 0%, rgba(241, 241, 241, 0.9) 98.68%)',
boxShadow: '4px 10px 16px 2px rgba(0, 0, 0, 0.20)',
backdropFilter: 'blur(20px)',
diff --git a/frontend/src/container/ExplorerOptions/ExplorerOptionsHideArea.styles.scss b/frontend/src/container/ExplorerOptions/ExplorerOptionsHideArea.styles.scss
index dd460b4e19..8477bb41bb 100644
--- a/frontend/src/container/ExplorerOptions/ExplorerOptionsHideArea.styles.scss
+++ b/frontend/src/container/ExplorerOptions/ExplorerOptionsHideArea.styles.scss
@@ -28,8 +28,8 @@
.explorer-show-btn {
border-radius: 6px 6px 0px 0px;
- border: 1px solid var(--bg-slate-400);
- background: rgba(22, 24, 29, 0.4);
+ border: 1px solid var(--l1-border);
+ background: color-mix(in srgb, var(--l1-border) 40%, transparent);
box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.25);
backdrop-filter: blur(20px);
align-self: center;
@@ -38,17 +38,9 @@
.menu-bar {
border-radius: 50px;
- background: var(--bg-slate-200);
+ background: var(--l3-background);
height: 4px;
width: 50px;
}
}
}
-
-.lightMode {
- .explorer-option-droppable-container {
- .explorer-show-btn {
- background: var(--bg-vanilla-200);
- }
- }
-}
diff --git a/frontend/src/container/ForgotPassword/ForgotPassword.styles.scss b/frontend/src/container/ForgotPassword/ForgotPassword.styles.scss
index 539f418443..5b0a909999 100644
--- a/frontend/src/container/ForgotPassword/ForgotPassword.styles.scss
+++ b/frontend/src/container/ForgotPassword/ForgotPassword.styles.scss
@@ -33,10 +33,6 @@
color: var(--l1-foreground);
margin-bottom: 12px;
display: block;
-
- .lightMode & {
- color: var(--text-ink-500);
- }
}
// Parent container for fields
@@ -82,12 +78,12 @@
justify-content: center;
gap: 8px;
background: var(--l3-background);
- border: 1px solid var(--l3-border);
+ border: 1px solid var(--l1-border);
color: var(--l1-foreground);
&:hover:not(:disabled) {
- background: var(--l3-border);
- border-color: var(--l3-border);
+ background: var(--l1-border);
+ border-color: var(--l1-border);
opacity: 0.9;
}
}
diff --git a/frontend/src/container/FormAlertRules/ChannelSelect/styles.ts b/frontend/src/container/FormAlertRules/ChannelSelect/styles.ts
index 33d4376ba5..c4e175a6a6 100644
--- a/frontend/src/container/FormAlertRules/ChannelSelect/styles.ts
+++ b/frontend/src/container/FormAlertRules/ChannelSelect/styles.ts
@@ -6,7 +6,7 @@ export const StyledSelect = styled(Select)`
`;
export const StyledCreateChannelOption = styled.div`
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
display: flex;
align-items: center;
gap: 8px;
diff --git a/frontend/src/container/FormAlertRules/ChartPreview/styles.ts b/frontend/src/container/FormAlertRules/ChartPreview/styles.ts
index bcc7b72f97..ebd856f74a 100644
--- a/frontend/src/container/FormAlertRules/ChartPreview/styles.ts
+++ b/frontend/src/container/FormAlertRules/ChartPreview/styles.ts
@@ -29,7 +29,7 @@ export const ChartContainer = styled(Card)`
align-items: center;
gap: 6px;
border-radius: 4px;
- background: var(--bg-slate-400);
+ background: var(--l3-background);
backdrop-filter: blur(6px);
width: fit-content;
}
diff --git a/frontend/src/container/FormAlertRules/FormAlertRules.styles.scss b/frontend/src/container/FormAlertRules/FormAlertRules.styles.scss
index 66d2167519..ed04635c02 100644
--- a/frontend/src/container/FormAlertRules/FormAlertRules.styles.scss
+++ b/frontend/src/container/FormAlertRules/FormAlertRules.styles.scss
@@ -1,21 +1,21 @@
.create-alert-modal {
.ant-modal-content {
- background-color: var(--bg-ink-300);
+ background-color: var(--l3-background);
.ant-modal-confirm-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
.ant-modal-confirm-content {
.ant-typography {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
.ant-modal-confirm-btns {
button:nth-of-type(1) {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
border: none;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
@@ -122,26 +122,26 @@
.lightMode {
.main-container {
.plot-tag {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
}
.ant-modal-content {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-foreground);
.ant-modal-confirm-title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
.ant-modal-confirm-content {
.ant-typography {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
.ant-modal-confirm-btns {
button:nth-of-type(1) {
- background-color: var(--bg-vanilla-300);
+ background-color: var(--l3-background);
border: none;
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
}
diff --git a/frontend/src/container/FormAlertRules/QuerySection.styles.scss b/frontend/src/container/FormAlertRules/QuerySection.styles.scss
index a41658556e..33e01c5803 100644
--- a/frontend/src/container/FormAlertRules/QuerySection.styles.scss
+++ b/frontend/src/container/FormAlertRules/QuerySection.styles.scss
@@ -23,7 +23,7 @@
}
.ant-tabs-tab-active {
.nav-btns {
- background: var(--bg-slate-400) !important;
+ background: var(--l1-border) !important;
}
}
@@ -35,10 +35,10 @@
border-bottom: none !important;
}
.ant-tabs-nav-list {
- border: 1px solid var(--bg-slate-200);
+ border: 1px solid var(--l1-border);
}
.ant-tabs-tab + .ant-tabs-tab {
- border-left: 1px solid var(--bg-slate-200) !important;
+ border-left: 1px solid var(--l1-border) !important;
}
.stage-run-query {
@@ -74,19 +74,3 @@
}
}
}
-
-.lightMode {
- .alert-tabs {
- .ant-tabs-nav-list {
- border: 1px solid var(--bg-vanilla-300);
- }
- .ant-tabs-tab + .ant-tabs-tab {
- border-left: 1px solid var(--bg-vanilla-200) !important;
- }
- .ant-tabs-tab-active {
- .nav-btns {
- background: var(--bg-vanilla-300) !important;
- }
- }
- }
-}
diff --git a/frontend/src/container/FullScreenHeader/FullScreenHeader.styles.scss b/frontend/src/container/FullScreenHeader/FullScreenHeader.styles.scss
index 92200eead5..6a94f6caea 100644
--- a/frontend/src/container/FullScreenHeader/FullScreenHeader.styles.scss
+++ b/frontend/src/container/FullScreenHeader/FullScreenHeader.styles.scss
@@ -23,15 +23,7 @@
font-weight: 500;
line-height: 18px;
- color: #fff;
- }
- }
-}
-
-.lightMode {
- .brand-logo {
- .brand-logo-name {
- color: black;
+ color: var(--l1-foreground);
}
}
}
diff --git a/frontend/src/container/GantChart/Trace/index.tsx b/frontend/src/container/GantChart/Trace/index.tsx
index aae6e6d25b..322ad9a673 100644
--- a/frontend/src/container/GantChart/Trace/index.tsx
+++ b/frontend/src/container/GantChart/Trace/index.tsx
@@ -123,7 +123,7 @@ function Trace(props: TraceProps): JSX.Element {
const width = (value * 1e2) / (globalSpread * 1e6);
const panelWidth = SPAN_DETAILS_LEFT_COL_WIDTH - level * (16 + 1) - 48;
- const iconStyles = useMemo(() => getIconStyles(isDarkMode), [isDarkMode]);
+ const iconStyles = useMemo(() => getIconStyles(), []);
const icon = useMemo(
() =>
diff --git a/frontend/src/container/GantChart/Trace/utils.ts b/frontend/src/container/GantChart/Trace/utils.ts
index 4bc00cc5e6..dc9332b1e1 100644
--- a/frontend/src/container/GantChart/Trace/utils.ts
+++ b/frontend/src/container/GantChart/Trace/utils.ts
@@ -1,3 +1,3 @@
-export const getIconStyles = (isDarkMode: boolean): Record<string, string> => ({
- color: isDarkMode ? 'white' : 'black',
+export const getIconStyles = (): Record<string, string> => ({
+ color: 'var(--l1-foreground)',
});
diff --git a/frontend/src/container/GantChart/index.tsx b/frontend/src/container/GantChart/index.tsx
index e2c07614fd..03fcfd588f 100644
--- a/frontend/src/container/GantChart/index.tsx
+++ b/frontend/src/container/GantChart/index.tsx
@@ -42,9 +42,13 @@ function GanttChart(props: GanttChartProps): JSX.Element {
title={isExpandAll ? 'Collapse All' : 'Expand All'}
>
{isExpandAll ? (
- <MinusSquareOutlined style={{ fontSize: '16px', color: '#08c' }} />
+ <MinusSquareOutlined
+ style={{ fontSize: '16px', color: 'var(--accent-primary)' }}
+ />
) : (
- <PlusSquareOutlined style={{ fontSize: '16px', color: '#08c' }} />
+ <PlusSquareOutlined
+ style={{ fontSize: '16px', color: 'var(--accent-primary)' }}
+ />
)}
</CollapseButton>
<CardWrapper>
diff --git a/frontend/src/container/GeneralSettings/GeneralSettings.styles.scss b/frontend/src/container/GeneralSettings/GeneralSettings.styles.scss
index 7ebf358ea9..7256e0490c 100644
--- a/frontend/src/container/GeneralSettings/GeneralSettings.styles.scss
+++ b/frontend/src/container/GeneralSettings/GeneralSettings.styles.scss
@@ -29,7 +29,7 @@
}
.retention-controls-container {
- border: 1px solid var(--l2-border);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
overflow: hidden;
}
@@ -41,7 +41,7 @@
padding: 0 var(--padding-4);
height: 50px;
background: var(--l2-background);
- border-bottom: 1px solid var(--l2-border);
+ border-bottom: 1px solid var(--l1-border);
}
.retention-controls-header-label {
@@ -100,7 +100,7 @@
align-items: center;
gap: var(--spacing-2);
border-radius: 2px 0 0 2px;
- border: 1px solid var(--l2-border);
+ border: 1px solid var(--l1-border);
background: transparent;
text-align: left;
-moz-appearance: textfield;
@@ -130,7 +130,7 @@
padding: 6px 6px 6px 8px;
align-items: center;
gap: var(--spacing-2);
- border: 1px solid var(--l2-border);
+ border: 1px solid var(--l1-border);
background: var(--l2-background);
width: 80px;
border-left: none;
diff --git a/frontend/src/container/GeneralSettings/LicenseKeyRow/LicenseKeyRow.styles.scss b/frontend/src/container/GeneralSettings/LicenseKeyRow/LicenseKeyRow.styles.scss
index 6f943a3304..18d97a9c72 100644
--- a/frontend/src/container/GeneralSettings/LicenseKeyRow/LicenseKeyRow.styles.scss
+++ b/frontend/src/container/GeneralSettings/LicenseKeyRow/LicenseKeyRow.styles.scss
@@ -35,7 +35,7 @@
padding: 1px 2px;
border-radius: 2px 0 0 2px;
background: var(--l3-background);
- border: 1px solid var(--l2-border);
+ border: 1px solid var(--l1-border);
color: var(--l2-foreground);
font-family: 'SF Mono', 'Fira Code', 'Fira Mono', monospace;
font-size: var(--paragraph-base-400-font-size);
@@ -52,7 +52,7 @@
padding: 1px 2px;
border-radius: 0 2px 2px 0;
background: var(--l3-background);
- border: 1px solid var(--l2-border);
+ border: 1px solid var(--l1-border);
color: var(--l2-foreground);
cursor: pointer;
flex-shrink: 0;
diff --git a/frontend/src/container/GeneralSettings/LicenseKeyRow/LicenseKeyRow.tsx b/frontend/src/container/GeneralSettings/LicenseKeyRow/LicenseKeyRow.tsx
index dae4fa7e2c..1697c1aa97 100644
--- a/frontend/src/container/GeneralSettings/LicenseKeyRow/LicenseKeyRow.tsx
+++ b/frontend/src/container/GeneralSettings/LicenseKeyRow/LicenseKeyRow.tsx
@@ -1,7 +1,7 @@
import { useCopyToClipboard } from 'react-use';
import { Button } from '@signozhq/button';
import { Copy, KeyRound } from '@signozhq/icons';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { useAppContext } from 'providers/App/App';
import { getMaskedKey } from 'utils/maskedKey';
diff --git a/frontend/src/container/GeneralSettings/LicenseKeyRow/__tests__/LicenseKeyRow.test.tsx b/frontend/src/container/GeneralSettings/LicenseKeyRow/__tests__/LicenseKeyRow.test.tsx
index fecfd21d26..a53476d8b2 100644
--- a/frontend/src/container/GeneralSettings/LicenseKeyRow/__tests__/LicenseKeyRow.test.tsx
+++ b/frontend/src/container/GeneralSettings/LicenseKeyRow/__tests__/LicenseKeyRow.test.tsx
@@ -11,7 +11,8 @@ jest.mock('react-use', () => ({
const mockToastSuccess = jest.fn();
-jest.mock('@signozhq/sonner', () => ({
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
toast: {
success: (...args: unknown[]): unknown => mockToastSuccess(...args),
},
diff --git a/frontend/src/container/GeneralSettings/styles.ts b/frontend/src/container/GeneralSettings/styles.ts
index 9c9e7bb312..62c79623ff 100644
--- a/frontend/src/container/GeneralSettings/styles.ts
+++ b/frontend/src/container/GeneralSettings/styles.ts
@@ -77,7 +77,7 @@ export const ToolTipContainer = styled.div`
export const ErrorText = styled(TypographyComponent)`
&&& {
- color: #e89a3c;
+ color: var(--warning-background);
font-style: italic;
}
`;
diff --git a/frontend/src/container/GridCardLayout/DashboardEmptyState/DashboardEmptyState.styles.scss b/frontend/src/container/GridCardLayout/DashboardEmptyState/DashboardEmptyState.styles.scss
index 18029e2909..b1a011b7a5 100644
--- a/frontend/src/container/GridCardLayout/DashboardEmptyState/DashboardEmptyState.styles.scss
+++ b/frontend/src/container/GridCardLayout/DashboardEmptyState/DashboardEmptyState.styles.scss
@@ -21,7 +21,7 @@
}
.welcome {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -31,7 +31,7 @@
}
.welcome-info {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -45,15 +45,16 @@
display: flex;
flex-direction: column;
- .actions-1 {
+ .actions-1,
+ .actions-2 {
display: flex;
width: 560px;
padding: 12px;
justify-content: space-between;
align-items: flex-start;
border-radius: 4px 4px 0px 0px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.configure-button {
display: flex;
@@ -64,9 +65,9 @@
align-items: center;
flex-shrink: 0;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
- color: var(--bg-vanilla-400);
+ border: 1px solid var(--secondary-border);
+ background: var(--secondary-background);
+ color: var(--secondary-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -85,12 +86,8 @@
gap: 8px;
align-items: center;
- .icons {
- color: white;
- }
-
.configure {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -99,8 +96,9 @@
letter-spacing: -0.07px;
}
}
+
.configure-info {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -120,10 +118,10 @@
align-items: center;
flex-shrink: 0;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(---border);
+ background: var(--primary-background);
box-shadow: none;
- color: var(--bg-vanilla-400);
+ color: var(--primary-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -147,7 +145,7 @@
}
.panel {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -158,7 +156,7 @@
}
.panel-info {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -169,6 +167,10 @@
}
}
}
+
+ .actions-2 {
+ border-top: none;
+ }
}
}
}
@@ -178,65 +180,15 @@
.dashboard-content {
.heading {
.icons {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
.welcome {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
.welcome-info {
- color: var(--bg-ink-400);
- }
- }
-
- .actions {
- .actions-1 {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
-
- .configure-button {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- }
-
- .actions-configure {
- .actions-configure-text {
- .icons {
- color: var(--bg-ink-400);
- }
-
- .configure {
- color: var(--bg-ink-400);
- }
- }
- .configure-info {
- color: var(--bg-ink-400);
- }
- }
-
- .add-panel-btn {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- }
-
- .actions-add-panel {
- .actions-panel-text {
- .icons {
- color: var(--bg-ink-300);
- }
-
- .panel {
- color: var(--bg-ink-300);
- }
- }
-
- .panel-info {
- color: var(--bg-ink-300);
- }
- }
+ color: var(--l1-foreground);
}
}
}
diff --git a/frontend/src/container/GridCardLayout/DashboardEmptyState/DashboardEmptyState.tsx b/frontend/src/container/GridCardLayout/DashboardEmptyState/DashboardEmptyState.tsx
index 2585d08c3e..6c2466b6f4 100644
--- a/frontend/src/container/GridCardLayout/DashboardEmptyState/DashboardEmptyState.tsx
+++ b/frontend/src/container/GridCardLayout/DashboardEmptyState/DashboardEmptyState.tsx
@@ -125,7 +125,7 @@ export default function DashboardEmptyState(): JSX.Element {
/>
</SettingsDrawer>
</div>
- <div className="actions-1">
+ <div className="actions-2">
<div className="actions-add-panel">
<div className="actions-panel-text">
<img
diff --git a/frontend/src/container/GridCardLayout/GridCard/FullView/PanelTypeSelector.scss b/frontend/src/container/GridCardLayout/GridCard/FullView/PanelTypeSelector.scss
index 757921952b..41cc2727b2 100644
--- a/frontend/src/container/GridCardLayout/GridCard/FullView/PanelTypeSelector.scss
+++ b/frontend/src/container/GridCardLayout/GridCard/FullView/PanelTypeSelector.scss
@@ -8,7 +8,7 @@
.typography {
font-size: 12px;
font-weight: 500;
- color: var(--bg-slate-600);
+ color: var(--muted-foreground);
line-height: 16px;
white-space: nowrap;
}
diff --git a/frontend/src/container/GridCardLayout/GridCard/FullView/WidgetFullView.styles.scss b/frontend/src/container/GridCardLayout/GridCard/FullView/WidgetFullView.styles.scss
index 6bfc863ac4..a58a7a18e1 100644
--- a/frontend/src/container/GridCardLayout/GridCard/FullView/WidgetFullView.styles.scss
+++ b/frontend/src/container/GridCardLayout/GridCard/FullView/WidgetFullView.styles.scss
@@ -21,7 +21,7 @@
.global-search {
.ant-input-group-addon {
border: none;
- background-color: var(--bg-ink-300);
+ background-color: var(--l3-background);
}
}
}
@@ -64,15 +64,3 @@
}
}
}
-
-.lightMode {
- .full-view-container {
- .graph-container {
- .global-search {
- .ant-input-group-addon {
- background-color: var(--bg-vanilla-200);
- }
- }
- }
- }
-}
diff --git a/frontend/src/container/GridCardLayout/GridCardLayout.styles.scss b/frontend/src/container/GridCardLayout/GridCardLayout.styles.scss
index 3ce38ee2bd..b064145358 100644
--- a/frontend/src/container/GridCardLayout/GridCardLayout.styles.scss
+++ b/frontend/src/container/GridCardLayout/GridCardLayout.styles.scss
@@ -10,19 +10,19 @@
.row-panel {
border-radius: 4px;
- background: rgba(18, 19, 23, 0.4);
+ background: color-mix(in srgb, var(--card) 40%, transparent);
padding: 8px;
display: flex;
gap: 6px;
align-items: center;
.settings-icon {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
cursor: pointer;
}
.row-icon {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
cursor: pointer;
}
@@ -31,7 +31,7 @@
}
.section-title {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -69,7 +69,7 @@
border-radius: 4px 0px 0px 0px;
background: var(--bg-sakura-500);
backdrop-filter: blur(6px);
- color: var(--bg-ink-500);
+ color: var(--foreground);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
@@ -109,10 +109,10 @@
.widget-full-view {
.ant-modal-content {
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
.ant-modal-header {
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
}
}
}
@@ -132,11 +132,11 @@
width: 191px;
flex-shrink: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -149,7 +149,7 @@
display: flex;
align-items: center;
gap: 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -169,13 +169,13 @@
}
.section-2 {
- border-top: 1px solid #1d212d;
+ border-top: 1px solid var(--l1-border);
.remove-section {
display: flex;
align-items: center;
width: 100%;
gap: 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -205,19 +205,19 @@
height: auto;
flex-shrink: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--Ink-400, #121317);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
padding: 0px;
.ant-modal-header {
padding: 16px;
- background: var(--bg-ink-400);
- border-bottom: 1px solid var(--bg-slate-500);
+ background: var(--l2-background);
+ border-bottom: 1px solid var(--l1-border);
margin-bottom: 0px;
.ant-modal-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -230,7 +230,7 @@
padding: 12px 16px 16px 16px;
.typography {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -255,7 +255,7 @@
.ok-btn {
display: flex;
align-items: center;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -268,7 +268,7 @@
align-items: center;
gap: 4px;
border-radius: 2px;
- background: var(--bg-robin-500);
+ background: var(--primary-background);
.ant-btn-icon {
margin-inline-end: 0px;
@@ -278,7 +278,7 @@
.cancel-btn {
display: flex;
align-items: center;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -290,7 +290,7 @@
align-items: center;
gap: 4px;
border-radius: 2px;
- background: var(--bg-slate-500);
+ background: var(--l1-border);
.ant-btn-icon {
margin-inline-end: 0px;
@@ -304,8 +304,8 @@
.view-onclick-show-button {
position: absolute;
- background: var(--bg-vanilla-100);
- border: 2px solid var(--bg-vanilla-300);
+ background: var(--l1-background);
+ border: 2px solid var(--l1-border);
border-radius: 4px;
cursor: pointer;
font-size: 12px;
@@ -313,7 +313,7 @@
box-shadow: none;
list-style-type: none;
padding: 4px;
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
display: flex;
flex-direction: column;
gap: 2px;
@@ -328,7 +328,7 @@
padding-right: 12px;
&:hover {
- background-color: var(--bg-vanilla-200);
+ background-color: var(--l2-background);
border-radius: 2px;
}
}
@@ -338,18 +338,18 @@
.fullscreen-grid-container {
.react-grid-layout {
.row-panel {
- background: var(--bg-vanilla-200);
+ background: var(--l2-background);
.settings-icon {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
.row-icon {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
.section-title {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
}
}
@@ -357,28 +357,28 @@
.widget-full-view {
.ant-modal-content {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-foreground);
.ant-modal-header {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-foreground);
}
}
}
.row-settings {
.ant-popover-inner {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
.menu-content {
.section-1 {
.rename-btn {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
}
.section-2 {
- border-top: 1px solid var(--bg-vanilla-300);
+ border-top: 1px solid var(--l1-border);
.remove-section {
color: var(--bg-cherry-400);
}
@@ -389,28 +389,28 @@
.rename-section {
.ant-modal-content {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
.ant-modal-header {
- background: var(--bg-vanilla-100);
- border-bottom: 1px solid var(--bg-vanilla-300);
+ background: var(--l1-background);
+ border-bottom: 1px solid var(--l1-border);
.ant-modal-title {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
}
.ant-modal-body {
.typography {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
.ant-form-item {
.action-btns {
.cancel-btn {
- color: var(--bg-ink-300);
- background: var(--bg-vanilla-300);
+ color: var(--l1-foreground);
+ background: var(--l3-background);
}
}
}
@@ -419,13 +419,13 @@
}
.view-onclick-show-button {
- background: var(--bg-ink-400);
- border-color: var(--bg-ink-300);
- color: var(--bg-vanilla-100);
+ background: var(--l2-background);
+ border-color: var(--l1-foreground);
+ color: var(--l1-foreground);
.menu-item {
&:hover {
- background-color: var(--bg-ink-100);
+ background-color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/container/GridCardLayout/WidgetHeader/WidgetHeader.styles.scss b/frontend/src/container/GridCardLayout/WidgetHeader/WidgetHeader.styles.scss
index 41acbd6ad1..1c4213987e 100644
--- a/frontend/src/container/GridCardLayout/WidgetHeader/WidgetHeader.styles.scss
+++ b/frontend/src/container/GridCardLayout/WidgetHeader/WidgetHeader.styles.scss
@@ -13,7 +13,7 @@
.ant-input-group-addon {
border: none;
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
}
.search-header-icons {
cursor: pointer;
diff --git a/frontend/src/container/Home/Home.styles.scss b/frontend/src/container/Home/Home.styles.scss
index f38d53f430..d1be756e58 100644
--- a/frontend/src/container/Home/Home.styles.scss
+++ b/frontend/src/container/Home/Home.styles.scss
@@ -6,7 +6,7 @@
height: 100%;
width: 100%;
- background: rgba(11, 12, 14, 0.9);
+ background: color-mix(in srgb, var(--background) 90%, transparent);
&::-webkit-scrollbar {
width: 0.3rem;
@@ -18,11 +18,11 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-500);
+ background: var(--l1-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-500);
+ background: var(--l1-background);
}
.home-header-left {
@@ -30,7 +30,7 @@
align-items: center;
gap: 8px;
- color: var(--Vanilla-100, #fff);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -40,7 +40,7 @@
.home-header-right {
.welcome-checklist-btn {
- color: var(--Vanilla-100, #fff);
+ color: var(--l1-foreground);
/* Bifrost (Ancient)/Content/sm */
font-family: Inter;
@@ -55,8 +55,8 @@
position: sticky;
top: 0;
z-index: 100;
- background-color: var(--bg-ink-100);
- border-bottom: 1px solid var(--bg-ink-300);
+ background-color: var(--l1-background);
+ border-bottom: 1px solid var(--l1-border);
}
}
@@ -67,7 +67,7 @@
justify-content: center;
padding: 8px;
border-radius: 4px;
- background: var(--Ink-300, #16181d);
+ background: var(--l2-background);
}
}
@@ -153,7 +153,7 @@
text-align: center;
.ant-btn.ant-btn-link {
- color: var(--Vanilla-400, #c0c1c3) !important;
+ color: var(--l2-foreground) !important;
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -175,7 +175,7 @@
}
.welcome-title {
- color: #fff;
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 18px;
font-style: normal;
@@ -185,7 +185,7 @@
}
.welcome-description {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -206,8 +206,8 @@
.ant-btn.periscope-btn.secondary {
border-radius: 2px;
- border: 1px solid var(--Slate-200, #2c3140);
- background: var(--Ink-200, #23262e);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
}
}
@@ -225,7 +225,7 @@
gap: 16px;
.ant-typography {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on;
font-family: Inter;
@@ -328,7 +328,7 @@
line-height: 18px; /* 150% */
letter-spacing: 0.12px;
- border-left: 1px solid var(--Slate-400, #1d212d);
+ border-left: 1px solid var(--l1-border);
padding-left: 8px;
width: 200px;
@@ -336,7 +336,7 @@
cursor: pointer;
&:hover {
- background-color: var(--bg-ink-300);
+ background-color: var(--l1-background-hover);
}
}
@@ -384,7 +384,7 @@
flex-direction: column;
gap: 6px;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -393,7 +393,7 @@
letter-spacing: -0.06px;
.title {
- color: var(--Vanilla-100, #fff);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -412,7 +412,7 @@
justify-content: flex-end;
.ant-btn {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -425,14 +425,14 @@
justify-content: flex-start;
&:hover {
- background-color: var(--bg-ink-300) !important;
+ background-color: var(--l1-background-hover) !important;
}
}
.periscope-btn.secondary {
border-radius: 2px;
- border: 1px solid var(--Slate-400, #1d212d);
- background: var(--Ink-300, #16181d);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
}
}
}
@@ -446,7 +446,7 @@
gap: 8px;
height: 32px;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -478,12 +478,12 @@
font-size: 11px;
border-radius: 2px;
- border: 1px solid var(--Slate-400, #1d212d);
- background: var(--Ink-400, #121317);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
&.selected {
- background: var(--Ink-300, #16181d);
+ background: var(--l2-background);
}
}
}
@@ -528,11 +528,11 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-ink-100);
+ background: var(--l3-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-ink-100);
+ background: var(--l3-background);
}
.home-data-item {
@@ -552,7 +552,7 @@
}
.home-data-item-name {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -562,7 +562,7 @@
}
&:nth-child(odd) {
- background: rgba(255, 255, 255, 0.01);
+ background: color-mix(in srgb, var(--l1-foreground) 1%, transparent);
}
}
@@ -576,10 +576,10 @@
align-items: center;
gap: 4px;
border-radius: 20px;
- border: 1px solid rgba(173, 127, 88, 0.2);
- background: rgba(173, 127, 88, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-sienna-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-sienna-500) 10%, transparent);
- color: var(--Sienna-400, #bd9979);
+ color: var(--bg-sienna-400);
text-align: center;
font-family: Inter;
font-size: 12px;
@@ -590,7 +590,7 @@
.firing-tag {
color: var(--bg-sakura-500);
- background: rgba(255, 113, 113, 0.1);
+ background: color-mix(in srgb, var(--danger-background) 10%, transparent);
}
}
@@ -626,16 +626,15 @@
padding: 4px 12px !important;
border-radius: 0px 0px 6px 6px;
- border: 1px solid var(--Slate-400, #1d212d);
- background: var(--Ink-300, #16181d);
- box-shadow: 0px -8px 6px 0px rgba(0, 0, 0, 0.1);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.home-data-card-footer {
display: flex;
justify-content: flex-end;
.learn-more-link {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -644,7 +643,7 @@
letter-spacing: -0.07px;
&:hover {
- color: var(--Robin-400, #7190f9);
+ color: var(--primary-background-hover);
}
}
}
@@ -678,7 +677,7 @@
height: 400px;
border-radius: 6px;
- border: 1px dashed var(--Slate-300, #242834);
+ border: 1px dashed var(--l1-border);
.empty-state-content-container {
display: flex;
@@ -698,7 +697,7 @@
}
.empty-title {
- color: var(--Vanilla-100, #fff);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -708,7 +707,7 @@
}
.empty-description {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l3-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -731,10 +730,10 @@
gap: 8px;
border-radius: 1.484px;
- border: 1px solid var(--Slate-400, #1d212d);
- background: var(--Ink-300, #16181d);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l3-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -750,7 +749,7 @@
align-items: center;
gap: 4px;
- color: var(--Robin-400, #7190f9);
+ color: var(--primary-background-hover);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -761,15 +760,19 @@
.welcome-checklist-popover {
padding: 1rem 1.5rem;
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
border-radius: 2px;
- border: 1px solid var(--Slate-400, #1d212d);
- background: var(--Ink-400, #121317);
- color: var(--bg-vanilla-100);
+ border: 1px solid var(--l2-border);
+ background: var(--l2-background);
+ color: var(--l1-foreground);
+
+ .ant-popover-content {
+ border: none;
+ }
.ant-popover-inner {
- background-color: transparent !important;
box-shadow: none !important;
+ background-color: transparent !important;
}
.home-checklist-container {
@@ -782,7 +785,7 @@
.ant-table-thead {
.ant-table-cell {
background-color: transparent !important;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -807,245 +810,7 @@
}
&:nth-child(odd) {
- background: rgba(255, 255, 255, 0.01);
- }
- }
-}
-
-.lightMode {
- .home-container {
- background: rgba(255, 255, 255, 0.9);
-
- &::-webkit-scrollbar-thumb {
- background: var(--bg-slate-500);
- }
-
- &::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-500);
- }
-
- .home-header-left {
- color: var(--bg-ink-300);
- }
-
- .home-header-right {
- .welcome-checklist-btn {
- color: var(--bg-ink-300);
- }
- }
-
- .sticky-header {
- background-color: var(--bg-vanilla-100);
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
- }
-
- .hello-wave-container {
- .hello-wave-img-container {
- background: var(--bg-vanilla-300);
- }
- }
-
- .home-content {
- .home-right-content {
- .checklist-card {
- .checklist-footer-container {
- .ant-btn.ant-btn-link {
- color: var(--bg-ink-300) !important;
- }
- }
- }
- }
- }
-
- .welcome-title {
- color: var(--bg-slate-300);
- }
-
- .welcome-description {
- color: var(--bg-slate-400);
- }
-
- .workspace-ready-container {
- .workspace-ready-header {
- .ant-btn.periscope-btn.secondary {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-200);
- }
- }
-
- .workspace-details {
- .ant-typography {
- color: var(--bg-slate-400);
- }
- }
- }
-
- .active-ingestions-container {
- .active-ingestion-card {
- .active-ingestion-card-actions {
- border-left: 1px solid var(--bg-vanilla-300);
-
- &:hover {
- background-color: var(--bg-vanilla-100);
- }
- }
- }
- }
-
- .explorers-container {
- .section-container {
- .section-content {
- .section-title {
- color: var(--bg-slate-300);
-
- .title {
- color: var(--bg-slate-300);
- }
- }
- }
-
- .section-actions {
- .ant-btn {
- color: var(--bg-slate-300);
-
- &:hover {
- background-color: var(--bg-vanilla-100) !important;
- }
- }
-
- .periscope-btn.secondary {
- border-radius: 2px;
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
- }
- }
- }
-
- .home-data-card {
- .home-data-card-header {
- color: var(--bg-ink-300);
- }
-
- .saved-views-header {
- .saved-views-header-actions {
- .views-tabs {
- .tab {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- box-shadow: 0px 0px 8px 0px rgba(255, 255, 255, 0.1);
-
- &.selected {
- background: var(--bg-vanilla-100);
- }
- }
- }
- }
- }
-
- .home-data-item-container {
- .home-data-item {
- .home-data-item-name {
- color: var(--bg-ink-300);
- }
-
- &:nth-child(odd) {
- background: rgba(255, 255, 255, 0.01);
- }
- }
-
- .home-data-item-tag {
- display: flex;
-
- .ant-tag {
- border: 1px solid rgba(173, 127, 88, 0.2);
- background: rgba(173, 127, 88, 0.1);
-
- color: var(--bg-sienna-400);
- }
-
- .firing-tag {
- color: var(--bg-sakura-500);
- background: rgba(255, 113, 113, 0.1);
- }
- }
- }
-
- .periscope-card-footer {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- box-shadow: 0px -8px 6px 0px rgba(255, 255, 255, 0.1);
-
- .home-data-card-footer {
- .learn-more-link {
- color: var(--bg-ink-300);
-
- &:hover {
- color: var(--bg-robin-400);
- }
- }
- }
- }
- }
-
- .empty-state-container {
- border: 1px dashed var(--bg-vanilla-300);
-
- .empty-title {
- color: var(--bg-ink-300);
- }
-
- .empty-description {
- color: var(--bg-ink-400);
- }
-
- .empty-actions-container {
- .ant-btn.periscope-btn.secondary {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
-
- color: var(--bg-ink-300);
- }
- }
- }
-
- .welcome-checklist-popover {
- padding: 1rem 1.5rem;
- background-color: var(--bg-vanilla-100);
- border-radius: 2px;
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-300);
-
- .ant-popover-inner {
- background-color: transparent !important;
- box-shadow: none !important;
- }
-
- .home-checklist-container {
- background-color: transparent !important;
- width: 400px;
- }
- }
-
- .home-services-container {
- .ant-table-thead {
- .ant-table-cell {
- background-color: transparent !important;
- color: var(--bg-ink-300);
-
- border-bottom: none !important;
-
- &::before {
- content: none !important;
- }
- }
- }
-
- .ant-table-row {
- &:nth-child(odd) {
- background: rgba(0, 0, 0, 0.01);
- }
+ background: color-mix(in srgb, var(--l1-foreground) 1%, transparent);
}
}
}
diff --git a/frontend/src/container/Home/HomeChecklist/HomeChecklist.styles.scss b/frontend/src/container/Home/HomeChecklist/HomeChecklist.styles.scss
index 8440fe9605..933bd43af5 100644
--- a/frontend/src/container/Home/HomeChecklist/HomeChecklist.styles.scss
+++ b/frontend/src/container/Home/HomeChecklist/HomeChecklist.styles.scss
@@ -7,7 +7,7 @@
flex: 1;
.completed-checklist-title {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -37,9 +37,9 @@
width: 18px;
height: 18px;
border-radius: 50%;
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-ink-400);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-background);
display: flex;
align-items: center;
justify-content: center;
@@ -70,7 +70,7 @@
}
.completed-checklist-item-title {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -80,7 +80,7 @@
}
.completed-checklist-item-description {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -94,7 +94,7 @@
flex: 1;
.whats-next-checklist-title {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -129,9 +129,9 @@
width: 18px;
height: 18px;
border-radius: 50%;
- background-color: var(--bg-ink-400);
- border: 1px dashed var(--bg-slate-100);
- color: var(--bg-ink-400);
+ background-color: var(--l2-background);
+ border: 1px dashed var(--l1-border);
+ color: var(--l2-background);
display: flex;
align-items: center;
justify-content: center;
@@ -140,7 +140,7 @@
&.active {
&:before {
- background-color: #4568dc;
+ background-color: var(--bg-robin-600);
content: '';
display: inline-block;
background: url('../../../assets/Icons/status-inprogress-pill.svg')
@@ -148,7 +148,7 @@
background-size: contain;
border: none !important;
- color: #fff;
+ color: var(--bg-vanilla-100);
font-size: 16px;
border: 1px dashed white;
border-radius: 50%;
@@ -165,7 +165,7 @@
background-size: contain;
border: none;
- color: var(--bg-ink-400);
+ color: var(--foreground);
font-size: 16px;
border-radius: 50%;
@@ -185,8 +185,8 @@
height: 100%;
background: linear-gradient(
to bottom,
- var(--bg-slate-100) 0%,
- var(--bg-slate-100) 50%,
+ var(--l1-border) 0%,
+ var(--l1-border) 50%,
transparent 50%,
transparent 100%
);
@@ -234,7 +234,7 @@
}
.whats-next-checklist-item-title {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -245,7 +245,7 @@
}
.whats-next-checklist-item-description {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -267,7 +267,7 @@
&:hover {
.whats-next-checklist-item-title {
- color: var(--Vanilla-100, #fff) !important;
+ color: var(--l1-foreground) !important;
}
}
@@ -279,7 +279,7 @@
&.active {
.whats-next-checklist-item-title {
- color: var(--Vanilla-100, #fff) !important;
+ color: var(--l1-foreground) !important;
}
}
@@ -297,8 +297,8 @@
.periscope-btn.secondary {
border-radius: 2px;
- border: 1px solid var(--Slate-200, #2c3140);
- background: var(--Ink-200, #23262e);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
@@ -311,72 +311,3 @@
}
}
}
-
-.lightMode {
- .home-checklist-container {
- .completed-checklist-container {
- .completed-checklist-title {
- color: var(--bg-ink-300);
- }
-
- .completed-checklist-item {
- &:before {
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-300);
- background-color: var(--bg-forest-400);
- }
-
- .completed-checklist-item-title {
- color: var(--bg-ink-300);
- }
-
- .completed-checklist-item-description {
- color: var(--bg-ink-300);
- }
- }
- }
-
- .whats-next-checklist-container {
- .whats-next-checklist-title {
- color: var(--bg-ink-300);
- }
-
- .whats-next-checklist-item {
- &:before {
- background-color: var(--bg-vanilla-100);
- border: 1px dashed var(--bg-vanilla-300);
- color: var(--bg-ink-300);
- }
-
- .whats-next-checklist-item-title {
- color: var(--bg-ink-300);
- }
-
- .whats-next-checklist-item-description {
- color: var(--bg-ink-300);
- }
-
- &:hover {
- .whats-next-checklist-item-title {
- color: var(--bg-ink-300) !important;
- }
- }
-
- &.active {
- .whats-next-checklist-item-title {
- color: var(--bg-ink-300) !important;
- }
- }
-
- .whats-next-checklist-item-action-buttons {
- .periscope-btn.secondary {
- border-radius: 2px;
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- box-shadow: 0px 0px 8px 0px rgba(255, 255, 255, 0.1);
- }
- }
- }
- }
- }
-}
diff --git a/frontend/src/container/Home/StepsProgress/StepsProgress.styles.scss b/frontend/src/container/Home/StepsProgress/StepsProgress.styles.scss
index dc14c278fe..d1ed1f0e96 100644
--- a/frontend/src/container/Home/StepsProgress/StepsProgress.styles.scss
+++ b/frontend/src/container/Home/StepsProgress/StepsProgress.styles.scss
@@ -13,7 +13,7 @@
}
.steps-progress-title-text {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -23,7 +23,7 @@
}
.steps-progress-count {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -43,13 +43,3 @@
width: 100% !important;
}
}
-
-.lightMode {
- .steps-progress-title-text {
- color: var(--bg-ink-300);
- }
-
- .steps-progress-count {
- color: var(--bg-ink-300);
- }
-}
diff --git a/frontend/src/container/InfraMonitoringHosts/InfraMonitoring.styles.scss b/frontend/src/container/InfraMonitoringHosts/InfraMonitoring.styles.scss
index 90546d28b7..1ddffac699 100644
--- a/frontend/src/container/InfraMonitoringHosts/InfraMonitoring.styles.scss
+++ b/frontend/src/container/InfraMonitoringHosts/InfraMonitoring.styles.scss
@@ -21,8 +21,8 @@
.ant-select-selector {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400) !important;
- background-color: var(--bg-ink-300) !important;
+ border: 1px solid var(--l1-border) !important;
+ background-color: var(--l3-background) !important;
input {
font-size: 12px;
@@ -61,12 +61,12 @@
.hosts-quick-filters-container {
width: 280px;
min-width: 280px;
- border-right: 1px solid var(--bg-slate-400);
+ border-right: 1px solid var(--l1-border);
height: 100%;
.hosts-quick-filters-container-header {
padding: 8px;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
display: flex;
align-items: center;
@@ -97,10 +97,10 @@
font-size: 12px;
line-height: 18px;
- background: var(--bg-ink-500);
+ background: var(--l1-background);
border-bottom: none;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -115,24 +115,24 @@
}
.ant-table-thead > tr > th:has(.hostname-column-header) {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.ant-table-cell {
padding: 12px;
font-size: 13px;
line-height: 20px;
- color: var(--bg-vanilla-100);
- background: var(--bg-ink-500);
+ color: var(--l1-foreground);
+ background: var(--l1-background);
}
.ant-table-cell:has(.hostname-column-value),
.ant-table-cell:has(.hostname-cell-missing) {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.hostname-column-value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-style: normal;
font-weight: 600;
@@ -147,7 +147,7 @@
}
.hostname-cell-placeholder {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--muted-foreground);
}
.hostname-cell-warning-icon {
@@ -175,7 +175,7 @@
}
.ant-table-tbody > tr:hover > td {
- background: rgba(255, 255, 255, 0.04);
+ background: color-mix(in srgb, var(--l1-foreground) 4%, transparent);
}
.ant-table-cell:first-child {
@@ -227,7 +227,7 @@
position: fixed;
bottom: 0;
width: calc(100% - 364px);
- background: var(--bg-ink-500);
+ background: var(--l1-background);
padding: 16px;
margin: 0;
@@ -238,11 +238,11 @@
border-radius: 4px;
&-active {
- background: var(--bg-robin-500);
- border-color: var(--bg-robin-500);
+ background: var(--primary-background);
+ border-color: var(--primary-background);
a {
- color: var(--bg-ink-500) !important;
+ color: var(--l1-foreground) !important;
}
}
}
@@ -265,15 +265,15 @@
padding: 2px 8px;
&.active {
- color: var(--Forest-500, #25e192);
- border: 1px solid rgba(37, 225, 146, 0.2);
- background: rgba(37, 225, 146, 0.1);
+ color: var(--bg-forest-500);
+ border: 1px solid color-mix(in srgb, var(--bg-forest-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-forest-500) 10%, transparent);
}
&.inactive {
- color: var(--Slate-50, #62687c);
- border: 1px solid rgba(98, 104, 124, 0.2);
- background: rgba(98, 104, 124, 0.1);
+ color: var(--l3-foreground);
+ border: 1px solid color-mix(in srgb, var(--bg-slate-50) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-slate-50) 10%, transparent);
}
}
@@ -345,21 +345,21 @@
.lightMode {
.infra-monitoring-container {
.ant-table-thead > tr > th {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-500);
+ background: var(--l1-background);
+ color: var(--l1-foreground);
}
.ant-table-cell {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
.hosts-list-controls {
- border-top: 1px solid var(--bg-vanilla-300);
- border-bottom: 1px solid var(--bg-vanilla-300);
+ border-top: 1px solid var(--l1-border);
+ border-bottom: 1px solid var(--l1-border);
.ant-select-selector {
- border-color: var(--bg-vanilla-300) !important;
- background-color: var(--bg-vanilla-100) !important;
- color: var(--bg-ink-200);
+ border-color: var(--l1-border) !important;
+ background-color: var(--l1-background) !important;
+ color: var(--l2-foreground);
}
}
}
@@ -367,30 +367,30 @@
.hosts-list-table {
.ant-table {
.ant-table-thead > tr > th {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
+ background: var(--l1-background);
+ color: var(--l2-foreground);
}
.ant-table-thead > tr > th:has(.hostname-column-header) {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
}
.ant-table-cell {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-500);
+ background: var(--l1-background);
+ color: var(--l1-foreground);
}
.ant-table-cell:has(.hostname-column-value),
.ant-table-cell:has(.hostname-cell-missing) {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
}
.hostname-column-value {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
.hostname-cell-placeholder {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
.ant-table-tbody > tr:hover > td {
@@ -399,15 +399,15 @@
}
.ant-pagination {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
.ant-pagination-item {
&-active {
- background: var(--bg-robin-500);
- border-color: var(--bg-robin-500);
+ background: var(--primary-background);
+ border-color: var(--primary-background);
a {
- color: var(--bg-vanilla-100) !important;
+ color: var(--l1-background) !important;
}
}
}
diff --git a/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/EntityEvents/entityEvents.styles.scss b/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/EntityEvents/entityEvents.styles.scss
index fa253f2abb..3ddb074264 100644
--- a/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/EntityEvents/entityEvents.styles.scss
+++ b/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/EntityEvents/entityEvents.styles.scss
@@ -7,8 +7,8 @@
.ant-select-selector {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400) !important;
- background-color: var(--bg-ink-300) !important;
+ border: 1px solid var(--l1-border) !important;
+ background-color: var(--l3-background) !important;
input {
font-size: 12px;
@@ -27,7 +27,7 @@
padding: 12px;
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
}
.entity-events {
@@ -46,11 +46,11 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-200);
+ background: var(--l3-background);
}
.ant-row {
@@ -71,10 +71,10 @@
font-size: 12px;
line-height: 18px;
- background: rgb(18, 19, 23);
+ background: var(--card);
border-bottom: none;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -89,24 +89,24 @@
}
.ant-table-thead > tr > th:has(.entityname-column-header) {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.ant-table-cell {
padding: 12px;
font-size: 13px;
line-height: 20px;
- color: var(--bg-vanilla-100);
- background: rgb(18, 19, 23);
+ color: var(--l1-foreground);
+ background: var(--card);
border-bottom: none;
}
.ant-table-cell:has(.entityname-column-value) {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.entityname-column-value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-style: normal;
font-weight: 600;
@@ -132,7 +132,7 @@
}
.ant-table-tbody > tr:hover > td {
- background: rgba(255, 255, 255, 0.04);
+ background: color-mix(in srgb, var(--l1-foreground) 4%, transparent);
}
.ant-table-cell:first-child {
@@ -171,7 +171,7 @@
position: fixed;
bottom: 0;
width: calc(100% - 54px);
- background: rgb(18, 19, 23);
+ background: var(--card);
padding: 16px;
margin: 0;
@@ -182,11 +182,11 @@
border-radius: 4px;
&-active {
- background: var(--bg-robin-500);
- border-color: var(--bg-robin-500);
+ background: var(--primary-background);
+ border-color: var(--primary-background);
a {
- color: var(--bg-ink-500) !important;
+ color: var(--l1-foreground) !important;
}
}
}
@@ -224,11 +224,11 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-200);
+ background: var(--l3-background);
}
.ant-row {
@@ -286,12 +286,12 @@
width: 100%;
border-radius: 0px 0px 3px 3px;
- border-top: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-300);
+ border-top: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-sizing: border-box;
.ant-btn {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 12px;
font-style: normal;
font-weight: 400;
@@ -307,19 +307,6 @@
}
}
-.lightMode {
- .filter-section {
- border-top: 1px solid var(--bg-vanilla-300);
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .ant-select-selector {
- border-color: var(--bg-vanilla-300) !important;
- background-color: var(--bg-vanilla-100) !important;
- color: var(--bg-ink-200);
- }
- }
-}
-
.periscope-btn-icon {
cursor: pointer;
}
diff --git a/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/EntityLogs/entityLogs.styles.scss b/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/EntityLogs/entityLogs.styles.scss
index b4c518a319..34f0f09458 100644
--- a/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/EntityLogs/entityLogs.styles.scss
+++ b/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/EntityLogs/entityLogs.styles.scss
@@ -6,8 +6,8 @@
.ant-select-selector {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400) !important;
- background-color: var(--bg-ink-300) !important;
+ border: 1px solid var(--l1-border) !important;
+ background-color: var(--l3-background) !important;
input {
font-size: 12px;
@@ -26,7 +26,7 @@
padding: 12px;
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
}
.entity-logs {
@@ -45,11 +45,11 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-200);
+ background: var(--l3-background);
}
.ant-row {
@@ -118,16 +118,3 @@
gap: 16px;
}
}
-
-.lightMode {
- .filter-section {
- border-top: 1px solid var(--bg-vanilla-300);
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .ant-select-selector {
- border-color: var(--bg-vanilla-300) !important;
- background-color: var(--bg-vanilla-100) !important;
- color: var(--bg-ink-200);
- }
- }
-}
diff --git a/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/EntityMetrics/entityMetrics.styles.scss b/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/EntityMetrics/entityMetrics.styles.scss
index 3af4091b60..718b516742 100644
--- a/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/EntityMetrics/entityMetrics.styles.scss
+++ b/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/EntityMetrics/entityMetrics.styles.scss
@@ -11,7 +11,7 @@
gap: 8px;
padding: 12px;
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
}
.entity-metrics-card {
@@ -19,7 +19,7 @@
height: 300px;
padding: 10px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.ant-card-body {
padding: 0;
diff --git a/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/EntityTraces/entityTraces.styles.scss b/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/EntityTraces/entityTraces.styles.scss
index 830968367c..152fbabe00 100644
--- a/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/EntityTraces/entityTraces.styles.scss
+++ b/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/EntityTraces/entityTraces.styles.scss
@@ -10,15 +10,15 @@
gap: 8px;
padding: 12px;
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.filter-section {
flex: 1;
.ant-select-selector {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400) !important;
- background-color: var(--bg-ink-300) !important;
+ border: 1px solid var(--l1-border) !important;
+ background-color: var(--l3-background) !important;
input {
font-size: 12px;
@@ -38,7 +38,7 @@
.ant-table {
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.ant-table-thead > tr > th {
padding: 12px;
@@ -46,10 +46,10 @@
font-size: 12px;
line-height: 18px;
- background: rgba(171, 189, 255, 0.01);
+ background: color-mix(in srgb, var(--bg-robin-200) 1%, transparent);
border-bottom: none;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -64,23 +64,23 @@
}
.ant-table-thead > tr > th:has(.entityname-column-header) {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.ant-table-cell {
padding: 12px;
font-size: 13px;
line-height: 20px;
- color: var(--bg-vanilla-100);
- background: rgba(171, 189, 255, 0.01);
+ color: var(--l1-foreground);
+ background: color-mix(in srgb, var(--bg-robin-200) 1%, transparent);
}
.ant-table-cell:has(.entityname-column-value) {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.entityname-column-value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-style: normal;
font-weight: 600;
@@ -106,7 +106,7 @@
}
.ant-table-tbody > tr:hover > td {
- background: rgba(255, 255, 255, 0.04);
+ background: color-mix(in srgb, var(--l1-foreground) 4%, transparent);
}
.ant-table-cell:first-child {
@@ -150,13 +150,12 @@
.lightMode {
.entity-metric-traces-header {
.filter-section {
- border-top: 1px solid var(--bg-vanilla-300);
- border-bottom: 1px solid var(--bg-vanilla-300);
+ border-top: 1px solid var(--l1-border);
+ border-bottom: 1px solid var(--l1-border);
.ant-select-selector {
- border-color: var(--bg-vanilla-300) !important;
- background-color: var(--bg-vanilla-100) !important;
- color: var(--bg-ink-200);
+ border-color: var(--l1-border) !important;
+ color: var(--l2-foreground);
}
}
}
@@ -164,28 +163,28 @@
.entity-metric-traces-table {
.ant-table {
border-radius: 3px;
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
.ant-table-thead > tr > th {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
+ background: var(--l1-foreground);
+ color: var(--l2-foreground);
}
.ant-table-thead > tr > th:has(.entityname-column-header) {
- background: var(--bg-vanilla-100);
+ background: var(--l1-foreground);
}
.ant-table-cell {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-500);
+ background: var(--l1-foreground);
+ color: var(--l1-foreground);
}
.ant-table-cell:has(.entityname-column-value) {
- background: var(--bg-vanilla-100);
+ background: var(--l1-foreground);
}
.entityname-column-value {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
.ant-table-tbody > tr:hover > td {
diff --git a/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/entityDetails.styles.scss b/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/entityDetails.styles.scss
index 1319b5f559..8455a0a8ee 100644
--- a/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/entityDetails.styles.scss
+++ b/frontend/src/container/InfraMonitoringK8s/EntityDetailsUtils/entityDetails.styles.scss
@@ -1,7 +1,7 @@
// Entity Details
.entity-detail-drawer {
- border-left: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border-left: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: -4px 10px 16px 2px rgba(0, 0, 0, 0.2);
.ant-drawer-header {
@@ -10,8 +10,8 @@
align-items: stretch;
- border-bottom: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border-bottom: 1px solid var(--l1-border);
+ background: var(--l2-background);
}
.ant-drawer-close {
@@ -25,7 +25,7 @@
}
.title {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Geist Mono';
font-size: 14px;
font-style: normal;
@@ -39,8 +39,8 @@
align-items: center;
justify-content: center;
padding-top: var(--padding-1);
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
@@ -59,7 +59,7 @@
}
.entity-details-metadata-label {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -70,7 +70,7 @@
}
.entity-details-metadata-value {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Geist Mono';
font-size: 12px;
font-style: normal;
@@ -114,7 +114,7 @@
.ant-card {
&.ant-card-bordered {
- border: 1px solid var(--bg-slate-500) !important;
+ border: 1px solid var(--l1-border) !important;
}
}
}
@@ -128,8 +128,8 @@
.action-btn {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
@@ -144,7 +144,7 @@
align-items: center;
.views-tabs {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
.view-title {
display: flex;
@@ -157,22 +157,22 @@
}
.tab {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
width: 114px;
}
.tab::before {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
.selected_view {
- background: var(--bg-slate-300);
- color: var(--text-vanilla-100);
- border: 1px solid var(--bg-slate-400);
+ background: var(--l1-border);
+ color: var(--l1-foreground);
+ border: 1px solid var(--l1-border);
}
.selected_view::before {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
}
@@ -181,8 +181,8 @@
height: 30px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
}
@@ -194,56 +194,56 @@
.lightMode {
.ant-drawer-header {
- border-bottom: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100);
+ border-bottom: 1px solid var(--l1-border);
+ background: var(--l1-foreground);
}
.entity-detail-drawer {
.title {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
.entity-detail-drawer__entity {
.ant-typography {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
background: transparent;
}
}
.radio-button {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-foreground);
+ color: var(--l2-foreground);
}
.views-tabs {
.tab {
- background: var(--bg-vanilla-100);
+ background: var(--l1-foreground);
}
.selected_view {
- background: var(--bg-vanilla-300);
- border: 1px solid var(--bg-slate-300);
- color: var(--text-ink-400);
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
}
.selected_view::before {
- background: var(--bg-vanilla-300);
- border-left: 1px solid var(--bg-slate-300);
+ background: var(--l3-background);
+ border-left: 1px solid var(--l1-border);
}
}
.compass-button {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-foreground);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
.tabs-and-search {
.action-btn {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-foreground);
+ color: var(--l2-foreground);
}
}
}
@@ -260,15 +260,15 @@
gap: 8px;
padding: 12px;
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.filter-section {
flex: 1;
.ant-select-selector {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400) !important;
- background-color: var(--bg-ink-300) !important;
+ border: 1px solid var(--l1-border) !important;
+ background-color: var(--l3-background) !important;
input {
font-size: 12px;
@@ -288,7 +288,7 @@
.ant-table {
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.ant-table-thead > tr > th {
padding: 12px;
@@ -296,10 +296,10 @@
font-size: 12px;
line-height: 18px;
- background: rgba(171, 189, 255, 0.01);
+ background: color-mix(in srgb, var(--bg-robin-200) 1%, transparent);
border-bottom: none;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -314,23 +314,23 @@
}
.ant-table-thead > tr > th:has(.entityname-column-header) {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.ant-table-cell {
padding: 12px;
font-size: 13px;
line-height: 20px;
- color: var(--bg-vanilla-100);
- background: rgba(171, 189, 255, 0.01);
+ color: var(--l1-foreground);
+ background: color-mix(in srgb, var(--bg-robin-200) 1%, transparent);
}
.ant-table-cell:has(.entityname-column-value) {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.entityname-column-value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-style: normal;
font-weight: 600;
@@ -356,7 +356,7 @@
}
.ant-table-tbody > tr:hover > td {
- background: rgba(255, 255, 255, 0.04);
+ background: color-mix(in srgb, var(--l1-foreground) 4%, transparent);
}
.ant-table-cell:first-child {
@@ -400,13 +400,12 @@
.lightMode {
.entity-metric-traces-header {
.filter-section {
- border-top: 1px solid var(--bg-vanilla-300);
- border-bottom: 1px solid var(--bg-vanilla-300);
+ border-top: 1px solid var(--l1-border);
+ border-bottom: 1px solid var(--l1-border);
.ant-select-selector {
- border-color: var(--bg-vanilla-300) !important;
- background-color: var(--bg-vanilla-100) !important;
- color: var(--bg-ink-200);
+ border-color: var(--l1-border) !important;
+ color: var(--l2-foreground);
}
}
}
@@ -414,28 +413,28 @@
.entity-metric-traces-table {
.ant-table {
border-radius: 3px;
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
.ant-table-thead > tr > th {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
+ background: var(--l1-foreground);
+ color: var(--l2-foreground);
}
.ant-table-thead > tr > th:has(.entityname-column-header) {
- background: var(--bg-vanilla-100);
+ background: var(--l1-foreground);
}
.ant-table-cell {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-500);
+ background: var(--l1-foreground);
+ color: var(--l1-foreground);
}
.ant-table-cell:has(.entityname-column-value) {
- background: var(--bg-vanilla-100);
+ background: var(--l1-foreground);
}
.entityname-column-value {
- color: var(--bg-ink-300);
+ color: var(--l3-background);
}
.ant-table-tbody > tr:hover > td {
@@ -453,8 +452,8 @@
.ant-select-selector {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400) !important;
- background-color: var(--bg-ink-300) !important;
+ border: 1px solid var(--l1-border) !important;
+ background-color: var(--l3-background) !important;
input {
font-size: 12px;
@@ -473,7 +472,7 @@
padding: 12px;
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
}
.entity-metrics-logs {
@@ -492,11 +491,11 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-200);
+ background: var(--l3-background);
}
.ant-row {
@@ -565,16 +564,3 @@
gap: 16px;
}
}
-
-.lightMode {
- .filter-section {
- border-top: 1px solid var(--bg-vanilla-300);
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .ant-select-selector {
- border-color: var(--bg-vanilla-300) !important;
- background-color: var(--bg-vanilla-100) !important;
- color: var(--bg-ink-200);
- }
- }
-}
diff --git a/frontend/src/container/InfraMonitoringK8s/InfraMonitoringK8s.styles.scss b/frontend/src/container/InfraMonitoringK8s/InfraMonitoringK8s.styles.scss
index 4cd55323d5..cf26913e69 100644
--- a/frontend/src/container/InfraMonitoringK8s/InfraMonitoringK8s.styles.scss
+++ b/frontend/src/container/InfraMonitoringK8s/InfraMonitoringK8s.styles.scss
@@ -7,12 +7,12 @@
.k8s-quick-filters-container {
width: 280px;
min-width: 280px;
- border-right: 1px solid var(--bg-slate-400);
+ border-right: 1px solid var(--l1-border);
overflow-y: auto;
.k8s-quick-filters-container-header {
padding: 8px;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
display: flex;
align-items: center;
@@ -29,15 +29,15 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-ink-200);
+ background: var(--l2-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-ink-100);
+ background: var(--l3-background);
}
.ant-collapse-header {
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
padding: 12px 8px;
}
@@ -66,11 +66,11 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-200);
+ background: var(--l3-background);
}
}
@@ -108,7 +108,7 @@
&:hover {
background: transparent;
- color: var(--bg-robin-500) !important;
+ color: var(--accent-primary) !important;
font-weight: 500;
}
}
@@ -181,8 +181,8 @@
border-radius: 2px;
font-size: 12px;
font-weight: 400;
- background: var(--bg-slate-400);
- color: var(--bg-vanilla-400);
+ background: var(--l1-border);
+ color: var(--l2-foreground);
max-width: 100%;
overflow: hidden;
@@ -213,7 +213,7 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-robin-500);
+ background: var(--primary-background);
}
&::-webkit-scrollbar-thumb:hover {
@@ -233,8 +233,8 @@
.ant-select-selector {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400) !important;
- background-color: var(--bg-ink-300) !important;
+ border: 1px solid var(--l1-border) !important;
+ background-color: var(--l3-background) !important;
input {
font-size: 12px;
@@ -274,7 +274,7 @@
letter-spacing: -0.07px;
border-radius: 2px 0px 0px 2px;
- border: 1px solid var(--bg-slate-400, #1d212d);
+ border: 1px solid var(--l1-border);
border-right: none;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
@@ -345,10 +345,10 @@
font-size: 12px;
line-height: 18px;
- background: var(--bg-ink-500);
+ background: var(--l1-background);
border-bottom: none;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -363,24 +363,24 @@
}
.ant-table-thead > tr > th:has(.hostname-column-header) {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.ant-table-cell {
padding: 12px;
font-size: 13px;
line-height: 20px;
- color: var(--bg-vanilla-100);
- background: var(--bg-ink-500);
+ color: var(--l1-foreground);
+ background: var(--l1-background);
border-bottom: none;
}
.ant-table-cell:has(.hostname-column-value) {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.hostname-column-value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-style: normal;
font-weight: 600;
@@ -406,7 +406,7 @@
}
.ant-table-tbody > tr:hover > td {
- background: rgba(255, 255, 255, 0.04);
+ background: color-mix(in srgb, var(--l1-foreground) 4%, transparent);
}
.ant-table-cell:first-child {
@@ -443,7 +443,7 @@
position: fixed;
bottom: 0;
width: calc(100% - 54px);
- background: var(--bg-ink-500);
+ background: var(--l1-background);
padding: 16px;
margin: 0;
@@ -454,11 +454,11 @@
border-radius: 4px;
&-active {
- background: var(--bg-robin-500);
+ background: var(--primary-background);
border-color: var(--bg-robin-500);
a {
- color: var(--bg-ink-500) !important;
+ color: var(--l1-foreground) !important;
}
}
}
@@ -466,11 +466,11 @@
.ant-table-expanded-row {
&:hover {
- background: var(--bg-ink-500);
+ background: var(--l1-background);
}
.ant-table-cell {
- background: var(--bg-ink-500) !important;
+ background: var(--l1-background) !important;
}
.ant-table .ant-table-thead > tr > th {
@@ -479,7 +479,7 @@
}
.expanded-table-container {
- border: 1px solid var(--bg-ink-400);
+ border: 1px solid var(--l2-background);
overflow-x: auto;
padding-left: 48px;
@@ -493,22 +493,22 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-ink-200);
+ background: var(--l2-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-ink-100);
+ background: var(--l3-background);
}
.ant-table-expanded-row {
- background: var(--bg-ink-500);
+ background: var(--l1-background);
&:hover {
- background: var(--bg-ink-500);
+ background: var(--l1-background);
}
.ant-table-cell {
- background: var(--bg-ink-500);
+ background: var(--l1-background);
}
}
@@ -530,7 +530,7 @@
.view-all-text {
font-size: 10px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
}
@@ -560,15 +560,15 @@
padding: 2px 8px;
&.active {
- color: var(--Forest-500, #25e192);
- border: 1px solid rgba(37, 225, 146, 0.2);
- background: rgba(37, 225, 146, 0.1);
+ color: var(--bg-forest-500);
+ border: 1px solid color-mix(in srgb, var(--bg-forest-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-forest-500) 10%, transparent);
}
&.inactive {
- color: var(--Slate-50, #62687c);
- border: 1px solid rgba(98, 104, 124, 0.2);
- background: rgba(98, 104, 124, 0.1);
+ color: var(--l3-foreground);
+ border: 1px solid color-mix(in srgb, var(--bg-slate-50) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-slate-50) 10%, transparent);
}
}
@@ -637,21 +637,21 @@
.lightMode {
.infra-monitoring-container {
.ant-table-thead > tr > th {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-500);
+ background: var(--l1-background);
+ color: var(--l1-foreground);
}
.ant-table-cell {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
.k8s-list-controls {
- border-top: 1px solid var(--bg-vanilla-300);
- border-bottom: 1px solid var(--bg-vanilla-300);
+ border-top: 1px solid var(--l1-border);
+ border-bottom: 1px solid var(--l1-border);
.ant-select-selector {
- border-color: var(--bg-vanilla-300) !important;
- background-color: var(--bg-vanilla-100) !important;
- color: var(--bg-ink-200);
+ border-color: var(--l1-border) !important;
+ background-color: var(--l1-background) !important;
+ color: var(--l2-foreground);
}
}
}
@@ -659,25 +659,25 @@
.k8s-list-table {
.ant-table {
.ant-table-thead > tr > th {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
+ background: var(--l1-background);
+ color: var(--l2-foreground);
}
.ant-table-thead > tr > th:has(.hostname-column-header) {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
}
.ant-table-cell {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-500);
+ background: var(--l1-background);
+ color: var(--l1-foreground);
}
.ant-table-cell:has(.hostname-column-value) {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
}
.hostname-column-value {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
.ant-table-tbody > tr:hover > td {
@@ -686,15 +686,15 @@
}
.ant-pagination {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
.ant-pagination-item {
&-active {
- background: var(--bg-robin-500);
+ background: var(--primary-background);
border-color: var(--bg-robin-500);
a {
- color: var(--bg-vanilla-100) !important;
+ color: var(--l1-background) !important;
}
}
}
@@ -742,7 +742,7 @@
.event-content-container {
.ant-table {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
.ant-table-row:hover {
.ant-table-cell {
@@ -760,7 +760,7 @@
}
.ant-table-cell {
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
}
.attribute-name {
@@ -789,14 +789,14 @@
border: none;
&.pinned svg {
- fill: var(--bg-robin-500);
+ fill: var(--accent-primary);
}
}
}
}
.value-field-container {
- background: rgba(22, 25, 34, 0.4);
+ background: color-mix(in srgb, var(--l1-border) 40%, transparent);
.value-field {
font-family: 'Geist Mono';
@@ -817,7 +817,7 @@
border: none;
box-shadow: none;
border-radius: 2px;
- background: var(--bg-slate-400);
+ background: var(--l1-border);
padding: 2px 3px;
gap: 3px;
height: 18px;
@@ -833,11 +833,11 @@
.k8s-list-table {
.ant-table-expanded-row {
&:hover {
- background: var(--bg-vanilla-100) !important;
+ background: var(--l1-background) !important;
}
.ant-table-cell {
- background: var(--bg-vanilla-100) !important;
+ background: var(--l1-background) !important;
}
.ant-table .ant-table-thead > tr > th {
@@ -849,23 +849,23 @@
.event-content-container {
.ant-table {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
}
.ant-table-cell {
- border: 1px solid var(--bg-vanilla-200);
+ border: 1px solid var(--l1-border);
}
.value-field-container {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
&.attribute-pin {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
}
.action-btn {
.filter-btn {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
}
}
@@ -873,8 +873,8 @@
.entity-group-header {
.ant-tag {
- background-color: var(--bg-vanilla-300) !important;
- color: var(--bg-slate-400) !important;
+ background-color: var(--l3-background) !important;
+ color: var(--muted-foreground) !important;
}
}
}
diff --git a/frontend/src/container/InfraMonitoringK8s/K8sFiltersSidePanel/K8sFiltersSidePanel.styles.scss b/frontend/src/container/InfraMonitoringK8s/K8sFiltersSidePanel/K8sFiltersSidePanel.styles.scss
index c09867d0ed..8607360c2e 100644
--- a/frontend/src/container/InfraMonitoringK8s/K8sFiltersSidePanel/K8sFiltersSidePanel.styles.scss
+++ b/frontend/src/container/InfraMonitoringK8s/K8sFiltersSidePanel/K8sFiltersSidePanel.styles.scss
@@ -10,8 +10,8 @@
.k8s-filters-side-panel {
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: -4px 10px 16px 2px rgba(0, 0, 0, 0.2);
height: 88vh;
@@ -40,7 +40,7 @@
height: calc(100% - 40px);
.k8s-filters-side-panel-body-header {
- border: 1px solid var(--bg-ink-300);
+ border: 1px solid var(--l3-background);
border-left: none;
border-right: none;
@@ -58,7 +58,7 @@
padding: 8px;
.filter-columns-title {
- color: var(--text-slate-50);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -79,7 +79,7 @@
.added-column-item,
.available-column-item {
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -107,20 +107,8 @@
}
.horizontal-divider {
- border-top: 1px solid var(--bg-ink-300);
+ border-top: 1px solid var(--l3-background);
}
}
}
}
-
-.lightMode {
- .k8s-filters-side-panel {
- background-color: var(--bg-vanilla-100) !important;
- color: var(--text-slate-400) !important;
-
- .added-column-item,
- .available-column-item {
- color: var(--text-slate-400) !important;
- }
- }
-}
diff --git a/frontend/src/container/InfraMonitoringK8s/Namespaces/NamespaceDetails/NamespaceDetails.styles.scss b/frontend/src/container/InfraMonitoringK8s/Namespaces/NamespaceDetails/NamespaceDetails.styles.scss
index 4df6ba56ec..430428be59 100644
--- a/frontend/src/container/InfraMonitoringK8s/Namespaces/NamespaceDetails/NamespaceDetails.styles.scss
+++ b/frontend/src/container/InfraMonitoringK8s/Namespaces/NamespaceDetails/NamespaceDetails.styles.scss
@@ -1,6 +1,6 @@
.namespace-detail-drawer {
- border-left: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border-left: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: -4px 10px 16px 2px rgba(0, 0, 0, 0.2);
.ant-drawer-header {
@@ -9,8 +9,8 @@
align-items: stretch;
- border-bottom: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border-bottom: 1px solid var(--l1-border);
+ background: var(--l2-background);
}
.ant-drawer-close {
@@ -24,7 +24,7 @@
}
.title {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Geist Mono';
font-size: 14px;
font-style: normal;
@@ -38,8 +38,8 @@
align-items: center;
justify-content: center;
padding-top: var(--padding-1);
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
@@ -58,7 +58,7 @@
}
.namespace-details-metadata-label {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -69,7 +69,7 @@
}
.namespace-details-metadata-value {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Geist Mono';
font-size: 12px;
font-style: normal;
@@ -113,7 +113,7 @@
.ant-card {
&.ant-card-bordered {
- border: 1px solid var(--bg-slate-500) !important;
+ border: 1px solid var(--l1-border) !important;
}
}
}
@@ -127,8 +127,8 @@
.action-btn {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
@@ -143,7 +143,7 @@
align-items: center;
.views-tabs {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
.view-title {
display: flex;
@@ -156,22 +156,22 @@
}
.tab {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
width: 114px;
}
.tab::before {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
.selected_view {
- background: var(--bg-slate-300);
- color: var(--text-vanilla-100);
- border: 1px solid var(--bg-slate-400);
+ background: var(--l1-border);
+ color: var(--l1-foreground);
+ border: 1px solid var(--l1-border);
}
.selected_view::before {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
}
@@ -180,8 +180,8 @@
height: 30px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
}
@@ -193,56 +193,56 @@
.lightMode {
.ant-drawer-header {
- border-bottom: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100);
+ border-bottom: 1px solid var(--l1-border);
+ background: var(--l1-background);
}
.namespace-detail-drawer {
.title {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
.namespace-detail-drawer__namespace {
.ant-typography {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
background: transparent;
}
}
.radio-button {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
+ color: var(--l2-foreground);
}
.views-tabs {
.tab {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
}
.selected_view {
- background: var(--bg-vanilla-300);
- border: 1px solid var(--bg-slate-300);
- color: var(--text-ink-400);
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
}
.selected_view::before {
- background: var(--bg-vanilla-300);
- border-left: 1px solid var(--bg-slate-300);
+ background: var(--l3-background);
+ border-left: 1px solid var(--l1-border);
}
}
.compass-button {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
.tabs-and-search {
.action-btn {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/container/IngestionSettings/IngestionSettings.styles.scss b/frontend/src/container/IngestionSettings/IngestionSettings.styles.scss
index c6ad25ecd9..bfd5658e2b 100644
--- a/frontend/src/container/IngestionSettings/IngestionSettings.styles.scss
+++ b/frontend/src/container/IngestionSettings/IngestionSettings.styles.scss
@@ -13,7 +13,7 @@
max-width: 736px;
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: var(--font-size-lg);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -28,7 +28,7 @@
}
.subtitle {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -55,14 +55,14 @@
.ant-table-cell {
padding: 0;
border: none;
- background: var(--bg-ink-500);
+ background: var(--l1-background);
}
.column-render {
margin: 8px 0 !important;
border-radius: 6px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.title-with-action {
display: flex;
@@ -82,7 +82,7 @@
gap: 6px;
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-medium);
@@ -99,10 +99,10 @@
border-radius: 20px;
padding: 0px 12px;
- background: var(--bg-ink-200);
+ background: var(--l3-background);
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-xs);
font-family: 'Space Mono', monospace;
font-style: normal;
@@ -125,8 +125,8 @@
}
.visibility-btn {
- border: 1px solid rgba(113, 144, 249, 0.2);
- background: rgba(113, 144, 249, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-robin-400) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-robin-400) 10%, transparent);
}
}
@@ -138,11 +138,11 @@
display: flex;
align-items: center;
- background-color: #121317;
+ background-color: var(--card);
}
.ant-collapse-content {
- border-top: 1px solid var(--bg-slate-500);
+ border-top: 1px solid var(--l1-border);
}
.ant-collapse-item {
@@ -159,20 +159,20 @@
align-items: center;
justify-content: space-between;
gap: 8px;
- border-top: 1px solid var(--bg-slate-500);
+ border-top: 1px solid var(--l1-border);
padding: 8px;
.ingestion-key-tag {
width: 14px;
height: 14px;
border-radius: 50px;
- background: var(--bg-slate-300);
+ background: var(--l1-border);
display: flex;
justify-content: center;
align-items: center;
.tag-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
leading-trim: both;
text-edge: cap;
font-size: 10px;
@@ -193,7 +193,7 @@
gap: 8px;
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -249,7 +249,7 @@
align-items: center;
> a {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on, 'case' on, 'cpsp' on;
font-size: var(--font-size-sm);
@@ -261,10 +261,10 @@
}
.ant-pagination-item-active {
- background-color: var(--bg-robin-500);
+ background-color: var(--primary-background);
> a {
- color: var(--bg-ink-500) !important;
+ color: var(--foreground) !important;
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-medium);
@@ -297,7 +297,7 @@
gap: 12px;
border-radius: 20px;
padding: 0px 12px;
- background: var(--bg-ink-200);
+ background: var(--l3-background);
font-family: 'Space Mono', monospace;
}
@@ -316,7 +316,7 @@
.limits-data {
padding: 16px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
.signals {
.signal {
@@ -339,7 +339,7 @@
font-weight: 500;
text-transform: uppercase;
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
}
.signal-limit-values {
@@ -445,14 +445,14 @@
.ingestion-key-modal {
.ant-modal-content {
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
padding: 0;
.ant-modal-header {
background: none;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
padding: 16px;
}
@@ -482,30 +482,30 @@
text-transform: capitalize;
&.ant-radio-button-wrapper-checked {
- color: #fff;
- background: var(--bg-slate-400, #1d212d);
- border-color: var(--bg-slate-400, #1d212d);
+ color: var(--l1-foreground);
+ background: var(--l1-border);
+ border-color: var(--l1-border);
&:hover {
- color: #fff;
- background: var(--bg-slate-400, #1d212d);
- border-color: var(--bg-slate-400, #1d212d);
+ color: var(--l1-foreground);
+ background: var(--l1-border);
+ border-color: var(--l1-border);
&::before {
- background-color: var(--bg-slate-400, #1d212d);
+ background-color: var(--l1-border);
}
}
&:focus {
- color: #fff;
- background: var(--bg-slate-400, #1d212d);
- border-color: var(--bg-slate-400, #1d212d);
+ color: var(--l1-foreground);
+ background: var(--l1-border);
+ border-color: var(--l1-border);
}
}
}
.tab {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
flex: 1;
@@ -513,11 +513,11 @@
justify-content: center;
&::before {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
&.selected {
- background: var(--bg-slate-400, #1d212d);
+ background: var(--l1-border);
}
}
@@ -536,20 +536,20 @@
.ant-modal-content {
padding: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
.ant-modal-header {
padding: 16px;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.ant-modal-body {
padding: 0px 16px 28px 16px;
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -566,8 +566,8 @@
.ant-color-picker-trigger {
padding: 6px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
width: 32px;
height: 32px;
@@ -597,7 +597,7 @@
align-items: center;
border: none;
border-radius: 2px;
- background: var(--bg-slate-500);
+ background: var(--l1-border);
}
.delete-btn {
@@ -610,14 +610,14 @@
}
.delete-btn:hover {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
background: var(--bg-cherry-600);
}
}
}
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-medium);
@@ -628,13 +628,13 @@
.expires-at {
.ant-picker {
- border-color: var(--bg-slate-400) !important;
+ border-color: var(--l1-border) !important;
}
}
.expiration-selector {
.ant-select-selector {
- border: 1px solid var(--bg-slate-400) !important;
+ border: 1px solid var(--l1-border) !important;
}
}
@@ -650,7 +650,7 @@
gap: 12px;
border-radius: 20px;
padding: 0px 12px;
- background: var(--bg-ink-200, #23262e);
+ background: var(--l3-background);
.copy-key-btn {
cursor: pointer;
@@ -665,7 +665,7 @@
.ingestion-key-details-meta {
padding: 14px 16px;
border-radius: 3px;
- border: 1px solid var(--Slate-500, #161922);
+ border: 1px solid var(--l1-border);
}
#edit-ingestion-key-form {
@@ -682,8 +682,8 @@
margin: 16px 0;
border-radius: 4px;
- background: rgba(113, 144, 249, 0.1);
- color: var(--Robin-300, #95acfb);
+ background: color-mix(in srgb, var(--bg-robin-400) 10%, transparent);
+ color: var(--bg-robin-300);
font-size: 13px;
font-style: normal;
font-weight: 400;
@@ -704,12 +704,12 @@
.ingestion-details-edit-drawer {
.ant-drawer-header {
- border-bottom: 1px solid var(--Slate-500, #161922);
+ border-bottom: 1px solid var(--l1-border);
padding: 8px;
}
.ant-drawer-footer {
- border-top: 1px solid var(--Slate-500, #161922);
+ border-top: 1px solid var(--l1-border);
padding: 8px;
}
}
@@ -718,7 +718,7 @@
margin-top: 48px;
padding: 16px;
border-radius: 3px;
- border: 1px solid var(--Slate-500, #161922);
+ border: 1px solid var(--l1-border);
.ant-tabs {
.ant-tabs-nav {
@@ -729,10 +729,10 @@
}
.ant-tabs-nav-list {
- background: #121317;
+ background: var(--card);
border-radius: 2px;
- border: 1px solid var(--Slate-400, #1d212d);
- background: var(--Ink-400, #121317);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
.ant-tabs-tab {
@@ -741,7 +741,7 @@
justify-content: center;
align-items: center;
margin: 0px;
- border-right: 1px solid #1d212d;
+ border-right: 1px solid var(--l1-border);
&.ant-tabs-tab-active {
border-bottom: 0px;
@@ -760,8 +760,8 @@
.ingestion-key-expires-at {
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
}
@@ -769,48 +769,48 @@
.ingestion-key-container {
.ingestion-key-content {
.title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
.ant-table-row {
.ant-table-cell {
- background: var(--bg-vanilla-200);
+ background: var(--l1-background);
}
&:hover {
.ant-table-cell {
- background: var(--bg-vanilla-200) !important;
+ background: var(--l1-background) !important;
}
}
.column-render {
- border: 1px solid var(--bg-vanilla-200);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
.ant-collapse {
border: none;
.ant-collapse-header {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
}
.ant-collapse-content {
- border-top: 1px solid var(--bg-vanilla-300);
+ border-top: 1px solid var(--l1-border);
}
}
.title-with-action {
.ingestion-key-title {
.ant-typography {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
.ingestion-key-value {
- background: var(--bg-vanilla-200);
+ background: var(--l3-background);
.ant-typography {
- color: var(--bg-slate-400);
+ color: var(--l2-foreground);
}
.copy-key-btn {
@@ -820,29 +820,29 @@
.action-btn {
.ant-typography {
- color: var(--bg-ink-500);
+ color: var(--l2-foreground);
}
}
}
.ingestion-key-details {
- border-top: 1px solid var(--bg-vanilla-200);
+ border-top: 1px solid var(--l1-border);
.ingestion-key-tag {
- background: var(--bg-vanilla-200);
+ background: var(--l3-background);
.tag-text {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
.ingestion-key-created-by {
- color: var(--bg-ink-500);
+ color: var(--l2-foreground);
}
.ingestion-key-last-used-at {
.ant-typography {
- color: var(--bg-ink-500);
+ color: var(--l2-foreground);
}
}
}
@@ -853,34 +853,34 @@
.delete-ingestion-key-modal {
.ant-modal-content {
- border: 1px solid var(--bg-vanilla-200);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
.ant-modal-header {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
.title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
.ant-modal-body {
.ant-typography {
- color: var(--bg-ink-500);
+ color: var(--l2-foreground);
}
.ingestion-key-input {
.ant-input {
- background: var(--bg-vanilla-200);
- color: var(--bg-ink-500);
+ background: var(--l3-background);
+ color: var(--l1-foreground);
}
}
}
.ant-modal-footer {
.cancel-btn {
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ background: var(--l3-background);
+ color: var(--l1-foreground);
}
}
}
@@ -888,25 +888,25 @@
.ingestion-key-info-container {
.user-email {
- background: var(--bg-vanilla-200);
+ background: var(--l3-background);
}
.limits-data {
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
}
}
.ingestion-key-modal {
.ant-modal-content {
border-radius: 4px;
- border: 1px solid var(--bg-vanilla-200);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
padding: 0;
.ant-modal-header {
background: none;
- border-bottom: 1px solid var(--bg-vanilla-200);
+ border-bottom: 1px solid var(--l1-border);
padding: 16px;
}
}
@@ -915,53 +915,53 @@
.ingestion-key-access-role {
.ant-radio-button-wrapper {
&.ant-radio-button-wrapper-checked {
- color: var(--bg-ink-400);
- background: var(--bg-vanilla-300);
- border-color: var(--bg-vanilla-300);
+ color: var(--l1-foreground);
+ background: var(--l3-background);
+ border-color: var(--l1-border);
&:hover {
- color: var(--bg-ink-400);
- background: var(--bg-vanilla-300);
- border-color: var(--bg-vanilla-300);
+ color: var(--l1-foreground);
+ background: var(--l3-background);
+ border-color: var(--l1-border);
&::before {
- background-color: var(--bg-vanilla-300);
+ background-color: var(--l3-background);
}
}
&:focus {
- color: var(--bg-ink-400);
- background: var(--bg-vanilla-300);
- border-color: var(--bg-vanilla-300);
+ color: var(--l1-foreground);
+ background: var(--l3-background);
+ border-color: var(--l1-border);
}
}
}
.tab {
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
&::before {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
&.selected {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
}
}
.copyable-text {
- background: var(--bg-vanilla-200);
+ background: var(--l3-background);
}
.ingestion-key-expires-at {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-200);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
}
.expires-at .ant-picker {
- border-color: var(--bg-vanilla-300) !important;
+ border-color: var(--l1-border) !important;
}
}
@@ -988,8 +988,8 @@
margin-top: 12px;
padding: 12px;
border-radius: 4px;
- background: rgba(113, 144, 249, 0.1);
- color: var(--bg-robin-300, #95acfb);
+ background: color-mix(in srgb, var(--bg-robin-400) 10%, transparent);
+ color: var(--bg-robin-300);
.ingestion-key-url-container {
display: flex;
@@ -1001,7 +1001,7 @@
.ingestion-key-url-label {
font-size: 13px;
font-weight: 500;
- color: var(--bg-robin-300, #95acfb);
+ color: var(--bg-robin-300);
}
.ingestion-key-url-value {
@@ -1010,7 +1010,7 @@
align-items: center;
font-size: 13px;
font-weight: 500;
- color: var(--bg-robin-300, #95acfb);
+ color: var(--bg-robin-300);
.copy-key-btn {
cursor: pointer;
@@ -1027,7 +1027,7 @@
.ingestion-data-region-label {
font-size: 13px;
font-weight: 500;
- color: var(--bg-robin-300, #95acfb);
+ color: var(--bg-robin-300);
}
.ingestion-data-region-value {
@@ -1036,10 +1036,10 @@
align-items: center;
font-size: 13px;
font-weight: 500;
- color: var(--bg-robin-300, #95acfb);
+ color: var(--bg-robin-300);
.ingestion-data-region-value-text {
- color: var(--bg-robin-300, #95acfb);
+ color: var(--bg-robin-300);
}
.copy-key-btn {
@@ -1054,7 +1054,7 @@
align-items: center;
text-decoration: underline;
- color: var(--bg-robin-300, #95acfb);
+ color: var(--bg-robin-300);
}
}
@@ -1074,17 +1074,17 @@
.ingestion-url-error-message {
font-size: 12px;
font-weight: 400;
- color: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
}
}
.lightMode {
.ingestion-setup-details-links {
- background: rgba(113, 144, 249, 0.1);
- color: var(--bg-robin-500);
+ background: color-mix(in srgb, var(--primary-background) 10%, transparent);
+ color: var(--accent-primary);
.learn-more {
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
}
}
@@ -1096,7 +1096,7 @@
}
.ingestion-url-error-message {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
}
diff --git a/frontend/src/container/IngestionSettings/MultiIngestionSettings.tsx b/frontend/src/container/IngestionSettings/MultiIngestionSettings.tsx
index c7bb7b8882..cf00ebbdc0 100644
--- a/frontend/src/container/IngestionSettings/MultiIngestionSettings.tsx
+++ b/frontend/src/container/IngestionSettings/MultiIngestionSettings.tsx
@@ -1665,6 +1665,7 @@ function MultiIngestionSettings(): JSX.Element {
`${range[0]}-${range[1]} of ${total} Ingestion keys`,
total: totalIngestionKeys,
}}
+ className="ingestion-keys-table"
/>
</div>
diff --git a/frontend/src/container/Licenses/Licenses.styles.scss b/frontend/src/container/Licenses/Licenses.styles.scss
index 05d4723e1d..dc66ead46a 100644
--- a/frontend/src/container/Licenses/Licenses.styles.scss
+++ b/frontend/src/container/Licenses/Licenses.styles.scss
@@ -3,12 +3,12 @@
overflow: hidden;
.licenses-page-header {
- border-bottom: 1px solid var(--Slate-500, #161922);
- background: rgba(11, 12, 14, 0.7);
+ border-bottom: 1px solid var(--l1-border);
+ background: color-mix(in srgb, var(--background) 70%, transparent);
backdrop-filter: blur(20px);
.licenses-page-header-title {
- color: var(--Vanilla-100, #fff);
+ color: var(--l1-foreground);
text-align: center;
font-family: Inter;
font-size: 13px;
@@ -31,7 +31,7 @@
.licenses-page-content {
flex: 1;
height: calc(100vh - 48px);
- background: var(--Ink-500, #0b0c0e);
+ background: var(--l1-background);
padding: 10px 8px;
overflow-y: auto;
@@ -45,11 +45,11 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-200);
+ background: var(--l3-background);
}
}
}
@@ -58,32 +58,32 @@
.lightMode {
.licenses-page {
.licenses-page-header {
- border-bottom: 1px solid var(--bg-vanilla-300);
- background: #fff;
+ border-bottom: 1px solid var(--l1-border);
+ background: var(--card);
backdrop-filter: blur(20px);
.licenses-page-header-title {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
- background: var(--bg-vanilla-100);
- border-right: 1px solid var(--bg-vanilla-300);
+ background: var(--l1-background);
+ border-right: 1px solid var(--l1-border);
}
}
.licenses-page-content-container {
.licenses-page-content {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
&::-webkit-scrollbar-track {
background: transparent;
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-200);
+ background: var(--l3-background);
}
}
}
diff --git a/frontend/src/container/ListAlertRules/AlertsEmptyState/AlertsEmptyState.styles.scss b/frontend/src/container/ListAlertRules/AlertsEmptyState/AlertsEmptyState.styles.scss
index c852b5833b..f2f80ae58b 100644
--- a/frontend/src/container/ListAlertRules/AlertsEmptyState/AlertsEmptyState.styles.scss
+++ b/frontend/src/container/ListAlertRules/AlertsEmptyState/AlertsEmptyState.styles.scss
@@ -11,7 +11,7 @@
.alert-list-title-container {
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: var(--font-size-lg);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -20,7 +20,7 @@
}
.subtitle {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -35,7 +35,7 @@
justify-content: center;
align-items: center;
border-radius: 6px;
- border: 1px dashed var(--bg-slate-500);
+ border: 1px dashed var(--l1-border);
margin-top: 16px;
.alert-content {
@@ -54,7 +54,7 @@
}
.empty-alert-action {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -64,7 +64,7 @@
}
.empty-info {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -96,13 +96,13 @@
.ant-divider::before,
.ant-divider::after {
- border-bottom: 2px dotted var(--bg-slate-300);
- border-top: 2px dotted var(--bg-slate-300);
+ border-bottom: 2px dotted var(--l1-border);
+ border-top: 2px dotted var(--l1-border);
height: 8px;
}
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -121,8 +121,8 @@
align-items: center;
border-radius: 6px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
margin-bottom: 16px;
&:hover {
@@ -135,7 +135,7 @@
flex-direction: column;
.alert-card-text-header {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -145,7 +145,7 @@
}
.alert-card-text-subheader {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -178,67 +178,6 @@
}
.lightMode {
- .alert-list-container {
- .alert-list-view-content {
- .alert-list-title-container {
- .title {
- color: var(--bg-slate-400);
- }
-
- .subtitle {
- color: var(--bg-slate-100);
- }
- }
-
- .empty-alert-info-container {
- border: 1px dashed var(--bg-vanilla-400);
-
- .alert-content {
- .heading {
- .icons {
- color: white;
- }
-
- .empty-alert-action {
- color: var(--bg-slate-100);
- }
-
- .empty-info {
- color: var(--bg-slate-400);
- }
- }
- }
- }
-
- .get-started-text {
- .ant-divider::before,
- .ant-divider::after {
- border-bottom: 2px dotted var(--bg-vanilla-400);
- border-top: 2px dotted var(--bg-vanilla-400);
- }
-
- .ant-typography {
- color: var(--bg-slate-100);
- }
- }
-
- .alert-info-card {
- border: 1px solid var(--bg-vanilla-200);
- background: var(--bg-vanilla-100);
-
- .alert-card-text {
- .alert-card-text-header {
- color: var(--bg-slate-400);
- }
-
- .alert-card-text-subheader {
- color: var(--bg-slate-100);
- }
- }
- }
- }
- }
-
.info-text {
color: var(--bg-robin-600) !important;
}
diff --git a/frontend/src/container/ListOfDashboard/DashboardList.styles.scss b/frontend/src/container/ListOfDashboard/DashboardList.styles.scss
index 5f09653b60..9c00957fee 100644
--- a/frontend/src/container/ListOfDashboard/DashboardList.styles.scss
+++ b/frontend/src/container/ListOfDashboard/DashboardList.styles.scss
@@ -22,7 +22,7 @@
.dashboards-list-title-container {
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: var(--font-size-lg);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -31,7 +31,7 @@
}
.subtitle {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -44,18 +44,18 @@
.ant-table-cell {
padding: 0;
border: none;
- background: var(--bg-ink-500);
+ background: var(--l1-background);
}
.dashboard-list-item {
padding: 12px 16px 16px 16px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
border-top: none;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
cursor: pointer;
.dashboard-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
.title-with-action {
@@ -93,7 +93,7 @@
}
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-medium);
@@ -107,7 +107,7 @@
}
.ant-typography {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-medium);
@@ -147,8 +147,9 @@
gap: 4px;
height: 28px;
border-radius: 20px;
- border: 1px solid rgba(173, 127, 88, 0.2);
- background: rgba(173, 127, 88, 0.1);
+ border: 1px solid
+ color-mix(in srgb, var(--bg-sienna-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-sienna-500) 10%, transparent);
color: var(--bg-sienna-400);
text-align: center;
font-family: Inter;
@@ -178,13 +179,13 @@
width: 14px;
height: 14px;
border-radius: 50px;
- background: var(--bg-slate-300);
+ background: var(--l1-border);
display: flex;
justify-content: center;
align-items: center;
.tag-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
leading-trim: both;
text-edge: cap;
font-size: 8px;
@@ -203,13 +204,13 @@
width: 14px;
height: 14px;
border-radius: 50px;
- background: var(--bg-slate-300);
+ background: var(--l1-border);
display: flex;
justify-content: center;
align-items: center;
.tag-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
leading-trim: both;
text-edge: cap;
font-size: 8px;
@@ -221,7 +222,7 @@
}
.dashboard-created-by {
margin-left: 8px;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums stacked-fractions
slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on, 'cpsp' on, 'case' on;
@@ -240,13 +241,13 @@
.ant-typography {
margin-left: 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-xs);
font-style: normal;
font-weight: var(--font-weight-normal);
line-height: 18px; /* 128.571% */
letter-spacing: -0.07px;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums stacked-fractions
slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on, 'cpsp' on, 'case' on;
@@ -264,13 +265,13 @@
align-items: center;
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-xs);
font-style: normal;
font-weight: var(--font-weight-normal);
line-height: 18px; /* 128.571% */
letter-spacing: -0.07px;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums stacked-fractions
slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on, 'cpsp' on, 'case' on;
@@ -286,13 +287,13 @@
width: 14px;
height: 14px;
border-radius: 50px;
- background: var(--bg-slate-300);
+ background: var(--l1-border);
display: flex;
justify-content: center;
align-items: center;
.tag-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
leading-trim: both;
text-edge: cap;
font-size: 8px;
@@ -304,7 +305,7 @@
}
.dashboard-created-by {
margin-left: 8px;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums stacked-fractions
slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on, 'cpsp' on, 'case' on;
@@ -326,7 +327,7 @@
align-items: center;
> a {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on, 'case' on, 'cpsp' on;
font-size: var(--font-size-sm);
@@ -337,9 +338,9 @@
}
.ant-pagination-item-active {
- background-color: var(--bg-robin-500);
+ background-color: var(--primary-background);
> a {
- color: var(--bg-ink-500) !important;
+ color: var(--foreground) !important;
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-medium);
@@ -379,7 +380,7 @@
.total {
font-family: 'Space Mono';
- color: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
}
}
@@ -392,11 +393,11 @@
justify-content: center;
align-items: flex-start;
border-radius: 6px;
- border: 1px dashed var(--bg-slate-500);
+ border: 1px dashed var(--l1-border);
gap: 4px;
.error-text {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -419,8 +420,8 @@
justify-content: center;
gap: 5.937px;
border-radius: 1.484px;
- background: var(--bg-slate-500);
- color: var(--bg-vanilla-100);
+ background: var(--l1-border);
+ color: var(--l1-foreground);
.ant-btn-icon {
margin-inline-end: 0px;
@@ -460,7 +461,7 @@
justify-content: center;
align-items: flex-start;
border-radius: 6px;
- border: 1px dashed var(--bg-slate-500);
+ border: 1px dashed var(--l1-border);
.dashboard-img {
width: 32px;
@@ -470,7 +471,7 @@
.text {
margin-top: 4px;
.no-dashboard {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -479,7 +480,7 @@
letter-spacing: -0.07px;
}
.info {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -504,8 +505,8 @@
justify-content: center;
gap: 5.937px;
border-radius: 1.484px;
- background: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
+ background: var(--primary-background);
+ color: var(--l1-foreground);
.ant-btn-icon {
margin-inline-end: 0px;
@@ -557,7 +558,7 @@
justify-content: center;
align-items: flex-start;
border-radius: 6px;
- border: 1px dashed var(--bg-slate-500);
+ border: 1px dashed var(--l1-border);
.img {
width: 32px;
@@ -565,7 +566,7 @@
}
.text {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -583,12 +584,12 @@
height: 44px;
flex-shrink: 0;
border-radius: 6px 6px 0px 0px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
.typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -622,20 +623,20 @@
.ant-modal-content {
padding: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
.ant-modal-header {
padding: 16px;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.ant-modal-body {
padding: 0px 16px 28px 16px;
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -652,8 +653,8 @@
.ant-color-picker-trigger {
padding: 6px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
width: 32px;
height: 32px;
@@ -683,7 +684,7 @@
align-items: center;
border: none;
border-radius: 2px;
- background: var(--bg-slate-500);
+ background: var(--l1-border);
}
.delete-btn {
@@ -696,13 +697,13 @@
}
.delete-btn:hover {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
background: var(--bg-cherry-600);
}
}
}
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-medium);
@@ -716,11 +717,11 @@
height: auto;
flex-shrink: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -737,7 +738,7 @@
height: unset;
align-items: center;
gap: 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -754,7 +755,7 @@
.section-2 {
display: flex;
flex-direction: column;
- border-top: 1px solid var(--bg-slate-400);
+ border-top: 1px solid var(--l1-border);
.ant-typography {
display: flex;
@@ -780,11 +781,11 @@
padding: 0px;
align-items: center;
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -797,7 +798,7 @@
width: 140px;
.sort-heading {
- color: var(--bg-slate-200);
+ color: var(--l3-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -814,7 +815,7 @@
justify-content: space-between;
align-items: center;
width: 100%;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -834,11 +835,11 @@
align-items: center;
border-radius: 4px;
padding: 0px;
- border: 1px solid var(--Slate-400, #1d212d);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -852,7 +853,7 @@
text-align: start;
align-items: center;
width: 100%;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -870,15 +871,15 @@
width: 500px;
flex-shrink: 0;
border-radius: 4px;
- border: 1px solid var(--Slate-500, #161922);
- background: var(--Ink-400, #121317);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
padding: 0px;
.ant-modal-header {
- background: var(--Ink-400, #121317);
+ background: var(--card);
padding: 16px;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
margin-bottom: 0px;
}
@@ -897,15 +898,15 @@
align-items: flex-start;
gap: 7.317px;
border-radius: 4px;
- border: 0.915px solid var(--Slate-500, #161922);
- background: var(--Ink-300, #16181d);
+ border: 0.915px solid var(--l1-border);
+ background: var(--l2-background);
.header {
display: flex;
gap: 4px;
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 12.805px;
font-style: normal;
@@ -929,7 +930,7 @@
.formatted-time {
display: flex;
gap: 4px;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums stacked-fractions
slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on, 'cpsp' on, 'case' on;
@@ -952,18 +953,18 @@
display: flex;
justify-content: center;
align-items: center;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 8px;
font-style: normal;
font-weight: var(--font-weight-normal);
line-height: normal;
letter-spacing: -0.05px;
border-radius: 12.805px;
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
}
.dashboard-created-by {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums stacked-fractions
slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on, 'cpsp' on, 'case' on;
@@ -985,7 +986,7 @@
.formatted-time {
display: flex;
gap: 4px;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums stacked-fractions
slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on, 'cpsp' on, 'case' on;
@@ -1008,18 +1009,18 @@
display: flex;
justify-content: center;
align-items: center;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 8px;
font-style: normal;
font-weight: var(--font-weight-normal);
line-height: normal;
letter-spacing: -0.05px;
border-radius: 12.805px;
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
}
.dashboard-created-by {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums stacked-fractions
slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on, 'cpsp' on, 'case' on;
@@ -1048,7 +1049,7 @@
}
.connection-line {
- border: 1px dashed var(--bg-slate-400);
+ border: 1px dashed var(--l1-border);
min-width: 20px;
height: 0px;
flex-grow: 1;
@@ -1071,8 +1072,8 @@
align-items: center;
flex-shrink: 0;
border-radius: 2px;
- border: 1px solid var(--Slate-300, #242834);
- background: var(--Slate-400, #1d212d);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
}
}
}
@@ -1082,93 +1083,93 @@
.dashboards-list-container {
.dashboards-list-view-content {
.title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
.subtitle {
- color: var(--bg-ink-300);
+ color: var(--muted-foreground);
}
.ant-table-row {
.ant-table-cell {
- background: var(--bg-vanilla-200);
+ background: var(--l1-background);
}
&:hover {
.ant-table-cell {
- background: var(--bg-vanilla-200) !important;
+ background: var(--l1-background) !important;
}
}
.dashboard-list-item {
- border: 1px solid var(--bg-vanilla-200);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
.dashboard-title {
- color: var(--bg-slate-300);
+ color: var(--l2-foreground);
.title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
.title-with-action {
.dashboard-title {
.ant-typography {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
.action-btn {
.ant-typography {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
}
.dashboard-details {
.dashboard-tag {
- background: var(--bg-vanilla-200);
+ background: var(--l3-background);
.tag-text {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
.created-by {
.dashboard-tag {
- background: var(--bg-vanilla-200);
+ background: var(--l3-background);
.tag-text {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
.dashboard-created-by {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
}
.updated-by {
.text {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
.dashboard-tag {
- background: var(--bg-vanilla-200);
+ background: var(--l3-background);
.tag-text {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
.dashboard-created-by {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
}
.dashboard-created-by {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
.dashboard-created-at {
.ant-typography {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
}
@@ -1177,41 +1178,41 @@
}
.no-search {
.text {
- color: var(--bg-ink-300);
+ color: var(--muted-foreground);
}
}
.all-dashboards-header {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.typography {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
.right-actions {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
}
.dashboard-empty-state {
.text {
.no-dashboard {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
.info {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
}
.dashboard-error-state {
.error-text {
- color: var(--bg-ink-300);
+ color: var(--muted-foreground);
}
.action-btns {
.retry-btn {
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-300);
+ background: var(--l3-background);
+ color: var(--l1-foreground);
}
}
}
@@ -1219,34 +1220,34 @@
.delete-view-modal {
.ant-modal-content {
- border: 1px solid var(--bg-vanilla-200);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
.ant-modal-header {
- background: var(--bg-vanilla-100);
+ background: var(--card);
.title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
.ant-modal-body {
.ant-typography {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
.save-view-input {
.ant-input {
- background: var(--bg-vanilla-200);
- color: var(--bg-ink-500);
+ background: var(--l2-background);
+ color: var(--l1-foreground);
}
}
}
.ant-modal-footer {
.cancel-btn {
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ background: var(--l3-background);
+ color: var(--l2-foreground);
}
}
}
@@ -1254,18 +1255,18 @@
.dashboard-actions {
.ant-popover-inner {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
.dashboard-action-content {
.section-1 {
.action-btn {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
}
.section-2 {
- border-top: 1px solid var(--bg-vanilla-300);
+ border-top: 1px solid var(--l1-border);
}
}
}
@@ -1273,16 +1274,16 @@
.sort-dashboards {
.ant-popover-inner {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
.sort-content {
.sort-heading {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
.sort-btns {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
}
}
@@ -1290,11 +1291,11 @@
.configure-group {
.ant-popover-inner {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
.configure-content {
.configure-btn {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
}
}
@@ -1302,57 +1303,57 @@
.configure-metadata-root {
.ant-modal-content {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
.ant-modal-header {
- background: var(--bg-vanilla-100);
- border-bottom: 1px solid var(--bg-vanilla-300);
+ background: var(--card);
+ border-bottom: 1px solid var(--l1-border);
}
.ant-modal-body {
.configure-content {
.configure-preview {
- border: 0.915px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 0.915px solid var(--l1-border);
+ background: var(--l2-background);
.header {
.title {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
}
.details {
.createdAt {
.formatted-time {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
.user {
.user-tag {
- color: var(--bg-ink-400);
- background-color: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
+ background-color: var(--l3-background);
}
.dashboard-created-by {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
}
}
.updatedAt {
.formatted-time {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
.user {
.user-tag {
- color: var(--bg-ink-400);
- background-color: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
+ background-color: var(--l3-background);
}
.dashboard-created-by {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
}
}
@@ -1361,7 +1362,7 @@
.metadata-action {
.connection-line {
- border: 1px dashed var(--bg-vanilla-300);
+ border: 1px dashed var(--l1-border);
}
}
}
@@ -1369,8 +1370,8 @@
.ant-modal-footer {
.save-changes {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-200);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
}
}
}
diff --git a/frontend/src/container/ListOfDashboard/DashboardTemplates/DashboardTemplatesModal.styles.scss b/frontend/src/container/ListOfDashboard/DashboardTemplates/DashboardTemplatesModal.styles.scss
index 4907374684..f7e945cfbf 100644
--- a/frontend/src/container/ListOfDashboard/DashboardTemplates/DashboardTemplatesModal.styles.scss
+++ b/frontend/src/container/ListOfDashboard/DashboardTemplates/DashboardTemplatesModal.styles.scss
@@ -1,11 +1,11 @@
.new-dashboard-templates-modal {
.ant-modal-content {
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -27,7 +27,7 @@
display: flex;
align-items: center;
justify-content: space-between;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
height: 60px;
box-sizing: border-box;
}
@@ -43,7 +43,7 @@
padding: 16px 8px;
height: 100%;
width: 25%;
- border-right: 1px solid var(--bg-slate-500);
+ border-right: 1px solid var(--l1-border);
.new-dashboard-templates-search {
height: 32px;
@@ -83,7 +83,7 @@
}
.template-name {
- color: #c0c1c3;
+ color: var(--muted-foreground);
font-style: normal;
font-weight: 300;
line-height: 18px;
@@ -91,12 +91,12 @@
&:hover {
border-radius: 3px;
- background: rgba(171, 189, 255, 0.08);
+ background: color-mix(in srgb, var(--bg-robin-200) 8%, transparent);
}
&.active {
border-radius: 3px;
- background: rgba(171, 189, 255, 0.08);
+ background: color-mix(in srgb, var(--bg-robin-200) 8%, transparent);
}
}
}
@@ -125,8 +125,8 @@
width: 40px;
flex-shrink: 0;
border-radius: 2px;
- border: 1px solid var(--bg-ink-50);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
display: flex;
align-items: center;
justify-content: center;
@@ -134,7 +134,7 @@
.template-info {
.template-name {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -144,7 +144,7 @@
}
.template-description {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -167,8 +167,8 @@
width: 100%;
max-width: 100%;
padding: 24px;
- border: 1px solid var(--bg-ink-50);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
max-height: 100%;
object-fit: contain;
}
@@ -191,37 +191,37 @@
.ant-modal-footer {
margin-top: 0;
padding: 16px;
- border-top: 1px solid var(--bg-slate-500);
+ border-top: 1px solid var(--l1-border);
}
}
.lightMode {
.new-dashboard-templates-modal {
.ant-modal-content {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-foreground);
}
.new-dashboard-templates-content-header {
- border-bottom: 1px solid var(--bg-vanilla-300);
+ border-bottom: 1px solid var(--l1-border);
}
.new-dashboard-templates-content {
.new-dashboard-templates-list {
- border-right: 1px solid var(--bg-vanilla-300);
+ border-right: 1px solid var(--l1-border);
.templates-list {
.template-list-item {
.template-name {
- color: var(--bg-ink-300);
+ color: var(--l3-background);
}
&:hover {
- background: rgba(171, 189, 255, 0.08);
+ background: color-mix(in srgb, var(--bg-robin-200) 8%, transparent);
}
&.active {
- background: rgba(171, 189, 255, 0.08);
+ background: color-mix(in srgb, var(--bg-robin-200) 8%, transparent);
}
}
}
@@ -231,17 +231,17 @@
.template-preview-header {
.template-preview-title {
.template-preview-icon {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-foreground);
}
.template-info {
.template-name {
- color: var(--bg-ink-300);
+ color: var(--l3-background);
}
.template-description {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
}
@@ -255,15 +255,15 @@
.template-preview-image {
img {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-foreground);
}
}
}
}
.ant-modal-footer {
- border-top: 1px solid var(--bg-vanilla-300);
+ border-top: 1px solid var(--l1-border);
}
}
}
diff --git a/frontend/src/container/ListOfDashboard/ImportJSON/importJSON.styles.scss b/frontend/src/container/ListOfDashboard/ImportJSON/importJSON.styles.scss
index c099c19f80..bbc70616d8 100644
--- a/frontend/src/container/ListOfDashboard/ImportJSON/importJSON.styles.scss
+++ b/frontend/src/container/ListOfDashboard/ImportJSON/importJSON.styles.scss
@@ -1,11 +1,11 @@
.import-json-modal {
.ant-modal-content {
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -16,8 +16,8 @@
.margin {
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
backdrop-filter: blur(20px);
@@ -25,8 +25,8 @@
.view-lines {
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
backdrop-filter: blur(20px);
@@ -37,7 +37,7 @@
display: flex;
align-items: center;
justify-content: space-between;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
}
.import-json-modal-footer {
@@ -55,34 +55,6 @@
.ant-modal-footer {
margin-top: 0;
padding: 16px;
- border-top: 1px solid var(--bg-slate-500);
- }
-}
-
-.lightMode {
- .import-json-modal {
- .ant-modal-content {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
-
- .margin {
- background: var(--bg-vanilla-100);
- }
- .view-lines {
- background: var(--bg-vanilla-100);
- }
-
- .import-json-content-header {
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
-
- .ant-modal-footer {
- border-top: 1px solid var(--bg-vanilla-300);
-
- .ant-btn {
- box-shadow: none;
- }
- }
+ border-top: 1px solid var(--l1-border);
}
}
diff --git a/frontend/src/container/ListOfDashboard/ImportJSON/index.tsx b/frontend/src/container/ListOfDashboard/ImportJSON/index.tsx
index a572821df5..b97ef63cc9 100644
--- a/frontend/src/container/ListOfDashboard/ImportJSON/index.tsx
+++ b/frontend/src/container/ListOfDashboard/ImportJSON/index.tsx
@@ -120,7 +120,9 @@ function ImportJSON({
const getErrorNode = (error: string): JSX.Element => (
<Space>
<ExclamationCircleTwoTone twoToneColor={[red[7], '#1f1f1f']} />
- <Typography style={{ color: '#D89614' }}>{error}</Typography>
+ <Typography style={{ color: 'var(--warning-background)' }}>
+ {error}
+ </Typography>
</Space>
);
diff --git a/frontend/src/container/ListOfDashboard/TableComponents/DeleteButton.styles.scss b/frontend/src/container/ListOfDashboard/TableComponents/DeleteButton.styles.scss
index 5a36e62502..52fbecb541 100644
--- a/frontend/src/container/ListOfDashboard/TableComponents/DeleteButton.styles.scss
+++ b/frontend/src/container/ListOfDashboard/TableComponents/DeleteButton.styles.scss
@@ -5,7 +5,7 @@
}
.delete-btn:hover {
- background-color: rgba(255, 255, 255, 0.12);
+ background-color: color-mix(in srgb, var(--l1-foreground) 12%, transparent);
}
.lightMode {
diff --git a/frontend/src/container/ListOfDashboard/TableComponents/DeleteButton.tsx b/frontend/src/container/ListOfDashboard/TableComponents/DeleteButton.tsx
index 3966b82f8f..54ad888887 100644
--- a/frontend/src/container/ListOfDashboard/TableComponents/DeleteButton.tsx
+++ b/frontend/src/container/ListOfDashboard/TableComponents/DeleteButton.tsx
@@ -48,11 +48,16 @@ export function DeleteButton({
title: (
<Typography.Title level={5}>
Are you sure you want to delete the
- <span style={{ color: '#e42b35', fontWeight: 500 }}> {name} </span>
+ <span style={{ color: 'var(--bg-cherry-500)', fontWeight: 500 }}>
+ {' '}
+ {name}{' '}
+ </span>
dashboard?
</Typography.Title>
),
- icon: <ExclamationCircleOutlined style={{ color: '#e42b35' }} />,
+ icon: (
+ <ExclamationCircleOutlined style={{ color: 'var(--bg-cherry-500)' }} />
+ ),
okText: 'Delete',
okButtonProps: {
danger: true,
diff --git a/frontend/src/container/LiveLogs/LiveLogsContainer/LiveLogsContainer.styles.scss b/frontend/src/container/LiveLogs/LiveLogsContainer/LiveLogsContainer.styles.scss
index bc3fde6087..567d6d42ca 100644
--- a/frontend/src/container/LiveLogs/LiveLogsContainer/LiveLogsContainer.styles.scss
+++ b/frontend/src/container/LiveLogs/LiveLogsContainer/LiveLogsContainer.styles.scss
@@ -29,7 +29,7 @@
align-items: center;
justify-content: space-between;
padding: 8px;
- border-bottom: 1px solid var(--bg-ink-300);
+ border-bottom: 1px solid var(--l1-border);
.live-logs-frequency-chart-view-controller {
display: flex;
@@ -37,9 +37,3 @@
gap: 8px;
}
}
-
-.lightMode {
- .live-logs-settings-panel {
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
-}
diff --git a/frontend/src/container/LiveLogs/LiveLogsList/LiveLogsList.styles.scss b/frontend/src/container/LiveLogs/LiveLogsList/LiveLogsList.styles.scss
index a5abe79828..358f7a0db5 100644
--- a/frontend/src/container/LiveLogs/LiveLogsList/LiveLogsList.styles.scss
+++ b/frontend/src/container/LiveLogs/LiveLogsList/LiveLogsList.styles.scss
@@ -34,7 +34,7 @@
.live-logs-list-loading {
padding: 16px;
text-align: center;
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
}
.live-logs-list-loading {
@@ -49,6 +49,10 @@
align-items: flex-start;
flex-direction: column;
+ .ant-typography {
+ color: var(--l1-foreground);
+ }
+
.loading-gif {
height: 72px;
margin-left: -24px;
@@ -56,13 +60,3 @@
}
}
}
-
-.lightMode {
- .live-logs-list-loading {
- .loading-live-logs-content {
- .ant-typography {
- color: var(--text-ink-500);
- }
- }
- }
-}
diff --git a/frontend/src/container/LogDetailedView/ContextView/ContextLogRenderer.styles.scss b/frontend/src/container/LogDetailedView/ContextView/ContextLogRenderer.styles.scss
index dc9105fa7a..fe30d50bb6 100644
--- a/frontend/src/container/LogDetailedView/ContextView/ContextLogRenderer.styles.scss
+++ b/frontend/src/container/LogDetailedView/ContextView/ContextLogRenderer.styles.scss
@@ -11,11 +11,11 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-200);
+ background: var(--l3-background);
}
.ant-row {
diff --git a/frontend/src/container/LogDetailedView/ContextView/ContextView.styles.scss b/frontend/src/container/LogDetailedView/ContextView/ContextView.styles.scss
index 1aa52db88e..0510c05b2e 100644
--- a/frontend/src/container/LogDetailedView/ContextView/ContextView.styles.scss
+++ b/frontend/src/container/LogDetailedView/ContextView/ContextView.styles.scss
@@ -1,5 +1,5 @@
.log-context-container {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
flex: 1;
position: relative;
overflow: scroll;
@@ -14,10 +14,10 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-200);
+ background: var(--l3-background);
}
}
diff --git a/frontend/src/container/LogDetailedView/JsonView.styles.scss b/frontend/src/container/LogDetailedView/JsonView.styles.scss
index e9a1a4856b..003f00488c 100644
--- a/frontend/src/container/LogDetailedView/JsonView.styles.scss
+++ b/frontend/src/container/LogDetailedView/JsonView.styles.scss
@@ -1,13 +1,13 @@
.json-view-container {
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
padding-top: 16px;
.json-view-footer {
height: 36px;
display: flex;
align-items: center;
- border-top: 1px solid var(--bg-slate-500);
+ border-top: 1px solid var(--l1-border);
}
.log-switch {
@@ -23,8 +23,8 @@
}
.log-switch-btn {
- border: 1px solid var(--bg-slate-500);
- background-color: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background-color: var(--l2-background);
width: 40px;
height: 100%;
display: flex;
@@ -33,14 +33,3 @@
}
}
}
-
-.lightMode {
- .json-view-container {
- .log-switch {
- .log-switch-btn {
- background: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-400);
- }
- }
- }
-}
diff --git a/frontend/src/container/LogDetailedView/LogContext.styles.scss b/frontend/src/container/LogDetailedView/LogContext.styles.scss
index 3d591baa91..a9c64007a9 100644
--- a/frontend/src/container/LogDetailedView/LogContext.styles.scss
+++ b/frontend/src/container/LogDetailedView/LogContext.styles.scss
@@ -1,3 +1,3 @@
.log-context-container {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
}
diff --git a/frontend/src/container/LogDetailedView/Overview.styles.scss b/frontend/src/container/LogDetailedView/Overview.styles.scss
index 8e1726a0a9..d7cf38c3b6 100644
--- a/frontend/src/container/LogDetailedView/Overview.styles.scss
+++ b/frontend/src/container/LogDetailedView/Overview.styles.scss
@@ -1,8 +1,8 @@
.overview-container {
.tag {
border-radius: 20px;
- border: 1px solid rgba(173, 127, 88, 0.2);
- background: rgba(173, 127, 88, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-sienna-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-sienna-500) 10%, transparent);
padding: var(--padding-1) var(--padding-2);
font-family: 'Inter';
font-size: var(--font-size-xs);
@@ -26,8 +26,8 @@
}
.log-switch-btn {
- border: 1px solid var(--bg-slate-500);
- background-color: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background-color: var(--l2-background);
width: 40px;
height: 100%;
display: flex;
@@ -41,16 +41,16 @@
}
.ant-collapse {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
}
.collapse-content {
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
.ant-collapse-header {
align-items: center;
border-radius: 2px;
- background: rgba(171, 189, 255, 0.04);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
padding: 8px;
@@ -62,7 +62,7 @@
display: flex;
.ant-btn {
- background: rgba(113, 144, 249, 0.08);
+ background: color-mix(in srgb, var(--bg-robin-400) 8%, transparent);
}
}
}
@@ -70,8 +70,8 @@
.ant-collapse-content {
padding: 0;
- background: var(--bg-ink-400);
- border-top: 1px solid var(--bg-slate-500);
+ background: var(--l1-background);
+ border-top: 1px solid var(--l1-border);
.ant-collapse-content-box {
padding: var(--padding-2) 0 0 0;
@@ -85,7 +85,7 @@
.ant-tag-borderless {
border-radius: 2px;
- background: rgba(113, 144, 249, 0.08);
+ background: color-mix(in srgb, var(--bg-robin-400) 8%, transparent);
}
.attribute-collapse {
@@ -107,7 +107,7 @@
.action-btn {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
display: flex;
align-items: center;
justify-content: center;
@@ -118,26 +118,3 @@
}
}
}
-
-.lightMode {
- .overview-container {
- .ant-collapse {
- border: 1px solid var(--bg-vanilla-200);
- }
-
- .collapse-content {
- border-bottom: 1px solid var(--bg-vanilla-200);
- .ant-collapse-content {
- background: var(--bg-vanilla-100);
- border-top: 1px solid var(--bg-vanilla-200);
- }
- }
-
- .log-switch {
- .log-switch-btn {
- background: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-400);
- }
- }
- }
-}
diff --git a/frontend/src/container/LogDetailedView/TableView.styles.scss b/frontend/src/container/LogDetailedView/TableView.styles.scss
index 322a5cd638..097bdbe5f2 100644
--- a/frontend/src/container/LogDetailedView/TableView.styles.scss
+++ b/frontend/src/container/LogDetailedView/TableView.styles.scss
@@ -1,6 +1,6 @@
.attribute-table-container {
.ant-table {
- background: var(--bg-ink-400);
+ background: var(--l1-background);
.ant-table-row:hover {
.ant-table-cell {
@@ -18,7 +18,7 @@
}
.ant-table-cell {
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
}
.attribute-name {
@@ -47,14 +47,18 @@
border: none;
&.pinned svg {
- fill: var(--bg-robin-500);
+ fill: var(--accent-primary);
}
}
}
}
.value-field-container {
- background: rgba(22, 25, 34, 0.4);
+ background: var(--l3-background);
+
+ &.attribute-pin {
+ background: var(--l1-background);
+ }
.value-field {
font-family: 'Geist Mono';
@@ -75,7 +79,7 @@
border: none;
box-shadow: none;
border-radius: 2px;
- background: var(--bg-slate-400);
+ background: var(--l3-background);
padding: 2px 3px;
gap: 3px;
height: 18px;
@@ -85,29 +89,3 @@
}
}
}
-
-.lightMode {
- .attribute-table-container {
- .ant-table {
- background: var(--bg-vanilla-100);
- }
-
- .ant-table-cell {
- border: 1px solid var(--bg-vanilla-200);
- }
-
- .value-field-container {
- background: var(--bg-vanilla-300);
-
- &.attribute-pin {
- background: var(--bg-vanilla-100);
- }
-
- .action-btn {
- .filter-btn {
- background: var(--bg-vanilla-300);
- }
- }
- }
- }
-}
diff --git a/frontend/src/container/LogDetailedView/TableView/TableViewActions.styles.scss b/frontend/src/container/LogDetailedView/TableView/TableViewActions.styles.scss
index 218db3be16..a6d71e1b01 100644
--- a/frontend/src/container/LogDetailedView/TableView/TableViewActions.styles.scss
+++ b/frontend/src/container/LogDetailedView/TableView/TableViewActions.styles.scss
@@ -26,11 +26,11 @@
.table-view-actions-content {
.ant-popover-inner {
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -39,7 +39,7 @@
display: flex;
align-items: center;
gap: 8px;
- color: var(--bg-vanilla-400);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -62,12 +62,10 @@
.lightMode {
.table-view-actions-content {
.ant-popover-inner {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100) !important;
-
- .more-filter-actions {
- color: var(--bg-ink-400);
- }
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background) !important;
+ backdrop-filter: none;
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
}
}
diff --git a/frontend/src/container/LogExplorerQuerySection/LogsExplorerQuerySection.styles.scss b/frontend/src/container/LogExplorerQuerySection/LogsExplorerQuerySection.styles.scss
index 9dac004f81..9e3f3b4ca2 100644
--- a/frontend/src/container/LogExplorerQuerySection/LogsExplorerQuerySection.styles.scss
+++ b/frontend/src/container/LogExplorerQuerySection/LogsExplorerQuerySection.styles.scss
@@ -3,8 +3,9 @@
.ant-select-selector {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400) !important;
- background-color: var(--bg-ink-300) !important;
+ border: 1px solid var(--l1-border) !important;
+ background-color: var(--l1-background) !important;
+ color: var(--l2-foreground);
input {
font-size: 12px;
@@ -15,13 +16,3 @@
}
}
}
-
-.lightMode {
- .qb-search-view-container {
- .ant-select-selector {
- border-color: var(--bg-vanilla-300) !important;
- background-color: var(--bg-vanilla-100) !important;
- color: var(--bg-ink-200);
- }
- }
-}
diff --git a/frontend/src/container/Login/Login.styles.scss b/frontend/src/container/Login/Login.styles.scss
index 140c001f59..724169ceee 100644
--- a/frontend/src/container/Login/Login.styles.scss
+++ b/frontend/src/container/Login/Login.styles.scss
@@ -52,7 +52,7 @@
.login-form-card {
width: 100%;
background: var(--bg-neutral-dark-950);
- border: 1px solid var(--l2-border);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
padding: 24px;
display: flex;
@@ -65,12 +65,13 @@
width: 100%;
.error-content {
- background: rgba(229, 72, 77, 0.1);
- border: 1px solid rgba(229, 72, 77, 0.2);
+ background: color-mix(in srgb, var(--bg-cherry-500) 10%, transparent);
+ border: 1px solid color-mix(in srgb, var(--bg-cherry-500) 20%, transparent);
border-radius: 4px;
&__summary-section {
- border-bottom: 1px solid rgba(229, 72, 77, 0.2);
+ border-bottom: 1px solid
+ color-mix(in srgb, var(--bg-cherry-500) 20%, transparent);
}
&__summary {
@@ -123,7 +124,7 @@
&__message-badge-line {
background-image: radial-gradient(
circle,
- rgba(229, 72, 77, 0.3) 1px,
+ color-mix(in srgb, var(--bg-cherry-500) 30%, transparent) 1px,
transparent 2px
);
}
@@ -149,7 +150,7 @@
}
&__scroll-hint {
- background: rgba(229, 72, 77, 0.2);
+ background: color-mix(in srgb, var(--bg-cherry-500) 20%, transparent);
}
&__scroll-hint-text {
@@ -159,45 +160,49 @@
}
.lightMode {
+ .login-form-card {
+ background: var(--l2-background);
+ }
+
.login-error-container {
.error-content {
- background: rgba(229, 72, 77, 0.1);
- border-color: rgba(229, 72, 77, 0.2);
+ background: color-mix(in srgb, var(--bg-cherry-500) 10%, transparent);
+ border-color: color-mix(in srgb, var(--bg-cherry-500) 20%, transparent);
&__error-code {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
&__error-message {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
&__docs-button {
- color: var(--bg-ink-400);
- border-color: var(--bg-vanilla-300);
+ color: var(--l1-foreground);
+ border-color: var(--l1-border);
background: transparent;
&:hover {
- color: var(--bg-ink-100);
- border-color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
+ border-color: var(--l1-border);
background: transparent;
}
}
&__message-badge-label-text {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
&__message-item {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
&::before {
- background: var(--bg-ink-400);
+ background: var(--l3-background);
}
}
&__scroll-hint-text {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
}
}
@@ -231,7 +236,7 @@
.login-form-input {
height: 32px;
background: var(--l3-background);
- border: 1px solid var(--l3-border);
+ border: 1px solid var(--l1-border);
border-radius: 2px;
padding: 6px 8px;
font-family: Inter, sans-serif;
@@ -246,7 +251,7 @@
}
&:hover {
- border-color: var(--l3-border);
+ border-color: var(--l1-border);
}
&:focus {
@@ -272,7 +277,7 @@
line-height: 1 !important;
letter-spacing: -0.065px !important;
background: var(--l3-background) !important;
- border: 1px solid var(--l3-border) !important;
+ border: 1px solid var(--l1-border) !important;
display: flex !important;
align-items: center !important;
}
@@ -304,7 +309,7 @@
}
&:hover .ant-select-selector {
- border-color: var(--l3-border) !important;
+ border-color: var(--l1-border) !important;
}
&.ant-select-focused .ant-select-selector {
@@ -338,61 +343,3 @@
.login-submit-btn {
width: 100%;
}
-
-.lightMode {
- .login-form-title {
- color: var(--text-ink-500);
- }
-
- .login-form-description {
- color: var(--text-neutral-light-200);
- }
-
- .login-form-card {
- background: var(--bg-base-white);
- border-color: var(--bg-vanilla-300);
- }
-
- .forgot-password-link {
- color: var(--text-neutral-dark-300);
- }
-
- .login-form-input {
- background: var(--bg-vanilla-200);
- border-color: var(--bg-vanilla-300);
- color: var(--text-ink-500);
-
- &::placeholder {
- color: var(--text-neutral-light-200);
- }
-
- &:focus {
- border-color: var(--primary);
- }
-
- // Select component light mode styling
- &.ant-select {
- .ant-select-selector {
- background: var(--bg-vanilla-200) !important;
- border-color: var(--bg-vanilla-300) !important;
- color: var(--text-ink-500) !important;
- }
-
- .ant-select-selection-placeholder {
- color: var(--text-neutral-light-200) !important;
- }
-
- .ant-select-selection-item {
- color: var(--text-ink-500) !important;
- }
-
- &:hover .ant-select-selector {
- border-color: var(--bg-vanilla-300) !important;
- }
-
- &.ant-select-focused .ant-select-selector {
- border-color: var(--primary) !important;
- }
- }
- }
-}
diff --git a/frontend/src/container/Login/styles.ts b/frontend/src/container/Login/styles.ts
index d746714b92..fc4380515d 100644
--- a/frontend/src/container/Login/styles.ts
+++ b/frontend/src/container/Login/styles.ts
@@ -48,7 +48,7 @@ export const FormContainer = styled(Form)`
& .ant-input-password,
& .ant-select-selector {
background: var(--l3-background) !important;
- border-color: var(--l3-border) !important;
+ border-color: var(--l1-border) !important;
color: var(--l1-foreground) !important;
.lightMode & {
diff --git a/frontend/src/container/LogsContextList/ShowButton.styles.scss b/frontend/src/container/LogsContextList/ShowButton.styles.scss
index 408847e10f..6265fb5bd3 100644
--- a/frontend/src/container/LogsContextList/ShowButton.styles.scss
+++ b/frontend/src/container/LogsContextList/ShowButton.styles.scss
@@ -1,31 +1,15 @@
.show-more-button {
- background-color: var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ background-color: var(--l3-background);
+ color: var(--l1-foreground);
display: flex;
padding: 4px 8px;
align-items: center;
gap: 3px;
border: none;
margin: 0;
-}
-.show-more-button {
&.disabled {
- background-color: var(--bg-slate-200);
- color: var(--bg-vanilla-400);
- }
-}
-
-.lightMode {
- .show-more-button {
- background-color: var(--bg-vanilla-300);
- color: var(--bg-slate-400);
- }
-
- .show-more-button {
- &.disabled {
- background-color: var(--bg-vanilla-300);
- color: var(--bg-vanilla-400);
- }
+ background-color: var(--l3-background);
+ color: var(--l2-foreground);
}
}
diff --git a/frontend/src/container/LogsError/LogsError.styles.scss b/frontend/src/container/LogsError/LogsError.styles.scss
index 789357122f..f916021165 100644
--- a/frontend/src/container/LogsError/LogsError.styles.scss
+++ b/frontend/src/container/LogsError/LogsError.styles.scss
@@ -10,7 +10,7 @@
flex-direction: column;
gap: 4px;
- color: var(--text-vanilla-400);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
diff --git a/frontend/src/container/LogsExplorerChart/LogsExplorerChart.styles.scss b/frontend/src/container/LogsExplorerChart/LogsExplorerChart.styles.scss
index a2e3360c58..e0e46e1395 100644
--- a/frontend/src/container/LogsExplorerChart/LogsExplorerChart.styles.scss
+++ b/frontend/src/container/LogsExplorerChart/LogsExplorerChart.styles.scss
@@ -1,7 +1,7 @@
.logs-frequency-chart-container {
height: 200px;
min-height: 200px;
- border-bottom: 1px solid #262626;
+ border-bottom: 1px solid var(--l1-border);
.ant-card-body {
height: 200px;
@@ -17,9 +17,3 @@
justify-content: center;
}
}
-
-.lightMode {
- .logs-frequency-chart-container {
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
-}
diff --git a/frontend/src/container/LogsExplorerList/InfinityTableView/TableRow.styles.scss b/frontend/src/container/LogsExplorerList/InfinityTableView/TableRow.styles.scss
index 1dba778569..58f0ff6357 100644
--- a/frontend/src/container/LogsExplorerList/InfinityTableView/TableRow.styles.scss
+++ b/frontend/src/container/LogsExplorerList/InfinityTableView/TableRow.styles.scss
@@ -5,22 +5,22 @@
.table-row-backdrop {
&.INFO {
- background-color: var(--bg-robin-500) 10;
+ background-color: var(--primary-background) 10;
}
&.WARNING,
&.WARN {
- background-color: var(--bg-amber-500) 10;
+ background-color: var(--warning-background) 10;
}
&.ERROR {
- background-color: var(--bg-cherry-500) 10;
+ background-color: var(--danger-background) 10;
}
&.TRACE {
- background-color: var(--bg-forest-400) 10;
+ background-color: var(--success-background) 10;
}
&.DEBUG {
- background-color: var(--bg-aqua-500) 10;
+ background-color: var(--info-background) 10;
}
&.FATAL {
- background-color: var(--bg-sakura-500) 10;
+ background-color: var(--danger-background) 10;
}
}
diff --git a/frontend/src/container/LogsExplorerList/LogsExplorerList.style.scss b/frontend/src/container/LogsExplorerList/LogsExplorerList.style.scss
index b76dcdd613..6cc4c5d321 100644
--- a/frontend/src/container/LogsExplorerList/LogsExplorerList.style.scss
+++ b/frontend/src/container/LogsExplorerList/LogsExplorerList.style.scss
@@ -41,15 +41,15 @@
font-size: 12px;
}
- border-bottom: 1px solid var(--bg-slate-400) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
- border-bottom: 1px solid var(--bg-slate-400) !important;
- background-color: var(--bg-ink-400) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
+ background-color: var(--l2-background) !important;
tr {
&:hover {
- background-color: var(--bg-ink-400) !important;
+ background-color: var(--l2-background) !important;
}
}
}
@@ -67,10 +67,10 @@
}
&:hover {
- background-color: var(--bg-slate-500) !important;
+ background-color: var(--l1-border) !important;
}
- border-bottom: 1px solid var(--bg-slate-400) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
tr:has(.active-log) {
@@ -80,7 +80,7 @@
248,
0.5
) !important; // same as bg-robin-500
- color: var(--text-vanilla-100) !important;
+ color: var(--l1-foreground) !important;
}
}
@@ -108,11 +108,11 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-200);
+ background: var(--l3-background);
}
}
@@ -331,18 +331,18 @@
thead {
tr {
th {
- color: var(--text-ink-500) !important;
+ color: var(--l1-foreground) !important;
}
- border-bottom: 1px solid var(--bg-vanilla-300) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
- border-bottom: 1px solid var(--bg-vanilla-300) !important;
- background-color: var(--bg-vanilla-100) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
+ background-color: var(--l1-background) !important;
tr {
&:hover {
- background-color: var(--bg-vanilla-300) !important;
+ background-color: var(--l3-background) !important;
}
}
}
@@ -350,21 +350,21 @@
tbody {
tr {
&:hover {
- background-color: var(--bg-vanilla-300) !important;
+ background-color: var(--l3-background) !important;
}
- border-bottom: 1px solid var(--bg-vanilla-300) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
}
}
.sticky-header-table-container {
&::-webkit-scrollbar-thumb {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
}
}
}
diff --git a/frontend/src/container/LogsExplorerList/TanStackTableView/__tests__/TanStackTableView.test.tsx b/frontend/src/container/LogsExplorerList/TanStackTableView/__tests__/TanStackTableView.test.tsx
index 4d3a630a15..045a18588d 100644
--- a/frontend/src/container/LogsExplorerList/TanStackTableView/__tests__/TanStackTableView.test.tsx
+++ b/frontend/src/container/LogsExplorerList/TanStackTableView/__tests__/TanStackTableView.test.tsx
@@ -66,7 +66,8 @@ jest.mock('react-use', () => ({
useCopyToClipboard: (): [unknown, () => void] => [null, jest.fn()],
}));
-jest.mock('@signozhq/sonner', () => ({
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
toast: { success: jest.fn() },
}));
diff --git a/frontend/src/container/LogsExplorerList/TanStackTableView/index.tsx b/frontend/src/container/LogsExplorerList/TanStackTableView/index.tsx
index 4e0a58fd94..c565d331d0 100644
--- a/frontend/src/container/LogsExplorerList/TanStackTableView/index.tsx
+++ b/frontend/src/container/LogsExplorerList/TanStackTableView/index.tsx
@@ -18,7 +18,7 @@ import {
horizontalListSortingStrategy,
SortableContext,
} from '@dnd-kit/sortable';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import {
ColumnDef,
getCoreRowModel,
diff --git a/frontend/src/container/LogsExplorerTable/LogsExplorerTable.styles.scss b/frontend/src/container/LogsExplorerTable/LogsExplorerTable.styles.scss
index 3f1781502c..d563b61add 100644
--- a/frontend/src/container/LogsExplorerTable/LogsExplorerTable.styles.scss
+++ b/frontend/src/container/LogsExplorerTable/LogsExplorerTable.styles.scss
@@ -8,7 +8,7 @@
.ant-table-cell {
background: unset !important;
border-bottom: unset !important;
- color: var(--bg-vanilla-400) !important;
+ color: var(--l2-foreground) !important;
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -23,7 +23,7 @@
}
.ant-table-row {
- color: var(--bg-vanilla-400) !important;
+ color: var(--l2-foreground) !important;
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -32,27 +32,11 @@
letter-spacing: -0.07px;
.ant-table-cell-row-hover {
- background: rgba(171, 189, 255, 0.04) !important;
- }
- }
-}
-
-.lightMode {
- .ant-table {
- color: var(--bg-slate-400) !important;
- }
-
- .ant-table-thead {
- .ant-table-cell {
- color: var(--bg-slate-400) !important;
- }
- }
-
- .ant-table-row {
- color: var(--bg-slate-400) !important;
-
- .ant-table-cell-row-hover {
- background: var(--bg-vanilla-300) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-robin-200) 4%,
+ transparent
+ ) !important;
}
}
}
diff --git a/frontend/src/container/LogsExplorerViews/LogsExplorerViews.styles.scss b/frontend/src/container/LogsExplorerViews/LogsExplorerViews.styles.scss
index f6849dceac..f7537d2d54 100644
--- a/frontend/src/container/LogsExplorerViews/LogsExplorerViews.styles.scss
+++ b/frontend/src/container/LogsExplorerViews/LogsExplorerViews.styles.scss
@@ -15,7 +15,7 @@
.views-tabs-container {
padding: 8px 16px;
- border: 1px solid var(--text-slate-400);
+ border: 1px solid var(--l1-border);
border-left: none;
border-right: none;
@@ -24,7 +24,7 @@
justify-content: space-between;
.views-tabs {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
.view-title {
display: flex;
@@ -41,22 +41,22 @@
}
.tab {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
width: 114px;
}
.tab::before {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
.selected_view {
- background: var(--bg-slate-300);
- color: var(--text-vanilla-100);
- border: 1px solid var(--bg-slate-400);
+ background: var(--l1-border);
+ color: var(--l1-foreground);
+ border: 1px solid var(--l1-border);
}
.selected_view::before {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
.ant-radio-button-wrapper {
@@ -75,7 +75,7 @@
align-items: center;
.ant-btn {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
}
.order-by-container {
@@ -100,8 +100,7 @@
padding: 4px 8px;
width: 100%;
- border-top: 1px solid var(--Slate-500, #161922);
- border-bottom: 1px solid var(--Slate-500, #161922);
+ border-bottom: 1px solid var(--l1-border);
.tab-options {
display: flex;
@@ -126,7 +125,7 @@
gap: 8px;
.order-by-label {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-style: normal;
font-weight: 400;
@@ -164,7 +163,7 @@
align-self: flex-end;
.rows {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Geist Mono';
font-size: 12px;
font-style: normal;
@@ -176,11 +175,11 @@
.divider {
width: 1px;
height: 14px;
- background: #242834;
+ background: var(--l3-background);
}
.time {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Geist Mono';
font-size: 12px;
font-style: normal;
@@ -245,7 +244,7 @@
}
.ant-card-body {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
}
.logs-frequency-chart-container {
@@ -266,22 +265,8 @@
.lightMode {
.logs-explorer-views-container {
- .ant-card-body {
- background-color: var(--bg-vanilla-100);
- }
-
.views-tabs-container {
- border: 1px solid var(--text-vanilla-300);
-
.views-tabs {
- .tab {
- border: 1px solid var(--bg-vanilla-300);
- }
-
- .tab::before {
- background: var(--bg-vanilla-300);
- }
-
.selected_view {
background: white;
color: var(--text-robin-400);
@@ -293,20 +278,6 @@
}
}
}
-
- .logs-actions-container {
- border-color: var(--bg-vanilla-300);
-
- .query-stats {
- .rows {
- color: var(--bg-ink-400);
- }
-
- .time {
- color: var(--bg-ink-400);
- }
- }
- }
}
}
diff --git a/frontend/src/container/LogsPanelTable/LogsPanelComponent.styles.scss b/frontend/src/container/LogsPanelTable/LogsPanelComponent.styles.scss
index 99f93a7935..6cca69a27c 100644
--- a/frontend/src/container/LogsPanelTable/LogsPanelComponent.styles.scss
+++ b/frontend/src/container/LogsPanelTable/LogsPanelComponent.styles.scss
@@ -20,9 +20,10 @@
font-weight: 400;
line-height: 18px;
font-family: Inter;
+
.ant-typography {
background-color: transparent;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
margin-bottom: 0;
font-size: 13px;
font-style: normal;
@@ -36,12 +37,12 @@
}
.ant-table-wrapper .ant-table-header {
- border-bottom: 0.5px solid var(--bg-slate-400);
+ border-bottom: 0.5px solid var(--l1-border);
}
.ant-table-wrapper .ant-table-thead > tr > th {
font-family: Inter;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
background-color: transparent;
border: none;
font-size: 14px;
@@ -66,24 +67,3 @@
margin: 12px 0 2px;
}
}
-
-.lightMode {
- .logs-table {
- .resize-table {
- .ant-table-wrapper .ant-table-tbody > tr > td {
- background-color: var(--bg-vanilla-100);
- .ant-typography {
- color: var(--bg-ink-500);
- }
- }
- .ant-table-wrapper .ant-table-thead > tr > th {
- background-color: var(--bg-vanilla-100);
- color: var(--bg-ink-500);
- }
-
- .ant-table-wrapper .ant-table-header {
- border-bottom: 0.5px solid var(--bg-vanilla-400);
- }
- }
- }
-}
diff --git a/frontend/src/container/MembersSettings/MembersSettings.styles.scss b/frontend/src/container/MembersSettings/MembersSettings.styles.scss
index 1f4e89a2fa..9cf3986a04 100644
--- a/frontend/src/container/MembersSettings/MembersSettings.styles.scss
+++ b/frontend/src/container/MembersSettings/MembersSettings.styles.scss
@@ -14,7 +14,7 @@
&__title {
font-size: var(--label-large-500-font-size);
font-weight: var(--label-large-500-font-weight);
- color: var(--text-base-white);
+ color: var(--l1-foreground);
letter-spacing: -0.09px;
line-height: var(--line-height-normal);
margin: 0;
@@ -45,7 +45,7 @@
display: flex;
align-items: center;
gap: var(--spacing-2);
- border: 1px solid var(--border);
+ border: 1px solid var(--l1-border);
border-radius: 2px;
background-color: var(--l2-background);
@@ -63,7 +63,7 @@
.ant-dropdown-menu {
padding: var(--padding-3) 14px;
border-radius: 4px;
- border: 1px solid var(--border);
+ border: 1px solid var(--l1-border);
background: var(--l2-background);
backdrop-filter: blur(20px);
}
@@ -98,23 +98,9 @@
height: 32px;
color: var(--l1-foreground);
background-color: var(--l2-background);
- border-color: var(--border);
+ border-color: var(--l1-border);
&::placeholder {
color: var(--l3-foreground);
}
}
-
-.lightMode {
- .members-settings {
- &__title {
- color: var(--text-base-black);
- }
- }
-
- .members-filter-option {
- &:hover {
- color: var(--bg-neutral-light-100);
- }
- }
-}
diff --git a/frontend/src/container/MembersSettings/__tests__/MembersSettings.integration.test.tsx b/frontend/src/container/MembersSettings/__tests__/MembersSettings.integration.test.tsx
index 599193ed49..e0afcf169b 100644
--- a/frontend/src/container/MembersSettings/__tests__/MembersSettings.integration.test.tsx
+++ b/frontend/src/container/MembersSettings/__tests__/MembersSettings.integration.test.tsx
@@ -4,7 +4,8 @@ import { render, screen, userEvent } from 'tests/test-utils';
import MembersSettings from '../MembersSettings';
-jest.mock('@signozhq/sonner', () => ({
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
toast: {
success: jest.fn(),
error: jest.fn(),
diff --git a/frontend/src/container/MeterExplorer/Breakdown/BreakDown.styles.scss b/frontend/src/container/MeterExplorer/Breakdown/BreakDown.styles.scss
index 4d534b2af4..21ac585af0 100644
--- a/frontend/src/container/MeterExplorer/Breakdown/BreakDown.styles.scss
+++ b/frontend/src/container/MeterExplorer/Breakdown/BreakDown.styles.scss
@@ -6,7 +6,7 @@
display: flex;
min-height: 30px;
justify-content: end;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
padding: 10px 16px;
}
@@ -24,7 +24,7 @@
.meter-column-graph {
.row-card {
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
padding-left: 10px;
height: 32px;
display: flex;
@@ -32,7 +32,7 @@
align-items: center;
.section-title {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -76,23 +76,3 @@
}
}
}
-
-.lightMode {
- .meter-explorer-breakdown {
- .meter-explorer-date-time {
- border-bottom: none;
- }
-
- .meter-explorer-graphs {
- .meter-column-graph {
- .row-card {
- background-color: var(--bg-vanilla-300);
-
- .section-title {
- color: var(--bg-ink-400);
- }
- }
- }
- }
- }
-}
diff --git a/frontend/src/container/MeterExplorer/Explorer/Explorer.styles.scss b/frontend/src/container/MeterExplorer/Explorer/Explorer.styles.scss
index 4528dff967..26beb8e298 100644
--- a/frontend/src/container/MeterExplorer/Explorer/Explorer.styles.scss
+++ b/frontend/src/container/MeterExplorer/Explorer/Explorer.styles.scss
@@ -4,7 +4,7 @@
.meter-explorer-quick-filters-section {
width: 280px;
- border-right: 1px solid var(--bg-slate-500);
+ border-right: 1px solid var(--l1-border);
&.hidden {
display: none;
@@ -46,8 +46,8 @@
.explore-tabs {
margin: 15px 0;
.tab {
- background-color: var(--bg-slate-500);
- border-color: var(--bg-ink-200);
+ background-color: var(--l1-background);
+ border-color: var(--l1-border);
width: 180px;
padding: 16px 0;
display: flex;
@@ -64,7 +64,7 @@
}
.selected-view {
- background: var(--bg-ink-500);
+ background: var(--background);
}
}
@@ -85,8 +85,8 @@
.time-series-view-panel {
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
padding: 8px !important;
margin: 8px;
}
@@ -129,34 +129,6 @@
}
}
-.lightMode {
- .meter-explorer-container {
- .explore-tabs {
- .tab {
- background-color: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-400);
- }
-
- .selected-view {
- background: var(--bg-vanilla-500);
- }
- }
-
- .meter-explorer-content-section {
- .explore-content {
- .time-series-view-panel {
- background: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-300);
- }
- }
- }
-
- .meter-explorer-quick-filters-section {
- border-right: 1px solid var(--bg-vanilla-300);
- }
- }
-}
-
.dashboards-and-alerts-popover-container {
display: flex;
gap: 16px;
@@ -200,7 +172,7 @@
gap: 16px;
.no-data-text {
- color: var(--text-vanilla-500);
+ color: var(--muted-foreground);
font-size: 14px;
line-height: 20px;
text-align: center;
diff --git a/frontend/src/container/MetricsApplication/Tabs/Overview/GraphControlsPanel/GraphControlsPanel.styles.scss b/frontend/src/container/MetricsApplication/Tabs/Overview/GraphControlsPanel/GraphControlsPanel.styles.scss
index a845a8ca27..dadd81b71d 100644
--- a/frontend/src/container/MetricsApplication/Tabs/Overview/GraphControlsPanel/GraphControlsPanel.styles.scss
+++ b/frontend/src/container/MetricsApplication/Tabs/Overview/GraphControlsPanel/GraphControlsPanel.styles.scss
@@ -5,13 +5,13 @@
width: 150px;
padding: 5px;
border-radius: 5px;
- background: var(--bg-slate-400);
+ background: var(--l2-background);
.ant-btn-link {
padding: 0;
margin: 0;
text-decoration: none;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
cursor: pointer;
display: inline-flex;
align-items: center;
@@ -20,6 +20,6 @@
}
.ant-btn-link:hover {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
diff --git a/frontend/src/container/MetricsExplorer/Explorer/Explorer.styles.scss b/frontend/src/container/MetricsExplorer/Explorer/Explorer.styles.scss
index 54c475739b..5df836ed91 100644
--- a/frontend/src/container/MetricsExplorer/Explorer/Explorer.styles.scss
+++ b/frontend/src/container/MetricsExplorer/Explorer/Explorer.styles.scss
@@ -30,6 +30,31 @@
}
}
+ .explore-tabs {
+ margin: 15px 0;
+ .tab {
+ background-color: var(--l1-background);
+ border-color: var(--l1-border);
+ width: 180px;
+ padding: 16px 0;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ }
+
+ .tab:first-of-type {
+ border-top-left-radius: 2px;
+ }
+
+ .tab:last-of-type {
+ border-top-right-radius: 2px;
+ }
+
+ .selected-view {
+ background: var(--l1-background);
+ }
+ }
+
.explore-content {
padding: 0 8px;
@@ -91,6 +116,76 @@
width: 100%;
height: fit-content;
}
+
+ .related-metrics-container {
+ width: 100%;
+ min-height: 300px;
+ display: flex;
+ flex-direction: column;
+ gap: 10px;
+
+ .related-metrics-header {
+ display: flex;
+ align-items: center;
+ justify-content: flex-start;
+
+ .metric-name-select {
+ width: 20%;
+ margin-right: 10px;
+ }
+
+ .related-metrics-input {
+ width: 40%;
+
+ .ant-input-wrapper {
+ .ant-input-group-addon {
+ .related-metrics-select {
+ width: 250px;
+ border: 1px solid var(--l1-border) !important;
+
+ .ant-select-selector {
+ text-align: left;
+ color: var(--muted-foreground) !important;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ .related-metrics-body {
+ margin-top: 20px;
+ max-height: 650px;
+ overflow-y: scroll;
+
+ .related-metrics-card-container {
+ margin-bottom: 20px;
+ min-height: 640px;
+
+ .related-metrics-card {
+ display: flex;
+ flex-direction: column;
+ gap: 16px;
+
+ .related-metrics-card-error {
+ padding-top: 10px;
+ height: fit-content;
+ width: fit-content;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+.lightMode {
+ .metrics-explorer-explore-container {
+ .explore-tabs {
+ .selected-view {
+ background: var(--l3-background);
+ }
+ }
}
}
diff --git a/frontend/src/container/MetricsExplorer/Explorer/TimeSeries.tsx b/frontend/src/container/MetricsExplorer/Explorer/TimeSeries.tsx
index bb28d4cc23..a1ceca8386 100644
--- a/frontend/src/container/MetricsExplorer/Explorer/TimeSeries.tsx
+++ b/frontend/src/container/MetricsExplorer/Explorer/TimeSeries.tsx
@@ -3,7 +3,7 @@ import { useQueries, useQueryClient } from 'react-query';
// eslint-disable-next-line no-restricted-imports
import { useSelector } from 'react-redux';
import { Color } from '@signozhq/design-tokens';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { Button, Tooltip, Typography } from 'antd';
import {
invalidateGetMetricMetadata,
diff --git a/frontend/src/container/MetricsExplorer/Inspect/Inspect.styles.scss b/frontend/src/container/MetricsExplorer/Inspect/Inspect.styles.scss
index dc48c7f31e..81084ef79d 100644
--- a/frontend/src/container/MetricsExplorer/Inspect/Inspect.styles.scss
+++ b/frontend/src/container/MetricsExplorer/Inspect/Inspect.styles.scss
@@ -20,7 +20,7 @@
align-items: center;
justify-content: center;
cursor: default;
- color: var(--text-vanilla-500);
+ color: var(--l2-foreground);
}
}
@@ -35,7 +35,7 @@
flex: 2;
gap: 16px;
padding-right: 24px;
- border-right: 1px solid var(--bg-slate-400);
+ border-right: 1px solid var(--l1-border);
width: 60%;
.inspect-metrics-graph-view {
@@ -57,7 +57,7 @@
cursor: default;
span {
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
@@ -133,7 +133,7 @@
cursor: default;
span {
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
@@ -224,14 +224,15 @@
}
.metric-filters {
- .query-builder-search-container {
+ .query-builder-search-container,
+ .query-builder-search-v2 {
width: 100%;
.ant-select {
.ant-select-selector {
- background-color: var(--bg-ink-400);
- color: var(--text-vanilla-100);
- border-color: var(--bg-slate-400);
+ background-color: var(--l1-background);
+ color: var(--l1-foreground);
+ border: 0.5px solid var(--l1-border) !important;
}
}
}
@@ -251,7 +252,7 @@
flex-direction: column;
gap: 16px;
padding-bottom: 32px;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
.home-checklist-title {
display: flex;
@@ -382,19 +383,19 @@
}
.graph-popover-header-text {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
}
.graph-popover-row-label {
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
width: 10%;
}
.graph-popover-cell {
padding: 4px 8px;
- background-color: #1f1f1f;
+ background-color: var(--l3-background);
border-radius: 4px;
- color: #fff;
+ color: var(--l1-foreground);
min-width: 60px;
max-width: 60px;
text-overflow: ellipsis;
@@ -414,7 +415,7 @@
.footer-divider {
flex: 1;
- border-top: 1px dashed #ccc;
+ border-top: 1px dashed var(--l1-border);
margin: 0 8px;
}
}
@@ -477,22 +478,22 @@
}
.labels-table {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
.labels-key {
- color: var(--bg-vanilla-400);
- background-color: var(--bg-slate-500);
+ color: var(--l2-foreground);
+ background-color: var(--l3-background);
font-family: 'Geist Mono';
}
.labels-value {
- background-color: var(--bg-slate-500);
+ background-color: var(--l3-background);
opacity: 80%;
font-family: 'Geist Mono';
.field-renderer-container {
.label {
- color: var(--bg-slate-400);
+ color: var(--l2-foreground);
}
}
}
@@ -514,95 +515,3 @@
gap: 8px;
}
}
-
-.lightMode {
- .inspect-metrics-modal {
- .inspect-metrics-title {
- .inspect-metrics-button {
- color: var(--text-ink-400);
- }
- }
-
- .inspect-metrics-content {
- .inspect-metrics-content-first-col {
- .inspect-metrics-graph-view {
- .inspect-metrics-graph-view-header {
- .ant-btn-group {
- .time-series-button-label,
- .metric-name-button-label {
- span {
- color: var(--text-ink-100);
- }
- }
- }
- }
- }
-
- .inspect-metrics-query-builder {
- .inspect-metrics-query-builder-header {
- .query-builder-button-label {
- span {
- color: var(--text-ink-100);
- }
- }
- }
-
- .metric-filters {
- .query-builder-search-v2 {
- .ant-select {
- .ant-select-selector {
- background-color: var(--bg-vanilla-100);
- color: var(--text-ink-100);
- border: 0.5px solid var(--bg-slate-300) !important;
- }
- }
- }
- }
- }
- }
- }
- }
-
- .graph-popover {
- .graph-popover-card {
- .graph-popover-header-text {
- color: var(--text-ink-400);
- }
-
- .graph-popover-row-label {
- color: var(--bg-slate-50);
- }
-
- .graph-popover-cell {
- background-color: var(--bg-vanilla-300);
- color: var(--text-ink-100);
- }
-
- .footer-row {
- .footer-divider {
- border-top: 1px dashed var(--bg-slate-300);
- }
- }
- }
- }
-
- .expanded-view {
- .labels-table {
- border: 1px solid var(--bg-vanilla-400);
-
- .labels-key {
- color: var(--bg-slate-400);
- background-color: var(--bg-vanilla-400);
- }
-
- .labels-value {
- background-color: var(--bg-vanilla-400);
- .field-renderer-container {
- .label {
- color: var(--bg-vanilla-400);
- }
- }
- }
- }
- }
-}
diff --git a/frontend/src/container/MetricsExplorer/MetricDetails/MetricDetails.styles.scss b/frontend/src/container/MetricsExplorer/MetricDetails/MetricDetails.styles.scss
index 09b27cbc28..7636dbb352 100644
--- a/frontend/src/container/MetricsExplorer/MetricDetails/MetricDetails.styles.scss
+++ b/frontend/src/container/MetricsExplorer/MetricDetails/MetricDetails.styles.scss
@@ -23,7 +23,7 @@
display: flex;
align-items: center;
gap: 4px;
- background-color: var(--bg-slate-300);
+ background-color: var(--l1-border);
}
.inspect-metrics-button {
@@ -80,7 +80,7 @@
}
.values-row {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-style: normal;
font-weight: 600;
@@ -149,7 +149,7 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
border-radius: 1px;
}
}
@@ -167,7 +167,7 @@
.lucide-info {
cursor: pointer;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
@@ -189,7 +189,7 @@
align-self: flex-start;
.ant-typography {
font-family: 'Inter';
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
}
@@ -220,7 +220,7 @@
}
.all-attributes-contribution {
font-family: 'Geist Mono';
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
}
@@ -242,7 +242,7 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
border-radius: 1px;
}
.all-attributes-value-item {
@@ -260,14 +260,14 @@
.ant-btn {
text-align: left;
width: fit-content;
- background-color: var(--bg-slate-300);
+ background-color: var(--l1-border);
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Geist Mono';
text-overflow: ellipsis;
}
&:hover {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
}
}
}
@@ -292,18 +292,18 @@
vertical-align: middle;
.field-renderer-container {
.label {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
}
.metric-metadata-value {
height: 67px;
- background: rgba(22, 25, 34, 0.4);
+ background: color-mix(in srgb, var(--l1-border) 40%, transparent);
overflow-x: scroll;
.field-renderer-container {
.label {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
padding-right: 10px;
}
}
@@ -354,7 +354,7 @@
gap: 12px;
height: 34px;
width: 100%;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
padding: 0 12px;
align-items: center;
position: relative;
@@ -364,15 +364,15 @@
}
.top-attributes-item-count {
- background-color: var(--bg-slate-300);
+ background-color: var(--l1-border);
border-radius: 50px;
padding: 2px 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
z-index: 2;
}
.top-attributes-item-progress-bar {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
height: 100%;
position: absolute;
top: 0;
@@ -395,7 +395,7 @@
.action-menu {
.action-button {
.ant-typography {
- color: var(--bg-slate-400);
+ color: var(--l1-border);
}
}
}
@@ -405,34 +405,34 @@
.metric-metadata-key {
.field-renderer-container {
.label {
- color: var(--bg-slate-300);
+ color: var(--l2-foreground);
}
}
.all-attributes-key {
.all-attributes-contribution {
- color: var(--bg-slate-400);
+ color: var(--l1-border);
}
}
}
.metric-metadata-value {
- background-color: var(--bg-vanilla-300);
+ background-color: var(--l3-background);
.all-attributes-value {
.ant-btn {
- background-color: var(--bg-vanilla-400);
+ background-color: var(--l2-foreground);
.ant-typography {
- color: var(--bg-slate-400);
+ color: var(--l1-border);
}
&:hover {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-foreground);
}
}
}
.field-renderer-container {
.label {
- color: var(--bg-slate-400);
+ color: var(--l1-border);
}
}
}
@@ -451,7 +451,7 @@
.top-attributes-item-key,
.top-attributes-item-count {
- color: var(--bg-slate-400);
+ color: var(--l1-border);
}
}
}
@@ -479,11 +479,11 @@
.ant-popover-inner {
padding: 0 !important;
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -506,11 +506,11 @@
.ant-popover-inner {
padding: 0 !important;
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -540,7 +540,7 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
border-radius: 1px;
}
}
@@ -554,7 +554,7 @@
gap: 8px;
&:hover {
- background: rgba(255, 255, 255, 0.04);
+ background: color-mix(in srgb, var(--l1-foreground) 4%, transparent);
}
.all-values-item-text {
@@ -589,8 +589,8 @@
.attribute-key-popover-overlay,
.all-values-popover-overlay {
.ant-popover-inner {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100) !important;
+ border: 1px solid var(--l2-foreground);
+ background: var(--l1-foreground) !important;
}
}
diff --git a/frontend/src/container/MetricsExplorer/Summary/Summary.styles.scss b/frontend/src/container/MetricsExplorer/Summary/Summary.styles.scss
index b41b4339dd..aa64763ac0 100644
--- a/frontend/src/container/MetricsExplorer/Summary/Summary.styles.scss
+++ b/frontend/src/container/MetricsExplorer/Summary/Summary.styles.scss
@@ -68,10 +68,10 @@
font-size: 12px;
line-height: 18px;
- background: var(--bg-ink-500);
+ background: var(--l1-background);
border-bottom: none;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -86,7 +86,7 @@
}
.ant-table-thead > tr > th:has(.metric-name-column-header) {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.metric-name-column-header,
@@ -109,12 +109,12 @@
padding: 12px;
font-size: 13px;
line-height: 20px;
- color: var(--bg-vanilla-100);
- background: var(--bg-ink-500);
+ color: var(--l1-foreground);
+ background: var(--l1-background);
}
.ant-table-cell:has(.metric-name-column-value) {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.metric-description-column-value {
@@ -124,7 +124,7 @@
}
.metric-name-column-value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-style: normal;
font-weight: 600;
@@ -150,7 +150,7 @@
}
.ant-table-tbody > tr:hover > td {
- background: rgba(255, 255, 255, 0.04);
+ background: color-mix(in srgb, var(--l1-foreground) 4%, transparent);
}
.ant-table-cell:first-child {
@@ -190,7 +190,7 @@
position: fixed;
bottom: 0;
width: calc(100% - 54px);
- background: var(--bg-ink-500);
+ background: var(--l1-background);
padding: 16px;
margin: 0;
@@ -201,11 +201,11 @@
border-radius: 4px;
&-active {
- background: var(--bg-robin-500);
+ background: var(--primary-background);
border-color: var(--bg-robin-500);
a {
- color: var(--bg-ink-500) !important;
+ color: var(--l1-foreground) !important;
}
}
}
@@ -231,43 +231,19 @@
.lightMode {
.metrics-table-container {
.ant-table {
- .ant-table-thead > tr > th {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- }
-
- .ant-table-thead > tr > th:has(.metric-name-column-header) {
- background: var(--bg-vanilla-100);
- }
-
- .ant-table-cell {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-500);
- }
-
- .ant-table-cell:has(.metric-name-column-value) {
- background: var(--bg-vanilla-100);
- }
-
- .metric-name-column-value {
- color: var(--bg-ink-300);
- }
-
.ant-table-tbody > tr:hover > td {
background: rgba(0, 0, 0, 0.04);
}
}
.ant-pagination {
- background: var(--bg-vanilla-100);
-
.ant-pagination-item {
&-active {
- background: var(--bg-robin-500);
+ background: var(--primary-background);
border-color: var(--bg-robin-500);
a {
- color: var(--bg-vanilla-100) !important;
+ color: var(--l1-foreground) !important;
}
}
}
diff --git a/frontend/src/container/MySettings/LicenseSection/LicenseSection.styles.scss b/frontend/src/container/MySettings/LicenseSection/LicenseSection.styles.scss
index 0ad4957b8d..b5c0e90a3a 100644
--- a/frontend/src/container/MySettings/LicenseSection/LicenseSection.styles.scss
+++ b/frontend/src/container/MySettings/LicenseSection/LicenseSection.styles.scss
@@ -9,7 +9,7 @@
gap: 4px;
.license-section-title {
- color: #fff;
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 16px;
font-style: normal;
@@ -25,8 +25,8 @@
.license-section-content-item {
padding: 16px;
- border: 1px solid var(--Slate-500, #161922);
- background: var(--Ink-400, #121317);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
border-radius: 3px;
.license-section-content-item-title-action {
@@ -35,7 +35,7 @@
justify-content: space-between;
gap: 8px;
- color: var(--Vanilla-300, #eee);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -47,7 +47,7 @@
}
.license-section-content-item-description {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -62,21 +62,21 @@
.license-section {
.license-section-header {
.license-section-title {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
}
.license-section-content {
.license-section-content-item {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
.license-section-content-item-title-action {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
.license-section-content-item-description {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
}
}
diff --git a/frontend/src/container/MySettings/MySettings.styles.scss b/frontend/src/container/MySettings/MySettings.styles.scss
index 4ba17f2fe6..75d131baee 100644
--- a/frontend/src/container/MySettings/MySettings.styles.scss
+++ b/frontend/src/container/MySettings/MySettings.styles.scss
@@ -35,7 +35,7 @@
gap: 4px;
.user-info-section-title {
- color: #fff;
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 16px;
font-style: normal;
@@ -44,7 +44,7 @@
}
.user-info-section-subtitle {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -65,7 +65,7 @@
gap: 4px;
.user-preference-section-title {
- color: #fff;
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 16px;
font-style: normal;
@@ -74,7 +74,7 @@
}
.user-preference-section-subtitle {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -91,8 +91,8 @@
.user-preference-section-content-item {
padding: 16px;
border-radius: 4px 4px 0px 0px;
- border: 1px solid var(--Slate-500, #161922);
- background: var(--Ink-400, #121317);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
border-radius: 3px;
.user-preference-section-content-item-title-action {
@@ -101,7 +101,7 @@
justify-content: space-between;
gap: 8px;
- color: var(--Vanilla-300, #eee);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -113,7 +113,7 @@
}
.user-preference-section-content-item-description {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -125,11 +125,11 @@
margin-top: 8px;
padding: 8px 12px;
border-radius: 4px;
- background: var(--bg-slate-400, #1d212d);
- border: 1px solid var(--bg-slate-500, #161922);
+ background: var(--l1-border);
+ border: 1px solid var(--l1-border);
.auto-theme-status {
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -137,7 +137,7 @@
letter-spacing: -0.07px;
strong {
- color: var(--bg-robin-400, #4e74f8);
+ color: var(--bg-robin-400);
font-weight: 600;
}
}
@@ -148,8 +148,8 @@
.reset-password-card {
border-radius: 0px 0px 4px 4px;
- border: 1px solid var(--Slate-500, #161922);
- background: var(--Ink-400, #121317);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
border-radius: 3px;
}
@@ -158,11 +158,11 @@
.user-info-section {
.user-info-section-header {
.user-info-section-title {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
.user-info-section-subtitle {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
}
}
@@ -170,36 +170,36 @@
.user-preference-section {
.user-preference-section-header {
.user-preference-section-title {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
.user-preference-section-subtitle {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
}
.user-preference-section-content {
.user-preference-section-content-item {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
.user-preference-section-content-item-title-action {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
.user-preference-section-content-item-description {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
}
.auto-theme-info {
- background: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
+ background: var(--l2-background);
+ border: 1px solid var(--l1-border);
.auto-theme-status {
- color: var(--bg-ink-300);
+ color: var(--l1-foreground);
strong {
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
}
}
}
@@ -208,7 +208,7 @@
}
.reset-password-card {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
}
}
diff --git a/frontend/src/container/MySettings/TimezoneAdaptation/TimezoneAdaptation.styles.scss b/frontend/src/container/MySettings/TimezoneAdaptation/TimezoneAdaptation.styles.scss
index 87f7b3e5cc..c5f0d9a93d 100644
--- a/frontend/src/container/MySettings/TimezoneAdaptation/TimezoneAdaptation.styles.scss
+++ b/frontend/src/container/MySettings/TimezoneAdaptation/TimezoneAdaptation.styles.scss
@@ -2,8 +2,8 @@
padding: 16px;
border-radius: 4px 4px 0px 0px;
- border: 1px solid var(--Slate-500, #161922);
- background: var(--Ink-400, #121317);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
border-radius: 3px;
@@ -15,14 +15,14 @@
}
&__title {
- color: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 500;
margin: 0;
}
&__description {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
line-height: 20px;
margin: 0 0 12px 0;
@@ -33,8 +33,9 @@
align-items: center;
justify-content: space-between;
padding: 7.5px 12px;
- background: rgba(78, 116, 248, 0.1);
- border: 1px solid rgba(78, 116, 248, 0.1);
+ background: color-mix(in srgb, var(--primary-background) 10%, transparent);
+ border: 1px solid
+ color-mix(in srgb, var(--primary-background) 10%, transparent);
border-radius: 4px;
}
@@ -62,11 +63,11 @@
display: flex;
align-items: center;
padding: 0 2px;
- background: rgba(171, 189, 255, 0.04);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
border-radius: 2px;
font-size: 12px;
line-height: 16px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
&__clear-override {
display: flex;
@@ -82,18 +83,3 @@
cursor: pointer;
}
}
-
-.lightMode {
- .timezone-adaption {
- background-color: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-300);
-
- &__title {
- color: var(--text-ink-300);
- }
-
- &__description {
- color: var(--text-ink-400);
- }
- }
-}
diff --git a/frontend/src/container/MySettings/UserInfo/UserInfo.styles.scss b/frontend/src/container/MySettings/UserInfo/UserInfo.styles.scss
index 10d2268ef6..124f1be26a 100644
--- a/frontend/src/container/MySettings/UserInfo/UserInfo.styles.scss
+++ b/frontend/src/container/MySettings/UserInfo/UserInfo.styles.scss
@@ -7,8 +7,8 @@
}
.user-info-container {
- border: 1px solid var(--Slate-500, #161922);
- background: var(--Ink-400, #121317);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
border-radius: 3px;
padding: 16px;
@@ -31,7 +31,7 @@
flex: 1;
.user-name {
- color: var(--Vanilla-100, #fff);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -50,7 +50,7 @@
align-items: center;
gap: 8px;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -66,7 +66,7 @@
text-transform: capitalize;
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -94,21 +94,21 @@
.ant-modal-content {
padding: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
.ant-modal-header {
padding: 16px;
- background: var(--bg-ink-400);
- border-bottom: 1px solid var(--bg-slate-500);
+ background: var(--l2-background);
+ border-bottom: 1px solid var(--l1-border);
}
.ant-modal-body {
padding: 12px 16px 0px 16px;
.ant-typography {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -132,8 +132,8 @@
.ant-color-picker-trigger {
padding: 6px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
width: 32px;
height: 32px;
@@ -162,8 +162,8 @@
display: flex;
align-items: center;
border-radius: 2px;
- background-color: var(--bg-robin-500) !important;
- color: var(--bg-vanilla-100) !important;
+ background-color: var(--primary-background) !important;
+ color: var(--primary-foreground) !important;
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -174,7 +174,7 @@
}
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -182,54 +182,3 @@
line-height: 20px;
}
}
-
-.lightMode {
- .user-info-container {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
-
- .user-info {
- .user-name {
- color: var(--bg-ink-400);
- }
-
- .user-info-subsection {
- .user-email {
- color: var(--bg-ink-400);
- }
-
- .user-role {
- color: var(--bg-ink-300);
- }
- }
- }
- }
-
- .update-name-modal,
- .reset-password-modal {
- .ant-modal-content {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
-
- .ant-modal-header {
- background: var(--bg-vanilla-100);
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
-
- .ant-modal-body {
- .ant-typography {
- color: var(--bg-ink-400);
- }
-
- .ant-color-picker-trigger {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
- }
- }
-
- .title {
- color: var(--bg-ink-400);
- }
- }
-}
diff --git a/frontend/src/container/NewExplorerCTA/NewExplorerCTA.styles.scss b/frontend/src/container/NewExplorerCTA/NewExplorerCTA.styles.scss
index e1c9212096..97df734e05 100644
--- a/frontend/src/container/NewExplorerCTA/NewExplorerCTA.styles.scss
+++ b/frontend/src/container/NewExplorerCTA/NewExplorerCTA.styles.scss
@@ -1,7 +1,7 @@
.new-explorer-cta {
display: flex;
align-items: center;
- color: var(--bg-vanilla-400);
+ color: var(--muted-foreground);
/* Bifrost (Ancient)/Content/sm */
font-family: Inter;
diff --git a/frontend/src/container/NewWidget/LeftContainer/ExplorerColumnsRenderer.styles.scss b/frontend/src/container/NewWidget/LeftContainer/ExplorerColumnsRenderer.styles.scss
index cb19bf7e9e..30a1525874 100644
--- a/frontend/src/container/NewWidget/LeftContainer/ExplorerColumnsRenderer.styles.scss
+++ b/frontend/src/container/NewWidget/LeftContainer/ExplorerColumnsRenderer.styles.scss
@@ -21,7 +21,7 @@
.ant-divider {
margin: 8px 0 !important;
- border: 0.5px solid var(--bg-slate-400);
+ border: 0.5px solid var(--l1-border);
}
.explorer-columns-contents {
@@ -49,8 +49,12 @@
padding: 4px;
min-width: 200px;
border-radius: 2px;
- border: 1px solid var(--colorBorder, rgba(118, 136, 201, 0.12));
- background: var(--bg-slate-500);
+ border: 1px solid
+ var(
+ --colorBorder,
+ color-mix(in srgb, var(--bg-robin-300) 12%, transparent)
+ );
+ background: var(--l1-border);
cursor: unset;
.explorer-column-title {
@@ -86,10 +90,10 @@
}
.explorer-columns-search {
- border: 1px solid rgba(118, 136, 201, 0.12);
+ border: 1px solid color-mix(in srgb, var(--bg-robin-300) 12%, transparent);
border-radius: 6px;
padding: 0px;
- background: #141414;
+ background: var(--background);
> input {
height: 32px;
padding: 0 6px;
@@ -98,7 +102,7 @@
.explorer-columns-dropdown {
height: 200px;
- background-color: var(--bg-slate-500);
+ background-color: var(--l1-border);
overflow: hidden !important;
.ant-dropdown-menu {
padding: 0;
@@ -121,64 +125,17 @@
}
.attribute-columns::-webkit-scrollbar-track {
- background: var(--bg-slate-500); /* Color of the track */
+ background: var(--l1-border); /* Color of the track */
}
.attribute-columns::-webkit-scrollbar-thumb {
- background: var(--bg-vanilla-400); /* Color of the thumb */
+ background: var(--l2-foreground); /* Color of the thumb */
border-radius: 4px; /* Roundness of the thumb */
}
.attribute-columns::-webkit-scrollbar-thumb:hover {
- background: var(--bg-vanilla-300); /* Color of the thumb on hover */
+ background: var(--l1-border); /* Color of the thumb on hover */
}
}
}
}
-
-.lightMode {
- .explorer-columns-renderer {
- .ant-divider {
- border: 0.5px solid var(--bg-vanilla-300);
- }
-
- .explorer-columns {
- .explorer-column-card {
- border: 1px solid var(--colorBorder, rgba(118, 136, 201, 0.12));
- background: var(--bg-vanilla-200);
- }
- }
-
- .explorer-columns-search {
- border: 1px solid rgba(118, 136, 201, 0.12);
- }
- }
-
- .explorer-columns-dropdown {
- background-color: var(--bg-vanilla-100);
-
- .ant-dropdown-menu-item {
- .attribute-columns {
- &::-webkit-scrollbar {
- width: 3px; /* Width of the scrollbar */
- }
-
- &::-webkit-scrollbar-track {
- background: var(--bg-vanilla-200); /* Color of the track */
- }
-
- &::-webkit-scrollbar-thumb {
- background: var(--bg-vanilla-400); /* Color of the thumb */
- }
-
- &::-webkit-scrollbar-thumb:hover {
- background: var(--bg-vanilla-300); /* Color of the thumb on hover */
- }
- }
- }
- }
-
- .explorer-columns-search {
- background: var(--bg-vanilla-100);
- }
-}
diff --git a/frontend/src/container/NewWidget/LeftContainer/LeftContainer.styles.scss b/frontend/src/container/NewWidget/LeftContainer/LeftContainer.styles.scss
index 068ab2c92d..d87e0e8b10 100644
--- a/frontend/src/container/NewWidget/LeftContainer/LeftContainer.styles.scss
+++ b/frontend/src/container/NewWidget/LeftContainer/LeftContainer.styles.scss
@@ -1,16 +1,9 @@
.query-section-left-container {
border: none;
- border-top: 1px solid var(--Slate-400, #1d212d);
- background: var(--Ink-500, #0b0c0e);
+ border-top: 1px solid var(--l1-border);
+ background: var(--l1-background);
.ant-card-body {
padding: 0px;
}
}
-
-.lightMode {
- .query-section-left-container {
- border-top: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
-}
diff --git a/frontend/src/container/NewWidget/LeftContainer/QuerySection/QuerySection.styles.scss b/frontend/src/container/NewWidget/LeftContainer/QuerySection/QuerySection.styles.scss
index 0b59cf4bf5..d5dcc8d810 100644
--- a/frontend/src/container/NewWidget/LeftContainer/QuerySection/QuerySection.styles.scss
+++ b/frontend/src/container/NewWidget/LeftContainer/QuerySection/QuerySection.styles.scss
@@ -24,7 +24,7 @@
.prom-ql-icon {
height: 14px;
width: 14px;
- color: var(--bg-vanilla-200);
+ color: var(--l2-foreground);
}
}
.ant-btn-default {
@@ -34,7 +34,7 @@
}
.ant-tabs-tab-active {
.nav-btns {
- background: var(--bg-slate-400) !important;
+ background: var(--l1-border) !important;
}
}
@@ -54,40 +54,15 @@
}
.ant-tabs-nav-list {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
.ant-tabs-tab + .ant-tabs-tab {
- border-left: 1px solid var(--bg-slate-400) !important;
+ border-left: 1px solid var(--l1-border) !important;
}
.stage-run-query {
display: flex;
align-items: center;
}
}
-
-.lightMode {
- .dashboard-navigation {
- .nav-btns {
- color: var(---bg-ink-300);
- background-color: var(--bg-vanilla-200);
- }
- .ant-tabs-nav-list {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- }
- .ant-tabs-tab + .ant-tabs-tab {
- border-left: 1px solid var(--bg-vanilla-100) !important;
- }
- .ant-tabs-tab-active {
- .nav-btns {
- background: var(--bg-vanilla-300) !important;
-
- .prom-ql-icon {
- color: var(--bg-ink-400);
- }
- }
- }
- }
-}
diff --git a/frontend/src/container/NewWidget/LeftContainer/WidgetGraph/WidgetGraph.styles.scss b/frontend/src/container/NewWidget/LeftContainer/WidgetGraph/WidgetGraph.styles.scss
index 19c743ca52..33735a5753 100644
--- a/frontend/src/container/NewWidget/LeftContainer/WidgetGraph/WidgetGraph.styles.scss
+++ b/frontend/src/container/NewWidget/LeftContainer/WidgetGraph/WidgetGraph.styles.scss
@@ -1,7 +1,7 @@
.widget-graph {
border: none;
background-color: unset;
- background-image: radial-gradient(var(--bg-slate-400) 1px, transparent 0);
+ background-image: radial-gradient(var(--l1-border) 1px, transparent 0);
background-size: 20px 20px;
padding: 16px;
@@ -22,7 +22,7 @@
align-items: center;
gap: 6px;
border-radius: 4px;
- background: var(--Slate-400, #1d212d);
+ background: var(--l3-background);
backdrop-filter: blur(6px);
width: fit-content;
}
@@ -35,13 +35,13 @@
.lightMode {
.widget-graph {
- background-color: var(--bg-vanilla-100);
- background-image: radial-gradient(var(--bg-vanilla-400) 1px, transparent 0);
+ background-color: var(--l1-background);
+ background-image: radial-gradient(var(--l2-foreground) 1px, transparent 0);
background-size: 20px 20px;
.header {
.plot-tag {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
}
}
diff --git a/frontend/src/container/NewWidget/NewWidget.styles.scss b/frontend/src/container/NewWidget/NewWidget.styles.scss
index 4b62e9ec9c..ffd0a11b7b 100644
--- a/frontend/src/container/NewWidget/NewWidget.styles.scss
+++ b/frontend/src/container/NewWidget/NewWidget.styles.scss
@@ -7,8 +7,8 @@
display: flex;
height: 48px;
flex-shrink: 0;
- border-bottom: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-500);
+ border-bottom: 1px solid var(--l1-border);
+ background: var(--l1-background);
justify-content: space-between;
align-items: center;
padding: 0px 12px 0px 16px;
@@ -19,19 +19,19 @@
align-items: center;
.discard-icon {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
cursor: pointer;
}
.configure-panel {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
- border-left: 1px solid var(--bg-slate-500);
+ border-left: 1px solid var(--l1-border);
padding-left: 16px;
}
}
@@ -40,29 +40,6 @@
display: flex;
gap: 16px;
}
-
- .save-btn {
- display: flex;
- height: 32px;
- width: 121px;
- padding: 4px 12px 4px 10px;
- justify-content: center;
- align-items: center;
- gap: 4px;
- border-radius: 2px;
- background: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
- text-align: center;
- font-family: Inter;
- font-size: 12px;
- font-style: normal;
- font-weight: 500;
- line-height: 18px; /* 150% */
-
- .ant-btn-icon {
- margin-inline-end: 0px !important;
- }
- }
}
.new-widget-container {
@@ -90,31 +67,7 @@
.widget-resizable-panel-group {
.widget-resizable-handle {
height: 100vh;
- }
- }
-}
-
-.lightMode {
- .edit-header {
- border-bottom: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-200);
-
- .left-header {
- .discard-icon {
- color: var(--bg-ink-300);
- }
-
- .configure-panel {
- color: var(--bg-slate-300);
- border-left: 1px solid var(--bg-vanilla-300);
- }
- }
- }
-
- .widget-resizable-panel-group {
- .bg-border {
- background: var(--bg-vanilla-300);
- border-color: var(--bg-vanilla-300);
+ background: color-mix(in srgb, var(--l3-background) 20%, transparent);
}
}
}
diff --git a/frontend/src/container/NewWidget/RightContainer/ColumnUnitSelector/ColumnUnitSelector.styles.scss b/frontend/src/container/NewWidget/RightContainer/ColumnUnitSelector/ColumnUnitSelector.styles.scss
index 6bd0c7fec0..ccff8d8768 100644
--- a/frontend/src/container/NewWidget/RightContainer/ColumnUnitSelector/ColumnUnitSelector.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/ColumnUnitSelector/ColumnUnitSelector.styles.scss
@@ -4,7 +4,7 @@
gap: 8px;
.heading {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono';
font-size: 13px;
font-style: normal;
@@ -42,7 +42,7 @@
.lightMode {
.column-unit-selector {
.heading {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
diff --git a/frontend/src/container/NewWidget/RightContainer/ContextLinks/UpdateContextLinks.styles.scss b/frontend/src/container/NewWidget/RightContainer/ContextLinks/UpdateContextLinks.styles.scss
index d9b142ea4a..d9369e199f 100644
--- a/frontend/src/container/NewWidget/RightContainer/ContextLinks/UpdateContextLinks.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/ContextLinks/UpdateContextLinks.styles.scss
@@ -25,7 +25,7 @@
margin-bottom: 8px;
strong {
- color: #666;
+ color: var(--muted-foreground);
font-size: 14px;
}
}
@@ -39,7 +39,7 @@
}
.delete-parameter-btn {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
padding: 4px;
height: 32px;
width: 32px;
@@ -65,7 +65,7 @@
gap: 8px;
margin-top: 24px;
padding-top: 16px;
- border-top: 1px solid var(--bg-slate-400);
+ border-top: 1px solid var(--l1-border);
}
}
@@ -74,7 +74,7 @@
.url-parameters-section {
.parameter-row {
.delete-parameter-btn {
- color: var(--bg-slate-400);
+ color: var(--l1-border);
&:hover {
color: var(--bg-cherry-500) !important;
@@ -86,7 +86,7 @@
}
.context-link-footer {
- border-top-color: var(--bg-vanilla-200);
+ border-top-color: var(--l1-border);
}
}
}
diff --git a/frontend/src/container/NewWidget/RightContainer/ContextLinks/styles.scss b/frontend/src/container/NewWidget/RightContainer/ContextLinks/styles.scss
index 753daa3ac6..d3d9d92382 100644
--- a/frontend/src/container/NewWidget/RightContainer/ContextLinks/styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/ContextLinks/styles.scss
@@ -5,7 +5,7 @@
}
.context-links-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono';
font-size: 13px;
font-style: normal;
@@ -48,7 +48,7 @@
.drag-handle-icon {
flex-shrink: 0;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
.context-link-content {
@@ -61,7 +61,7 @@
}
.context-link-label {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 12px;
font-weight: 500;
white-space: nowrap;
@@ -70,7 +70,7 @@
}
.context-link-url {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-weight: 400;
white-space: nowrap;
@@ -100,7 +100,7 @@
}
&:hover {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
.context-link-actions {
opacity: 1;
@@ -114,24 +114,24 @@
.lightMode {
.context-links-text {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
.context-link-item {
&:hover {
- background-color: var(--bg-vanilla-200);
+ background-color: var(--l2-background);
}
.context-link-label {
- color: var(--bg-slate-500);
+ color: var(--l1-border);
}
.context-link-url {
- color: var(--bg-slate-400);
+ color: var(--l1-border);
}
.drag-handle-icon {
- color: var(--bg-slate-400);
+ color: var(--l1-border);
}
.delete-context-link-btn {
diff --git a/frontend/src/container/NewWidget/RightContainer/LegendColors/LegendColors.styles.scss b/frontend/src/container/NewWidget/RightContainer/LegendColors/LegendColors.styles.scss
index 2ff707a316..74374d76f4 100644
--- a/frontend/src/container/NewWidget/RightContainer/LegendColors/LegendColors.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/LegendColors/LegendColors.styles.scss
@@ -34,17 +34,17 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
border-radius: 0.5px;
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
/* Firefox scrollbar styling */
scrollbar-width: thin;
- scrollbar-color: var(--bg-slate-400) transparent;
+ scrollbar-color: var(--l1-border) transparent;
}
.legend-item-wrapper {
@@ -83,8 +83,8 @@
border: 1px solid transparent;
&:hover {
- background-color: var(--bg-slate-400);
- border-color: var(--bg-slate-500);
+ background-color: var(--l1-border);
+ border-color: var(--l1-border);
transform: translateY(-1px);
}
@@ -148,20 +148,20 @@
.legend-colors-content {
.legend-items {
&::-webkit-scrollbar-thumb {
- background: var(--bg-vanilla-400);
+ background: var(--l2-foreground);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-vanilla-500);
+ background: var(--l3-background);
}
- scrollbar-color: var(--bg-vanilla-400) transparent;
+ scrollbar-color: var(--l2-foreground) transparent;
}
.legend-item {
&:hover {
- background-color: var(--bg-vanilla-100);
- border-color: var(--bg-slate-100);
+ background-color: var(--l3-background);
+ border-color: var(--l1-border);
}
}
}
diff --git a/frontend/src/container/NewWidget/RightContainer/RightContainer.styles.scss b/frontend/src/container/NewWidget/RightContainer/RightContainer.styles.scss
index 7dc438e7e5..b22d76afe4 100644
--- a/frontend/src/container/NewWidget/RightContainer/RightContainer.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/RightContainer.styles.scss
@@ -10,7 +10,7 @@
.section-heading {
font-family: 'Space Mono';
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 13px;
font-style: normal;
font-weight: 400;
@@ -21,7 +21,7 @@
.section-heading-small {
font-family: 'Space Mono';
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-style: normal;
font-weight: 400;
@@ -43,7 +43,7 @@
background: var(--bg-robin-400);
}
.header-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -69,8 +69,8 @@
align-items: center;
padding: 12px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
}
.toggle-card-text-container {
@@ -89,13 +89,13 @@
gap: 4px;
flex-shrink: 0;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
}
}
.toggle-card-description {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -128,11 +128,11 @@
gap: 4px;
align-self: stretch;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.ant-input {
- background: var(--bg-ink-300);
+ background: var(--l2-background);
}
}
}
@@ -144,8 +144,8 @@
border-radius: 2px;
.ant-select-selector {
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
}
}
}
@@ -164,12 +164,12 @@
align-items: center;
width: 50%;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-style: normal;
font-weight: 400;
@@ -182,7 +182,7 @@
.input {
width: 50%;
border: none;
- border-left: 1px solid var(--bg-slate-400);
+ border-left: 1px solid var(--l1-border);
}
}
}
@@ -195,12 +195,12 @@
.context-links {
padding: 12px 12px 16px 12px;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
}
.thresholds-section {
padding: 12px 12px 16px 12px;
- border-top: 1px solid var(--bg-slate-500);
+ border-top: 1px solid var(--l1-border);
}
}
@@ -214,7 +214,7 @@
}
.display {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -225,27 +225,27 @@
.lightMode {
.right-container {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-background);
.section-heading,
.section-heading-small {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
.header {
.header-text {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
}
.panel-config {
.panel-type-select {
.ant-select-selector {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
}
.select-option {
.display {
- color: var(--bg-ink-300);
+ color: var(--l2-foreground);
}
}
}
@@ -254,54 +254,54 @@
.y-axis-unit-selector-component {
.ant-select {
.ant-select-selector {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
}
}
}
}
.toggle-card {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.fill-gaps-text {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
.toggle-card-description {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
}
.panel-time-text {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
.y-axis-unit-selector,
.y-axis-unit-selector-v2 {
.heading {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
.input {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.ant-input {
- background: var(--bg-vanilla-300);
+ background: var(--l2-background);
}
}
}
.soft-min-max {
.container {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.text {
- color: var(--bg-ink-300);
+ color: var(--l2-foreground);
}
.input {
- border-left: 1px solid var(--bg-vanilla-300);
+ border-left: 1px solid var(--l1-border);
}
}
}
@@ -310,7 +310,7 @@
.select-option {
.display {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/container/NewWidget/RightContainer/SettingSections/AlertsSection/AlertsSection.styles.scss b/frontend/src/container/NewWidget/RightContainer/SettingSections/AlertsSection/AlertsSection.styles.scss
index cb33352eab..e30b8e8702 100644
--- a/frontend/src/container/NewWidget/RightContainer/SettingSections/AlertsSection/AlertsSection.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/SettingSections/AlertsSection/AlertsSection.styles.scss
@@ -4,7 +4,7 @@
justify-content: space-between;
padding: 12px;
min-height: 44px;
- border-top: 1px solid var(--bg-slate-500);
+ border-top: 1px solid var(--l1-border);
cursor: pointer;
.alerts-section__left {
@@ -13,38 +13,22 @@
gap: 8px;
.alerts-section__bell-icon {
- color: var(--bg-vanilla-400);
+ color: var(--l1-foreground);
}
.alerts-section__text {
- color: var(--bg-vanilla-400);
- font-size: 14px;
+ color: var(--l1-foreground);
+ font-family: 'Space Mono';
+ font-size: 13px;
font-style: normal;
font-weight: 400;
- line-height: 20px; /* 142.857% */
- letter-spacing: 0.14px;
+ line-height: 18px; /* 138.462% */
+ letter-spacing: 0.52px;
+ text-transform: uppercase;
}
}
- .alerts-section__plus-icon {
- color: var(--bg-vanilla-400);
- }
-}
-
-.lightMode {
- .alerts-section {
- border-top: 1px solid var(--bg-vanilla-300);
- .alerts-section__left {
- .alerts-section__bell-icon {
- color: var(--bg-ink-300);
- }
-
- .alerts-section__text {
- color: var(--bg-ink-300);
- }
- }
- .alerts-section__plus-icon {
- color: var(--bg-ink-300);
- }
+ .alerts-section__plus-icon {
+ color: var(--l1-foreground);
}
}
diff --git a/frontend/src/container/NewWidget/RightContainer/SettingSections/ContextLinksSection/ContextLinksSection.styles.scss b/frontend/src/container/NewWidget/RightContainer/SettingSections/ContextLinksSection/ContextLinksSection.styles.scss
index f9d5199103..d6ae361451 100644
--- a/frontend/src/container/NewWidget/RightContainer/SettingSections/ContextLinksSection/ContextLinksSection.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/SettingSections/ContextLinksSection/ContextLinksSection.styles.scss
@@ -1,10 +1,4 @@
.context-links-section {
padding: 12px 12px 16px 12px;
- border-bottom: 1px solid var(--bg-slate-500);
-}
-
-.lightMode {
- .context-links-section {
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
+ border-bottom: 1px solid var(--l1-border);
}
diff --git a/frontend/src/container/NewWidget/RightContainer/SettingSections/GeneralSettingsSection/GeneralSettingsSection.styles.scss b/frontend/src/container/NewWidget/RightContainer/SettingSections/GeneralSettingsSection/GeneralSettingsSection.styles.scss
index a4e411b4b7..a9b10f4495 100644
--- a/frontend/src/container/NewWidget/RightContainer/SettingSections/GeneralSettingsSection/GeneralSettingsSection.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/SettingSections/GeneralSettingsSection/GeneralSettingsSection.styles.scss
@@ -9,9 +9,9 @@
flex: 1 0 0;
align-self: stretch;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
- color: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -29,9 +29,9 @@
align-items: flex-start;
gap: 4px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
- color: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -41,24 +41,3 @@
}
}
}
-
-.lightMode {
- .general-settings__name-description {
- border-top: 1px solid var(--bg-vanilla-300);
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .general-settings__name-input {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-300);
- }
-
- .general-settings__description-input {
- .ant-input {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-300);
- }
- }
- }
-}
diff --git a/frontend/src/container/NewWidget/RightContainer/SettingSections/HistogramBucketsSection/HistogramBucketsSection.styles.scss b/frontend/src/container/NewWidget/RightContainer/SettingSections/HistogramBucketsSection/HistogramBucketsSection.styles.scss
index 3ce4943ac7..08c1f57804 100644
--- a/frontend/src/container/NewWidget/RightContainer/SettingSections/HistogramBucketsSection/HistogramBucketsSection.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/SettingSections/HistogramBucketsSection/HistogramBucketsSection.styles.scss
@@ -12,11 +12,11 @@
gap: 4px;
align-self: stretch;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.ant-input {
- background: var(--bg-ink-300);
+ background: var(--l2-background);
}
}
@@ -26,7 +26,7 @@
margin-top: 8px;
.histogram-settings__merge-label {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 13px;
font-style: normal;
font-weight: 400;
@@ -40,15 +40,15 @@
.lightMode {
.histogram-settings__bucket-config {
.histogram-settings__merge-label {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
.histogram-settings__bucket-input {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.ant-input {
- background: var(--bg-vanilla-300);
+ background: var(--l2-background);
}
}
}
diff --git a/frontend/src/container/NewWidget/RightContainer/SettingSections/ThresholdsSection/ThresholdsSection.styles.scss b/frontend/src/container/NewWidget/RightContainer/SettingSections/ThresholdsSection/ThresholdsSection.styles.scss
index 6cc6976a6e..c0c6df62a2 100644
--- a/frontend/src/container/NewWidget/RightContainer/SettingSections/ThresholdsSection/ThresholdsSection.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/SettingSections/ThresholdsSection/ThresholdsSection.styles.scss
@@ -1,10 +1,4 @@
.thresholds-section {
padding: 12px 12px 16px 12px;
- border-top: 1px solid var(--bg-slate-500);
-}
-
-.lightMode {
- .thresholds-section {
- border-top: 1px solid var(--bg-vanilla-300);
- }
+ border-top: 1px solid var(--l1-border);
}
diff --git a/frontend/src/container/NewWidget/RightContainer/Threshold/ColorSelector.styles.scss b/frontend/src/container/NewWidget/RightContainer/Threshold/ColorSelector.styles.scss
index 534a4b2e21..48982304dc 100644
--- a/frontend/src/container/NewWidget/RightContainer/Threshold/ColorSelector.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/Threshold/ColorSelector.styles.scss
@@ -8,20 +8,10 @@
.color-selector-button {
border: none;
width: 100%;
+ background-color: var(--l1-border);
.ant-btn {
box-shadow: none;
background-color: unset;
}
}
-
-.lightMode {
- .color-selector-button {
- background-color: var(--bg-vanilla-300);
-
- .ant-btn {
- box-shadow: none;
- background-color: unset;
- }
- }
-}
diff --git a/frontend/src/container/NewWidget/RightContainer/Threshold/ShowCaseValue.styles.scss b/frontend/src/container/NewWidget/RightContainer/Threshold/ShowCaseValue.styles.scss
index f66cea0d24..d0216cf773 100644
--- a/frontend/src/container/NewWidget/RightContainer/Threshold/ShowCaseValue.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/Threshold/ShowCaseValue.styles.scss
@@ -4,10 +4,10 @@
}
.show-case-dark {
- background-color: #141414;
+ background-color: var(--background);
}
.show-case-light {
- background-color: rgb(255, 255, 255);
- border: 1px solid #141414;
+ background-color: var(--card);
+ border: 1px solid var(--l1-border);
}
diff --git a/frontend/src/container/NewWidget/RightContainer/Threshold/Threshold.styles.scss b/frontend/src/container/NewWidget/RightContainer/Threshold/Threshold.styles.scss
index 00c4cb115f..ff3e92cb58 100644
--- a/frontend/src/container/NewWidget/RightContainer/Threshold/Threshold.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/Threshold/Threshold.styles.scss
@@ -1,6 +1,6 @@
.operator-input-root {
width: auto !important;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
@@ -20,8 +20,8 @@
flex-shrink: 0;
padding: 12px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.edit-action-btns {
position: absolute;
@@ -38,11 +38,11 @@
align-items: center;
gap: 10px;
flex-shrink: 0;
- background: var(--bg-slate-400);
+ background: var(--l1-border);
}
.ant-btn + .ant-btn {
- border-left: 1px solid var(--bg-slate-200);
+ border-left: 1px solid var(--l1-border);
}
.edit-btn {
@@ -57,14 +57,14 @@
.time-series-alerts {
display: flex;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
width: 100%;
align-items: center;
.label {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
@@ -81,10 +81,10 @@
width: 80%;
flex-shrink: 0;
border-radius: 2px;
- border-left: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border-left: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
@@ -101,10 +101,10 @@
.operator-input {
.ant-select-selector {
- background-color: var(--bg-ink-300) !important;
+ background-color: var(--l3-background) !important;
min-width: 50px;
max-width: 150px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
@@ -114,7 +114,7 @@
}
.typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
@@ -123,14 +123,14 @@
letter-spacing: 0.48px;
}
.typography-preview {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 16px; /* 133.333% */
letter-spacing: 0.48px;
- background-color: var(--bg-ink-300) !important;
+ background-color: var(--l3-background) !important;
max-width: 150px;
overflow-x: hidden;
text-overflow: ellipsis;
@@ -139,8 +139,8 @@
.threshold-units-selector {
display: flex;
border-radius: 2px 2px 0px 0px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
height: 32px;
flex-shrink: 0;
@@ -149,20 +149,20 @@
.unit-input {
width: 50%;
border: none;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 16px; /* 133.333% */
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.unit-selection {
width: 50%;
border: none;
- border-left: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-400);
+ border-left: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
@@ -176,7 +176,7 @@
.ant-select-selector {
border: none;
height: unset;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
@@ -188,14 +188,14 @@
.unit-selection-prev {
width: 50%;
border: none;
- border-left: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-400);
+ border-left: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 16px; /* 133.333% */
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
}
@@ -203,9 +203,9 @@
display: flex;
align-items: center;
border-radius: 0px 0px 2px 2px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
border-top: none;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
height: 32px;
flex-shrink: 0;
@@ -214,13 +214,13 @@
.color-selector {
width: 50%;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 16px; /* 133.333% */
- background: var(--bg-ink-400);
+ background: var(--l2-background);
.ant-btn {
box-shadow: none;
@@ -230,8 +230,8 @@
.color-format {
width: 50%;
border: none;
- border-left: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ border-left: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
@@ -241,7 +241,7 @@
.ant-select-selector {
border: none;
height: unset;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
@@ -254,14 +254,14 @@
.color-format-prev {
width: 50%;
border: none;
- border-left: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ border-left: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 16px; /* 133.333% */
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
}
@@ -281,8 +281,8 @@
gap: 6px;
flex: 1 0 0;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
box-shadow: none;
}
@@ -297,13 +297,13 @@
flex: 1 0 0;
border-radius: 2px;
border: 1px solid var(--bg-robin-500);
- background: var(--bg-robin-500);
+ background: var(--primary-background);
box-shadow: none;
}
}
.invalid-unit {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Giest Mono';
font-size: 11px;
font-style: normal;
@@ -322,36 +322,36 @@
.lightMode {
.operator-input-root {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
.threshold-container {
.threshold-card-container {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-foreground);
.edit-action-btns {
.ant-btn {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
.ant-btn + .ant-btn {
- border-left: 1px solid var(--bg-vanilla-100);
+ border-left: 1px solid var(--l1-foreground);
}
}
.time-series-alerts {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-foreground);
.label {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
.label-input {
- border-left: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-300);
- border: 1px solid var(--bg-vanilla-300);
+ border-left: 1px solid var(--l1-border);
+ background: var(--l3-background);
+ color: var(--l3-background);
+ border: 1px solid var(--l1-border);
box-shadow: none;
}
}
@@ -359,81 +359,81 @@
.value-table-alerts {
.operator-input {
.ant-select-selector {
- background-color: var(--bg-vanilla-300) !important;
- color: var(--bg-ink-300);
+ background-color: var(--l3-background) !important;
+ color: var(--l3-background);
}
}
.typography {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
.typography-preview {
- color: var(--bg-ink-400);
- border: 1px solid var(--bg-vanilla-300);
- background-color: var(--bg-vanilla-300) !important;
+ color: var(--l2-background);
+ border: 1px solid var(--l1-border);
+ background-color: var(--l3-background) !important;
}
}
.threshold-units-selector {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
.unit-input {
- color: var(--bg-ink-400);
- background: var(--bg-vanilla-300);
+ color: var(--l2-background);
+ background: var(--l3-background);
}
.unit-selection {
- border-left: 1px solid var(--bg-vanilla-100);
- color: var(--bg-ink-400);
+ border-left: 1px solid var(--l1-foreground);
+ color: var(--l2-background);
.ant-select-selector {
- background-color: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ background-color: var(--l3-background);
+ color: var(--l2-background);
}
}
.unit-selection-prev {
- border-left: 1px solid var(--bg-vanilla-100);
- color: var(--bg-ink-400);
- background: var(--bg-vanilla-300);
+ border-left: 1px solid var(--l1-foreground);
+ color: var(--l2-background);
+ background: var(--l3-background);
}
}
.thresholds-color-selector {
- border: 1px solid var(--bg-vanilla-300);
- border-top: 1px solid var(--bg-vanilla-100);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ border-top: 1px solid var(--l1-foreground);
+ background: var(--l3-background);
.color-selector {
- color: var(--bg-ink-300);
- background: var(--bg-vanilla-300);
- border: 1px solid var(--bg-vanilla-300);
- border-top: 1px solid var(--bg-vanilla-100);
+ color: var(--l3-background);
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
+ border-top: 1px solid var(--l1-foreground);
}
.color-format {
- border-left: 1px solid var(--bg-vanilla-100);
- color: var(--bg-ink-300);
+ border-left: 1px solid var(--l1-foreground);
+ color: var(--l3-background);
.ant-select-selector {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
.color-format-prev {
- border-left: 1px solid var(--bg-vanilla-100);
- color: var(--bg-ink-300);
- background: var(--bg-vanilla-300);
+ border-left: 1px solid var(--l1-foreground);
+ color: var(--l3-background);
+ background: var(--l3-background);
}
}
.threshold-action-button {
.discard-btn {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
.save-changes {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
diff --git a/frontend/src/container/NewWidget/RightContainer/Threshold/ThresholdSelector.styles.scss b/frontend/src/container/NewWidget/RightContainer/Threshold/ThresholdSelector.styles.scss
index 4a2dbf193a..da5bb6029b 100644
--- a/frontend/src/container/NewWidget/RightContainer/Threshold/ThresholdSelector.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/Threshold/ThresholdSelector.styles.scss
@@ -8,7 +8,7 @@
cursor: pointer;
.icon {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
cursor: pointer;
}
@@ -18,10 +18,10 @@
gap: 8px;
.icon {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -37,15 +37,15 @@
.threshold-selector-container {
.threshold-select {
.icon {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
.left-section {
.icon {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
.text {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
diff --git a/frontend/src/container/NewWidget/RightContainer/components/FillModeSelector/FillModeSelector.styles.scss b/frontend/src/container/NewWidget/RightContainer/components/FillModeSelector/FillModeSelector.styles.scss
index 23c8fee05b..3e33c4fd30 100644
--- a/frontend/src/container/NewWidget/RightContainer/components/FillModeSelector/FillModeSelector.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/components/FillModeSelector/FillModeSelector.styles.scss
@@ -8,14 +8,14 @@
text-transform: uppercase;
font-size: 12px;
font-weight: 500;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
.lightMode {
.fill-mode-selector {
.fill-mode-label {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
diff --git a/frontend/src/container/NewWidget/RightContainer/components/LineInterpolationSelector/LineInterpolationSelector.styles.scss b/frontend/src/container/NewWidget/RightContainer/components/LineInterpolationSelector/LineInterpolationSelector.styles.scss
index dfd9740238..5994e3aaf8 100644
--- a/frontend/src/container/NewWidget/RightContainer/components/LineInterpolationSelector/LineInterpolationSelector.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/components/LineInterpolationSelector/LineInterpolationSelector.styles.scss
@@ -8,14 +8,14 @@
text-transform: uppercase;
font-size: 12px;
font-weight: 500;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
.lightMode {
.line-interpolation-selector {
.line-interpolation-label {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
diff --git a/frontend/src/container/NewWidget/RightContainer/components/LineStyleSelector/LineStyleSelector.styles.scss b/frontend/src/container/NewWidget/RightContainer/components/LineStyleSelector/LineStyleSelector.styles.scss
index 89e67ac4d7..e28ea510e2 100644
--- a/frontend/src/container/NewWidget/RightContainer/components/LineStyleSelector/LineStyleSelector.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/components/LineStyleSelector/LineStyleSelector.styles.scss
@@ -8,14 +8,14 @@
text-transform: uppercase;
font-size: 12px;
font-weight: 500;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
.lightMode {
.line-style-selector {
.line-style-label {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
diff --git a/frontend/src/container/NewWidget/RightContainer/components/SettingsSection/SettingsSection.styles.scss b/frontend/src/container/NewWidget/RightContainer/components/SettingsSection/SettingsSection.styles.scss
index 710bc9e36a..baed7197b7 100644
--- a/frontend/src/container/NewWidget/RightContainer/components/SettingsSection/SettingsSection.styles.scss
+++ b/frontend/src/container/NewWidget/RightContainer/components/SettingsSection/SettingsSection.styles.scss
@@ -1,5 +1,5 @@
.settings-section {
- border-top: 1px solid var(--bg-slate-500);
+ border-top: 1px solid var(--l1-border);
}
.settings-section-header {
@@ -18,7 +18,7 @@
display: flex;
align-items: center;
gap: 8px;
- color: var(--bg-vanilla-400);
+ color: var(--l1-foreground);
font-family: 'Space Mono';
font-size: 13px;
font-weight: 400;
@@ -26,7 +26,7 @@
}
.chevron-icon {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
transition: transform 0.2s ease-in-out;
&.open {
@@ -51,18 +51,3 @@
opacity: 1;
}
}
-
-.lightMode {
- .settings-section-header {
- .chevron-icon {
- color: var(--bg-ink-400);
- }
- .settings-section-title {
- color: var(--bg-ink-400);
- }
- }
-
- .settings-section {
- border-top: 1px solid var(--bg-vanilla-300);
- }
-}
diff --git a/frontend/src/container/NewWidget/index.tsx b/frontend/src/container/NewWidget/index.tsx
index 38e4b16354..24a6038203 100644
--- a/frontend/src/container/NewWidget/index.tsx
+++ b/frontend/src/container/NewWidget/index.tsx
@@ -11,7 +11,8 @@ import {
ResizablePanel,
ResizablePanelGroup,
} from '@signozhq/resizable';
-import { Button, Flex, Modal, Space, Typography } from 'antd';
+import { Button } from '@signozhq/ui';
+import { Flex, Modal, Space, Typography } from 'antd';
import logEvent from 'api/common/logEvent';
import { PrecisionOption, PrecisionOptionsEnum } from 'components/Graph/types';
import OverlayScrollbar from 'components/OverlayScrollbar/OverlayScrollbar';
@@ -818,6 +819,7 @@ function NewWidget({
<div className="right-header">
{showSwitchToViewModeButton && (
<Button
+ color="primary"
data-testid="switch-to-view-mode"
disabled={isSaveDisabled || !currentQuery}
onClick={handleSwitchToViewMode}
@@ -827,7 +829,7 @@ function NewWidget({
)}
{isSaveDisabled && (
<Button
- type="primary"
+ color="primary"
data-testid="new-widget-save"
loading={updateDashboardMutation.isLoading}
disabled={isSaveDisabled}
@@ -839,12 +841,12 @@ function NewWidget({
)}
{!isSaveDisabled && (
<Button
- type="primary"
+ color="primary"
data-testid="new-widget-save"
loading={updateDashboardMutation.isLoading}
disabled={isSaveDisabled}
onClick={onSaveDashboard}
- icon={<Check size={14} />}
+ prefix={<Check size={14} />}
className="save-btn"
>
Save Changes
diff --git a/frontend/src/container/NoLogs/NoLogs.styles.scss b/frontend/src/container/NoLogs/NoLogs.styles.scss
index 94086413fc..f1c663cf5d 100644
--- a/frontend/src/container/NoLogs/NoLogs.styles.scss
+++ b/frontend/src/container/NoLogs/NoLogs.styles.scss
@@ -24,7 +24,7 @@
.sub-text {
font-weight: 400;
- color: #c0c1c3;
+ color: var(--muted-foreground);
}
}
@@ -33,7 +33,7 @@
align-items: center;
gap: 8px;
- color: #7190f9;
+ color: var(--bg-robin-400);
font-size: 14px;
font-style: normal;
font-weight: 500;
diff --git a/frontend/src/container/OnboardingContainer/Onboarding.styles.scss b/frontend/src/container/OnboardingContainer/Onboarding.styles.scss
index 007c2d1f7f..ef72c0de8d 100644
--- a/frontend/src/container/OnboardingContainer/Onboarding.styles.scss
+++ b/frontend/src/container/OnboardingContainer/Onboarding.styles.scss
@@ -16,7 +16,7 @@
align-items: center;
height: 100%;
width: 100%;
- color: #e5e7eb;
+ color: var(--l2-foreground);
}
.onboardingHeader {
@@ -51,7 +51,7 @@
width: 300px;
transition: 0.3s;
- background-color: #000;
+ background-color: var(--background);
.ant-card-body {
padding: 0px;
@@ -73,8 +73,8 @@
text-overflow: ellipsis;
text-align: center;
- border-bottom: 1px solid #303030;
- background-color: var(--bg-ink-400);
+ border-bottom: 1px solid var(--l1-border);
+ background-color: var(--l2-background);
}
.moduleStyles.selected {
@@ -147,8 +147,9 @@
align-items: center;
border-radius: 4px;
- border: 0.5px solid rgba(78, 116, 248, 0.2);
- background: rgba(69, 104, 220, 0.1);
+ border: 0.5px solid
+ color-mix(in srgb, var(--primary-background) 20%, transparent);
+ background: color-mix(in srgb, var(--primary-background) 10%, transparent);
padding: 12px;
margin: 24px 0;
}
@@ -170,11 +171,11 @@
align-items: center;
flex-shrink: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -199,7 +200,7 @@
}
.skip-to-console {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -211,48 +212,6 @@
cursor: pointer;
&:hover {
- color: var(--bg-vanilla-200);
- }
-}
-
-.lightMode {
- .invite-member-wrapper {
- .invite-member {
- border: 1px solid var(--bg-vanilla-200);
- background: var(--bg-vanilla-100);
-
- .ant-typography {
- color: var(--bg-slate-200);
- }
- }
- }
-
- .skip-to-console {
- color: var(--bg-slate-200);
-
- &:hover {
- color: var(--bg-slate-200);
- }
- }
-}
-
-.lightMode {
- .container {
- .onboardingHeader {
- color: var(--bg-slate-200);
- }
- }
-
- .moduleStyles {
- background-color: var(--bg-vanilla-100);
- }
-
- .moduleTitleStyle {
- border-bottom: 1px solid var(--bg-vanilla-300);
- background-color: var(--bg-vanilla-100);
- }
-
- .moduleDesc {
- background-color: var(--bg-vanilla-100);
+ color: var(--l2-foreground);
}
}
diff --git a/frontend/src/container/OnboardingContainer/Steps/ConnectionStatus/ConnectionStatus.styles.scss b/frontend/src/container/OnboardingContainer/Steps/ConnectionStatus/ConnectionStatus.styles.scss
index ae8d8f1edf..45eea74ef6 100644
--- a/frontend/src/container/OnboardingContainer/Steps/ConnectionStatus/ConnectionStatus.styles.scss
+++ b/frontend/src/container/OnboardingContainer/Steps/ConnectionStatus/ConnectionStatus.styles.scss
@@ -18,7 +18,7 @@
font-size: 18px;
display: flex;
align-items: center;
- color: #e5e7eb;
+ color: var(--l1-foreground);
gap: 16px;
margin: 0px;
}
@@ -76,21 +76,3 @@
}
}
}
-
-$lightModeFontColor: rgb(29, 29, 29);
-
-.lightMode {
- .connection-status-container {
- .header .title {
- color: $lightModeFontColor;
-
- h1 {
- color: $lightModeFontColor;
- }
- }
-
- .status-container {
- color: $lightModeFontColor;
- }
- }
-}
diff --git a/frontend/src/container/OnboardingContainer/Steps/DataSource/DataSource.styles.scss b/frontend/src/container/OnboardingContainer/Steps/DataSource/DataSource.styles.scss
index 6b6a032a6b..ffdc27ffde 100644
--- a/frontend/src/container/OnboardingContainer/Steps/DataSource/DataSource.styles.scss
+++ b/frontend/src/container/OnboardingContainer/Steps/DataSource/DataSource.styles.scss
@@ -13,7 +13,7 @@ div[class*='-setup-instructions-container'] {
font-size: 18px;
display: flex;
align-items: center;
- color: #e5e7eb;
+ color: var(--l2-foreground);
gap: 16px;
margin: 12px;
}
@@ -43,25 +43,25 @@ div[class*='-setup-instructions-container'] {
}
.intgeration-page-container {
- background-color: var(--bg-ink-400);
- border-color: var(--bg-slate-500);
+ background-color: var(--l2-background);
+ border-color: var(--l1-border);
}
.intgeration-page-container-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
.navigate-integrations-page-btn {
display: flex;
align-items: center;
- color: var(--bg-vanilla-100);
- background-color: var(--bg-slate-300);
+ color: var(--l1-foreground);
+ background-color: var(--l3-background);
box-shadow: none;
border: none;
}
.dataSourceName {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-weight: 600;
cursor: pointer;
@@ -72,7 +72,7 @@ div[class*='-setup-instructions-container'] {
.lightMode {
.dataSourceName {
- color: var(--bg-slate-500);
+ color: var(--l1-border);
}
}
diff --git a/frontend/src/container/OnboardingContainer/Steps/LogsConnectionStatus/LogsConnectionStatus.styles.scss b/frontend/src/container/OnboardingContainer/Steps/LogsConnectionStatus/LogsConnectionStatus.styles.scss
index aba389dd74..b4de2db35a 100644
--- a/frontend/src/container/OnboardingContainer/Steps/LogsConnectionStatus/LogsConnectionStatus.styles.scss
+++ b/frontend/src/container/OnboardingContainer/Steps/LogsConnectionStatus/LogsConnectionStatus.styles.scss
@@ -16,7 +16,7 @@
font-size: 18px;
display: flex;
align-items: center;
- color: #e5e7eb;
+ color: var(--l1-foreground);
gap: 16px;
margin: 0px;
}
@@ -75,24 +75,6 @@
}
}
-$lightModeFontColor: rgb(29, 29, 29);
-
-.lightMode {
- .connection-status-container {
- .header .title {
- color: $lightModeFontColor;
-
- h1 {
- color: $lightModeFontColor;
- }
- }
-
- .status-container {
- color: $lightModeFontColor;
- }
- }
-}
-
.text-capitalize {
text-transform: capitalize;
}
diff --git a/frontend/src/container/OnboardingContainer/common/ModuleStepsContainer/ModuleStepsContainer.styles.scss b/frontend/src/container/OnboardingContainer/common/ModuleStepsContainer/ModuleStepsContainer.styles.scss
index dbbb6a9baf..55fdf31517 100644
--- a/frontend/src/container/OnboardingContainer/common/ModuleStepsContainer/ModuleStepsContainer.styles.scss
+++ b/frontend/src/container/OnboardingContainer/common/ModuleStepsContainer/ModuleStepsContainer.styles.scss
@@ -22,7 +22,7 @@
.required-symbol {
display: inline-block;
margin-inline-end: 0px;
- color: #dc4446;
+ color: var(--bg-cherry-500);
font-size: 14px;
font-family: SimSun, sans-serif;
line-height: 1;
@@ -68,7 +68,7 @@
font-weight: 500;
line-height: 18px;
- color: #fff;
+ color: var(--l1-foreground);
}
}
}
@@ -82,12 +82,12 @@
align-items: center;
border-radius: 2px;
margin-bottom: 31px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: none;
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -122,10 +122,9 @@
min-height: 30px;
border-radius: 3px;
min-width: 120px;
- // text-transform: capitalize;
- color: #1668dc;
- background-color: #111a2c;
- border-color: #111a2c;
+ color: var(--accent-primary);
+ background-color: var(--l2-background);
+ border-color: var(--l1-border);
}
}
}
@@ -154,15 +153,15 @@
cursor: pointer;
&.selected {
- color: #1668dc;
- background-color: #111a2c;
- border-color: #111a2c;
+ color: var(--accent-primary);
+ background-color: var(--l2-background);
+ border-color: var(--l1-border);
}
&:hover {
- color: #1668dc;
- background-color: #111a2c;
- border-color: #111a2c;
+ color: var(--accent-primary);
+ background-color: var(--l2-background);
+ border-color: var(--l1-border);
}
.environment-name {
@@ -183,22 +182,46 @@
.lightMode {
.entity-value {
- background-color: #e6f4ff !important;
- border-color: #e6f4ff !important;
+ background-color: color-mix(
+ in srgb,
+ var(--primary-background) 10%,
+ transparent
+ ) !important;
+ border-color: color-mix(
+ in srgb,
+ var(--primary-background) 10%,
+ transparent
+ ) !important;
}
.environment,
.supported-language {
&.selected {
- color: #1668dc;
- background-color: #e6f4ff !important;
- border-color: #e6f4ff !important;
+ color: var(--accent-primary);
+ background-color: color-mix(
+ in srgb,
+ var(--primary-background) 10%,
+ transparent
+ ) !important;
+ border-color: color-mix(
+ in srgb,
+ var(--primary-background) 10%,
+ transparent
+ ) !important;
}
&:hover {
- color: #1668dc;
- background-color: #e6f4ff !important;
- border-color: #e6f4ff !important;
+ color: var(--accent-primary);
+ background-color: color-mix(
+ in srgb,
+ var(--primary-background) 10%,
+ transparent
+ ) !important;
+ border-color: color-mix(
+ in srgb,
+ var(--primary-background) 10%,
+ transparent
+ ) !important;
}
}
@@ -225,11 +248,11 @@
}
.invite-user-btn {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-foreground);
.ant-typography {
- color: var(--bg-slate-200);
+ color: var(--l3-foreground);
}
}
}
diff --git a/frontend/src/container/OnboardingQuestionaire/InviteTeamMembers/InviteTeamMembers.styles.scss b/frontend/src/container/OnboardingQuestionaire/InviteTeamMembers/InviteTeamMembers.styles.scss
index 24aae923a1..88e0ac25c5 100644
--- a/frontend/src/container/OnboardingQuestionaire/InviteTeamMembers/InviteTeamMembers.styles.scss
+++ b/frontend/src/container/OnboardingQuestionaire/InviteTeamMembers/InviteTeamMembers.styles.scss
@@ -52,8 +52,8 @@
}
.invite-team-members-error-callout {
- background: rgba(229, 72, 77, 0.1);
- border: 1px solid rgba(229, 72, 77, 0.2);
+ background: color-mix(in srgb, var(--bg-cherry-500) 10%, transparent);
+ border: 1px solid color-mix(in srgb, var(--bg-cherry-500) 20%, transparent);
border-radius: 4px;
animation: horizontal-shaking 300ms ease-out;
}
@@ -112,7 +112,7 @@
height: 32px !important;
border-radius: 2px;
background: var(--l3-background);
- border: 1px solid var(--l3-border);
+ border: 1px solid var(--l1-border);
color: var(--l1-foreground);
font-family: Inter, sans-serif;
font-size: 13px;
@@ -127,7 +127,7 @@
}
&:hover {
- border-color: var(--l3-border);
+ border-color: var(--l1-border);
}
&:focus {
@@ -143,7 +143,7 @@
height: 32px !important;
border-radius: 2px !important;
background: var(--l3-background) !important;
- border: 1px solid var(--l3-border) !important;
+ border: 1px solid var(--l1-border) !important;
color: var(--l1-foreground) !important;
font-family: Inter, sans-serif !important;
font-size: 13px !important;
@@ -186,7 +186,7 @@
border: none !important;
border-radius: 2px !important;
background: transparent !important;
- color: #e5484d !important;
+ color: var(--bg-cherry-500) !important;
opacity: 0.6 !important;
cursor: pointer;
padding: 0 !important;
@@ -194,24 +194,32 @@
box-shadow: none !important;
svg {
- color: #e5484d !important;
+ color: var(--bg-cherry-500) !important;
width: 12px !important;
height: 12px !important;
}
&:hover {
- background: rgba(229, 72, 77, 0.1) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-cherry-500) 10%,
+ transparent
+ ) !important;
opacity: 0.9 !important;
- color: #e5484d !important;
+ color: var(--bg-cherry-500) !important;
svg {
- color: #e5484d !important;
+ color: var(--bg-cherry-500) !important;
}
}
&:active {
opacity: 0.7 !important;
- background: rgba(229, 72, 77, 0.15) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-cherry-500) 15%,
+ transparent
+ ) !important;
}
&:focus-visible {
@@ -247,7 +255,7 @@
justify-content: center;
gap: 6px;
border-radius: 2px;
- border: 1px dashed var(--l2-border) !important;
+ border: 1px dashed var(--l1-border) !important;
background: transparent !important;
color: var(--l2-foreground);
font-family: Inter, sans-serif;
@@ -270,7 +278,7 @@
button,
& {
- border: 1px dashed var(--l2-border) !important;
+ border: 1px dashed var(--l1-border) !important;
background: transparent !important;
}
@@ -278,7 +286,11 @@
border-color: var(--bg-robin-500) !important;
border-style: dashed !important;
color: var(--l1-foreground);
- background: rgba(78, 116, 248, 0.1) !important;
+ background: color-mix(
+ in srgb,
+ var(--primary-background) 10%,
+ transparent
+ ) !important;
svg,
[class*='icon'] {
@@ -289,7 +301,11 @@
& {
border-color: var(--bg-robin-500) !important;
border-style: dashed !important;
- background: rgba(78, 116, 248, 0.1) !important;
+ background: color-mix(
+ in srgb,
+ var(--primary-background) 10%,
+ transparent
+ ) !important;
}
}
@@ -334,8 +350,8 @@
.partially-sent-invites-container {
margin-top: 16px;
padding: 8px;
- border: 1px solid #1d212d;
- background-color: #121317;
+ border: 1px solid var(--l1-border);
+ background-color: var(--card);
display: flex;
flex-direction: column;
@@ -363,14 +379,14 @@
}
.team-member-email-input {
- background: var(--bg-vanilla-200) !important;
- border-color: var(--bg-vanilla-300) !important;
- color: var(--text-ink-500) !important;
+ background: var(--l2-background) !important;
+ border-color: var(--l1-border) !important;
+ color: var(--l1-foreground) !important;
input {
- background: var(--bg-vanilla-200) !important;
- border-color: var(--bg-vanilla-300) !important;
- color: var(--text-ink-500) !important;
+ background: var(--l2-background) !important;
+ border-color: var(--l1-border) !important;
+ color: var(--l1-foreground) !important;
&::placeholder {
color: var(--text-neutral-light-200) !important;
@@ -386,7 +402,7 @@
}
&:hover {
- border-color: var(--bg-vanilla-300) !important;
+ border-color: var(--l1-border) !important;
}
&:focus {
@@ -397,7 +413,7 @@
.team-member-role-select {
.ant-select-selector {
background: var(--l3-background) !important;
- border: 1px solid var(--l3-border) !important;
+ border: 1px solid var(--l1-border) !important;
color: var(--l1-foreground) !important;
.ant-select-selection-placeholder {
@@ -432,7 +448,11 @@
}
&:hover {
- background: rgba(245, 101, 101, 0.1) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-cherry-400) 10%,
+ transparent
+ ) !important;
color: var(--bg-cherry-500) !important;
svg {
@@ -442,7 +462,7 @@
}
.add-another-member-button {
- border: 1px dashed var(--text-vanilla-300) !important;
+ border: 1px dashed var(--l1-border) !important;
background: transparent !important;
color: var(--l3-foreground);
@@ -457,7 +477,11 @@
border-color: var(--bg-robin-500) !important;
border-style: dashed !important;
color: var(--l1-foreground);
- background: rgba(78, 116, 248, 0.1) !important;
+ background: color-mix(
+ in srgb,
+ var(--primary-background) 10%,
+ transparent
+ ) !important;
svg,
[class*='icon'] {
@@ -475,8 +499,8 @@
}
.partially-sent-invites-container {
- border: 1px solid var(--bg-vanilla-300);
- background-color: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background-color: var(--l1-foreground);
.partially-sent-invites-message {
color: var(--bg-warning-500);
diff --git a/frontend/src/container/OnboardingQuestionaire/OnboardingFooter/OnboardingFooter.styles.scss b/frontend/src/container/OnboardingQuestionaire/OnboardingFooter/OnboardingFooter.styles.scss
index b91cd854f1..15ee6dd5ef 100644
--- a/frontend/src/container/OnboardingQuestionaire/OnboardingFooter/OnboardingFooter.styles.scss
+++ b/frontend/src/container/OnboardingQuestionaire/OnboardingFooter/OnboardingFooter.styles.scss
@@ -13,8 +13,8 @@
gap: 32px;
flex-shrink: 0;
border-radius: 4px;
- border: 1px solid var(--Greyscale-Slate-500, #161922);
- background: var(--Ink-400, #121317);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
width: 100%;
max-width: 600px;
@@ -30,11 +30,11 @@
display: flex;
align-items: center;
gap: 6px;
- color: #c0c1c3;
+ color: var(--muted-foreground);
}
.footer-container .footer-text {
- color: var(--Vanilla-400, var(--Greyscale-Vanilla-400, #c0c1c3));
+ color: var(--muted-foreground);
font-size: 12px;
font-style: normal;
font-weight: 400;
@@ -45,5 +45,5 @@
.footer-container .footer-dot {
width: 4px;
height: 4px;
- fill: var(--Greyscale-Slate-200, #2c3140);
+ fill: var(--l1-border);
}
diff --git a/frontend/src/container/OnboardingQuestionaire/OnboardingHeader/OnboardingHeader.styles.scss b/frontend/src/container/OnboardingQuestionaire/OnboardingHeader/OnboardingHeader.styles.scss
index 0b37c654be..2db2ab883c 100644
--- a/frontend/src/container/OnboardingQuestionaire/OnboardingHeader/OnboardingHeader.styles.scss
+++ b/frontend/src/container/OnboardingQuestionaire/OnboardingHeader/OnboardingHeader.styles.scss
@@ -21,7 +21,7 @@
.header-container .logo-text {
font-family: 'Work Sans', sans-serif;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 15.4px;
font-style: normal;
font-weight: 500;
@@ -38,8 +38,8 @@
gap: 6px;
flex-shrink: 0;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: none;
}
@@ -50,16 +50,10 @@
}
.header-container .get-help-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 10px;
letter-spacing: 0.12px;
}
-
-.lightMode {
- .header-container .logo-text {
- color: var(--bg-slate-300);
- }
-}
diff --git a/frontend/src/container/OnboardingQuestionaire/OnboardingQuestionaire.styles.scss b/frontend/src/container/OnboardingQuestionaire/OnboardingQuestionaire.styles.scss
index 9b10da75c5..65bfc1b24d 100644
--- a/frontend/src/container/OnboardingQuestionaire/OnboardingQuestionaire.styles.scss
+++ b/frontend/src/container/OnboardingQuestionaire/OnboardingQuestionaire.styles.scss
@@ -68,14 +68,14 @@
}
.title {
- color: var(--bg-vanilla-100) !important;
+ color: var(--l1-foreground) !important;
font-size: 24px !important;
line-height: 32px !important;
margin-bottom: 8px !important;
}
.sub-title {
- color: var(--bg-vanilla-400) !important;
+ color: var(--l2-foreground) !important;
font-size: 14px !important;
font-style: normal;
font-weight: 400 !important;
@@ -99,7 +99,7 @@
align-items: stretch;
gap: 24px;
border-radius: 4px;
- border: 1px solid var(--l2-border);
+ border: 1px solid var(--l1-border);
background: var(--bg-neutral-dark-950);
.ant-form-item {
@@ -107,7 +107,7 @@
.ant-form-item-label {
label {
- color: var(--bg-vanilla-100) !important;
+ color: var(--l1-foreground) !important;
font-size: 13px !important;
font-weight: 500;
line-height: 20px;
@@ -119,7 +119,7 @@
width: 100%;
height: 80px;
resize: none;
- border: 1px solid var(--l3-border);
+ border: 1px solid var(--l1-border);
background: var(--l3-background);
color: var(--l1-foreground);
border-radius: 2px;
@@ -164,19 +164,19 @@
font-size: 12px;
height: 32px;
- background: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-400);
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
}
.ant-input-group-addon {
font-size: 11px;
height: 32px;
min-width: 80px;
- background: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-400);
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
border-left: 0px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
}
@@ -208,7 +208,7 @@
gap: 8px;
border-radius: 2px;
background: transparent;
- border: 1px solid var(--l2-border);
+ border: 1px solid var(--l1-border);
color: var(--l2-foreground);
font-family: Inter, sans-serif;
font-size: 11px;
@@ -236,7 +236,7 @@
justify-content: center;
gap: 8px;
border-radius: 2px;
- background: var(--bg-robin-500);
+ background: var(--primary-background);
border: none;
color: var(--bg-neutral-dark-50);
font-family: Inter, sans-serif;
@@ -381,7 +381,7 @@
line-height: 1;
letter-spacing: -0.065px;
height: 32px;
- border: 1px solid var(--l3-border);
+ border: 1px solid var(--l1-border);
background: var(--l3-background);
color: var(--l1-foreground);
box-sizing: border-box;
@@ -411,10 +411,10 @@
.grid-button,
.tool-button {
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
padding: 12px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-style: normal;
text-align: left;
@@ -431,8 +431,9 @@
.radio-button:hover,
.grid-button:hover,
.tool-button:hover {
- border: 1px solid rgba(78, 116, 248, 0.4);
- background: rgba(78, 116, 248, 0.2);
+ border: 1px solid
+ color-mix(in srgb, var(--primary-background) 40%, transparent);
+ background: color-mix(in srgb, var(--primary-background) 20%, transparent);
}
.two-column-grid {
@@ -499,7 +500,7 @@
button[role='radio'] {
&[data-state='unchecked'] {
- border-color: var(--l3-border) !important;
+ border-color: var(--l1-border) !important;
border-width: 1px !important;
}
}
@@ -536,7 +537,7 @@
button[role='radio'] {
&[data-state='unchecked'] {
- border-color: var(--l3-border) !important;
+ border-color: var(--l1-border) !important;
border-width: 1px !important;
}
}
@@ -573,7 +574,7 @@
padding: 6px 8px;
gap: 4px;
border-radius: 2px;
- border: 1px solid var(--l3-border);
+ border: 1px solid var(--l1-border);
background: var(--l3-background);
color: var(--l1-foreground);
font-family: Inter, sans-serif;
@@ -618,8 +619,8 @@
}
&.ant-checkbox-checked .ant-checkbox-inner {
- background-color: var(--bg-robin-500);
- border-color: var(--bg-robin-500);
+ background-color: var(--primary-background);
+ border-color: var(--primary-background);
}
}
@@ -636,9 +637,9 @@
align-items: center;
justify-content: space-between;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
- color: var(--bg-vanilla-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
+ color: var(--l2-foreground);
box-shadow: none;
font-size: 14px;
font-style: normal;
@@ -650,8 +651,9 @@
box-sizing: border-box;
&:hover {
- border: 1px solid rgba(78, 116, 248, 0.4);
- background: rgba(78, 116, 248, 0.2);
+ border: 1px solid
+ color-mix(in srgb, var(--primary-background) 40%, transparent);
+ background: color-mix(in srgb, var(--primary-background) 20%, transparent);
}
&:focus-visible {
@@ -659,8 +661,9 @@
}
&.active {
- border: 1px solid rgba(78, 116, 248, 0.4);
- background: rgba(78, 116, 248, 0.2);
+ border: 1px solid
+ color-mix(in srgb, var(--primary-background) 40%, transparent);
+ background: color-mix(in srgb, var(--primary-background) 20%, transparent);
}
}
@@ -681,10 +684,10 @@
align-items: center;
justify-content: center;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
- background-color: var(--bg-ink-300);
+ background-color: var(--l3-background);
border-left: 0px;
border-top-left-radius: 0px;
@@ -707,9 +710,9 @@
.input-field {
flex: 0;
padding: 12px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
- color: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
+ color: var(--l1-foreground);
border-radius: 4px;
font-size: 14px;
min-width: 258px;
@@ -717,7 +720,7 @@
.arrow {
font-size: 18px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
@@ -746,265 +749,3 @@
align-items: center;
margin: 0 auto;
}
-
-.lightMode {
- .onboarding-questionaire-container {
- .onboarding-questionaire-content {
- .questions-container {
- color: var(--bg-slate-300);
- }
-
- .onboarding-header-title {
- color: var(--l1-foreground) !important;
- }
-
- .onboarding-header-subtitle {
- color: var(--l3-foreground) !important;
- }
-
- .questions-form {
- width: 100%;
- display: flex;
- padding: 24px;
- flex-direction: column;
- align-items: stretch;
- gap: 24px;
- border-radius: 4px;
- border: 1px solid var(--text-vanilla-300);
- background: var(--text-base-white);
-
- .ant-form-item {
- margin-bottom: 0px !important;
-
- .ant-form-item-label {
- label {
- color: var(--bg-slate-300) !important;
- font-size: 13px;
- font-weight: 500;
- line-height: 20px;
- }
- }
- }
-
- .discover-signoz-input {
- border: 1px solid var(--l3-border);
- background: var(--l3-background);
- color: var(--l1-foreground);
- font-weight: 400;
-
- &::placeholder {
- color: var(--l3-foreground);
- opacity: 1;
- }
-
- &:focus-visible {
- border-color: var(--bg-robin-500);
- }
- }
- }
-
- .invite-team-members-container {
- .ant-input-group {
- .ant-input {
- background: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-slate-300);
- }
-
- .ant-input-group-addon {
- font-size: 11px;
- height: 32px;
- min-width: 80px;
- background: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
- border-left: 0px;
- color: var(--bg-slate-300);
- }
- }
- }
-
- .question-label {
- color: var(--bg-slate-300);
- }
-
- .question {
- color: var(--l1-foreground);
- }
-
- .question-slider {
- color: var(--l1-foreground);
- }
-
- .checkbox-item {
- label {
- color: var(--l1-foreground) !important;
- }
-
- .ant-checkbox-wrapper {
- color: var(--l1-foreground);
-
- .ant-checkbox {
- .ant-checkbox-inner {
- border-color: var(--l3-background);
- background-color: transparent;
- }
-
- &.ant-checkbox-checked .ant-checkbox-inner {
- background-color: var(--bg-robin-500);
- border-color: var(--bg-robin-500);
- }
- }
-
- span {
- color: var(--l1-foreground) !important;
- }
- }
-
- &.checkbox-item-others {
- .onboarding-questionaire-other-input {
- border: 1px solid var(--l3-border);
- background: var(--l3-background);
- color: var(--l1-foreground);
-
- &::placeholder {
- color: var(--l3-foreground);
- }
-
- &:focus {
- border-color: var(--bg-robin-500);
- color: var(--l1-foreground);
- }
- }
- }
- }
-
- .observability-tool-others-item {
- .onboarding-questionaire-other-input {
- border: 1px solid var(--l3-border);
- background: var(--l3-background);
- color: var(--l1-foreground);
-
- &::placeholder {
- color: var(--l3-foreground);
- }
-
- &:focus {
- border-color: var(--bg-robin-500);
- color: var(--l1-foreground);
- }
- }
- }
-
- input[type='text'] {
- border: 1px solid var(--l3-border);
- background: var(--l3-background);
- color: var(--l1-foreground);
-
- &::placeholder {
- color: var(--l3-foreground);
- }
-
- &:focus-visible {
- border-color: var(--bg-robin-500);
- }
- }
-
- .radio-button,
- .grid-button,
- .tool-button {
- border-radius: 4px;
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- padding: 12px;
- color: var(--bg-slate-300);
- font-size: 14px;
- font-style: normal;
- text-align: left;
- font-weight: 400;
- transition: background-color 0.3s ease;
- min-width: 258px;
- cursor: pointer;
- box-sizing: border-box;
- }
-
- .radio-button.active,
- .grid-button.active,
- .tool-button.active,
- .radio-button:hover,
- .grid-button:hover,
- .tool-button:hover {
- border: 1px solid rgba(78, 116, 248, 0.4);
- background: rgba(78, 116, 248, 0.2);
- }
-
- .onboarding-questionaire-button,
- .add-another-member-button,
- .remove-team-member-button {
- display: flex;
- align-items: center;
- justify-content: space-between;
- border-radius: 2px;
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-300);
- box-shadow: none;
- font-size: 14px;
- font-style: normal;
- text-align: left;
- font-weight: 400;
- transition: background-color 0.3s ease;
- cursor: pointer;
- height: 40px;
- box-sizing: border-box;
-
- &:hover {
- border: 1px solid rgba(78, 116, 248, 0.4);
- background: rgba(78, 116, 248, 0.2);
- }
-
- &:focus-visible {
- outline: none;
- }
-
- &.active {
- border: 1px solid rgba(78, 116, 248, 0.4);
- background: rgba(78, 116, 248, 0.2);
- }
- }
-
- .remove-team-member-button {
- display: flex;
- align-items: center;
- justify-content: center;
-
- border: 1px solid var(--bg-vanilla-300);
- border-top-left-radius: 0px;
- border-bottom-left-radius: 0px;
- background-color: var(--bg-vanilla-100);
-
- border-left: 0px;
- border-top-left-radius: 0px;
- border-bottom-left-radius: 0px;
- }
-
- .input-field {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- }
-
- .arrow {
- color: var(--bg-slate-300);
- }
-
- .onboarding-back-button {
- border-color: var(--text-vanilla-300);
- color: var(--l3-foreground);
-
- &:hover {
- border-color: var(--bg-robin-500);
- }
- }
- }
- }
-}
diff --git a/frontend/src/container/OnboardingQuestionaire/index.tsx b/frontend/src/container/OnboardingQuestionaire/index.tsx
index 7223d69b69..50a4dc6aac 100644
--- a/frontend/src/container/OnboardingQuestionaire/index.tsx
+++ b/frontend/src/container/OnboardingQuestionaire/index.tsx
@@ -1,6 +1,6 @@
import { useEffect, useState } from 'react';
import { useMutation, useQuery } from 'react-query';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import type { NotificationInstance } from 'antd/es/notification/interface';
import logEvent from 'api/common/logEvent';
import { RenderErrorResponseDTO } from 'api/generated/services/sigNoz.schemas';
diff --git a/frontend/src/container/OnboardingV2Container/IngestionDetails/IngestionDetails.styles.scss b/frontend/src/container/OnboardingV2Container/IngestionDetails/IngestionDetails.styles.scss
index ccd2b1aceb..d9bd61c3b2 100644
--- a/frontend/src/container/OnboardingV2Container/IngestionDetails/IngestionDetails.styles.scss
+++ b/frontend/src/container/OnboardingV2Container/IngestionDetails/IngestionDetails.styles.scss
@@ -14,7 +14,7 @@
.ingestion-url-error-message {
font-size: 12px;
font-weight: 400;
- color: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
}
}
@@ -27,7 +27,7 @@
}
.ingestion-url-error-message {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
}
diff --git a/frontend/src/container/OnboardingV2Container/InviteTeamMembers/InviteTeamMembers.styles.scss b/frontend/src/container/OnboardingV2Container/InviteTeamMembers/InviteTeamMembers.styles.scss
index 3e3db5b6ed..db407ddc6b 100644
--- a/frontend/src/container/OnboardingV2Container/InviteTeamMembers/InviteTeamMembers.styles.scss
+++ b/frontend/src/container/OnboardingV2Container/InviteTeamMembers/InviteTeamMembers.styles.scss
@@ -8,13 +8,13 @@
.team-member-email-input {
width: 80%;
- background-color: #121317;
+ background-color: var(--l1-background);
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
.ant-input,
.ant-input-group-addon {
- background-color: #121317 !important;
+ background-color: var(--l1-background) !important;
border-right: 0px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
@@ -25,7 +25,7 @@
width: 20%;
.ant-select-selector {
- border: 1px solid #1d212d;
+ border: 1px solid var(--l1-border);
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
@@ -93,8 +93,8 @@
.partially-sent-invites-container {
margin-top: 16px;
padding: 8px;
- border: 1px solid #1d212d;
- background-color: #121317;
+ border: 1px solid var(--l1-border);
+ background-color: var(--l1-background);
display: flex;
flex-direction: column;
@@ -114,40 +114,3 @@
}
}
}
-
-.lightMode {
- .team-member-container {
- .team-member-role-select {
- .ant-select-selector {
- border: 1px solid var(--bg-vanilla-300);
- }
- }
-
- .team-member-email-input {
- background-color: var(--bg-vanilla-100);
-
- .ant-input,
- .ant-input-group-addon {
- background-color: var(--bg-vanilla-100) !important;
- }
- }
- }
-
- .questions-form-container {
- .invite-users-error-message-container,
- .invite-users-success-message-container {
- .success-message {
- color: var(--bg-success-500, #00b37e);
- }
- }
-
- .partially-sent-invites-container {
- border: 1px solid var(--bg-vanilla-300);
- background-color: var(--bg-vanilla-100);
-
- .partially-sent-invites-message {
- color: var(--bg-warning-500, #fbbd23);
- }
- }
- }
-}
diff --git a/frontend/src/container/OnboardingV2Container/OnboardingV2.styles.scss b/frontend/src/container/OnboardingV2Container/OnboardingV2.styles.scss
index 29de419ef1..bb58114cc4 100644
--- a/frontend/src/container/OnboardingV2Container/OnboardingV2.styles.scss
+++ b/frontend/src/container/OnboardingV2Container/OnboardingV2.styles.scss
@@ -3,8 +3,8 @@
z-index: 1;
&__header {
- background: rgba(11, 12, 14, 0.7);
- border-bottom: 1px solid var(--bg-slate-500);
+ background: color-mix(in srgb, var(--background) 70%, transparent);
+ border-bottom: 1px solid var(--l1-border);
backdrop-filter: blur(20px);
padding: 12px 0px;
@@ -14,7 +14,7 @@
padding: 0px 1rem;
margin-top: 12px;
- background: rgba(11, 12, 14, 0.7);
+ background: color-mix(in srgb, var(--background) 70%, transparent);
backdrop-filter: blur(20px);
z-index: 2 !important;
}
@@ -24,8 +24,8 @@
position: relative;
padding-left: 64px;
margin-bottom: 40px;
- color: #e0e0e0;
- background-color: #0b0c0e;
+ color: var(--l2-foreground);
+ background-color: var(--background);
&:before {
content: '';
@@ -35,8 +35,8 @@
width: 30px;
height: 30px;
border-radius: 50%;
- background-color: var(--Ink-400, #121317);
- border: 1px solid var(--Greyscale-Slate-400, #1d212d);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
color: #1e1e1e;
display: flex;
align-items: center;
@@ -53,8 +53,8 @@
width: 1px;
background: linear-gradient(
to bottom,
- #1d212d 0%,
- #1d212d 50%,
+ var(--border) 0%,
+ var(--border) 50%,
transparent 50%,
transparent 100%
);
@@ -65,7 +65,7 @@
&__heading {
font-size: 24px;
margin-bottom: 12px;
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
font-weight: 600;
}
@@ -82,7 +82,7 @@
&__description {
font-size: 16px;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
margin-bottom: 48px !important;
line-height: 1.5;
}
@@ -103,31 +103,31 @@
&__radio-custom {
padding: 10px 20px;
- background-color: #2a2a2a;
- color: var(--text-vanilla-400);
+ background-color: var(--l3-background);
+ color: var(--l2-foreground);
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 22px; /* 137.5% */
transition: all 0.3s ease;
border-radius: 4px;
- background: var(--Ink-400, #121317);
+ background: var(--l2-background);
cursor: pointer;
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.19);
&:hover {
- background: var(--bg-robin-500);
+ background: var(--primary-background);
box-shadow: 0 4px 8px rgba(58, 134, 255, 0.2);
}
&__text {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
}
&--selected {
- background: var(--bg-robin-500);
+ background: var(--primary-background);
border-color: var(--bg-robin-500);
- color: #fff;
+ color: var(--l1-foreground);
box-shadow: 0 4px 10px rgba(58, 134, 255, 0.4);
}
@@ -138,7 +138,10 @@
&__category {
width: 100%;
- color: var(--greyscale-vanilla-opacity-40060, rgba(192, 193, 195, 0.6));
+ color: var(
+ --greyscale-vanilla-opacity-40060,
+ color-mix(in srgb, var(--border) 60%, transparent)
+ );
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -162,10 +165,10 @@
padding: 5px 10px;
margin-bottom: 5px;
border-radius: 4px;
- color: #c0c1c399;
+ color: color-mix(in srgb, var(--muted-foreground) 60%, transparent);
&--selected {
- color: var(--Vanilla-100, #fff);
+ color: var(--l1-foreground);
}
}
@@ -179,7 +182,7 @@
}
&__description {
- color: var(--Vanilla-400, var(--Greyscale-Vanilla-400, #c0c1c3));
+ color: var(--l2-foreground);
font-size: 16px;
font-style: normal;
font-weight: 400;
@@ -205,7 +208,7 @@
180deg,
rgba(190, 107, 241, 0.9) 69.5%,
rgba(109, 85, 255, 0.9) 86.5%,
- rgba(69, 104, 220, 0) 100%
+ transparent 100%
);
box-shadow: 0px 10px 660px 5281px rgba(0, 0, 0, 0.25);
filter: blur(158px);
@@ -221,8 +224,8 @@
position: relative;
padding-left: 36px;
margin-bottom: 40px;
- color: var(--text-vanilla-100);
- background-color: var(--bg-ink-500);
+ color: var(--l1-foreground);
+ background-color: var(--l1-background);
&:before {
content: '';
@@ -232,9 +235,9 @@
width: 30px;
height: 30px;
border-radius: 50%;
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-400);
- color: var(--bg-ink-400);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-background);
display: flex;
align-items: center;
justify-content: center;
@@ -243,9 +246,13 @@
&.answered {
&:before {
- background-color: rgba(78, 116, 248, 0.1);
+ background-color: color-mix(
+ in srgb,
+ var(--primary-background) 10%,
+ transparent
+ );
content: '✓';
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
font-size: 16px;
font-weight: 300;
}
@@ -260,8 +267,8 @@
width: 1px;
background: linear-gradient(
to bottom,
- var(--bg-slate-400) 0%,
- var(--bg-slate-400) 50%,
+ var(--l1-border) 0%,
+ var(--l1-border) 50%,
transparent 50%,
transparent 100%
);
@@ -276,7 +283,7 @@
@keyframes selectPulse {
0% {
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
border-color: var(--bg-robin-500);
}
20% {
@@ -284,7 +291,7 @@
border-color: var(--bg-robin-500);
}
40% {
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
border-color: var(--bg-robin-500);
}
60% {
@@ -292,7 +299,7 @@
border-color: var(--bg-robin-500);
}
100% {
- background-color: var(--bg-robin-500);
+ background-color: var(--primary-background);
border-color: var(--bg-robin-500);
}
}
@@ -326,8 +333,8 @@
.invite-teammate-btn {
font-size: 11px;
padding: 6px 16px;
- border: 1px solid var(--bg-slate-400) !important;
- color: var(--bg-vanilla-400) !important;
+ border: 1px solid var(--l1-border) !important;
+ color: var(--l2-foreground) !important;
&:focus-visible {
outline: none !important;
@@ -340,22 +347,22 @@
&:hover {
border: 1px solid var(--bg-robin-500) !important;
- color: var(--text-vanilla-100) !important;
+ color: var(--l1-foreground) !important;
}
&.primary {
- background: var(--bg-robin-500);
- color: var(--text-vanilla-200) !important;
+ background: var(--primary-background);
+ color: var(--l2-foreground) !important;
border: none !important;
&:hover {
- color: var(--text-vanilla-100) !important;
+ color: var(--l1-foreground) !important;
}
}
&.outlined {
border: none !important;
- color: var(--text-vanilla-400) !important;
+ color: var(--l2-foreground) !important;
&:hover {
color: var(--text-robin-400) !important;
@@ -383,10 +390,7 @@
.onboarding-title,
.onboarding-filters-title,
.onboarding-filters-item-title {
- color: var(
- --greyscale-vanilla-opacity-40060,
- rgba(192, 193, 195, 0.6)
- ) !important;
+ color: var(--l2-foreground) !important;
font-size: 11px !important;
font-style: normal !important;
@@ -398,7 +402,7 @@
cursor: pointer;
&.selected {
- color: var(--bg-vanilla-100) !important;
+ color: var(--l1-foreground) !important;
}
}
@@ -412,14 +416,14 @@
margin-bottom: 8px !important;
&:hover {
- color: var(--bg-robin-500) !important;
+ color: var(--accent-primary) !important;
}
}
.onboarding-text {
margin-bottom: 0;
font-size: 14px;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
}
.onboarding-data-source-group {
@@ -435,12 +439,12 @@
.onboarding-data-source-button {
font-size: 13px;
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
padding: 10px 20px;
height: 40px;
min-width: 150px;
border-radius: 4px;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.19);
display: flex;
@@ -451,14 +455,14 @@
&:hover {
border: 1px solid var(--bg-robin-500) !important;
color: var(--text-robin-500) !important;
- background: var(--bg-ink-400) !important;
+ background: var(--l2-background) !important;
box-shadow: 0 4px 8px rgba(58, 134, 255, 0.2);
}
&:active {
border: 1px solid var(--bg-robin-500) !important;
color: var(--text-robin-500) !important;
- background: var(--bg-ink-400) !important;
+ background: var(--l2-background) !important;
box-shadow: 0 4px 8px rgba(58, 134, 255, 0.2);
}
@@ -466,7 +470,7 @@
border: 1px solid var(--bg-robin-500) !important;
color: var(--text-robin-500) !important;
box-shadow: 0 4px 8px rgba(58, 134, 255, 0.2);
- background: var(--bg-ink-400) !important;
+ background: var(--l2-background) !important;
}
&.selected {
@@ -474,7 +478,7 @@
color: var(--text-robin-500) !important;
box-shadow: 0 4px 8px rgba(58, 134, 255, 0.2);
- background: var(--bg-ink-400) !important;
+ background: var(--l2-background) !important;
}
}
@@ -504,11 +508,11 @@
bottom: 0;
margin-left: -36px;
padding-left: 64px;
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
}
.onboarding-configure-product-description {
- background-color: var(--bg-slate-500);
+ background-color: var(--l1-border);
border-radius: 8px;
padding: 12px 24px;
@@ -520,8 +524,8 @@
margin-bottom: 24px;
.ant-input {
- background: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-400);
+ background: var(--l2-background);
+ border: 1px solid var(--l1-border);
height: 40px;
}
}
@@ -580,16 +584,12 @@
.question-help-text {
display: block;
margin-top: 8px;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 22px;
-
- .lightMode & {
- color: var(--text-ink-300);
- }
}
.question-help-link {
@@ -600,17 +600,17 @@
transition: color 0.2s ease;
&:hover {
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
text-decoration: underline;
}
.lightMode & {
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
}
}
.onboarding-question {
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 24px;
font-style: normal;
@@ -619,7 +619,7 @@
}
.question-title {
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 24px;
font-style: normal;
@@ -629,7 +629,7 @@
}
.question-sub-title {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -674,18 +674,18 @@
height: 1px;
margin: 0 16px;
flex-grow: 1;
- border-top: 2px dotted var(--bg-slate-400);
+ border-top: 2px dotted var(--l1-border);
}
.onboarding-filters-item-count {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 10px;
font-style: normal;
font-weight: 400;
line-height: 18px; /* 150% */
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
border-radius: 4px;
width: 24px;
@@ -729,20 +729,16 @@
max-width: 90%;
}
- // border-right: 1px solid var(--Greyscale-Slate-400, #1d212d);
+ // border-right: 1px solid var(--l1-border);
.perlian-bg {
- background: radial-gradient(
- circle,
- var(--text-vanilla-400) 10%,
- transparent 0
- );
+ background: radial-gradient(circle, var(--l2-foreground) 10%, transparent 0);
background-size: 12px 12px;
opacity: 1;
-webkit-mask-image: radial-gradient(
circle at 50% 0,
- rgba(11, 12, 14, 0.1) 0,
- rgba(11, 12, 14, 0) 56.77%
+ color-mix(in srgb, var(--background) 10%, transparent) 0,
+ transparent 56.77%
);
position: absolute;
@@ -755,7 +751,10 @@
.ant-btn-default {
border: none !important;
box-shadow: none;
- background: var(--greyscale-zinc-opacity-zinc-8, rgba(171, 189, 255, 0.08));
+ background: var(
+ --greyscale-zinc-opacity-zinc-8,
+ color-mix(in srgb, var(--bg-robin-200) 8%, transparent)
+ );
}
}
@@ -782,7 +781,10 @@
border: none !important;
box-shadow: none;
border-radius: var(--Radii-radius-round, 9999px);
- background: var(--greyscale-zinc-opacity-zinc-8, rgba(171, 189, 255, 0.08));
+ background: var(
+ --greyscale-zinc-opacity-zinc-8,
+ color-mix(in srgb, var(--bg-robin-200) 8%, transparent)
+ );
width: 100%;
}
@@ -792,7 +794,7 @@
justify-content: center;
gap: 8px;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
}
.invite-user-section-content-button {
@@ -815,10 +817,10 @@
align-self: stretch;
border-radius: 6px;
- background: rgba(78, 116, 248, 0.1);
+ background: color-mix(in srgb, var(--primary-background) 10%, transparent);
.ant-typography {
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
}
}
@@ -834,9 +836,9 @@
gap: 8px;
align-self: stretch;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.03) inset;
- border: 1px solid var(--bg-ink-300);
+ border: 1px solid var(--l3-background);
border-radius: 4px;
.ingestion-endpoint-section-header {
@@ -845,7 +847,7 @@
align-items: center;
justify-content: space-between;
gap: 8px;
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
.ingestion-endpoint-copy-download-section {
padding: 0 8px;
@@ -863,7 +865,7 @@
margin: 4px;
&:hover {
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
}
}
}
@@ -871,7 +873,7 @@
.ingestion-endpoint-info-section {
padding: 16px;
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
width: 100%;
@@ -890,7 +892,7 @@
width: 120px;
height: 100%;
padding: 8px;
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
.ant-typography {
padding: 0 16px;
@@ -901,7 +903,7 @@
margin-top: 12px;
.ant-typography {
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-size: 13px;
font-style: normal;
@@ -921,7 +923,7 @@
align-self: stretch;
border-radius: 6px;
- background: rgba(78, 116, 248, 0.1);
+ background: color-mix(in srgb, var(--primary-background) 10%, transparent);
.ingestion-key-details-section-text {
&.ant-typography {
@@ -1035,7 +1037,7 @@
align-self: stretch;
border-radius: 6px;
- background: var(--bg-ink-300);
+ background: var(--l3-background);
border: none !important;
@@ -1058,7 +1060,7 @@
.no-results-found-container {
.ant-typography {
- color: rgba(192, 193, 195, 0.6);
+ color: color-mix(in srgb, var(--border) 60%, transparent);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -1082,14 +1084,14 @@
padding: 12px 12px 12px 16px;
border-radius: 6px;
- background: rgba(171, 189, 255, 0.06);
+ background: color-mix(in srgb, var(--bg-robin-200) 6%, transparent);
.request-data-source-search-query {
border-radius: 2px;
- border: 1px solid rgba(173, 127, 88, 0.1);
- background: rgba(173, 127, 88, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-sienna-500) 10%, transparent);
+ background: color-mix(in srgb, var(--bg-sienna-500) 10%, transparent);
- color: var(--Sienna-400, #bd9979);
+ color: var(--bg-sienna-400);
font-size: 13px;
padding: 2px;
line-height: 20px; /* 142.857% */
@@ -1097,8 +1099,8 @@
.request-data-source-btn {
border-radius: 2px;
- border: 1px solid var(--Slate-200, #2c3140);
- background: var(--Ink-200, #23262e);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
@@ -1114,7 +1116,7 @@
margin-top: 0;
font-size: 11px !important;
font-weight: 400 !important;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
}
}
}
@@ -1136,7 +1138,7 @@
.configure-product-docs-section {
height: 100%;
- border: 1px solid var(--bg-ink-400);
+ border: 1px solid var(--l2-background);
border-radius: 5px;
padding: 12px;
@@ -1163,7 +1165,7 @@
color: white;
.loading-text {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-size: 11px;
font-weight: 300;
}
@@ -1188,7 +1190,7 @@
.configure-product-ingestion-section-content {
height: 100%;
overflow: auto;
- background-color: var(--bg-slate-500);
+ background-color: var(--l1-border);
padding: 12px 24px;
border-radius: 8px;
}
@@ -1203,16 +1205,16 @@
.invite-team-member-modal,
.request-data-source-modal {
.ant-modal-content {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
}
.ant-modal-title {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
}
.invite-team-member-modal-content,
.request-data-source-modal-content {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
}
.request-data-source-modal-content {
@@ -1253,16 +1255,16 @@
.lightMode {
.ingestion-setup-details-links {
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
.learn-more {
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
}
}
}
.onboarding-header-container-close-icon {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
.lightMode {
@@ -1277,44 +1279,44 @@
}
&__question-block {
- color: var(--text-ink-300);
- background-color: var(--bg-vanilla-100);
+ color: var(--l2-foreground);
+ background-color: var(--l1-background);
&:before {
- background-color: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--text-ink-300);
+ background-color: var(--l1-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
}
}
&__heading {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
&__description {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
&__radio-custom {
- background-color: var(--bg-vanilla-100);
- color: var(--text-ink-300);
- background: var(--bg-vanilla-100);
+ background-color: var(--l1-background);
+ color: var(--l2-foreground);
+ background: var(--l1-background);
cursor: pointer;
box-shadow: 0px 4px 4px 0px rgba(255, 255, 255, 0.19);
&:hover {
- background: var(--bg-robin-500);
+ background: var(--primary-background);
box-shadow: 0 4px 8px rgba(58, 134, 255, 0.2);
}
&__text {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
&--selected {
- background: var(--bg-robin-500);
+ background: var(--primary-background);
border-color: var(--bg-robin-500);
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
box-shadow: 0 4px 10px rgba(58, 134, 255, 0.4);
}
@@ -1325,7 +1327,7 @@
&__category {
width: 100%;
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
&__content-container {
@@ -1337,34 +1339,34 @@
}
&__category-filter-item {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
&--selected {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
}
@media (max-width: 600px) {
&__description {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
}
}
.question-block {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
background-color: transparent !important;
&:before {
background-color: var(--bg-robin-100);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--text-ink-300);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
}
&.answered {
&:before {
- background-color: rgba(78, 116, 248);
- color: var(--bg-vanilla-100);
+ background-color: var(--primary-background);
+ color: var(--l1-foreground);
}
}
@@ -1388,7 +1390,7 @@
@keyframes selectPulse {
0% {
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
border-color: var(--bg-robin-500);
}
20% {
@@ -1396,7 +1398,7 @@
border-color: var(--bg-robin-500);
}
40% {
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
border-color: var(--bg-robin-500);
}
60% {
@@ -1404,7 +1406,7 @@
border-color: var(--bg-robin-500);
}
100% {
- background-color: var(--bg-robin-500);
+ background-color: var(--primary-background);
border-color: var(--bg-robin-500);
}
}
@@ -1412,8 +1414,8 @@
.onboarding-v2 {
.get-help-btn,
.invite-teammate-btn {
- border: 1px solid var(--bg-vanilla-300) !important;
- color: var(--bg-ink-300) !important;
+ border: 1px solid var(--l1-border) !important;
+ color: var(--l3-background) !important;
&:focus-visible {
outline: none !important;
@@ -1425,23 +1427,23 @@
}
&:hover {
- border: 1px solid var(--bg-vanilla-300) !important;
+ border: 1px solid var(--l1-border) !important;
color: var(--text-robin-500) !important;
}
&.primary {
- background: var(--bg-robin-500);
- color: var(--text-vanilla-200) !important;
+ background: var(--primary-background);
+ color: var(--l2-foreground) !important;
border: none !important;
&:hover {
- color: var(--text-vanilla-100) !important;
+ color: var(--l1-foreground) !important;
}
}
&.outlined {
border: none !important;
- color: var(--text-vanilla-400) !important;
+ color: var(--l2-foreground) !important;
&:hover {
color: var(--text-robin-400) !important;
@@ -1457,33 +1459,33 @@
.onboarding-title,
.onboarding-filters-title,
.onboarding-filters-item-title {
- color: var(--text-ink-400) !important;
+ color: var(--l2-foreground) !important;
&.selected {
- color: var(--bg-robin-500) !important;
+ color: var(--accent-primary) !important;
}
}
.onboarding-text {
- color: var(--text-ink-400);
+ color: var(--l2-foreground);
}
.onboarding-data-source-button {
- color: var(--text-ink-300);
- background: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
+ background: var(--l3-background);
box-shadow: 0px 4px 4px 0px rgba(255, 255, 255, 0.19);
&:hover {
border: 1px solid var(--bg-robin-500) !important;
color: var(--text-robin-500) !important;
- background: var(--bg-vanilla-200) !important;
+ background: var(--l2-background) !important;
box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}
&:active {
border: 1px solid var(--bg-robin-500) !important;
color: var(--text-robin-500) !important;
- background: var(--bg-vanilla-200) !important;
+ background: var(--l2-background) !important;
box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}
@@ -1491,7 +1493,7 @@
border: 1px solid var(--bg-robin-500) !important;
color: var(--text-robin-500) !important;
box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
- background: var(--bg-vanilla-200) !important;
+ background: var(--l2-background) !important;
}
&.selected {
@@ -1499,16 +1501,16 @@
color: var(--text-robin-500) !important;
box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
- background: var(--bg-vanilla-200) !important;
+ background: var(--l2-background) !important;
}
}
.questionaire-footer {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-background);
}
.onboarding-configure-product-description {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-background);
}
.onboarding-data-source-search {
@@ -1516,30 +1518,34 @@
margin-bottom: 24px;
.ant-input {
- background: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
+ background: var(--l1-background);
+ border: 1px solid var(--l1-border);
height: 40px;
}
}
.onboarding-add-data-source-container {
.onboarding-question {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
.question-title {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
.question-sub-title {
- color: var(--text-ink-400);
+ color: var(--l2-foreground);
}
}
.onboarding-product-setup-container {
&_left-section {
.perlian-bg {
- background: radial-gradient(circle, var(--text-ink-400) 10%, transparent 0);
+ background: radial-gradient(
+ circle,
+ var(--l2-foreground) 10%,
+ transparent 0
+ );
background-size: 12px 12px;
opacity: 1;
-webkit-mask-image: radial-gradient(
@@ -1548,20 +1554,16 @@
rgba(255, 255, 255, 0) 56.77%
);
}
-
- .ant-btn-default {
- background: var(--bg-vanilla-100);
- }
}
&_right-section {
.invite-user-section-content {
.ant-btn {
- background: var(--bg-vanilla-100);
+ background: var(--l1-foreground);
}
.need-help-section-content-divider {
- color: var(--text-ink-400);
+ color: var(--l2-foreground);
}
}
@@ -1569,26 +1571,26 @@
background: rgba(255, 255, 255, 0.1);
.ant-typography {
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
}
}
.configure-product-ingestion-section-content {
.ingestion-endpoint-section {
- background: var(--bg-vanilla-100);
+ background: var(--l1-foreground);
box-shadow: 0px 4px 4px 0px rgba(255, 255, 255, 0.19) inset;
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
.ingestion-endpoint-section-header {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-foreground);
}
.ingestion-endpoint-info-section {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-foreground);
}
.ingestion-endpoint-section-title {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-foreground);
}
}
@@ -1597,7 +1599,7 @@
}
.ingestion-endpoint-section-error-container {
- background: var(--bg-vanilla-100);
+ background: var(--l1-foreground);
}
}
}
@@ -1606,44 +1608,44 @@
.onboarding-data-source-category-container {
.onboarding-data-source-category-item {
.ant-typography {
- color: var(--text-ink-400);
+ color: var(--l2-foreground);
}
}
}
.onboarding-configure-container {
.configure-product-docs-section {
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
.loading-container {
.loading-text {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
}
}
.configure-product-ingestion-section {
.configure-product-ingestion-section-content {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-foreground);
}
}
}
.invite-team-member-modal {
.ant-modal-content {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-background);
}
.ant-modal-title {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-background);
}
.invite-team-member-modal-content {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--l1-background);
}
}
.onboarding-header-container-close-icon {
- color: var(--bg-ink-300);
+ color: var(--l3-background);
}
}
diff --git a/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/CreateEdit.tsx b/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/CreateEdit.tsx
index a76302f96f..3b73b06794 100644
--- a/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/CreateEdit.tsx
+++ b/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/CreateEdit.tsx
@@ -1,6 +1,6 @@
import { useCallback, useState } from 'react';
import { Button } from '@signozhq/button';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { Form, Modal } from 'antd';
import { ErrorResponseHandlerV2 } from 'api/ErrorResponseHandlerV2';
import {
diff --git a/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/Providers.styles.scss b/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/Providers.styles.scss
index b295469f71..4694dd93cb 100644
--- a/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/Providers.styles.scss
+++ b/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/Providers.styles.scss
@@ -48,7 +48,7 @@
}
&__right {
- border-left: 1px solid var(--l3-border);
+ border-left: 1px solid var(--l1-border);
padding-left: 24px;
display: flex;
flex-direction: column;
@@ -83,7 +83,7 @@
textarea {
height: 32px;
background: var(--l3-background) !important;
- border: 1px solid var(--l3-border) !important;
+ border: 1px solid var(--l1-border) !important;
border-radius: 2px;
color: var(--l1-foreground) !important;
@@ -93,7 +93,7 @@
}
&:hover {
- border-color: var(--l3-border) !important;
+ border-color: var(--l1-border) !important;
}
&:focus,
@@ -112,7 +112,7 @@
max-height: 200px;
resize: vertical;
background: var(--l3-background) !important;
- border: 1px solid var(--l3-border) !important;
+ border: 1px solid var(--l1-border) !important;
border-radius: 2px;
color: var(--l1-foreground) !important;
font-family: 'SF Mono', monospace;
@@ -125,7 +125,7 @@
}
&:hover {
- border-color: var(--l3-border) !important;
+ border-color: var(--l1-border) !important;
}
&:focus,
diff --git a/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/AttributeMappingSection.styles.scss b/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/AttributeMappingSection.styles.scss
index 2157075f24..8e240151d5 100644
--- a/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/AttributeMappingSection.styles.scss
+++ b/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/AttributeMappingSection.styles.scss
@@ -105,7 +105,7 @@
input {
height: 32px;
background: var(--l3-background) !important;
- border: 1px solid var(--l3-border) !important;
+ border: 1px solid var(--l1-border) !important;
border-radius: 2px;
color: var(--l1-foreground) !important;
@@ -115,7 +115,7 @@
}
&:hover {
- border-color: var(--l3-border) !important;
+ border-color: var(--l1-border) !important;
}
&:focus,
diff --git a/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/ClaimMappingSection.styles.scss b/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/ClaimMappingSection.styles.scss
index 3f552cc6e4..1cd209f160 100644
--- a/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/ClaimMappingSection.styles.scss
+++ b/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/ClaimMappingSection.styles.scss
@@ -105,7 +105,7 @@
input {
height: 32px;
background: var(--l3-background) !important;
- border: 1px solid var(--l3-border) !important;
+ border: 1px solid var(--l1-border) !important;
border-radius: 2px;
color: var(--l1-foreground) !important;
@@ -115,7 +115,7 @@
}
&:hover {
- border-color: var(--l3-border) !important;
+ border-color: var(--l1-border) !important;
}
&:focus,
diff --git a/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/DomainMappingList.styles.scss b/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/DomainMappingList.styles.scss
index b20d73b42e..7f21f6882c 100644
--- a/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/DomainMappingList.styles.scss
+++ b/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/DomainMappingList.styles.scss
@@ -65,7 +65,11 @@
}
&:hover {
- background: rgba(229, 72, 77, 0.1) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-cherry-500) 10%,
+ transparent
+ ) !important;
opacity: 0.9 !important;
color: var(--destructive) !important;
@@ -76,7 +80,11 @@
&:active {
opacity: 0.7 !important;
- background: rgba(229, 72, 77, 0.15) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-cherry-500) 15%,
+ transparent
+ ) !important;
}
}
diff --git a/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/RoleMappingSection.styles.scss b/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/RoleMappingSection.styles.scss
index 4254660e31..d538e4eb24 100644
--- a/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/RoleMappingSection.styles.scss
+++ b/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/RoleMappingSection.styles.scss
@@ -115,7 +115,7 @@
.ant-select-selector {
height: 32px;
background: var(--l3-background) !important;
- border: 1px solid var(--l3-border) !important;
+ border: 1px solid var(--l1-border) !important;
border-radius: 2px;
color: var(--l1-foreground) !important;
@@ -125,7 +125,7 @@
}
&:hover .ant-select-selector {
- border-color: var(--l3-border) !important;
+ border-color: var(--l1-border) !important;
}
&.ant-select-focused .ant-select-selector {
@@ -214,7 +214,11 @@
}
&:hover {
- background: rgba(229, 72, 77, 0.1) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-cherry-500) 10%,
+ transparent
+ ) !important;
opacity: 0.9 !important;
color: var(--destructive) !important;
@@ -225,7 +229,11 @@
&:active {
opacity: 0.7 !important;
- background: rgba(229, 72, 77, 0.15) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-cherry-500) 15%,
+ transparent
+ ) !important;
}
}
@@ -265,7 +273,7 @@
input {
height: 32px;
background: var(--l3-background) !important;
- border: 1px solid var(--l3-border) !important;
+ border: 1px solid var(--l1-border) !important;
border-radius: 2px;
color: var(--l1-foreground) !important;
@@ -275,7 +283,7 @@
}
&:hover {
- border-color: var(--l3-border) !important;
+ border-color: var(--l1-border) !important;
}
&:focus,
diff --git a/frontend/src/container/OrganizationSettings/AuthDomain/SSOEnforcementToggle.tsx b/frontend/src/container/OrganizationSettings/AuthDomain/SSOEnforcementToggle.tsx
index 99340f96ad..d9500eaa14 100644
--- a/frontend/src/container/OrganizationSettings/AuthDomain/SSOEnforcementToggle.tsx
+++ b/frontend/src/container/OrganizationSettings/AuthDomain/SSOEnforcementToggle.tsx
@@ -1,5 +1,5 @@
import { useEffect, useState } from 'react';
-import { Switch } from '@signozhq/switch';
+import { Switch } from '@signozhq/ui';
import { ErrorResponseHandlerV2 } from 'api/ErrorResponseHandlerV2';
import { useUpdateAuthDomain } from 'api/generated/services/authdomains';
import {
@@ -66,11 +66,7 @@ function SSOEnforcementToggle({
};
return (
- <Switch
- disabled={isLoading}
- checked={isChecked}
- onCheckedChange={onChangeHandler}
- />
+ <Switch disabled={isLoading} value={isChecked} onChange={onChangeHandler} />
);
}
diff --git a/frontend/src/container/OrganizationSettings/AuthDomain/__tests__/AuthDomain.test.tsx b/frontend/src/container/OrganizationSettings/AuthDomain/__tests__/AuthDomain.test.tsx
index 2503bc936d..1a3f768043 100644
--- a/frontend/src/container/OrganizationSettings/AuthDomain/__tests__/AuthDomain.test.tsx
+++ b/frontend/src/container/OrganizationSettings/AuthDomain/__tests__/AuthDomain.test.tsx
@@ -9,7 +9,8 @@ import {
mockErrorResponse,
} from './mocks';
-jest.mock('@signozhq/sonner', () => ({
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
toast: {
success: jest.fn(),
error: jest.fn(),
diff --git a/frontend/src/container/OrganizationSettings/AuthDomain/__tests__/SSOEnforcementToggle.test.tsx b/frontend/src/container/OrganizationSettings/AuthDomain/__tests__/SSOEnforcementToggle.test.tsx
index 94cafe26a5..1f96fe0661 100644
--- a/frontend/src/container/OrganizationSettings/AuthDomain/__tests__/SSOEnforcementToggle.test.tsx
+++ b/frontend/src/container/OrganizationSettings/AuthDomain/__tests__/SSOEnforcementToggle.test.tsx
@@ -1,6 +1,27 @@
import { rest, server } from 'mocks-server/server';
import { render, screen, userEvent, waitFor } from 'tests/test-utils';
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
+ Switch: ({
+ value,
+ onChange,
+ disabled,
+ }: {
+ value: boolean;
+ onChange: (checked: boolean) => void;
+ disabled?: boolean;
+ }): JSX.Element => (
+ <button
+ type="button"
+ role="switch"
+ aria-checked={value}
+ disabled={disabled}
+ onClick={(): void => onChange(!value)}
+ />
+ ),
+}));
+
import SSOEnforcementToggle from '../SSOEnforcementToggle';
import {
AUTH_DOMAINS_UPDATE_ENDPOINT,
diff --git a/frontend/src/container/OrganizationSettings/AuthDomain/index.tsx b/frontend/src/container/OrganizationSettings/AuthDomain/index.tsx
index 08f3d49adc..be76924185 100644
--- a/frontend/src/container/OrganizationSettings/AuthDomain/index.tsx
+++ b/frontend/src/container/OrganizationSettings/AuthDomain/index.tsx
@@ -2,7 +2,7 @@ import { useCallback, useMemo, useState } from 'react';
import { PlusOutlined } from '@ant-design/icons';
import { Button } from '@signozhq/button';
import { Trash2, X } from '@signozhq/icons';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { Modal, Table, TableColumnsType as ColumnsType } from 'antd';
import { ErrorResponseHandlerForGeneratedAPIs } from 'api/ErrorResponseHandlerForGeneratedAPIs';
import {
diff --git a/frontend/src/container/OrganizationSettings/DisplayName/__tests__/DisplayName.test.tsx b/frontend/src/container/OrganizationSettings/DisplayName/__tests__/DisplayName.test.tsx
index 1a2c0bb0c0..1a9b21a7dc 100644
--- a/frontend/src/container/OrganizationSettings/DisplayName/__tests__/DisplayName.test.tsx
+++ b/frontend/src/container/OrganizationSettings/DisplayName/__tests__/DisplayName.test.tsx
@@ -1,4 +1,4 @@
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { rest, server } from 'mocks-server/server';
import {
fireEvent,
@@ -10,7 +10,8 @@ import {
import DisplayName from '../index';
-jest.mock('@signozhq/sonner', () => ({
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
toast: {
success: jest.fn(),
error: jest.fn(),
diff --git a/frontend/src/container/OrganizationSettings/DisplayName/index.tsx b/frontend/src/container/OrganizationSettings/DisplayName/index.tsx
index 146445de9a..798f37551c 100644
--- a/frontend/src/container/OrganizationSettings/DisplayName/index.tsx
+++ b/frontend/src/container/OrganizationSettings/DisplayName/index.tsx
@@ -1,7 +1,7 @@
import { useEffect } from 'react';
import { Controller, useForm } from 'react-hook-form';
import { useTranslation } from 'react-i18next';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { Button, Input } from 'antd';
import { convertToApiError } from 'api/ErrorResponseHandlerForGeneratedAPIs';
import {
diff --git a/frontend/src/container/OrganizationSettings/OrganizationSettings.styles.scss b/frontend/src/container/OrganizationSettings/OrganizationSettings.styles.scss
index df19dfdb79..1813023c3b 100644
--- a/frontend/src/container/OrganizationSettings/OrganizationSettings.styles.scss
+++ b/frontend/src/container/OrganizationSettings/OrganizationSettings.styles.scss
@@ -6,8 +6,8 @@
padding: 16px;
- border: 1px solid var(--Slate-500, #161922);
- background: var(--Ink-400, #121317);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
border-radius: 3px;
}
@@ -34,10 +34,3 @@
margin-bottom: 0px;
}
}
-
-.lightMode {
- .organization-settings-container {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
-}
diff --git a/frontend/src/container/PaginatedTraceFlamegraph/PaginatedTraceFlamegraph.styles.scss b/frontend/src/container/PaginatedTraceFlamegraph/PaginatedTraceFlamegraph.styles.scss
index 504acf4f02..71c27e79af 100644
--- a/frontend/src/container/PaginatedTraceFlamegraph/PaginatedTraceFlamegraph.styles.scss
+++ b/frontend/src/container/PaginatedTraceFlamegraph/PaginatedTraceFlamegraph.styles.scss
@@ -1,7 +1,7 @@
.flamegraph {
display: flex;
height: 30vh;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
.flamegraph-chart {
padding: 15px;
@@ -15,7 +15,7 @@
.flamegraph-stats {
display: flex;
flex-direction: column;
- border-right: 1px solid var(--bg-slate-400);
+ border-right: 1px solid var(--l1-border);
overflow-y: auto;
overflow-x: hidden;
padding: 16px 20px;
@@ -27,11 +27,11 @@
justify-content: center;
align-items: center;
border-radius: 2px 0px 0px 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
margin-bottom: 16px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -62,7 +62,7 @@
width: 80%;
.service-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Inter';
font-size: 14px;
font-style: normal;
@@ -96,7 +96,7 @@
}
.percent-value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
text-align: right;
font-family: 'Inter';
font-size: 12px;
@@ -111,35 +111,3 @@
}
}
}
-
-.lightMode {
- .flamegraph {
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .flamegraph-stats {
- border-right: 1px solid var(--bg-vanilla-300);
-
- .exec-time-service {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-400);
- color: var(--bg-ink-100);
- }
-
- .stats {
- .value-row {
- .service-name {
- .service-text {
- color: var(--bg-ink-400);
- }
- }
-
- .progress-service {
- .percent-value {
- color: var(--bg-ink-100);
- }
- }
- }
- }
- }
- }
-}
diff --git a/frontend/src/container/PaginatedTraceFlamegraph/TraceFlamegraphStates/Error/Error.styles.scss b/frontend/src/container/PaginatedTraceFlamegraph/TraceFlamegraphStates/Error/Error.styles.scss
index 1b837b5ad9..1142bf0efb 100644
--- a/frontend/src/container/PaginatedTraceFlamegraph/TraceFlamegraphStates/Error/Error.styles.scss
+++ b/frontend/src/container/PaginatedTraceFlamegraph/TraceFlamegraphStates/Error/Error.styles.scss
@@ -12,7 +12,7 @@
}
.no-data-text {
- color: var(--bg-vanilla-400);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -21,11 +21,3 @@
letter-spacing: -0.07px;
}
}
-
-.lightMode {
- .error-flamegraph {
- .no-data-text {
- color: var(--bg-ink-400);
- }
- }
-}
diff --git a/frontend/src/container/PaginatedTraceFlamegraph/TraceFlamegraphStates/Success/Success.styles.scss b/frontend/src/container/PaginatedTraceFlamegraph/TraceFlamegraphStates/Success/Success.styles.scss
index 853858a529..507324b60e 100644
--- a/frontend/src/container/PaginatedTraceFlamegraph/TraceFlamegraphStates/Success/Success.styles.scss
+++ b/frontend/src/container/PaginatedTraceFlamegraph/TraceFlamegraphStates/Success/Success.styles.scss
@@ -25,7 +25,7 @@
transform: translate(-50%, -50%) rotate(45deg);
width: 6px;
height: 6px;
- background-color: var(--bg-robin-500);
+ background-color: var(--primary-background);
border: 1px solid var(--bg-robin-600);
cursor: pointer;
z-index: 1;
diff --git a/frontend/src/container/PipelinePage/PipelineListsView/AddNewProcessor/index.tsx b/frontend/src/container/PipelinePage/PipelineListsView/AddNewProcessor/index.tsx
index bd64e0c5c6..f83a04f3a9 100644
--- a/frontend/src/container/PipelinePage/PipelineListsView/AddNewProcessor/index.tsx
+++ b/frontend/src/container/PipelinePage/PipelineListsView/AddNewProcessor/index.tsx
@@ -1,6 +1,6 @@
import { useCallback, useEffect, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
-import { Button, Divider, Form, Modal } from 'antd';
+import { Button, Form, Modal } from 'antd';
import {
ActionMode,
ActionType,
@@ -163,7 +163,6 @@ function AddNewProcessor({
onCancel={onCancelModal}
destroyOnClose
>
- <Divider plain />
<Form
name="add-new-processor"
layout="vertical"
@@ -178,7 +177,7 @@ function AddNewProcessor({
selectedProcessorData={selectedProcessorData}
isAdd={isAdd}
/>
- <Divider plain />
+
<Form.Item>
<ModalButtonWrapper>
<Button
diff --git a/frontend/src/container/PipelinePage/PipelineListsView/Preview/LogsFilterPreview/styles.scss b/frontend/src/container/PipelinePage/PipelineListsView/Preview/LogsFilterPreview/styles.scss
index 6836bf71f2..85d5432a20 100644
--- a/frontend/src/container/PipelinePage/PipelineListsView/Preview/LogsFilterPreview/styles.scss
+++ b/frontend/src/container/PipelinePage/PipelineListsView/Preview/LogsFilterPreview/styles.scss
@@ -14,5 +14,5 @@
width: 100%;
height: 12em;
overflow: hidden;
- border: 1px solid rgba(253, 253, 253, 0.12);
+ border: 1px solid color-mix(in srgb, var(--card) 12%, transparent);
}
diff --git a/frontend/src/container/PipelinePage/PipelineListsView/Preview/PipelineProcessingPreview/styles.scss b/frontend/src/container/PipelinePage/PipelineListsView/Preview/PipelineProcessingPreview/styles.scss
index 8a0a8e6af2..6d5887b23c 100644
--- a/frontend/src/container/PipelinePage/PipelineListsView/Preview/PipelineProcessingPreview/styles.scss
+++ b/frontend/src/container/PipelinePage/PipelineListsView/Preview/PipelineProcessingPreview/styles.scss
@@ -15,5 +15,5 @@
width: 100%;
height: 12em;
overflow: hidden;
- border: 1px solid rgba(253, 253, 253, 0.12);
+ border: 1px solid color-mix(in srgb, var(--card) 12%, transparent);
}
diff --git a/frontend/src/container/PipelinePage/PipelineListsView/Preview/components/LogsList/styles.scss b/frontend/src/container/PipelinePage/PipelineListsView/Preview/components/LogsList/styles.scss
index 9533fb07fb..f8ce9e3914 100644
--- a/frontend/src/container/PipelinePage/PipelineListsView/Preview/components/LogsList/styles.scss
+++ b/frontend/src/container/PipelinePage/PipelineListsView/Preview/components/LogsList/styles.scss
@@ -22,7 +22,7 @@
}
.logs-preview-list-item:not(:first-child) {
- border-top: 1px solid rgba(253, 253, 253, 0.12);
+ border-top: 1px solid color-mix(in srgb, var(--card) 12%, transparent);
}
.logs-preview-list-item-timestamp {
diff --git a/frontend/src/container/PipelinePage/PipelineListsView/config.ts b/frontend/src/container/PipelinePage/PipelineListsView/config.ts
index 09305f66f7..ac87a9bcd3 100644
--- a/frontend/src/container/PipelinePage/PipelineListsView/config.ts
+++ b/frontend/src/container/PipelinePage/PipelineListsView/config.ts
@@ -130,6 +130,6 @@ export const formValidationRules = [
},
];
-export const iconStyle = { fontSize: '1.5rem' };
-export const smallIconStyle = { fontSize: '1rem' };
+export const iconStyle = { fontSize: '1rem' };
+export const smallIconStyle = { fontSize: '0.75rem' };
export const holdIconStyle = { ...iconStyle, cursor: 'move' };
diff --git a/frontend/src/container/PipelinePage/tests/__snapshots__/DeleteAction.test.tsx.snap b/frontend/src/container/PipelinePage/tests/__snapshots__/DeleteAction.test.tsx.snap
index 133fbb5010..7ec08d3254 100644
--- a/frontend/src/container/PipelinePage/tests/__snapshots__/DeleteAction.test.tsx.snap
+++ b/frontend/src/container/PipelinePage/tests/__snapshots__/DeleteAction.test.tsx.snap
@@ -6,7 +6,7 @@ exports[`PipelinePage container test should render DeleteAction section 1`] = `
aria-label="delete"
class="anticon anticon-delete"
role="img"
- style="font-size: 1.5rem;"
+ style="font-size: 1rem;"
tabindex="-1"
>
<svg
diff --git a/frontend/src/container/PipelinePage/tests/__snapshots__/DragAction.test.tsx.snap b/frontend/src/container/PipelinePage/tests/__snapshots__/DragAction.test.tsx.snap
index 142298467f..6375b36751 100644
--- a/frontend/src/container/PipelinePage/tests/__snapshots__/DragAction.test.tsx.snap
+++ b/frontend/src/container/PipelinePage/tests/__snapshots__/DragAction.test.tsx.snap
@@ -45,7 +45,7 @@ exports[`PipelinePage container test should render DragAction section 1`] = `
aria-label="holder"
class="anticon anticon-holder"
role="img"
- style="font-size: 1.5rem; cursor: move;"
+ style="font-size: 1rem; cursor: move;"
>
<svg
aria-hidden="true"
diff --git a/frontend/src/container/PipelinePage/tests/__snapshots__/EditAction.test.tsx.snap b/frontend/src/container/PipelinePage/tests/__snapshots__/EditAction.test.tsx.snap
index a438a15f4a..d9b5067bf4 100644
--- a/frontend/src/container/PipelinePage/tests/__snapshots__/EditAction.test.tsx.snap
+++ b/frontend/src/container/PipelinePage/tests/__snapshots__/EditAction.test.tsx.snap
@@ -6,7 +6,7 @@ exports[`PipelinePage container test should render EditAction section 1`] = `
aria-label="edit"
class="anticon anticon-edit"
role="img"
- style="font-size: 1.5rem;"
+ style="font-size: 1rem;"
tabindex="-1"
>
<svg
diff --git a/frontend/src/container/PipelinePage/tests/__snapshots__/PipelineActions.test.tsx.snap b/frontend/src/container/PipelinePage/tests/__snapshots__/PipelineActions.test.tsx.snap
index 7b41ebf3d7..9e8e15a37d 100644
--- a/frontend/src/container/PipelinePage/tests/__snapshots__/PipelineActions.test.tsx.snap
+++ b/frontend/src/container/PipelinePage/tests/__snapshots__/PipelineActions.test.tsx.snap
@@ -21,7 +21,7 @@ exports[`PipelinePage container test should render PipelineActions section 1`] =
aria-label="eye"
class="anticon anticon-eye"
role="img"
- style="font-size: 1.5rem;"
+ style="font-size: 1rem;"
tabindex="-1"
>
<svg
@@ -42,7 +42,7 @@ exports[`PipelinePage container test should render PipelineActions section 1`] =
aria-label="edit"
class="anticon anticon-edit"
role="img"
- style="font-size: 1.5rem;"
+ style="font-size: 1rem;"
tabindex="-1"
>
<svg
@@ -63,7 +63,7 @@ exports[`PipelinePage container test should render PipelineActions section 1`] =
aria-label="delete"
class="anticon anticon-delete"
role="img"
- style="font-size: 1.5rem;"
+ style="font-size: 1rem;"
tabindex="-1"
>
<svg
diff --git a/frontend/src/container/PlannedDowntime/PlannedDowntime.styles.scss b/frontend/src/container/PlannedDowntime/PlannedDowntime.styles.scss
index ee1471a52b..b95e6c57e7 100644
--- a/frontend/src/container/PlannedDowntime/PlannedDowntime.styles.scss
+++ b/frontend/src/container/PlannedDowntime/PlannedDowntime.styles.scss
@@ -2,15 +2,15 @@
.ant-modal-content {
padding: 16px;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
.ant-modal-header {
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
.ant-typography {
margin: 0;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -22,7 +22,7 @@
.ant-modal-body {
.ant-divider {
margin: 16px 0;
- border: 0.5px solid var(--bg-slate-500);
+ border: 0.5px solid var(--l1-border);
}
}
}
@@ -42,8 +42,8 @@
input {
width: 100%;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
.alert-rule-tags {
@@ -61,8 +61,8 @@
.ant-select {
.ant-select-selector {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
@@ -74,7 +74,7 @@
.alert-rule-info {
font-size: 11px;
font-weight: 300;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
@@ -87,7 +87,7 @@
margin-bottom: 20px;
font-size: 12px;
font-weight: 400;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
@@ -95,47 +95,53 @@
.ant-tag {
display: flex;
align-items: center;
- border: 1px solid rgba(113, 144, 249, 0.2);
- background: rgba(113, 144, 249, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-robin-400) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-robin-400) 10%, transparent);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
padding-right: 0px;
border-right: 0;
- color: var(--Robin-400, #7190f9);
+ color: var(--bg-robin-400);
.ant-tag-close-icon {
height: 28px;
width: 20px !important;
justify-content: center;
- border-left: 1px solid rgba(113, 144, 249, 0.2);
+ border-left: 1px solid
+ color-mix(in srgb, var(--bg-robin-400) 20%, transparent);
border-radius: 0px 2px 2px 0px;
- background: rgba(113, 144, 249, 0.3);
- border-right: 1px solid rgba(113, 144, 249, 0.2);
+ background: color-mix(in srgb, var(--bg-robin-400) 30%, transparent);
+ border-right: 1px solid
+ color-mix(in srgb, var(--bg-robin-400) 20%, transparent);
margin-right: 0px;
svg {
- fill: var(--bg-robin-500);
+ fill: var(--primary-background);
}
}
}
.non-closable-tag {
padding-right: 7px;
- border-right: 1px solid rgba(113, 144, 249, 0.2);
+ border-right: 1px solid
+ color-mix(in srgb, var(--bg-robin-400) 20%, transparent);
}
.red-tag.non-closable-tag {
- border-right: 1px solid rgba(242, 71, 105, 0.2) !important;
+ border-right: 1px solid
+ color-mix(in srgb, var(--bg-sakura-500) 20%, transparent) !important;
}
.red-tag {
- border: 1px solid rgba(242, 71, 105, 0.2);
- background: rgba(242, 71, 105, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-sakura-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-sakura-500) 10%, transparent);
border-right: 0;
- color: var(--Sakura-400, #f56c87);
+ color: var(--bg-sakura-400);
.ant-tag-close-icon {
- background: rgba(242, 71, 105, 0.3);
- border-left: 1px solid rgba(242, 71, 105, 0.2);
- border-right: 1px solid rgba(242, 71, 105, 0.2);
+ background: color-mix(in srgb, var(--bg-sakura-500) 30%, transparent);
+ border-left: 1px solid
+ color-mix(in srgb, var(--bg-sakura-500) 20%, transparent);
+ border-right: 1px solid
+ color-mix(in srgb, var(--bg-sakura-500) 20%, transparent);
svg {
fill: var(--bg-sakura-500);
@@ -146,7 +152,7 @@
.datePicker {
.ant-picker-panel-container {
- background: #262930 !important;
+ background: var(--l3-background) !important;
}
}
@@ -160,7 +166,7 @@
max-width: 736px;
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: var(--font-size-lg);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -193,8 +199,8 @@
}
.schedule-created-at {
- border: 1px solid var(--bg-slate-500);
- background-color: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background-color: var(--l2-background);
border-top: 0px;
width: 100%;
padding: 8px 16px;
@@ -206,7 +212,7 @@
display: flex;
align-items: center;
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums stacked-fractions
slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on, 'cpsp' on, 'case' on;
@@ -229,7 +235,7 @@
gap: 8px;
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums stacked-fractions
slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on, 'cpsp' on, 'case' on;
@@ -282,8 +288,8 @@
gap: 16px;
.collapse-list {
- border: 1px solid var(--bg-slate-500);
- background-color: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background-color: var(--l2-background);
border-top-left-radius: 6px;
border-top-right-radius: 6px;
@@ -316,7 +322,7 @@
.render-item-value {
.ant-typography {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -327,7 +333,7 @@
}
.ant-typography {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -345,20 +351,20 @@
.ant-modal-content {
padding: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
.ant-modal-header {
padding: 16px;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.ant-modal-body {
padding: 0px 16px 28px 16px;
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -375,8 +381,8 @@
.ant-color-picker-trigger {
padding: 6px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
width: 32px;
height: 32px;
@@ -406,7 +412,7 @@
align-items: center;
border: none;
border-radius: 2px;
- background: var(--bg-slate-500);
+ background: var(--l1-border);
}
.delete-btn {
@@ -419,13 +425,13 @@
}
.delete-btn:hover {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
background: var(--bg-cherry-600);
}
}
}
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-medium);
@@ -442,21 +448,21 @@
.lightMode {
.datePicker {
.ant-picker-panel-container {
- background: #ffffff !important;
+ background: var(--card) !important;
}
}
.planned-downtime-container {
.planned-downtime-content {
.title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
.schedule-created-at {
- border: 1px solid var(--bg-vanilla-300);
- background-color: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background-color: var(--l1-background);
.ant-typography {
- color: var(--bg-slate-100);
+ color: var(--l3-foreground);
}
border-top: 0px !important;
}
@@ -466,17 +472,17 @@
.planned-downtime-table {
.ant-table-tbody {
.collapse-list {
- border: 1px solid var(--bg-vanilla-300);
- background-color: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background-color: var(--l1-background);
.ant-collapse-content-box {
.ant-typography {
- color: var(--bg-slate-100);
+ color: var(--l3-foreground);
}
}
.ant-typography {
- color: var(--bg-slate-400);
+ color: var(--l2-foreground);
}
}
}
@@ -484,34 +490,34 @@
.delete-schedule-modal {
.ant-modal-content {
- border: 1px solid var(--bg-vanilla-200);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
.ant-modal-header {
- background: var(--bg-vanilla-100);
+ background: var(--card);
.title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
.ant-modal-body {
.ant-typography {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
.save-view-input {
.ant-input {
- background: var(--bg-vanilla-200);
- color: var(--bg-ink-500);
+ background: var(--l1-background);
+ color: var(--l1-foreground);
}
}
}
.ant-modal-footer {
.cancel-btn {
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ background: var(--l3-background);
+ color: var(--l2-foreground);
}
}
}
@@ -519,19 +525,19 @@
.createDowntimeModal {
.ant-modal-content {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
.ant-modal-header {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--card);
.ant-typography {
- color: var(--bg-slate-100);
+ color: var(--l3-foreground);
}
}
.ant-modal-body {
.ant-divider {
- border: 0.5px solid var(--bg-vanilla-300);
+ border: 0.5px solid var(--l1-border);
}
}
}
@@ -540,8 +546,8 @@
.createForm {
.ant-picker,
input {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
}
.ant-picker .ant-picker-input input {
@@ -550,17 +556,17 @@
.ant-select {
.ant-select-selector {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
}
}
.scheduleTimeInfoText {
- color: var(--bg-slate-300);
+ color: var(--l2-foreground);
}
.alert-rule-info {
- color: var(--bg-slate-300);
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/container/PublicDashboardContainer/PublicDashboardContainer.styles.scss b/frontend/src/container/PublicDashboardContainer/PublicDashboardContainer.styles.scss
index ee28b33b9b..9b835769b9 100644
--- a/frontend/src/container/PublicDashboardContainer/PublicDashboardContainer.styles.scss
+++ b/frontend/src/container/PublicDashboardContainer/PublicDashboardContainer.styles.scss
@@ -12,8 +12,8 @@
align-items: center;
width: 100%;
padding: 8px 16px;
- border-bottom: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border-bottom: 1px solid var(--l1-border);
+ background: var(--l3-background);
position: sticky;
top: 0;
@@ -98,12 +98,3 @@
margin: 0px 8px;
}
}
-
-.lightMode {
- .public-dashboard-container {
- .public-dashboard-header {
- background: var(--bg-vanilla-100);
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
- }
-}
diff --git a/frontend/src/container/QueryBuilder/QueryBuilder.styles.scss b/frontend/src/container/QueryBuilder/QueryBuilder.styles.scss
index 6cb8c61f92..2fb9f739c0 100644
--- a/frontend/src/container/QueryBuilder/QueryBuilder.styles.scss
+++ b/frontend/src/container/QueryBuilder/QueryBuilder.styles.scss
@@ -1,8 +1,8 @@
.query-builder-container {
position: relative;
- border-top: 1px solid var(--bg-slate-400);
- border-bottom: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border-top: 1px solid var(--l1-border);
+ border-bottom: 1px solid var(--l1-border);
+ background: var(--l1-background);
// height: 280px;
// overflow: hidden;
@@ -11,11 +11,11 @@
// min-height: 280px;
// position: relative;
- border-top: 1px solid var(--bg-slate-400);
- border-right: 1px solid var(--bg-slate-400);
- border-bottom: 1px solid var(--bg-slate-400);
- border-left: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
+ border-top: 1px solid var(--l1-border);
+ border-right: 1px solid var(--l1-border);
+ border-bottom: 1px solid var(--l1-border);
+ border-left: 1px solid var(--l1-border);
+ background: var(--l1-background);
}
.new-query-formula-buttons-container {
@@ -26,13 +26,13 @@
left: 16px;
border-radius: 2px;
- background: var(--bg-ink-200);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
.ant-btn {
border-radius: 0px;
- border: 1px solid var(--bg-slate-200);
- background: var(--bg-ink-200);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
padding: 2px 10px;
@@ -43,8 +43,8 @@
}
.query-builder-mini-map {
- border-left: 1px solid var(--bg-slate-400);
- border-right: 1px solid var(--bg-slate-400);
+ border-left: 1px solid var(--l1-border);
+ border-right: 1px solid var(--l1-border);
display: flex;
flex-direction: column;
@@ -70,11 +70,11 @@
&.query-btn {
color: var(--bg-sakura-400);
- border: 1px solid rgba(242, 71, 105, 0.2);
- background: rgba(242, 71, 105, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-sakura-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-sakura-500) 10%, transparent);
&:hover {
- border: 1px solid rgba(242, 71, 105, 0.4);
+ border: 1px solid color-mix(in srgb, var(--bg-sakura-500) 40%, transparent);
color: var(--bg-sakura-400);
}
}
@@ -82,11 +82,11 @@
&.formula-btn {
color: var(--bg-sienna-400);
- border: 1px solid rgba(189, 153, 121, 0.2);
- background: rgba(189, 153, 121, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-sienna-400) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-sienna-400) 10%, transparent);
&:hover {
- border: 1px solid rgba(189, 153, 121, 0.4);
+ border: 1px solid color-mix(in srgb, var(--bg-sienna-400) 40%, transparent);
color: var(--bg-sienna-400);
}
}
@@ -123,8 +123,8 @@
.ant-select-selector {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
input {
font-size: 12px;
@@ -137,7 +137,7 @@
.ant-input-number {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
}
.divider {
@@ -146,7 +146,7 @@
.ant-divider-horizontal {
width: calc(100% + 24px);
margin: 24px 0 12px;
- border-block-start: 2px solid var(--bg-slate-400);
+ border-block-start: 2px solid var(--l1-border);
}
}
}
@@ -156,69 +156,3 @@
width: 0.2rem;
}
}
-
-.lightMode {
- .query-builder-container {
- border-top-color: var(--bg-vanilla-300);
- border-bottom-color: var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
-
- .query-builder-left-col {
- border-top-color: var(--bg-vanilla-300);
- border-right-color: var(--bg-vanilla-300);
- border-bottom-color: var(--bg-vanilla-300);
- border-left-color: var(--bg-vanilla-300);
- background-color: var(--bg-vanilla-100);
-
- .new-query-formula-buttons-container {
- border-color: var(--bg-vanilla-200);
- background: var(--bg-vanilla-200);
-
- .ant-btn {
- border-color: var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
- }
- }
-
- .new-query-formula-buttons-container {
- border-color: var(--bg-vanilla-200);
- background: var(--bg-vanilla-200);
-
- .ant-btn {
- border-color: var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
- }
-
- .query-builder-mini-map {
- border-left-color: var(--bg-vanilla-300);
- border-right-color: var(--bg-vanilla-300);
- }
-
- .query-builder {
- .divider {
- .ant-divider-horizontal {
- border-block-start: 2px solid var(--bg-vanilla-300);
- }
- }
-
- .ant-select-selector {
- border-color: var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
-
- .ant-select-selection-item {
- color: var(--text-ink-400);
- }
- }
-
- .ant-input-number {
- border-color: var(--bg-vanilla-300);
- }
-
- .anticon {
- color: var(--bg-vanilla-400);
- }
- }
- }
-}
diff --git a/frontend/src/container/QueryBuilder/components/AdditionalFiltersToggler/AdditionalFiltersToggler.styles.scss b/frontend/src/container/QueryBuilder/components/AdditionalFiltersToggler/AdditionalFiltersToggler.styles.scss
index 8d2a2f743e..01c4505cff 100644
--- a/frontend/src/container/QueryBuilder/components/AdditionalFiltersToggler/AdditionalFiltersToggler.styles.scss
+++ b/frontend/src/container/QueryBuilder/components/AdditionalFiltersToggler/AdditionalFiltersToggler.styles.scss
@@ -4,7 +4,7 @@
.additinal-filters-container {
.action-btn {
- background: #4e74f8;
+ background: var(--primary-background);
width: 16px;
height: 16px;
border-radius: 3px;
diff --git a/frontend/src/container/QueryBuilder/components/FilterLabel/FilterLabel.tsx b/frontend/src/container/QueryBuilder/components/FilterLabel/FilterLabel.tsx
index a4211210a7..5c7f3a53e3 100644
--- a/frontend/src/container/QueryBuilder/components/FilterLabel/FilterLabel.tsx
+++ b/frontend/src/container/QueryBuilder/components/FilterLabel/FilterLabel.tsx
@@ -16,7 +16,7 @@ export const FilterLabel = memo(function FilterLabel({
<StyledLabel isDarkMode={isDarkMode}>
<Typography
style={{
- color: '#c0c1c3',
+ color: 'var(--bg-vanilla-400)',
}}
>
{label}
diff --git a/frontend/src/container/QueryBuilder/components/QBEntityOptions/QBEntityOptions.styles.scss b/frontend/src/container/QueryBuilder/components/QBEntityOptions/QBEntityOptions.styles.scss
index ca58bb2a92..b2d80f36ec 100644
--- a/frontend/src/container/QueryBuilder/components/QBEntityOptions/QBEntityOptions.styles.scss
+++ b/frontend/src/container/QueryBuilder/components/QBEntityOptions/QBEntityOptions.styles.scss
@@ -31,8 +31,8 @@
min-width: 32px;
border-radius: 2px;
- border: 1px solid var(--Slate-400, #1d212d);
- background: var(--Ink-300, #16181d);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
@@ -45,11 +45,15 @@
color: var(--bg-sakura-400) !important;
- border: 1px solid rgba(242, 71, 105, 0.2) !important;
- background: rgba(242, 71, 105, 0.1) !important;
+ border: 1px solid color-mix(in srgb, var(--bg-sakura-500) 20%, transparent) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-sakura-500) 10%,
+ transparent
+ ) !important;
&:hover {
- border: 1px solid rgba(242, 71, 105, 0.4) !important;
+ border: 1px solid color-mix(in srgb, var(--bg-sakura-500) 40%, transparent) !important;
color: var(--bg-sakura-400) !important;
}
}
@@ -62,11 +66,11 @@
color: var(--bg-sienna-400) !important;
- border: 1px solid rgba(189, 153, 121, 0.2) !important;
- background: rgba(189, 153, 121, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-sienna-400) 20%, transparent) !important;
+ background: color-mix(in srgb, var(--bg-sienna-400) 10%, transparent);
&:hover {
- border: 1px solid rgba(189, 153, 121, 0.4) !important;
+ border: 1px solid color-mix(in srgb, var(--bg-sienna-400) 40%, transparent) !important;
color: var(--bg-sienna-400) !important;
}
}
@@ -76,18 +80,3 @@
}
}
}
-
-.lightMode {
- .qb-entity-options {
- .options {
- border-color: var(--bg-vanilla-300);
- box-shadow: none;
-
- .periscope-btn {
- border-color: var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-200);
- }
- }
- }
-}
diff --git a/frontend/src/container/QueryBuilder/components/QueryFunctions/QueryFunctions.styles.scss b/frontend/src/container/QueryBuilder/components/QueryFunctions/QueryFunctions.styles.scss
index 0761a72679..643be1498a 100644
--- a/frontend/src/container/QueryBuilder/components/QueryFunctions/QueryFunctions.styles.scss
+++ b/frontend/src/container/QueryBuilder/components/QueryFunctions/QueryFunctions.styles.scss
@@ -27,7 +27,7 @@
border-top-left-radius: 0px !important;
border-bottom-left-radius: 0px !important;
- background-color: var(--bg-slate-500) !important;
+ background-color: var(--l1-border) !important;
opacity: 0.8;
&:disabled {
@@ -65,8 +65,8 @@
left: -8px;
top: 16px;
z-index: 0;
- color: var(--bg-ink-200);
- background-color: var(--bg-ink-200);
+ color: var(--muted-foreground);
+ background-color: var(--l3-background);
}
&::after {
@@ -77,8 +77,8 @@
right: -8px;
top: 16px;
z-index: 0;
- color: var(--bg-ink-200);
- background-color: var(--bg-ink-200);
+ color: var(--muted-foreground);
+ background-color: var(--l3-background);
}
.query-function-name-selector {
@@ -87,7 +87,7 @@
.ant-select-selector {
border: none;
- background: var(--bg-ink-200);
+ background: var(--l3-background);
}
&.showInput {
@@ -101,7 +101,7 @@
.query-function-value {
width: 70px;
border-left: 0;
- background: var(--bg-ink-200);
+ background: var(--l3-background);
border-radius: 0;
border: 1px solid transparent;
@@ -126,21 +126,21 @@
.lightMode {
.query-functions-container {
.add-function-btn {
- background-color: var(--bg-vanilla-100) !important;
+ background-color: var(--l3-background) !important;
}
}
.query-functions-list {
.query-function {
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
.query-function-name-selector {
.ant-select-selector {
- background: var(--bg-vanilla-100);
+ background: var(--l3-background);
}
}
.query-function-value {
- background: var(--bg-vanilla-100);
+ background: var(--l3-background);
&:focus {
border-color: transparent !important;
@@ -149,8 +149,8 @@
&::before,
&::after {
- color: var(--bg-vanilla-300);
- background-color: var(--bg-vanilla-300);
+ color: var(--l3-background);
+ background-color: var(--l3-background);
}
}
}
diff --git a/frontend/src/container/QueryBuilder/components/QueryFunctions/QueryFunctions.tsx b/frontend/src/container/QueryBuilder/components/QueryFunctions/QueryFunctions.tsx
index 8cdc194e69..c5ebb2078f 100644
--- a/frontend/src/container/QueryBuilder/components/QueryFunctions/QueryFunctions.tsx
+++ b/frontend/src/container/QueryBuilder/components/QueryFunctions/QueryFunctions.tsx
@@ -1,7 +1,6 @@
import { useState } from 'react';
import { Button, Tooltip, Typography } from 'antd';
import cx from 'classnames';
-import { useIsDarkMode } from 'hooks/useDarkMode';
import { cloneDeep, pullAt } from 'lodash-es';
import { Plus } from 'lucide-react';
import { IBuilderQuery } from 'types/api/queryBuilder/queryBuilderData';
@@ -93,8 +92,6 @@ export default function QueryFunctions({
})),
);
- const isDarkMode = useIsDarkMode();
-
const hasAnomalyFunction = functions.some((func) => func.name === 'anomaly');
const hasFunctions = functions.length > 0;
@@ -189,10 +186,7 @@ export default function QueryFunctions({
disabled={hasFunctions}
onClick={handleAddNewFunction}
>
- <FunctionIcon
- className="function-icon"
- fillColor={!isDarkMode ? '#0B0C0E' : 'white'}
- />
+ <FunctionIcon className="function-icon" fillColor="var(--l1-foreground)" />
</Button>
<div className="query-functions-list">
@@ -238,7 +232,7 @@ export default function QueryFunctions({
disabled={functions && functions.length >= maxFunctions}
onClick={handleAddNewFunction}
>
- <Plus size={14} color={!isDarkMode ? '#0B0C0E' : 'white'} />
+ <Plus size={14} color="var(--l1-foreground)" />
</Button>
</Tooltip>
</div>
diff --git a/frontend/src/container/QueryBuilder/components/RunQueryBtn/RunQueryBtn.scss b/frontend/src/container/QueryBuilder/components/RunQueryBtn/RunQueryBtn.scss
index d3fbb97f79..d546b807b2 100644
--- a/frontend/src/container/QueryBuilder/components/RunQueryBtn/RunQueryBtn.scss
+++ b/frontend/src/container/QueryBuilder/components/RunQueryBtn/RunQueryBtn.scss
@@ -23,15 +23,15 @@
padding: 2px 4px;
border-radius: 4px;
//not using var here to support opacity 60%. To be handled at design system level.
- background: rgba(35, 38, 46, 0.6);
+ background: color-mix(in srgb, var(--l3-background) 60%, transparent);
line-height: 1;
font-size: 10px;
}
.lightMode {
.cmd-hint {
- color: var(--bg-ink-200);
+ color: var(--l2-foreground);
//not using var here to support opacity 60%. To be handled at design system level.
- background: rgba(231, 232, 236, 0.8);
+ background: color-mix(in srgb, var(--l3-background) 80%, transparent);
}
}
diff --git a/frontend/src/container/QueryBuilder/components/RunQueryBtn/RunQueryBtn.tsx b/frontend/src/container/QueryBuilder/components/RunQueryBtn/RunQueryBtn.tsx
index 770f4a9a70..6cd995773e 100644
--- a/frontend/src/container/QueryBuilder/components/RunQueryBtn/RunQueryBtn.tsx
+++ b/frontend/src/container/QueryBuilder/components/RunQueryBtn/RunQueryBtn.tsx
@@ -1,6 +1,6 @@
import { useCallback } from 'react';
import { QueryKey, useIsFetching, useQueryClient } from 'react-query';
-import { Button } from 'antd';
+import { Button } from '@signozhq/ui';
import cx from 'classnames';
import {
ChevronUp,
@@ -50,20 +50,22 @@ function RunQueryBtn({
return isLoading ? (
<Button
- type="default"
- icon={<Loader2 size={14} className="loading-icon animate-spin" />}
- className={cx('cancel-query-btn periscope-btn danger', className)}
+ color="destructive"
+ type="button"
+ prefix={<Loader2 size={14} className="loading-icon animate-spin" />}
+ className={cx('cancel-query-btn', className)}
onClick={onCancel}
>
Cancel
</Button>
) : (
<Button
- type="primary"
- className={cx('run-query-btn periscope-btn primary', className)}
+ color="primary"
+ type="button"
+ className={cx('run-query-btn', className)}
disabled={isLoading || !onStageRunQuery}
onClick={onStageRunQuery}
- icon={<Play size={14} />}
+ prefix={<Play size={14} />}
>
{label || 'Run Query'}
<div className="cmd-hint">
diff --git a/frontend/src/container/QueryBuilder/components/ToolbarActions/ToolbarActions.styles.scss b/frontend/src/container/QueryBuilder/components/ToolbarActions/ToolbarActions.styles.scss
index 47bd0d5be4..430f6ea588 100644
--- a/frontend/src/container/QueryBuilder/components/ToolbarActions/ToolbarActions.styles.scss
+++ b/frontend/src/container/QueryBuilder/components/ToolbarActions/ToolbarActions.styles.scss
@@ -10,14 +10,14 @@
width: 40px;
height: 32px;
margin-right: 12px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
}
.left-toolbar-query-actions {
display: flex;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
flex-direction: row;
border-bottom: none;
margin-bottom: -1px;
@@ -36,22 +36,23 @@
padding: 9px;
box-shadow: none;
border-radius: 0px;
- border-left: 1px solid var(--bg-slate-400);
- border-bottom: 1px solid var(--bg-slate-400);
+ border-left: 1px solid var(--l1-border);
+ border-bottom: 1px solid var(--l1-border);
gap: 8px;
&.active-tab {
- background-color: var(--bg-robin-500);
- border-bottom: 1px solid var(--bg-robin-500);
+ background-color: var(--primary-background);
+ border-bottom: 1px solid var(--primary-background);
+ color: var(--primary-foreground);
&:hover {
- background-color: var(--bg-robin-500) !important;
+ background-color: var(--primary-background) !important;
}
}
&:disabled {
- background-color: var(--bg-ink-300);
+ background-color: var(--l3-background);
opacity: 0.6;
}
@@ -62,7 +63,7 @@
&:hover {
background-color: transparent !important;
border-left: 1px solid transparent !important;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
@@ -101,7 +102,7 @@
gap: 6px;
flex-shrink: 0;
border-radius: 2px;
- background: var(--bg-slate-300);
+ background: var(--l3-background);
box-shadow: none;
border: none;
}
@@ -119,43 +120,7 @@
border: none;
}
.cancel-run:hover {
- background-color: #ff7875 !important;
- color: var(--bg-vanilla-100) !important;
- }
-}
-
-.lightMode {
- .left-toolbar {
- .filter-btn {
- border-color: var(--bg-vanilla-300) !important;
- }
-
- .left-toolbar-query-actions {
- border-color: var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
-
- .ant-btn {
- border-color: var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
- color: var(--bg-ink-200) !important;
-
- &.active-tab {
- background-color: var(--bg-robin-100) !important;
- }
- }
- }
- }
- .loading-container {
- .loading-btn {
- background: var(--bg-vanilla-300) !important;
- }
-
- .cancel-run {
- color: var(--bg-vanilla-100) !important;
- }
-
- .cancel-run:hover {
- background-color: #ff7875 !important;
- }
+ background-color: var(--bg-cherry-400) !important;
+ color: var(--l1-foreground) !important;
}
}
diff --git a/frontend/src/container/QueryBuilder/filters/MetricNameSelector/MetricNameSelector.styles.scss b/frontend/src/container/QueryBuilder/filters/MetricNameSelector/MetricNameSelector.styles.scss
index 374b176c27..24822fe689 100644
--- a/frontend/src/container/QueryBuilder/filters/MetricNameSelector/MetricNameSelector.styles.scss
+++ b/frontend/src/container/QueryBuilder/filters/MetricNameSelector/MetricNameSelector.styles.scss
@@ -1,6 +1,6 @@
.metric-name-selector {
.ant-select-selection-placeholder {
- color: var(--bg-slate-200);
+ color: var(--l3-foreground);
font-style: italic;
}
}
diff --git a/frontend/src/container/QueryBuilder/filters/QueryBuilderSearch/QueryBuilderSearch.styles.scss b/frontend/src/container/QueryBuilder/filters/QueryBuilderSearch/QueryBuilderSearch.styles.scss
index beed0ee10f..c0573415fe 100644
--- a/frontend/src/container/QueryBuilder/filters/QueryBuilderSearch/QueryBuilderSearch.styles.scss
+++ b/frontend/src/container/QueryBuilder/filters/QueryBuilderSearch/QueryBuilderSearch.styles.scss
@@ -17,7 +17,7 @@
padding: 0px;
.ant-select-item-group {
padding: 12px 14px 8px 14px;
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -47,7 +47,7 @@
gap: 4px;
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -57,7 +57,7 @@
}
.text:hover {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
.right-section {
@@ -69,25 +69,29 @@
height: 16px;
flex-shrink: 0;
border-radius: 2.286px;
- border-top: 1.143px solid var(--bg-ink-200);
- border-right: 1.143px solid var(--bg-ink-200);
- border-bottom: 2.286px solid var(--bg-ink-200);
- border-left: 1.143px solid var(--bg-ink-200);
- background: var(--bg-ink-400);
+ border-top: 1.143px solid var(--l1-border);
+ border-right: 1.143px solid var(--l1-border);
+ border-bottom: 2.286px solid var(--l1-border);
+ border-left: 1.143px solid var(--l1-border);
+ background: var(--l2-background);
}
}
}
}
.show-all-filter-props:hover {
- background: rgba(255, 255, 255, 0.04) !important;
+ background: color-mix(
+ in srgb,
+ var(--l1-foreground) 4%,
+ transparent
+ ) !important;
}
.example-queries {
cursor: default;
.heading {
padding: 12px 14px 8px 14px;
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -111,8 +115,8 @@
align-items: center;
gap: 10px;
border-radius: 2px;
- background: var(--bg-ink-200);
- color: var(--bg-vanilla-400);
+ background: var(--l3-background);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -123,7 +127,7 @@
}
.example-query:hover {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
@@ -137,8 +141,8 @@
display: flex;
align-items: center;
border-radius: 0px 0px 4px 4px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
padding: 11px 16px;
cursor: default;
@@ -147,15 +151,15 @@
height: 16px;
flex-shrink: 0;
border-radius: 2.286px;
- border-top: 1.143px solid var(--Ink-200, #23262e);
- border-right: 1.143px solid var(--Ink-200, #23262e);
- border-bottom: 2.286px solid var(--Ink-200, #23262e);
- border-left: 1.143px solid var(--Ink-200, #23262e);
- background: var(--Ink-400, #121317);
+ border-top: 1.143px solid var(--l3-background);
+ border-right: 1.143px solid var(--l3-background);
+ border-bottom: 2.286px solid var(--l3-background);
+ border-left: 1.143px solid var(--l3-background);
+ background: var(--l2-background);
}
.keyboard-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -169,7 +173,7 @@
align-items: center;
padding-right: 12px;
gap: 4px;
- border-right: 1px solid #1d212d;
+ border-right: 1px solid var(--l1-border);
}
.update-query {
@@ -188,7 +192,7 @@
height: 5px;
width: 5px;
border-radius: 50%;
- background-color: var(--bg-slate-300);
+ background-color: var(--l3-background);
}
}
@@ -198,7 +202,7 @@
justify-content: space-between;
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -231,7 +235,7 @@
width: 90%;
.dot {
- background-color: var(--bg-slate-300);
+ background-color: var(--l3-background);
}
.value {
@@ -245,7 +249,7 @@
gap: 4px;
.data-type-tag {
- background: rgba(255, 255, 255, 0.08);
+ background: color-mix(in srgb, var(--l1-foreground) 8%, transparent);
}
.option-type-tag {
@@ -258,7 +262,7 @@
.tag {
border-radius: 50px;
- background: rgba(189, 153, 121, 0.1);
+ background: color-mix(in srgb, var(--bg-sienna-400) 10%, transparent);
color: var(--bg-sienna-400);
.dot {
@@ -268,7 +272,7 @@
.resource {
border-radius: 50px;
- background: rgba(245, 108, 135, 0.1);
+ background: color-mix(in srgb, var(--bg-sakura-400) 10%, transparent);
color: var(--bg-sakura-400);
.dot {
@@ -282,128 +286,13 @@
.logs-options-select {
.left-section {
.value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
}
}
-.lightMode {
- .query-builder-search {
- .ant-select-dropdown {
- box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
- }
-
- .ant-select-item-option-active {
- background-color: var(--bg-vanilla-200) !important;
- }
- }
- .logs-explorer-popup {
- .ant-select-item-group {
- color: var(--bg-slate-50);
- }
-
- .show-all-filter-props {
- .content {
- .left-section {
- .text {
- color: var(--bg-ink-400);
- }
-
- .text:hover {
- color: var(--bg-slate-100);
- }
- }
- .right-section {
- .keyboard-shortcut-slash {
- border-top: 1.143px solid var(--bg-ink-200);
- border-right: 1.143px solid var(--bg-ink-200);
- border-bottom: 2.286px solid var(--bg-ink-200);
- border-left: 1.143px solid var(--bg-ink-200);
- background: var(--bg-vanilla-200);
- }
- }
- }
- }
-
- .show-all-filter-props:hover {
- background: var(--bg-vanilla-200) !important;
- }
-
- .example-queries {
- .heading {
- color: var(--bg-slate-50);
- }
-
- .query-container {
- .example-query-container {
- .example-query {
- background: var(--bg-vanilla-200);
- color: var(--bg-ink-400);
- }
-
- .example-query:hover {
- color: var(--bg-ink-400);
- }
- }
- }
- }
-
- .keyboard-shortcuts {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-200);
-
- .icons {
- border-top: 1.143px solid var(--Ink-200, #23262e);
- border-right: 1.143px solid var(--Ink-200, #23262e);
- border-bottom: 2.286px solid var(--Ink-200, #23262e);
- border-left: 1.143px solid var(--Ink-200, #23262e);
- background: var(--bg-vanilla-200);
- }
-
- .keyboard-text {
- color: var(--bg-ink-400);
- }
-
- .navigate {
- border-right: 1px solid #1d212d;
- }
- }
-
- .logs-options-select {
- .text {
- color: var(--bg-ink-400);
- }
-
- .right-section {
- .data-type-tag {
- background: var(--bg-vanilla-200);
- }
-
- .tag {
- background: rgba(189, 153, 121, 0.1);
- color: var(--bg-sienna-400);
- }
-
- .resource {
- background: rgba(245, 108, 135, 0.1);
- color: var(--bg-sakura-400);
- }
- }
- }
-
- .ant-select-item-option-active {
- .logs-options-select {
- .left-section {
- .value {
- color: var(--bg-ink-100);
- }
- }
- }
- }
- }
-}
.span-scope-selector {
width: 160px;
}
diff --git a/frontend/src/container/QueryBuilder/filters/QueryBuilderSearchV2/QueryBuilderSearchV2.styles.scss b/frontend/src/container/QueryBuilder/filters/QueryBuilderSearchV2/QueryBuilderSearchV2.styles.scss
index 079d46644a..b47affc2bf 100644
--- a/frontend/src/container/QueryBuilder/filters/QueryBuilderSearchV2/QueryBuilderSearchV2.styles.scss
+++ b/frontend/src/container/QueryBuilder/filters/QueryBuilderSearchV2/QueryBuilderSearchV2.styles.scss
@@ -1,7 +1,7 @@
.query-builder-search {
.content {
.suggested-filters {
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -38,7 +38,7 @@
.content {
.suggested-filters {
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -56,7 +56,7 @@
padding: 12px 0px 8px 14px;
.operator-for-text {
- color: var(--bg-slate-200);
+ color: var(--l3-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -74,8 +74,8 @@
justify-content: center;
gap: 4px;
border-radius: 50px;
- background: rgba(255, 255, 255, 0.1);
- color: var(--bg-vanilla-400);
+ background: color-mix(in srgb, var(--l1-foreground) 10%, transparent);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -91,7 +91,7 @@
gap: 6px;
padding: 12px 0px 8px 14px;
.value-for-text {
- color: var(--bg-slate-200);
+ color: var(--l3-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -109,8 +109,8 @@
justify-content: center;
gap: 4px;
border-radius: 50px;
- background: rgba(255, 255, 255, 0.1);
- color: var(--bg-vanilla-400);
+ background: color-mix(in srgb, var(--l1-foreground) 10%, transparent);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -123,7 +123,7 @@
cursor: default;
.heading {
padding: 12px 14px 8px 14px;
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -147,8 +147,8 @@
align-items: center;
gap: 10px;
border-radius: 2px;
- background: var(--bg-ink-200);
- color: var(--bg-vanilla-400);
+ background: var(--l3-background);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -159,7 +159,7 @@
}
.example-query:hover {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
@@ -169,8 +169,8 @@
display: flex;
align-items: center;
border-radius: 0px 0px 4px 4px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
padding: 11px 16px;
cursor: default;
@@ -179,15 +179,15 @@
height: 16px;
flex-shrink: 0;
border-radius: 2.286px;
- border-top: 1.143px solid var(--bg-ink-200);
- border-right: 1.143px solid var(--bg-ink-200);
- border-bottom: 2.286px solid var(--bg-ink-200);
- border-left: 1.143px solid var(--bg-ink-200);
- background: var(--Ink-400, #121317);
+ border-top: 1.143px solid var(--l3-background);
+ border-right: 1.143px solid var(--l3-background);
+ border-bottom: 2.286px solid var(--l3-background);
+ border-left: 1.143px solid var(--l3-background);
+ background: var(--l2-background);
}
.keyboard-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -201,7 +201,7 @@
align-items: center;
padding-right: 12px;
gap: 4px;
- border-right: 1px solid #1d212d;
+ border-right: 1px solid var(--l1-border);
}
.update-query {
@@ -212,7 +212,7 @@
}
.show-all-filter-items {
padding-left: 12px;
- border-left: 1px solid #1d212d;
+ border-left: 1px solid var(--l1-border);
display: flex;
align-items: center;
margin-left: 12px;
@@ -229,13 +229,13 @@
display: flex;
align-items: center;
border-radius: 2px 0px 0px 2px;
- border: 1px solid var(--bg-slate-300);
- background: var(--bg-slate-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
padding: 0px;
.ant-typography {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px !important;
font-style: normal;
@@ -257,43 +257,43 @@
}
&.resource {
- border: 1px solid #4bcff920;
+ border: 1px solid color-mix(in srgb, var(--bg-aqua-400) 13%, transparent);
.ant-typography {
color: var(--bg-aqua-400);
- background: #4bcff910;
+ background: color-mix(in srgb, var(--bg-aqua-400) 6%, transparent);
font-size: 14px;
}
.ant-tag-close-icon {
- background: #4bcff910;
+ background: color-mix(in srgb, var(--bg-aqua-400) 6%, transparent);
}
}
&.tag {
- border: 1px solid rgba(189, 153, 121, 0.2);
+ border: 1px solid color-mix(in srgb, var(--bg-sienna-400) 20%, transparent);
.ant-typography {
color: var(--bg-sienna-400);
- background: rgba(189, 153, 121, 0.1);
+ background: color-mix(in srgb, var(--bg-sienna-400) 10%, transparent);
font-size: 14px;
}
.ant-tag-close-icon {
- background: rgba(189, 153, 121, 0.1);
+ background: color-mix(in srgb, var(--bg-sienna-400) 10%, transparent);
}
}
&.scope {
- border: 1px solid rgba(113, 144, 249, 0.2);
+ border: 1px solid color-mix(in srgb, var(--bg-robin-400) 20%, transparent);
.ant-typography {
color: var(--bg-robin-400);
- background: rgba(113, 144, 249, 0.1);
+ background: color-mix(in srgb, var(--bg-robin-400) 10%, transparent);
font-size: 14px;
}
.ant-tag-close-icon {
- background: rgba(113, 144, 249, 0.1);
+ background: color-mix(in srgb, var(--bg-robin-400) 10%, transparent);
}
}
}
@@ -302,112 +302,10 @@
.lightMode {
.query-builder-search-v2 {
- .ant-select-selector {
- border-color: var(--bg-vanilla-300) !important;
- background-color: var(--bg-vanilla-100) !important;
- color: var(--bg-ink-200);
- }
-
- .content {
- .operator-for {
- .operator-for-text {
- color: var(--bg-ink-200);
- }
-
- .operator-for-value {
- background: rgba(255, 255, 255, 0.1);
- color: var(--bg-ink-200);
- }
- }
-
- .value-for {
- .value-for-text {
- color: var(--bg-ink-200);
- }
-
- .value-for-value {
- background: rgba(255, 255, 255, 0.1);
- color: var(--bg-ink-400);
- }
- }
- .example-queries {
- cursor: default;
- .heading {
- color: var(--bg-slate-50);
- }
-
- .query-container {
- .example-query {
- background: var(--bg-vanilla-200);
- color: var(--bg-ink-400);
- }
-
- .example-query:hover {
- color: var(--bg-ink-100);
- }
- }
- }
- }
-
- .keyboard-shortcuts {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-200);
-
- .icons {
- border-top: 1.143px solid var(--bg-ink-200);
- border-right: 1.143px solid var(--bg-ink-200);
- border-bottom: 2.286px solid var(--bg-ink-200);
- border-left: 1.143px solid var(--bg-ink-200);
- background: var(--bg-vanilla-300);
- }
-
- .keyboard-text {
- color: var(--bg-ink-400);
- }
-
- .navigate {
- border-right: 1px solid #1d212d;
- }
-
- .show-all-filter-items {
- border-left: 1px solid #1d212d;
- }
- }
-
.qb-search-bar-tokenised-tags {
.ant-tag {
- background: var(--bg-vanilla-300);
- border: 1px solid var(--bg-slate-100);
- box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
-
- .ant-typography {
- color: var(--bg-ink-100);
- }
-
- &.resource {
- border: 1px solid #4bcff920;
-
- .ant-typography {
- color: var(--bg-aqua-400);
- background: #4bcff910;
- }
-
- .ant-tag-close-icon {
- background: #4bcff910;
- }
- }
- &.tag {
- border: 1px solid rgba(189, 153, 121, 0.2);
-
- .ant-typography {
- color: var(--bg-sienna-400);
- background: rgba(189, 153, 121, 0.1);
- }
-
- .ant-tag-close-icon {
- background: rgba(189, 153, 121, 0.1);
- }
- }
+ background: var(--l3-background);
+ border-color: var(--l1-border);
}
}
}
diff --git a/frontend/src/container/QueryBuilder/filters/QueryBuilderSearchV2/Suggestions.styles.scss b/frontend/src/container/QueryBuilder/filters/QueryBuilderSearchV2/Suggestions.styles.scss
index 80f79428eb..ec3f614bcd 100644
--- a/frontend/src/container/QueryBuilder/filters/QueryBuilderSearchV2/Suggestions.styles.scss
+++ b/frontend/src/container/QueryBuilder/filters/QueryBuilderSearchV2/Suggestions.styles.scss
@@ -1,5 +1,5 @@
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -14,7 +14,7 @@
height: 5px;
width: 5px;
border-radius: 50%;
- background-color: var(--bg-slate-300);
+ background-color: var(--l3-background);
flex-shrink: 0;
}
@@ -51,7 +51,7 @@
align-items: center;
gap: 4px;
border-radius: 20px;
- background: rgba(255, 255, 255, 0.08);
+ background: color-mix(in srgb, var(--l1-foreground) 8%, transparent);
white-space: nowrap;
}
@@ -68,7 +68,11 @@
&.tag {
border-radius: 50px;
- background: rgba(189, 153, 121, 0.1) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-sienna-400) 10%,
+ transparent
+ ) !important;
color: var(--bg-sienna-400) !important;
.dot {
@@ -106,7 +110,11 @@
&.scope {
border-radius: 50px;
- background: rgba(113, 144, 249, 0.1) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-robin-400) 10%,
+ transparent
+ ) !important;
color: var(--bg-robin-400) !important;
.dot {
@@ -142,7 +150,7 @@
gap: 8px;
.OPERATOR {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono';
font-size: 14px;
font-style: normal;
@@ -154,7 +162,7 @@
}
.VALUE {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono';
font-size: 14px;
font-style: normal;
@@ -178,7 +186,7 @@
align-items: center;
gap: 4px;
border-radius: 20px;
- background: rgba(255, 255, 255, 0.08);
+ background: var(--l3-background);
}
}
}
@@ -187,73 +195,13 @@
.container {
.left-section {
.value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
.container-without-tag {
.value {
- color: var(--bg-vanilla-100);
- }
- }
-}
-
-.lightMode {
- .text {
- color: var(--bg-ink-400);
- }
-
- .option {
- .container {
- display: flex;
- align-items: center;
- justify-content: space-between;
-
- .right-section {
- .data-type {
- background: var(--bg-vanilla-300);
- }
- }
- .option-meta-data-container {
- display: flex;
- gap: 8px;
- }
- }
-
- .container-without-tag {
- .left {
- .OPERATOR {
- color: var(--bg-ink-400);
- }
-
- .VALUE {
- color: var(--bg-ink-400);
- }
- }
-
- .right {
- .data-type {
- background: var(--bg-vanilla-300);
- }
- }
-
- .value {
- color: var(--bg-ink-100);
- }
- }
- }
- .option:hover {
- .container {
- .left-section {
- .value {
- color: var(--bg-ink-100);
- }
- }
- }
- .container-without-tag {
- .value {
- color: var(--bg-ink-100);
- }
+ color: var(--l1-foreground);
}
}
}
diff --git a/frontend/src/container/QueryTable/QueryTable.styles.scss b/frontend/src/container/QueryTable/QueryTable.styles.scss
index c20df8de47..1068c5c699 100644
--- a/frontend/src/container/QueryTable/QueryTable.styles.scss
+++ b/frontend/src/container/QueryTable/QueryTable.styles.scss
@@ -19,7 +19,7 @@
max-width: fit-content;
&:hover {
- color: var(--bg-robin-500);
+ color: var(--primary-background);
}
}
}
diff --git a/frontend/src/container/ResetPassword/ResetPassword.styles.scss b/frontend/src/container/ResetPassword/ResetPassword.styles.scss
index 083839e8a5..a31f44fa01 100644
--- a/frontend/src/container/ResetPassword/ResetPassword.styles.scss
+++ b/frontend/src/container/ResetPassword/ResetPassword.styles.scss
@@ -48,8 +48,8 @@
margin-top: 8px;
padding: 4px 12px;
border-radius: 4px;
- background: var(--bg-neutral-dark-950);
- border: 1px solid var(--l3-background);
+ background: var(--l2-background);
+ border: 1px solid var(--l1-border);
font-size: 11px;
font-weight: 400;
line-height: 1.45;
@@ -63,8 +63,8 @@
.reset-password-form-container {
width: 100%;
- background: var(--bg-neutral-dark-950);
- border: 1px solid var(--l3-background);
+ background: var(--l1-background);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
padding: 24px;
@@ -92,22 +92,32 @@
height: 32px;
border-radius: 2px;
background: var(--l3-background);
- border-color: var(--l3-border);
+ border-color: var(--l1-border);
+ color: var(--l1-foreground);
}
&.ant-input-affix-wrapper {
.ant-input {
height: auto;
background: transparent;
+ color: var(--l1-foreground);
}
}
+
+ &::placeholder {
+ color: var(--l3-foreground);
+ }
+
+ &:focus {
+ border-color: var(--primary);
+ }
}
}
.reset-password-error-callout {
margin-top: 24px;
- background: rgba(229, 72, 77, 0.1);
- border: 1px solid rgba(229, 72, 77, 0.2);
+ background: color-mix(in srgb, var(--bg-cherry-500) 10%, transparent);
+ border: 1px solid color-mix(in srgb, var(--bg-cherry-500) 20%, transparent);
border-radius: 4px;
animation: horizontal-shaking 300ms ease-out;
}
@@ -137,62 +147,6 @@
}
}
-.lightMode {
- .reset-password-card {
- .reset-password-header {
- .reset-password-header-icon {
- color: var(--text-ink-500);
- }
-
- .reset-password-header-title {
- color: var(--text-ink-500);
- }
-
- .reset-password-header-subtitle {
- color: var(--text-neutral-light-200);
- }
-
- .reset-password-version-badge {
- background: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--text-neutral-light-200);
- }
- }
-
- .reset-password-form {
- .reset-password-form-container {
- background: var(--bg-base-white);
- border: 1px solid var(--bg-vanilla-300);
-
- .reset-password-form-input {
- &.ant-input,
- &.ant-input-password,
- &.ant-input-affix-wrapper {
- background: var(--bg-vanilla-200);
- border-color: var(--bg-vanilla-300);
- color: var(--text-ink-500);
- }
-
- &.ant-input-affix-wrapper {
- .ant-input {
- background: transparent;
- color: var(--text-ink-500);
- }
- }
-
- &::placeholder {
- color: var(--text-neutral-light-200);
- }
-
- &:focus {
- border-color: var(--primary);
- }
- }
- }
- }
- }
-}
-
@keyframes horizontal-shaking {
0% {
transform: translateX(0);
diff --git a/frontend/src/container/ResourceAttributeFilterV2/ResourceAttributesFilter.styles.scss b/frontend/src/container/ResourceAttributeFilterV2/ResourceAttributesFilter.styles.scss
index c595cf085a..661bd6caf4 100644
--- a/frontend/src/container/ResourceAttributeFilterV2/ResourceAttributesFilter.styles.scss
+++ b/frontend/src/container/ResourceAttributeFilterV2/ResourceAttributesFilter.styles.scss
@@ -3,8 +3,8 @@
.ant-select-selector {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400) !important;
- background-color: var(--bg-ink-300) !important;
+ border: 1px solid var(--border) !important;
+ background-color: var(--l2-background) !important;
input {
font-size: 12px;
diff --git a/frontend/src/container/ResourceAttributesFilter/ResourceAttributesFilter.styles.scss b/frontend/src/container/ResourceAttributesFilter/ResourceAttributesFilter.styles.scss
index 51b4c266b2..701638289c 100644
--- a/frontend/src/container/ResourceAttributesFilter/ResourceAttributesFilter.styles.scss
+++ b/frontend/src/container/ResourceAttributesFilter/ResourceAttributesFilter.styles.scss
@@ -10,8 +10,8 @@
flex: 1;
border-radius: 3px;
- background-color: var(--bg-ink-400);
- border: 1px solid #454c58;
+ background-color: var(--l2-background);
+ border: 1px solid var(--l1-border);
}
.environment-selector {
@@ -26,8 +26,8 @@
.lightMode {
.resourceAttributesFilter-container {
.resource-attributes-selector {
- border: 1px solid #d9d9d9;
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
}
}
}
diff --git a/frontend/src/container/RolesSettings/PermissionSidePanel/PermissionSidePanel.styles.scss b/frontend/src/container/RolesSettings/PermissionSidePanel/PermissionSidePanel.styles.scss
index 9b17eff53a..c89acc88fc 100644
--- a/frontend/src/container/RolesSettings/PermissionSidePanel/PermissionSidePanel.styles.scss
+++ b/frontend/src/container/RolesSettings/PermissionSidePanel/PermissionSidePanel.styles.scss
@@ -15,7 +15,7 @@
display: flex;
flex-direction: column;
background: var(--l2-background);
- border-left: 1px solid var(--l2-border);
+ border-left: 1px solid var(--l1-border);
box-shadow: -4px 10px 16px 2px rgba(0, 0, 0, 0.2);
&__header {
@@ -26,7 +26,7 @@
height: 48px;
padding: 0 16px;
background: var(--l2-background);
- border-bottom: 1px solid var(--l2-border);
+ border-bottom: 1px solid var(--l1-border);
}
&__close {
@@ -37,7 +37,7 @@
flex-shrink: 0;
&:hover {
- color: var(--text-base-white);
+ color: var(--l1-foreground);
}
}
@@ -45,7 +45,7 @@
display: block;
width: 1px;
height: 16px;
- background: var(--l2-border);
+ background: var(--l1-border);
flex-shrink: 0;
}
@@ -67,7 +67,7 @@
&__resource-list {
display: flex;
flex-direction: column;
- border: 1px solid var(--l2-border);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
overflow: hidden;
}
@@ -81,7 +81,7 @@
padding: 0 16px;
gap: 12px;
background: var(--l2-background);
- border-top: 1px solid var(--l2-border);
+ border-top: 1px solid var(--l1-border);
}
&__unsaved {
@@ -97,7 +97,8 @@
height: 6px;
border-radius: 50px;
background: var(--primary);
- box-shadow: 0px 0px 6px 0px rgba(78, 116, 248, 0.4);
+ box-shadow: 0px 0px 6px 0px
+ color-mix(in srgb, var(--primary-background) 40%, transparent);
flex-shrink: 0;
}
@@ -120,7 +121,7 @@
.psp-resource {
display: flex;
flex-direction: column;
- border-bottom: 1px solid var(--l2-border);
+ border-bottom: 1px solid var(--l1-border);
&:last-child {
border-bottom: none;
@@ -135,11 +136,11 @@
transition: background 0.15s ease;
&--expanded {
- background: rgba(171, 189, 255, 0.04);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
}
&:hover {
- background: rgba(171, 189, 255, 0.03);
+ background: color-mix(in srgb, var(--bg-robin-200) 3%, transparent);
}
}
@@ -165,7 +166,7 @@
font-weight: 400;
line-height: 20px;
letter-spacing: -0.07px;
- color: var(--text-base-white);
+ color: var(--l1-foreground);
text-transform: capitalize;
}
@@ -174,7 +175,7 @@
flex-direction: column;
gap: 2px;
padding: 8px 0 8px 44px;
- background: rgba(171, 189, 255, 0.04);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
}
&__radio-group {
@@ -195,7 +196,7 @@
font-weight: 400;
line-height: 20px;
letter-spacing: -0.07px;
- color: var(--text-base-white);
+ color: var(--l1-foreground);
cursor: pointer;
}
}
@@ -240,7 +241,7 @@
font-size: 14px;
font-weight: 400;
line-height: 20px;
- color: var(--text-base-white) !important;
+ color: var(--l1-foreground) !important;
height: auto !important;
}
@@ -265,7 +266,7 @@
&-option-selected {
background: var(--border) !important;
- color: var(--text-base-white) !important;
+ color: var(--l1-foreground) !important;
}
&-option-active {
@@ -275,41 +276,9 @@
.ant-select-dropdown {
background: var(--l2-background);
- border: 1px solid var(--border);
+ border: 1px solid var(--l1-border);
border-radius: 2px;
padding: 4px 0;
}
}
}
-
-.lightMode {
- .permission-side-panel {
- &__close {
- &:hover {
- color: var(--text-base-black);
- }
- }
- }
-
- .psp-resource {
- &__label {
- color: var(--text-base-black);
- }
-
- &__radio-item label {
- color: var(--text-base-black);
- }
-
- &__select .ant-select-selection-item {
- color: var(--text-base-black) !important;
- }
- }
-
- .psp-resource__select-popup {
- .ant-select-item {
- &-option-selected {
- color: var(--text-base-black) !important;
- }
- }
- }
-}
diff --git a/frontend/src/container/RolesSettings/RoleDetails/RoleDetailsPage.styles.scss b/frontend/src/container/RolesSettings/RoleDetails/RoleDetailsPage.styles.scss
index 8f83d07567..a254b2ed2c 100644
--- a/frontend/src/container/RolesSettings/RoleDetails/RoleDetailsPage.styles.scss
+++ b/frontend/src/container/RolesSettings/RoleDetails/RoleDetailsPage.styles.scss
@@ -14,7 +14,7 @@
}
.role-details-title {
- color: var(--text-base-white);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 18px;
font-weight: 500;
@@ -149,8 +149,8 @@
.role-details-permissions-divider {
flex: 1;
border: none;
- border-top: 2px dotted var(--border);
- border-bottom: 2px dotted var(--border);
+ border-top: 2px dotted var(--l1-border);
+ border-bottom: 2px dotted var(--l1-border);
height: 7px;
margin: 0;
}
@@ -167,14 +167,14 @@
justify-content: space-between;
height: 44px;
padding: 0 12px;
- background: rgba(171, 189, 255, 0.08);
+ background: color-mix(in srgb, var(--bg-robin-200) 8%, transparent);
border: 1px solid var(--secondary);
border-radius: 4px;
cursor: pointer;
transition: background 0.15s ease;
&:hover {
- background: rgba(171, 189, 255, 0.12);
+ background: color-mix(in srgb, var(--bg-robin-200) 12%, transparent);
}
}
@@ -190,7 +190,7 @@
font-weight: 400;
line-height: 20px;
letter-spacing: -0.07px;
- color: var(--text-base-white);
+ color: var(--l1-foreground);
}
.role-details-members {
@@ -267,7 +267,7 @@
&--bold {
font-weight: 500;
- color: var(--text-base-white);
+ color: var(--l1-foreground);
}
&--muted {
@@ -299,7 +299,7 @@
box-shadow: none;
&:hover {
- background: rgba(229, 72, 77, 0.1);
+ background: color-mix(in srgb, var(--bg-cherry-500) 10%, transparent);
opacity: 0.9;
}
}
@@ -349,7 +349,7 @@
}
.title {
- color: var(--text-base-white);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-weight: 400;
@@ -367,41 +367,13 @@
strong {
font-weight: 600;
- color: var(--text-base-white);
+ color: var(--l1-foreground);
}
}
}
.lightMode {
- .role-details-delete-modal {
- .ant-modal-content {
- .ant-modal-header {
- .title {
- color: var(--text-base-black);
- }
- }
-
- .ant-modal-body {
- .delete-text {
- strong {
- color: var(--text-base-black);
- }
- }
- }
- }
- }
-
.role-details-page {
- .role-details-title {
- color: var(--text-base-black);
- }
-
- .role-details-members-empty-state {
- .role-details-members-empty-text--bold {
- color: var(--text-base-black);
- }
- }
-
.role-details-permission-item {
background: rgba(0, 0, 0, 0.04);
@@ -409,9 +381,5 @@
background: rgba(0, 0, 0, 0.07);
}
}
-
- .role-details-permission-item-label {
- color: var(--text-base-black);
- }
}
}
diff --git a/frontend/src/container/RolesSettings/RoleDetails/RoleDetailsPage.tsx b/frontend/src/container/RolesSettings/RoleDetails/RoleDetailsPage.tsx
index bca6b1eb1a..07abfc9eec 100644
--- a/frontend/src/container/RolesSettings/RoleDetails/RoleDetailsPage.tsx
+++ b/frontend/src/container/RolesSettings/RoleDetails/RoleDetailsPage.tsx
@@ -3,8 +3,8 @@ import { useQueryClient } from 'react-query';
import { useHistory, useLocation } from 'react-router-dom';
import { Button } from '@signozhq/button';
import { Table2, Trash2, Users } from '@signozhq/icons';
-import { toast } from '@signozhq/sonner';
import { ToggleGroup, ToggleGroupItem } from '@signozhq/toggle-group';
+import { toast } from '@signozhq/ui';
import { Skeleton } from 'antd';
import { useAuthzResources } from 'api/generated/services/authz';
import {
diff --git a/frontend/src/container/RolesSettings/RolesComponents/CreateRoleModal.tsx b/frontend/src/container/RolesSettings/RolesComponents/CreateRoleModal.tsx
index 80645ea3dd..821f1541a5 100644
--- a/frontend/src/container/RolesSettings/RolesComponents/CreateRoleModal.tsx
+++ b/frontend/src/container/RolesSettings/RolesComponents/CreateRoleModal.tsx
@@ -4,7 +4,7 @@ import { generatePath, useHistory } from 'react-router-dom';
import { Button } from '@signozhq/button';
import { X } from '@signozhq/icons';
import { Input, inputVariants } from '@signozhq/input';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { Form, Modal } from 'antd';
import {
invalidateGetRole,
diff --git a/frontend/src/container/RolesSettings/RolesSettings.styles.scss b/frontend/src/container/RolesSettings/RolesSettings.styles.scss
index 7c7d63965c..95b0a9fee1 100644
--- a/frontend/src/container/RolesSettings/RolesSettings.styles.scss
+++ b/frontend/src/container/RolesSettings/RolesSettings.styles.scss
@@ -8,7 +8,7 @@
padding: 16px;
.roles-settings-header-title {
- color: var(--text-base-white);
+ color: var(--l1-foreground);
font-family: Inter;
font-style: normal;
font-size: 18px;
@@ -57,7 +57,7 @@
input {
width: 100%;
background: var(--l3-background);
- border: 1px solid var(--l3-border);
+ border: 1px solid var(--l1-border);
border-radius: 2px;
padding: 6px 6px 6px 8px;
font-family: Inter;
@@ -141,7 +141,7 @@
gap: 8px;
height: 32px;
padding: 0 16px;
- background: rgba(171, 189, 255, 0.04);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
border-top: 1px solid var(--secondary);
border-bottom: 1px solid var(--secondary);
font-family: Inter;
@@ -171,7 +171,7 @@
display: flex;
align-items: center;
padding: 8px 16px;
- background: rgba(171, 189, 255, 0.02);
+ background: color-mix(in srgb, var(--bg-robin-200) 2%, transparent);
border-bottom: 1px solid var(--secondary);
gap: 24px;
@@ -179,7 +179,7 @@
cursor: pointer;
&:hover {
- background: rgba(171, 189, 255, 0.05);
+ background: color-mix(in srgb, var(--bg-robin-200) 5%, transparent);
}
}
}
@@ -249,14 +249,6 @@
}
.lightMode {
- .roles-settings {
- .roles-settings-header {
- .roles-settings-header-title {
- color: var(--text-base-black);
- }
- }
- }
-
.roles-table-section-header {
background: rgba(0, 0, 0, 0.03);
}
@@ -264,12 +256,6 @@
.roles-table-row {
background: rgba(0, 0, 0, 0.01);
}
-
- .create-role-modal {
- .ant-modal-title {
- color: var(--text-base-black);
- }
- }
}
.create-role-modal {
@@ -303,7 +289,7 @@
}
.ant-modal-title {
- color: var(--text-base-white);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-weight: 400;
@@ -341,7 +327,7 @@
textarea {
width: 100%;
background: var(--l3-background);
- border: 1px solid var(--l3-border);
+ border: 1px solid var(--l1-border);
border-radius: 2px;
padding: 6px 8px;
font-family: Inter;
@@ -374,7 +360,7 @@
cursor: not-allowed;
&:hover {
- border-color: var(--l3-border);
+ border-color: var(--l1-border);
box-shadow: none;
}
}
diff --git a/frontend/src/container/RolesSettings/utils.tsx b/frontend/src/container/RolesSettings/utils.tsx
index 9de22b0bd9..298bb8d9e3 100644
--- a/frontend/src/container/RolesSettings/utils.tsx
+++ b/frontend/src/container/RolesSettings/utils.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import { Badge } from '@signozhq/badge';
+import { Badge } from '@signozhq/ui';
import type {
AuthtypesGettableObjectsDTO,
AuthtypesGettableResourcesDTO,
diff --git a/frontend/src/container/RoutingPolicies/styles.scss b/frontend/src/container/RoutingPolicies/styles.scss
index da12f540e2..09a4aa2b6f 100644
--- a/frontend/src/container/RoutingPolicies/styles.scss
+++ b/frontend/src/container/RoutingPolicies/styles.scss
@@ -9,7 +9,7 @@
max-width: 736px;
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: var(--font-size-lg);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -18,7 +18,7 @@
}
.subtitle {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -69,7 +69,7 @@
}
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
}
@@ -92,8 +92,8 @@
gap: 16px;
.policy-list-item {
- border: 1px solid var(--bg-slate-500);
- background-color: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background-color: var(--l2-background);
border-radius: 6px;
.ant-collapse-header {
@@ -103,7 +103,7 @@
.policy-list-item-header {
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-weight: 400;
@@ -138,7 +138,7 @@
margin-bottom: 13px;
.ant-typography:first-child {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-weight: 400;
@@ -147,7 +147,7 @@
.ant-typography:last-child,
div .ant-typography {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-weight: 400;
@@ -175,15 +175,15 @@
.ant-modal-content {
padding: 16px;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
.ant-modal-header {
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
.ant-typography {
margin: 0;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -195,7 +195,7 @@
.ant-modal-body {
.ant-divider {
margin: 16px 0;
- border: 0.5px solid var(--bg-slate-500);
+ border: 0.5px solid var(--l1-border);
}
}
}
@@ -211,7 +211,7 @@
gap: 4px;
.ant-typography {
- color: var(--bg-vanilla-500);
+ color: var(--muted-foreground);
font-size: 14px;
font-style: normal;
font-weight: 500;
@@ -222,25 +222,25 @@
.ant-input {
width: 100%;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
.ant-select {
width: 100%;
.ant-select-selector {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
&.ant-select-focused .ant-select-selector {
- border-color: var(--bg-slate-400) !important;
+ border-color: var(--l1-border) !important;
box-shadow: none !important;
}
&:hover .ant-select-selector {
- border-color: var(--bg-slate-400) !important;
+ border-color: var(--l1-border) !important;
}
}
}
@@ -266,20 +266,20 @@
.ant-modal-content {
padding: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
.ant-modal-header {
padding: 16px;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.ant-modal-body {
padding: 0px 16px 28px 16px;
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -296,8 +296,8 @@
.ant-color-picker-trigger {
padding: 6px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
width: 32px;
height: 32px;
@@ -327,7 +327,7 @@
align-items: center;
border: none;
border-radius: 2px;
- background: var(--bg-slate-500);
+ background: var(--l1-border);
}
.delete-btn {
@@ -340,13 +340,13 @@
}
.delete-btn:hover {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
background: var(--bg-cherry-600);
}
}
}
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-medium);
@@ -358,7 +358,7 @@
.routing-policies-container {
.routing-policies-content {
.title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
}
@@ -366,24 +366,24 @@
.routing-policies-table {
.ant-table-tbody {
.policy-list-item {
- border: 1px solid var(--bg-vanilla-300);
- background-color: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background-color: var(--l1-background);
.policy-list-item-header {
.ant-typography {
- color: var(--bg-slate-400);
+ color: var(--l2-foreground);
}
}
.policy-list-item-content {
.policy-list-item-content-row {
.ant-typography:first-child {
- color: var(--bg-slate-400);
+ color: var(--l2-foreground);
}
.ant-typography:last-child,
div .ant-typography {
- color: var(--bg-slate-100);
+ color: var(--l3-foreground);
}
}
}
@@ -393,19 +393,19 @@
.create-policy-modal {
.ant-modal-content {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
.ant-modal-header {
- background-color: var(--bg-vanilla-100);
+ background-color: var(--card);
.ant-typography {
- color: var(--bg-slate-100);
+ color: var(--l3-foreground);
}
}
.ant-modal-body {
.ant-divider {
- border: 0.5px solid var(--bg-vanilla-300);
+ border: 0.5px solid var(--l1-border);
}
}
}
@@ -413,27 +413,27 @@
.create-policy-container {
.input-group {
.ant-typography {
- color: var(--bg-slate-100);
+ color: var(--l3-foreground);
}
.ant-input {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
}
.ant-select {
.ant-select-selector {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
}
&.ant-select-focused .ant-select-selector {
- border-color: var(--bg-vanilla-300) !important;
+ border-color: var(--l1-border) !important;
box-shadow: none !important;
}
&:hover .ant-select-selector {
- border-color: var(--bg-vanilla-300) !important;
+ border-color: var(--l1-border) !important;
}
}
}
@@ -442,39 +442,39 @@
.delete-policy-modal {
.ant-modal-content {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
.ant-modal-header {
- background: var(--bg-vanilla-100);
+ background: var(--card);
}
.ant-modal-body {
.ant-typography {
- color: var(--bg-slate-400);
+ color: var(--l2-foreground);
}
}
.ant-modal-footer {
.cancel-btn {
- background: var(--bg-vanilla-300);
- color: var(--bg-slate-100);
+ background: var(--l3-background);
+ color: var(--l3-foreground);
}
.delete-btn {
background: var(--bg-cherry-500);
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
.delete-btn:hover {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
background: var(--bg-cherry-600);
}
}
}
.title {
- color: var(--bg-slate-100);
+ color: var(--l3-foreground);
}
}
}
diff --git a/frontend/src/container/RoutingPolicies/useRoutingPolicies.ts b/frontend/src/container/RoutingPolicies/useRoutingPolicies.ts
index cab5073500..f31971af18 100644
--- a/frontend/src/container/RoutingPolicies/useRoutingPolicies.ts
+++ b/frontend/src/container/RoutingPolicies/useRoutingPolicies.ts
@@ -1,7 +1,7 @@
import { useMemo, useState } from 'react';
import { useQuery, useQueryClient } from 'react-query';
import { useHistory } from 'react-router-dom';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import getAllChannels from 'api/channels/getAll';
import { GetRoutingPoliciesResponse } from 'api/routingPolicies/getRoutingPolicies';
import { REACT_QUERY_KEY } from 'constants/reactQueryKeys';
diff --git a/frontend/src/container/ServiceAccountsSettings/ServiceAccountsSettings.styles.scss b/frontend/src/container/ServiceAccountsSettings/ServiceAccountsSettings.styles.scss
index faf08e8dc3..5ffe954be6 100644
--- a/frontend/src/container/ServiceAccountsSettings/ServiceAccountsSettings.styles.scss
+++ b/frontend/src/container/ServiceAccountsSettings/ServiceAccountsSettings.styles.scss
@@ -14,7 +14,7 @@
&__title {
font-size: var(--label-large-500-font-size);
font-weight: var(--label-large-500-font-weight);
- color: var(--text-base-white);
+ color: var(--l1-foreground);
letter-spacing: -0.09px;
line-height: var(--line-height-normal);
margin: 0;
@@ -52,14 +52,14 @@
.sa-status-badge {
color: var(--l3-foreground);
- border-color: var(--border);
+ border-color: var(--l1-border);
}
.sa-settings-filter-trigger {
display: flex;
align-items: center;
gap: var(--spacing-2);
- border: 1px solid var(--border);
+ border: 1px solid var(--l1-border);
border-radius: 2px;
background-color: var(--l2-background);
@@ -77,7 +77,7 @@
.ant-dropdown-menu {
padding: var(--padding-3) 14px;
border-radius: 4px;
- border: 1px solid var(--border);
+ border: 1px solid var(--l1-border);
background: var(--l2-background);
backdrop-filter: blur(20px);
}
@@ -112,23 +112,9 @@
height: 32px;
color: var(--l1-foreground);
background-color: var(--l2-background);
- border-color: var(--border);
+ border-color: var(--l1-border);
&::placeholder {
color: var(--l3-foreground);
}
}
-
-.lightMode {
- .sa-settings {
- &__title {
- color: var(--text-base-black);
- }
- }
-
- .sa-settings-filter-option {
- &:hover {
- color: var(--bg-neutral-light-100);
- }
- }
-}
diff --git a/frontend/src/container/ServiceAccountsSettings/__tests__/ServiceAccountsSettings.integration.test.tsx b/frontend/src/container/ServiceAccountsSettings/__tests__/ServiceAccountsSettings.integration.test.tsx
index 5247f76919..7fd43d57ed 100644
--- a/frontend/src/container/ServiceAccountsSettings/__tests__/ServiceAccountsSettings.integration.test.tsx
+++ b/frontend/src/container/ServiceAccountsSettings/__tests__/ServiceAccountsSettings.integration.test.tsx
@@ -21,6 +21,26 @@ jest.mock('@signozhq/drawer', () => ({
}): JSX.Element | null => (open ? <div>{content}</div> : null),
}));
+jest.mock('@signozhq/dialog', () => ({
+ DialogWrapper: ({
+ children,
+ open,
+ title,
+ }: {
+ children?: ReactNode;
+ open: boolean;
+ title?: string;
+ }): JSX.Element | null =>
+ open ? (
+ <div role="dialog" aria-label={title}>
+ {children}
+ </div>
+ ) : null,
+ DialogFooter: ({ children }: { children?: ReactNode }): JSX.Element => (
+ <div>{children}</div>
+ ),
+}));
+
const mockServiceAccountsAPI = [
{
id: 'sa-1',
diff --git a/frontend/src/container/ServiceApplication/ServiceApplication.styles.scss b/frontend/src/container/ServiceApplication/ServiceApplication.styles.scss
index 9cdbd2329c..0797579cf3 100644
--- a/frontend/src/container/ServiceApplication/ServiceApplication.styles.scss
+++ b/frontend/src/container/ServiceApplication/ServiceApplication.styles.scss
@@ -1,5 +1,5 @@
.serviceName {
- color: #4e74f8;
+ color: var(--bg-robin-500);
font-weight: 600;
cursor: pointer;
diff --git a/frontend/src/container/SideNav/NavItem/NavItem.styles.scss b/frontend/src/container/SideNav/NavItem/NavItem.styles.scss
index e7db8770c5..a045c0756e 100644
--- a/frontend/src/container/SideNav/NavItem/NavItem.styles.scss
+++ b/frontend/src/container/SideNav/NavItem/NavItem.styles.scss
@@ -11,12 +11,12 @@
&.active {
.nav-item-active-marker {
- background: #4e74f8;
+ background: var(--primary-background);
}
.nav-item-data {
.nav-item-label {
- color: var(--bg-vanilla-100, #fff);
+ color: var(--l1-foreground);
}
}
}
@@ -32,15 +32,15 @@
cursor: pointer;
.nav-item-data {
- color: white;
- background: var(--bg-slate-500, #161922);
+ color: var(--l1-foreground);
+ background: var(--l1-background-hover);
}
}
&.active {
.nav-item-data {
- color: white;
- background: var(--bg-slate-500, #161922);
+ color: var(--l1-foreground);
+ background: var(--l1-background-hover);
// color: #3f5ecc;
}
}
@@ -64,7 +64,7 @@
align-items: center;
gap: 8px;
align-self: stretch;
- color: #c0c1c3;
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
@@ -88,7 +88,7 @@
overflow: hidden;
text-overflow: ellipsis;
- color: #c0c1c3;
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -106,7 +106,7 @@
&:hover {
.nav-item-label {
- color: var(--bg-vanilla-100, #fff);
+ color: var(--l1-foreground);
}
.nav-item-pin-icon {
@@ -119,44 +119,3 @@
padding-right: 0;
}
}
-
-.lightMode {
- .nav-item {
- &.active {
- .nav-item-active-marker {
- background: #4e74f8;
- }
-
- .nav-item-data {
- .nav-item-label {
- color: var(--bg-slate-500);
- }
- }
- }
-
- &:hover {
- cursor: pointer;
-
- .nav-item-data {
- color: #121317;
-
- background: var(--bg-vanilla-300);
- }
- }
-
- &.active {
- .nav-item-data {
- color: #121317;
- background: var(--bg-vanilla-300);
- }
- }
-
- .nav-item-data {
- color: #121317;
-
- .nav-item-label {
- color: var(--bg-ink-400);
- }
- }
- }
-}
diff --git a/frontend/src/container/SideNav/SideNav.styles.scss b/frontend/src/container/SideNav/SideNav.styles.scss
index fcbf6280a9..9d871b35a0 100644
--- a/frontend/src/container/SideNav/SideNav.styles.scss
+++ b/frontend/src/container/SideNav/SideNav.styles.scss
@@ -15,8 +15,8 @@
max-width: 54px;
min-width: 54px;
width: 54px;
- border-right: 1px solid var(--bg-slate-500, #161922);
- background: var(--bg-ink-500, #0b0c0e);
+ border-right: 1px solid var(--l1-border);
+ background: var(--l1-background);
padding-bottom: 48px;
transition: all 0.08s ease, background 0s, border 0s;
@@ -73,7 +73,7 @@
font-weight: 500;
line-height: 18px;
- color: #fff;
+ color: var(--l1-foreground);
}
}
@@ -91,9 +91,9 @@
align-items: center;
gap: 4px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
border-radius: 4px 0px 0px 4px;
- background: var(--bg-slate-400, #1d212d);
+ background: var(--l2-background);
text-align: center;
font-family: Inter;
@@ -115,11 +115,11 @@
gap: 6px;
border-radius: 0px 4px 4px 0px;
- background: var(--bg-slate-300, #242834);
+ background: var(--l3-background);
}
.version {
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
text-align: center;
font-variant-numeric: lining-nums tabular-nums slashed-zero;
font-feature-settings: 'salt' on;
@@ -152,7 +152,7 @@
&.version-update-notification {
.license-type {
- background: var(--bg-robin-500);
+ background: var(--primary-background);
}
}
}
@@ -186,33 +186,33 @@
height: 32px;
border-radius: 3px;
- border: 1px solid var(--bg-slate-400, #1d212d);
- background: var(--bg-slate-500, #161922);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background-hover);
box-shadow: none !important;
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
svg {
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
}
.nav-item-label {
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
}
&:hover:not(:disabled) {
- background: var(--bg-slate-400, #1d212d);
- border-color: var(--bg-slate-400, #1d212d);
+ background: var(--l2-background);
+ border-color: var(--l2-background);
- color: var(--bg-vanilla-100, #fff);
+ color: var(--l1-foreground);
svg {
- color: var(--bg-vanilla-100, #fff);
+ color: var(--l1-foreground);
}
.nav-item-label {
- color: var(--bg-vanilla-100, #fff);
+ color: var(--l1-foreground);
}
}
}
@@ -272,7 +272,7 @@
}
.nav-section-title {
- color: var(--bg-slate-50, #62687c);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -304,7 +304,7 @@
transition: color 0.2s;
&:hover {
- color: var(--bg-vanilla-100, #fff);
+ color: var(--l1-foreground);
}
}
}
@@ -319,7 +319,7 @@
}
.nav-section-subtitle {
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -418,7 +418,7 @@
}
.scroll-for-more-icon {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
// add animation to the chevrons down icon
svg {
@@ -458,7 +458,11 @@
transition: all 0.08s ease, background 0s, border 0s;
- background: linear-gradient(180deg, rgba(11, 12, 14, 0) 0%, #0b0c0e 27.11%);
+ background: linear-gradient(
+ 180deg,
+ transparent 0%,
+ var(--l1-background) 27.11%
+ );
&::-webkit-scrollbar {
width: 0.1rem;
@@ -476,8 +480,8 @@
transition: display 0.3s;
svg {
- fill: var(--bg-vanilla-400);
- color: var(--bg-slate-300);
+ fill: var(--l2-foreground);
+ color: var(--l2-foreground);
}
}
}
@@ -485,7 +489,7 @@
&.scroll-available {
.nav-bottom-section {
- border-top: 1px solid var(--bg-slate-500, #161922);
+ border-top: 1px solid var(--l1-border);
}
}
}
@@ -565,9 +569,9 @@
.sidenav-new-tag {
border-radius: 12px;
- background: var(--Robin-500, #4e74f8);
+ background: var(--primary-background);
- color: var(--bg-vanilla-100, #fff);
+ color: var(--primary-foreground);
font-variant-numeric: lining-nums tabular-nums slashed-zero;
font-feature-settings: 'case' on, 'cpsp' on, 'dlig' on, 'salt' on;
font-family: Inter;
@@ -580,7 +584,7 @@
}
.sidenav-beta-tag {
- color: var(--bg-vanilla-100, #fff);
+ color: var(--l1-foreground);
font-variant-numeric: lining-nums tabular-nums slashed-zero;
font-feature-settings: 'case' on, 'cpsp' on, 'dlig' on, 'salt' on;
font-family: Inter;
@@ -592,7 +596,7 @@
text-transform: uppercase;
border-radius: 12px;
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
&:not(.pinned) {
@@ -644,7 +648,7 @@
position: absolute;
height: 100%;
z-index: 10;
- background: #0b0c0e;
+ background: var(--l1-background);
.brand-container {
padding: 8px 15px;
@@ -686,7 +690,7 @@
transition: color 0.2s;
&:hover {
- color: var(--bg-vanilla-100, #fff);
+ color: var(--l1-foreground);
}
}
}
@@ -729,7 +733,7 @@
flex-direction: row;
gap: 3px;
border-radius: 20px;
- background: var(--bg-slate-400, #1d212d);
+ background: var(--l2-background);
/* Drop Shadow */
box-shadow: 0px 103px 12px 0px rgba(0, 0, 0, 0.01),
@@ -745,7 +749,7 @@
width: 140px;
.scroll-for-more-label {
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -758,7 +762,7 @@
.scroll-for-more-icon {
display: flex;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
// add animation to the chevrons down icon
svg {
@@ -824,7 +828,7 @@
position: absolute;
height: 100%;
z-index: 10;
- background: #0b0c0e;
+ background: var(--l1-background);
.brand-container {
padding: 8px 15px;
@@ -866,7 +870,7 @@
transition: color 0.2s;
&:hover {
- color: var(--bg-vanilla-100, #fff);
+ color: var(--l1-foreground);
}
}
}
@@ -909,7 +913,7 @@
flex-direction: row;
gap: 3px;
border-radius: 20px;
- background: var(--bg-slate-400, #1d212d);
+ background: var(--l2-background);
/* Drop Shadow */
box-shadow: 0px 103px 12px 0px rgba(0, 0, 0, 0.01),
@@ -927,7 +931,7 @@
.scroll-for-more-label {
display: block;
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -938,7 +942,7 @@
.scroll-for-more-icon {
display: flex;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
// add animation to the chevrons down icon
svg {
@@ -1024,7 +1028,7 @@
// background: rgba(18, 19, 23, 0.6); /* based on #121317 */
// backdrop-filter: blur(16px);
// -webkit-backdrop-filter: blur(16px);
- // border: 1px solid rgba(255, 255, 255, 0.08);
+ // border: 1px solid color-mix(in srgb, var(--l1-foreground) 8%, transparent);
// border-radius: 12px;
// box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
// color: white;
@@ -1032,7 +1036,7 @@
.ant-dropdown-menu-item {
.ant-dropdown-menu-title-content {
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -1043,7 +1047,7 @@
&:hover:not(.ant-dropdown-menu-item-disabled) {
.ant-dropdown-menu-title-content {
- color: var(--bg-vanilla-100, #fff);
+ color: var(--l1-foreground);
}
}
}
@@ -1132,21 +1136,21 @@
.ant-modal-content {
padding: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
.ant-modal-header {
padding: 16px;
- background: var(--bg-ink-400);
- border-bottom: 1px solid var(--bg-slate-500);
+ background: var(--card);
+ border-bottom: 1px solid var(--l1-border);
}
.ant-modal-body {
padding: 12px 16px 0px 16px;
.ant-typography {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -1165,7 +1169,7 @@
flex-direction: column;
gap: 8px;
margin-bottom: 16px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
.reorder-shortcut-nav-item {
@@ -1178,7 +1182,7 @@
padding: 6px 8px;
align-items: center;
gap: 16px;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
.reorder-shortcut-nav-item-grab-icon {
display: flex;
@@ -1188,7 +1192,7 @@
.reorder-shortcut-nav-item-icon {
display: flex;
- color: #c0c1c3;
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -1199,7 +1203,7 @@
.reorder-shortcut-nav-item-label {
display: flex;
- color: #c0c1c3;
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -1212,8 +1216,8 @@
.ant-color-picker-trigger {
padding: 6px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
width: 32px;
height: 32px;
@@ -1242,8 +1246,8 @@
display: flex;
align-items: center;
border-radius: 2px;
- background: var(--Robin-500, #4e74f8) !important;
- color: var(--bg-vanilla-100) !important;
+ background: var(--primary-background) !important;
+ color: var(--primary-foreground) !important;
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -1251,10 +1255,10 @@
line-height: 24px;
&.secondary-btn {
- background-color: var(--bg-slate-500, #161922) !important;
- border: 1px solid var(--bg-slate-500) !important;
+ background-color: var(--secondary-background) !important;
+ border: 1px solid var(--secondary-border) !important;
- color: var(--bg-vanilla-400, #c0c1c3) !important;
+ color: var(--secondary-foreground) !important;
/* button/ small */
font-family: Inter;
@@ -1268,7 +1272,7 @@
}
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -1283,59 +1287,59 @@
.lightMode {
.sideNav {
- background: var(--bg-vanilla-100);
- border-right: 1px solid var(--bg-vanilla-300);
+ background: var(--l1-background);
+ border-right: 1px solid var(--l1-border);
.brand {
.brand-logo {
.brand-logo-name {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
}
.brand-title-section {
.license-type {
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ background: var(--l3-background);
+ color: var(--l1-foreground);
}
.version-container {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
.version {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
}
}
.get-started-nav-items {
.get-started-btn {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-200);
- color: var(--bg-slate-50, #62687c);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
+ color: var(--l1-foreground);
svg {
- color: var(--bg-slate-50, #62687c);
+ color: var(--l1-foreground);
}
.nav-item-label {
- color: var(--bg-ink-400, #62687c);
+ color: var(--l1-foreground);
}
// Hover state (light mode)
&:hover:not(:disabled) {
- background: var(--bg-vanilla-300);
- border-color: var(--bg-vanilla-300);
+ background: var(--l3-background);
+ border-color: var(--l1-border);
- color: var(--bg-slate-500, #161922);
+ color: var(--l1-foreground);
svg {
- color: var(--bg-slate-500, #161922);
+ color: var(--l1-foreground);
}
.nav-item-label {
- color: var(--bg-slate-500, #161922);
+ color: var(--l1-foreground);
}
}
}
@@ -1344,7 +1348,7 @@
.brand {
.brand-logo {
.brand-logo-name {
- color: var(--bg-slate-400);
+ color: var(--l1-foreground);
}
}
}
@@ -1360,7 +1364,7 @@
.nav-section-title-icon {
&.reorder {
&:hover {
- color: var(--bg-slate-400, #1d212d);
+ color: var(--l1-foreground);
}
}
}
@@ -1369,14 +1373,18 @@
}
.secondary-nav-items {
- border-top: 1px solid var(--bg-vanilla-300);
+ border-top: 1px solid var(--l1-border);
- background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 27.11%);
+ background: linear-gradient(
+ 180deg,
+ transparent 0%,
+ var(--l1-background) 27.11%
+ );
.collapse-expand-handlers {
svg {
- color: var(--bg-slate-300);
- fill: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
+ fill: var(--l3-background);
}
}
}
@@ -1390,7 +1398,7 @@
.nav-section-title-icon {
&.reorder {
&:hover {
- color: var(--bg-slate-400, #1d212d);
+ color: var(--l1-foreground);
}
}
}
@@ -1402,7 +1410,7 @@
&:not(.pinned):hover,
&.dropdown-open {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
.nav-wrapper {
.nav-top-section {
@@ -1411,7 +1419,7 @@
.nav-section-title-icon {
&.reorder {
&:hover {
- color: var(--bg-slate-400, #1d212d);
+ color: var(--l1-foreground);
}
}
}
@@ -1426,12 +1434,12 @@
.ant-dropdown-menu {
.ant-dropdown-menu-item {
.ant-dropdown-menu-title-content {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
&:hover:not(.ant-dropdown-menu-item-disabled) {
.ant-dropdown-menu-title-content {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
}
@@ -1440,73 +1448,73 @@
.reorder-shortcut-nav-items-modal {
.ant-modal-content {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
.ant-modal-header {
- background: var(--bg-vanilla-100);
- border-bottom: 1px solid var(--bg-vanilla-300);
+ background: var(--l1-background);
+ border-bottom: 1px solid var(--l1-border);
}
.ant-modal-body {
.ant-typography {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
.reorder-shortcut-nav-items-container {
- border: 1px solid var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
.reorder-shortcut-nav-item {
- border-bottom: 1px solid var(--bg-vanilla-300);
+ border-bottom: 1px solid var(--l1-border);
.reorder-shortcut-nav-item-icon {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
.reorder-shortcut-nav-item-label {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
}
}
.ant-color-picker-trigger {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
}
}
.ant-modal-footer {
> button {
- background: var(--bg-robin-500) !important;
- color: var(--bg-vanilla-100) !important;
+ background: var(--primary-background) !important;
+ color: var(--primary-foreground) !important;
&.secondary-btn {
- background-color: var(--bg-vanilla-300) !important;
- border: 1px solid var(--bg-vanilla-300) !important;
+ background-color: var(--l3-background) !important;
+ border: 1px solid var(--l1-border) !important;
- color: var(--bg-ink-400) !important;
+ color: var(--l1-foreground) !important;
}
}
}
}
.title {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
}
}
.version-tooltip-overlay {
.ant-tooltip-inner {
- background-color: var(--bg-ink-400);
- color: var(--bg-vanilla-100);
+ background-color: var(--card);
+ color: var(--l1-foreground);
font-size: 11px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
- color: var(--bg-vanilla-100, #fff);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -1521,7 +1529,7 @@
gap: 4px;
.version-update-notification-tooltip-title {
- color: var(--bg-vanilla-100, #fff);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -1531,7 +1539,7 @@
}
.version-update-notification-tooltip-content {
- color: var(--bg-vanilla-100, #fff);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 10px;
font-style: normal;
@@ -1544,13 +1552,13 @@
@keyframes ripple {
0% {
- box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
+ box-shadow: 0 0 0 0 color-mix(in srgb, var(--bg-amber-400) 40%, transparent);
}
70% {
- box-shadow: 0 0 0 6px rgba(245, 158, 11, 0);
+ box-shadow: 0 0 0 6px transparent;
}
100% {
- box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
+ box-shadow: 0 0 0 0 transparent;
}
}
diff --git a/frontend/src/container/SideNav/config.ts b/frontend/src/container/SideNav/config.ts
index 7ee40f99a6..b2374aba3f 100644
--- a/frontend/src/container/SideNav/config.ts
+++ b/frontend/src/container/SideNav/config.ts
@@ -2,10 +2,10 @@ import { QueryParams } from 'constants/query';
import ROUTES from 'constants/routes';
import { themeColors } from 'constants/theme';
-export const styles = { background: '#1f1f1f' };
+export const styles = { background: 'var(--bg-ink-300)' };
export const subMenuStyles = {
- background: '#1f1f1f',
+ background: 'var(--bg-ink-300)',
margin: '0rem',
width: '100%',
color: themeColors.gainsboro,
diff --git a/frontend/src/container/SideNav/styles.ts b/frontend/src/container/SideNav/styles.ts
index 5b7989f654..46e0d656e4 100644
--- a/frontend/src/container/SideNav/styles.ts
+++ b/frontend/src/container/SideNav/styles.ts
@@ -5,7 +5,7 @@ const { Sider: SiderComponent } = Layout;
export const Sider = styled(SiderComponent)`
&&& {
- background: #1f1f1f;
+ background: var(--bg-ink-300);
.ant-layout-sider-children {
display: flex;
@@ -13,7 +13,7 @@ export const Sider = styled(SiderComponent)`
}
.ant-layout-sider-trigger {
- background: #1f1f1f;
+ background: var(--bg-ink-300);
}
}
`;
@@ -45,7 +45,7 @@ export const StyledSecondaryMenu = styled(Menu)`
export const RedDot = styled.div`
width: 10px;
height: 10px;
- background: #d32029;
+ background: var(--bg-cherry-500);
border-radius: 50%;
margin-left: 0.5rem;
@@ -62,5 +62,5 @@ export const MenuLabelContainer = styled.div`
export const StyledText = styled(Typography.Text)`
width: 100%;
- color: white;
+ color: var(--l1-foreground);
`;
diff --git a/frontend/src/container/SpanDetailsDrawer/Attributes/Attributes.styles.scss b/frontend/src/container/SpanDetailsDrawer/Attributes/Attributes.styles.scss
index c50804ea81..bbe9174eb1 100644
--- a/frontend/src/container/SpanDetailsDrawer/Attributes/Attributes.styles.scss
+++ b/frontend/src/container/SpanDetailsDrawer/Attributes/Attributes.styles.scss
@@ -28,7 +28,7 @@
padding: 2px 12px;
&:hover {
- background-color: var(--bg-slate-500);
+ background-color: var(--l1-border);
.action-btn {
display: flex;
}
@@ -46,7 +46,7 @@
}
.item-key {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -63,15 +63,15 @@
max-width: 100%;
gap: 8px;
border-radius: 50px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
.copy-wrapper {
overflow: hidden;
}
.item-value {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -101,14 +101,14 @@
border: none;
box-shadow: none;
border-radius: 2px;
- background: var(--bg-slate-400);
+ background: var(--l1-border);
padding: 4px;
gap: 3px;
height: 24px;
width: 24px;
&:hover {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
}
}
@@ -116,7 +116,7 @@
}
.border-top {
- border-top: 1px solid var(--bg-slate-400);
+ border-top: 1px solid var(--l1-border);
}
}
@@ -134,7 +134,7 @@
gap: 8px;
&:hover {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
}
}
@@ -149,49 +149,3 @@
min-width: 160px;
}
}
-
-.lightMode {
- .attributes-corner {
- .attributes-container {
- .item {
- &:hover {
- background-color: var(--bg-vanilla-300);
- }
- .item-key {
- color: var(--bg-ink-100);
- }
-
- .value-wrapper {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
-
- .item-value {
- color: var(--bg-ink-400);
- }
- }
-
- .action-btn {
- .filter-btn {
- background: var(--bg-vanilla-200);
-
- &:hover {
- background: var(--bg-vanilla-100);
- }
- }
- }
- }
- }
-
- .border-top {
- border-top: 1px solid var(--bg-vanilla-300);
- }
- }
-
- .attribute-actions-menu {
- .ant-btn {
- &:hover {
- background-color: var(--bg-vanilla-200);
- }
- }
- }
-}
diff --git a/frontend/src/container/SpanDetailsDrawer/Events/Events.styles.scss b/frontend/src/container/SpanDetailsDrawer/Events/Events.styles.scss
index 79a03432c5..6e0ba75383 100644
--- a/frontend/src/container/SpanDetailsDrawer/Events/Events.styles.scss
+++ b/frontend/src/container/SpanDetailsDrawer/Events/Events.styles.scss
@@ -24,7 +24,7 @@
}
.ant-collapse-content-box {
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
border-top: none;
}
.ant-collapse-header {
@@ -34,10 +34,10 @@
justify-content: space-between;
gap: 16px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -56,7 +56,7 @@
gap: 6px;
.diamond {
- fill: var(--bg-robin-500);
+ fill: var(--accent-primary);
}
}
}
@@ -71,7 +71,7 @@
gap: 8px;
.attribute-key {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -86,7 +86,7 @@
align-items: center;
.timestamp-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -102,10 +102,10 @@
align-items: center;
gap: 8px;
border-radius: 50px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -123,10 +123,10 @@
align-items: center;
gap: 8px;
border-radius: 50px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
.attribute-value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -140,49 +140,3 @@
}
}
}
-
-.lightMode {
- .events-table {
- .events-container {
- .event {
- .ant-collapse-content-box {
- border: 1px solid var(--bg-vanilla-300);
- }
- .ant-collapse-header {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-100);
- border-bottom: none;
- }
- .event-details {
- .attribute-container {
- .attribute-key {
- color: var(--bg-ink-400);
- }
-
- .timestamp-container {
- .timestamp-text {
- color: var(--bg-ink-400);
- }
-
- .attribute-value {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
-
- color: var(--bg-ink-100);
- }
- }
-
- .wrapper {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- .attribute-value {
- color: var(--bg-ink-100);
- }
- }
- }
- }
- }
- }
- }
-}
diff --git a/frontend/src/container/SpanDetailsDrawer/LinkedSpans/LinkedSpans.styles.scss b/frontend/src/container/SpanDetailsDrawer/LinkedSpans/LinkedSpans.styles.scss
index 83f4edb625..05d2c57961 100644
--- a/frontend/src/container/SpanDetailsDrawer/LinkedSpans/LinkedSpans.styles.scss
+++ b/frontend/src/container/SpanDetailsDrawer/LinkedSpans/LinkedSpans.styles.scss
@@ -18,7 +18,7 @@
justify-content: flex-start;
.item-key {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -35,11 +35,11 @@
max-width: 100%;
gap: 8px;
border-radius: 50px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
.item-value {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -55,15 +55,15 @@
.linked-spans-container {
.item {
.item-key {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
.value-wrapper {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
.item-value {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
diff --git a/frontend/src/container/SpanDetailsDrawer/NoData/NoData.styles.scss b/frontend/src/container/SpanDetailsDrawer/NoData/NoData.styles.scss
index e40fb340a9..105ea3947e 100644
--- a/frontend/src/container/SpanDetailsDrawer/NoData/NoData.styles.scss
+++ b/frontend/src/container/SpanDetailsDrawer/NoData/NoData.styles.scss
@@ -9,7 +9,7 @@
}
.no-data-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -22,7 +22,7 @@
.lightMode {
.no-data {
.no-data-text {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
diff --git a/frontend/src/container/SpanDetailsDrawer/SpanDetailsDrawer.styles.scss b/frontend/src/container/SpanDetailsDrawer/SpanDetailsDrawer.styles.scss
index b772a54cef..6786f94fed 100644
--- a/frontend/src/container/SpanDetailsDrawer/SpanDetailsDrawer.styles.scss
+++ b/frontend/src/container/SpanDetailsDrawer/SpanDetailsDrawer.styles.scss
@@ -2,7 +2,7 @@
display: flex;
flex-direction: column;
height: calc(100vh - 44px); //44px -> trace details top bar
- border-left: 1px solid var(--bg-slate-400);
+ border-left: 1px solid var(--l1-border);
overflow-y: auto !important;
&:not(&-docked) {
min-width: 450px;
@@ -18,7 +18,7 @@
justify-content: space-between;
height: 48px;
padding: 12px;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
.heading {
display: flex;
@@ -33,7 +33,7 @@
}
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -81,19 +81,19 @@
border: none;
box-shadow: none;
border-radius: 2px;
- background: var(--bg-slate-400);
+ background: var(--l1-border);
padding: 4px;
gap: 3px;
height: 24px;
width: 24px;
&:hover {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
}
}
&:hover {
- background-color: var(--bg-slate-500);
+ background-color: var(--l1-border);
.attribute-actions-wrapper {
display: flex;
}
@@ -114,7 +114,7 @@
.span-percentile-value-container {
.span-percentile-value {
- color: var(--text-sakura-400, #f56c87);
+ color: var(--bg-sakura-400);
font-variant-numeric: lining-nums tabular-nums stacked-fractions
slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on;
@@ -129,7 +129,7 @@
padding-left: 8px;
padding-right: 8px;
- border-left: 1px solid var(--bg-slate-400);
+ border-left: 1px solid var(--l1-border);
cursor: pointer;
@@ -141,8 +141,8 @@
&.span-percentile-value-container-open {
.span-percentile-value {
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
}
}
}
@@ -155,15 +155,15 @@
fill: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.32) 0%,
- rgba(18, 19, 23, 0.36) 98.68%
+ color-mix(in srgb, var(--card) 32%, transparent) 0%,
+ color-mix(in srgb, var(--card) 36%, transparent) 98.68%
);
stroke-width: 1px;
- stroke: var(--bg-slate-500, #161922);
+ stroke: var(--l1-border);
filter: drop-shadow(2px 4px 16px rgba(0, 0, 0, 0.2));
backdrop-filter: blur(20px);
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
.span-percentiles-header {
@@ -172,7 +172,7 @@
justify-content: space-between;
gap: 8px;
padding: 8px 12px 8px 12px;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
.span-percentiles-header-text {
display: flex;
@@ -190,7 +190,7 @@
.span-percentile-content-title {
.span-percentile-value {
- color: var(--text-sakura-400, #f56c87);
+ color: var(--bg-sakura-400);
font-variant-numeric: lining-nums tabular-nums stacked-fractions
slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on;
@@ -216,9 +216,9 @@
.ant-select-selector {
border-radius: 50px;
- border: 1px solid var(--bg-slate-400, #1d212d);
- background: var(--bg-slate-500, #161922);
- color: var(--bg-vanilla-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -239,7 +239,7 @@
gap: 8px;
.span-percentile-values-table-header {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
text-align: right;
font-family: Inter;
font-size: 11px;
@@ -286,7 +286,7 @@
.span-percentile-values-table-data-row-key {
flex: 0 0 auto;
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
text-align: right;
font-variant-numeric: lining-nums tabular-nums slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on;
@@ -298,7 +298,7 @@
}
.span-percentile-values-table-data-row-value {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums stacked-fractions
slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on, 'ss02' on;
@@ -313,7 +313,7 @@
flex: 1;
height: 0; /* line only */
margin: 0 8px;
- border-top: 1px dashed var(--bg-slate-300);
+ border-top: 1px dashed var(--l1-border);
/* Use border image to control dash length & spacing */
border-top-width: 1px;
@@ -331,7 +331,11 @@
.current-span-percentile-row {
border-radius: 2px;
- background: rgba(78, 116, 248, 0.2);
+ background: color-mix(
+ in srgb,
+ var(--primary-background) 20%,
+ transparent
+ );
.span-percentile-values-table-data-row-key {
color: var(--text-robin-300);
@@ -379,17 +383,13 @@
box-shadow: none !important;
height: 36px;
- border-bottom: 1px solid var(--bg-slate-400) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
}
border-radius: 4px;
- border: 1px solid var(--bg-slate-400, #1d212d);
- background: linear-gradient(
- 139deg,
- rgba(18, 19, 23, 1) 0%,
- rgba(18, 19, 23, 1) 98.68%
- );
+ border: 1px solid var(--l1-border);
+ background: linear-gradient(139deg, var(--card) 0%, var(--card) 98.68%);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -411,11 +411,11 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-200);
+ background: var(--l3-background);
}
}
@@ -427,12 +427,12 @@
.resource-attributes-select-item-checkbox {
.ant-checkbox-disabled {
- background-color: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
+ background-color: var(--primary-background);
+ color: var(--l1-foreground);
}
.resource-attributes-select-item-value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
@@ -447,7 +447,7 @@
}
.attribute-key {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -464,12 +464,12 @@
width: fit-content;
max-width: 100%;
border-radius: 50px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
.attribute-value {
padding: 2px 8px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Inter';
font-size: 14px;
font-style: normal;
@@ -486,8 +486,8 @@
align-items: center;
gap: 8px;
border-radius: 50px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
width: fit-content;
.dot {
@@ -503,10 +503,10 @@
max-width: 100%;
border-radius: 0px;
border: none;
- background: var(--bg-slate-500);
+ background: var(--l1-border);
.service-value {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Inter';
font-size: 14px;
font-style: normal;
@@ -528,7 +528,7 @@
.ant-btn.ant-btn-default {
padding: 0 15px;
&:not(:hover) {
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
}
}
}
@@ -548,7 +548,7 @@
}
.ant-tabs-nav::before {
- border-bottom: 1px solid var(--bg-slate-400) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
.ant-tabs-tab {
@@ -585,8 +585,8 @@
height: 20px;
padding: 0 6px;
border-radius: 10px;
- background: rgba(171, 189, 255, 0.1);
- color: var(--bg-vanilla-400);
+ background: color-mix(in srgb, var(--bg-robin-200) 10%, transparent);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on;
font-family: Inter;
@@ -615,7 +615,7 @@
}
.span-percentile-tooltip-text {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums stacked-fractions ordinal
slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on;
@@ -635,7 +635,7 @@
}
.span-percentile-tooltip-text-link {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
text-align: right;
font-family: Inter;
font-size: 12px;
@@ -661,290 +661,43 @@
&:hover,
&[data-resize-handle-state='drag'],
&[data-resize-handle-state='hover'] {
- border-color: rgba(35, 196, 248, 0.2);
+ border-color: color-mix(in srgb, var(--bg-aqua-500) 20%, transparent);
}
}
+.linked-spans-tab-btn {
+ display: flex;
+ align-items: center;
+ gap: 0.5rem;
+}
+
.lightMode {
- .ant-tabs-content-holder {
- .bg-border {
- background: var(--bg-vanilla-300);
- border-color: var(--bg-vanilla-300);
- }
- }
.span-details-drawer {
- border-left: 1px solid var(--bg-vanilla-300);
-
- .header {
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .heading {
- .text {
- color: var(--bg-ink-400);
- }
+ .span-percentile-values-table-data-row {
+ .dashed-line {
+ border-image: repeating-linear-gradient(
+ to right,
+ var(--l1-border) 0,
+ var(--l1-border) 10px,
+ transparent 10px,
+ transparent 20px
+ )
+ 1 stretch;
}
}
- .description {
- .item {
- .attribute-actions-wrapper {
- display: none;
- gap: 8px;
- position: absolute;
- right: 8px;
- top: 50%;
- transform: translateY(-50%);
- border-radius: 4px;
- padding: 2px;
-
- .filter-btn {
- background: var(--bg-vanilla-200);
- &:hover {
- background: var(--bg-vanilla-100);
- }
- }
- }
- &:hover {
- background-color: var(--bg-vanilla-300);
- .attribute-actions-wrapper {
- display: flex;
- }
- }
- .span-name-wrapper {
- .span-percentile-value-container {
- &.span-percentile-value-container-open {
- .span-percentile-value {
- border: 1px solid var(--bg-vanilla-200);
- background: var(--bg-vanilla-200);
- }
- }
- }
-
- .span-percentile-value {
- color: var(--text-sakura-400, #f56c87);
- border-left: 1px solid var(--bg-slate-300);
- }
- }
-
- .span-percentiles-container {
- fill: linear-gradient(
- 139deg,
- rgba(18, 19, 23, 0.32) 0%,
- rgba(18, 19, 23, 0.36) 98.68%
- );
-
- stroke-width: 1px;
- stroke: var(--bg-slate-500);
- filter: drop-shadow(2px 4px 16px rgba(0, 0, 0, 0.2));
- backdrop-filter: blur(20px);
- border: 1px solid var(--bg-vanilla-300);
- border-radius: 4px;
-
- .span-percentiles-header {
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
-
- .span-percentile-content {
- .span-percentile-content-title {
- .span-percentile-value {
- color: var(--text-sakura-400, #f56c87);
- }
- }
-
- .span-percentile-timerange {
- .span-percentile-timerange-select {
- .ant-select-selector {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- color: var(--text-slate-300);
- }
- }
- }
-
- .span-percentile-values-table {
- .span-percentile-values-table-header-row {
- .span-percentile-values-table-header {
- color: var(--text-vanilla-400);
- }
- }
-
- .span-percentile-values-table-data-row {
- .span-percentile-values-table-data-row-key {
- color: var(--text-ink-100);
- }
-
- .span-percentile-values-table-data-row-value {
- color: var(--text-ink-400);
- }
-
- .dashed-line {
- flex: 1;
- height: 0; /* line only */
- margin: 0 8px;
- border-top: 1px dashed var(--bg-slate-300);
-
- /* Use border image to control dash length & spacing */
- border-top-width: 1px;
- border-top-style: solid; /* temporary solid for image */
- border-image: repeating-linear-gradient(
- to right,
- var(--bg-slate-300) 0,
- var(--bg-slate-300) 10px,
- transparent 10px,
- transparent 20px
- )
- 1 stretch;
- }
- }
-
- .current-span-percentile-row {
- border-radius: 2px;
- background: rgba(78, 116, 248, 0.2);
-
- .span-percentile-values-table-data-row-key {
- color: var(--text-robin-300, #95acfb);
- }
-
- .dashed-line {
- border-top: 1px dashed #abbdff;
-
- /* Use border image to control dash length & spacing */
- border-top-width: 1px;
- border-top-style: solid; /* temporary solid for image */
- border-image: repeating-linear-gradient(
- to right,
- #abbdff 0,
- #abbdff 10px,
- transparent 10px,
- transparent 20px
- )
- 1 stretch;
- }
-
- .span-percentile-values-table-data-row-value {
- color: var(--text-robin-400);
- }
- }
- }
- }
-
- .resource-attributes-select-container {
- .resource-attributes-select-container-header {
- .resource-attributes-select-container-input {
- border: none !important;
- box-shadow: none !important;
- height: 36px;
-
- border-bottom: 1px solid var(--bg-vanilla-400) !important;
- background: var(--bg-vanilla-300);
- color: var(--text-ink-400);
- }
- }
-
- border-radius: 4px;
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12),
- 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
- backdrop-filter: blur(20px);
-
- .resource-attributes-items {
- &::-webkit-scrollbar-track {
- background: transparent;
- }
-
- &::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
- }
-
- &::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-200);
- }
- }
-
- .resource-attributes-select-item {
- .resource-attributes-select-item-checkbox {
- .ant-checkbox-disabled {
- background-color: var(--bg-robin-500);
- color: var(--text-ink-100);
- }
-
- .resource-attributes-select-item-value {
- color: var(--text-ink-100);
- }
- }
- }
- }
- }
-
- .attribute-key {
- color: var(--bg-ink-400);
- }
-
- .value-wrapper {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
-
- .attribute-value {
- color: var(--bg-ink-400);
- }
- }
-
- .service {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
-
- .value-wrapper {
- background: var(--bg-vanilla-300);
- border: none;
-
- .service-value {
- color: var(--bg-ink-400);
- }
- }
- }
-
- .related-signals-section {
- .related-signals-button-group {
- .ant-btn.ant-btn-default {
- &:not(:hover) {
- border: 1px solid var(--bg-vanilla-400);
- }
- }
- }
- }
- }
- }
-
- .attributes-events {
- .details-drawer-tabs {
- .ant-tabs-nav::before {
- border-bottom: 1px solid var(--bg-vanilla-300) !important;
- }
-
- .ant-tabs-nav-wrap {
- height: 32px;
- }
-
- .ant-tabs-tab {
- border: none;
- background-color: var(--bg-vanilla-200);
-
- .ant-btn {
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
- }
-
- .ant-tabs-ink-bar {
- background: #4e74f8 !important;
- }
+ .current-span-percentile-row {
+ .dashed-line {
+ border-top: 1px dashed var(--primary);
+ border-image: repeating-linear-gradient(
+ to right,
+ var(--primary) 0,
+ var(--primary) 10px,
+ transparent 10px,
+ transparent 20px
+ )
+ 1 stretch;
}
}
}
}
-
-.linked-spans-tab-btn {
- display: flex;
- align-items: center;
- gap: 0.5rem;
-}
diff --git a/frontend/src/container/SpanDetailsDrawer/SpanLogs/spanLogs.styles.scss b/frontend/src/container/SpanDetailsDrawer/SpanLogs/spanLogs.styles.scss
index c3ac0d48bb..3156739d14 100644
--- a/frontend/src/container/SpanDetailsDrawer/SpanLogs/spanLogs.styles.scss
+++ b/frontend/src/container/SpanDetailsDrawer/SpanLogs/spanLogs.styles.scss
@@ -3,16 +3,16 @@
height: calc(100% - 64px - 55px - 56px);
&-virtuoso {
- background: rgba(171, 189, 255, 0.04);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
}
&-list-container {
height: 100%;
.logs-loading-skeleton {
height: 100%;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
border-top: none;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
display: flex;
flex-direction: column;
align-items: center;
@@ -23,7 +23,7 @@
&-empty-content {
height: 100%;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
border-top: none;
display: flex;
flex-direction: column;
@@ -44,7 +44,7 @@
}
.no-data-text-1 {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-weight: 400;
line-height: 18px;
letter-spacing: -0.07px;
@@ -59,9 +59,9 @@
.action-btn {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
- color: var(--bg-vanilla-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
+ color: var(--l2-foreground);
padding: 4px 8px;
font-size: 12px;
font-style: normal;
@@ -78,24 +78,24 @@
&-empty-content {
.description {
.no-data-text-1 {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
.no-data-text-2 {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
.action-section {
.action-btn {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
+ color: var(--l2-background);
&:hover {
- border-color: var(--bg-vanilla-200);
- background: var(--bg-vanilla-200);
- color: var(--bg-ink-500);
+ border-color: var(--l1-border);
+ background: var(--l2-background);
+ color: var(--l1-background);
}
}
}
diff --git a/frontend/src/container/SpanDetailsDrawer/SpanRelatedSignals/SpanRelatedSignals.styles.scss b/frontend/src/container/SpanDetailsDrawer/SpanRelatedSignals/SpanRelatedSignals.styles.scss
index b81009edef..7692e41733 100644
--- a/frontend/src/container/SpanDetailsDrawer/SpanRelatedSignals/SpanRelatedSignals.styles.scss
+++ b/frontend/src/container/SpanDetailsDrawer/SpanRelatedSignals/SpanRelatedSignals.styles.scss
@@ -4,10 +4,10 @@
}
.ant-drawer-header {
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
padding: 16px 15px;
.title {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 400;
line-height: 20px;
@@ -19,7 +19,7 @@
margin-inline-start: 10px !important;
margin-inline-end: 16px !important;
height: 16px;
- border-color: var(--bg-slate-500);
+ border-color: var(--l1-border);
}
.ant-drawer-close {
margin: 0 !important;
@@ -46,8 +46,8 @@
align-items: center;
height: 30px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
@@ -57,7 +57,7 @@
.view-title {
gap: 6px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 12px;
font-weight: 400;
letter-spacing: -0.06px;
@@ -68,7 +68,7 @@
.span-related-signals-drawer__applied-filters {
padding: 11px;
margin-inline: 16px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
border-radius: 3px;
}
@@ -81,11 +81,11 @@
.span-related-signals-drawer__filter-tag {
padding: 2px 6px;
border-radius: 2px;
- background: var(--bg-slate-300);
+ background: var(--l3-background);
cursor: default;
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 400;
line-height: 20px;
@@ -96,81 +96,7 @@
.infra-metrics-container {
padding-inline: 16px;
.infra-metrics-card {
- border: 1px solid var(--bg-slate-400);
- }
- }
-}
-
-.lightMode {
- .span-related-signals-drawer {
- .ant-drawer-header {
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .title {
- color: var(--bg-ink-400);
- }
- }
-
- .views-tabs-container {
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .views-tabs {
- .ant-radio-button-wrapper {
- border-color: var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-300);
-
- &:hover {
- color: var(--bg-ink-400);
- background: var(--bg-vanilla-200);
- }
-
- &.selected_view {
- background: var(--bg-robin-500);
- border-color: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
-
- &:hover {
- background: var(--bg-robin-400);
- border-color: var(--bg-robin-400);
- }
- }
- }
- }
- }
-
- .span-related-signals-drawer__applied-filters {
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
-
- .span-related-signals-drawer__filter-tag {
- background-color: var(--bg-vanilla-400);
-
- .ant-typography {
- color: var(--bg-ink-300);
- }
- }
-
- .infra-placeholder-content {
- color: var(--bg-ink-300);
-
- svg {
- color: var(--bg-ink-300);
- }
-
- .ant-typography {
- color: var(--bg-ink-300);
- }
- }
- .open-in-explorer {
- background: var(--bg-vanilla-300);
- }
- .views-tabs-container {
- .ant-radio-button-wrapper {
- .view-title {
- color: var(--bg-ink-400);
- }
- }
+ border: 1px solid var(--l1-border);
}
}
}
diff --git a/frontend/src/container/SpanDetailsDrawer/__tests__/AttributeActions.userflow.test.tsx b/frontend/src/container/SpanDetailsDrawer/__tests__/AttributeActions.userflow.test.tsx
index f279cf7720..add6c29924 100644
--- a/frontend/src/container/SpanDetailsDrawer/__tests__/AttributeActions.userflow.test.tsx
+++ b/frontend/src/container/SpanDetailsDrawer/__tests__/AttributeActions.userflow.test.tsx
@@ -68,7 +68,10 @@ jest.mock('react-query', () => ({
useQueryClient: (): any => mockQueryClient,
}));
-jest.mock('@signozhq/sonner', () => ({ toast: jest.fn() }));
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
+ toast: jest.fn(),
+}));
// Mock the API response for getAggregateKeys
const mockAggregateKeysResponse = {
@@ -155,7 +158,7 @@ describe('AttributeActions User Flow Tests', () => {
// Todo: to fixed properly - failing with - due to timeout > 5000ms
describe.skip('Complete Attribute Actions User Flow', () => {
it('should allow user to interact with span attribute actions from trace detail page', async () => {
- const { user } = renderSpanDetailsDrawer();
+ renderSpanDetailsDrawer();
// Verify Attributes tab is displayed with table view
expect(screen.getByText('Attributes')).toBeInTheDocument();
@@ -170,10 +173,8 @@ describe('AttributeActions User Flow Tests', () => {
const httpMethodRow = screen.getByText('http.method').closest('.item');
expect(httpMethodRow).toBeInTheDocument();
- // Hover over the attribute row to reveal action buttons
- await user.hover(httpMethodRow!);
-
- // Verify action buttons are present within this specific row
+ // Action buttons are always mounted in the DOM (only CSS-hidden until :hover),
+ // so we can query them directly without simulating a pointer hover.
const actionButtons = httpMethodRow!.querySelector('.action-btn');
expect(actionButtons).toBeInTheDocument();
@@ -186,8 +187,9 @@ describe('AttributeActions User Flow Tests', () => {
expect(filterForButton).toBeInTheDocument();
expect(filterOutButton).toBeInTheDocument();
- // Test "Filter for" action
- await user.click(filterForButton);
+ // Test "Filter for" action — use fireEvent to skip userEvent's pointer
+ // simulation and the Antd Tooltip mouseEnterDelay timers it triggers.
+ fireEvent.click(filterForButton);
// Verify navigation to traces explorer with inclusive filter
await waitFor(() => {
@@ -219,7 +221,7 @@ describe('AttributeActions User Flow Tests', () => {
mockRedirectWithQueryBuilderData.mockClear();
// Test "Filter out" action
- await user.click(filterOutButton);
+ fireEvent.click(filterOutButton);
// Verify navigation to traces explorer with exclusive filter
await waitFor(() => {
@@ -258,20 +260,20 @@ describe('AttributeActions User Flow Tests', () => {
// Todo: to fixed properly - failing with - due to timeout > 5000ms
describe.skip('Filter Replacement Flow', () => {
it('should replace previous filter when applying multiple filters on same field', async () => {
- const { user } = renderSpanDetailsDrawer();
+ renderSpanDetailsDrawer();
// Find the http.method attribute row
const httpMethodRow = screen.getByText('http.method').closest('.item');
expect(httpMethodRow).toBeInTheDocument();
- // Apply first filter
- await user.hover(httpMethodRow!);
-
+ // Action buttons are always mounted (CSS-hidden until :hover, which jsdom
+ // doesn't evaluate), so we can click them directly via fireEvent and skip
+ // userEvent's pointer simulation + Antd Tooltip mouseEnterDelay timers.
const filterForButton = httpMethodRow!.querySelector(
'[aria-label="Filter for value"]',
) as HTMLElement;
expect(filterForButton).toBeInTheDocument();
- await user.click(filterForButton);
+ fireEvent.click(filterForButton);
// Verify first filter was applied
await waitFor(() => {
@@ -306,7 +308,7 @@ describe('AttributeActions User Flow Tests', () => {
'[aria-label="Filter out value"]',
) as HTMLElement;
expect(filterOutButton).toBeInTheDocument();
- await user.click(filterOutButton);
+ fireEvent.click(filterOutButton);
// Verify the new call contains only the new filter (replacement behavior)
await waitFor(() => {
diff --git a/frontend/src/container/Toolbar/Toolbar.styles.scss b/frontend/src/container/Toolbar/Toolbar.styles.scss
index 5e386cd549..8bfef11b10 100644
--- a/frontend/src/container/Toolbar/Toolbar.styles.scss
+++ b/frontend/src/container/Toolbar/Toolbar.styles.scss
@@ -3,9 +3,6 @@
justify-content: space-between;
align-items: flex-end;
- border-top: 1px solid var(--bg-slate-400);
- border-bottom: 1px solid var(--bg-slate-400);
-
padding: 0px 8px;
gap: 8px;
@@ -44,10 +41,3 @@
}
}
}
-
-.lightMode {
- .toolbar {
- border-top: 1px solid var(--bg-vanilla-300);
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
-}
diff --git a/frontend/src/container/TopNav/AutoRefreshV2/AutoRefreshV2.styles.scss b/frontend/src/container/TopNav/AutoRefreshV2/AutoRefreshV2.styles.scss
index 4b0953a767..15c4d1918e 100644
--- a/frontend/src/container/TopNav/AutoRefreshV2/AutoRefreshV2.styles.scss
+++ b/frontend/src/container/TopNav/AutoRefreshV2/AutoRefreshV2.styles.scss
@@ -3,11 +3,11 @@
min-width: 187px;
min-height: 386px;
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -24,8 +24,8 @@
.auto-refresh-checkbox {
padding: 12px 14px;
- border-bottom: 1px solid var(--bg-slate-400);
- color: #f9f9fa;
+ border-bottom: 1px solid var(--l1-border);
+ color: var(--l1-foreground);
font-size: 14px;
font-style: normal;
font-weight: 400;
@@ -35,7 +35,7 @@
.refresh-interval-text {
padding: 12px 14px 8px 14px;
- color: #52575c;
+ color: var(--muted-foreground);
font-size: 11px;
font-style: normal;
font-weight: 500;
@@ -47,7 +47,7 @@
.refresh-interval-btns {
padding-left: 14px !important;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-style: normal;
font-weight: 400;
@@ -59,21 +59,21 @@
.lightMode {
.auto-refresh-root {
.ant-popover-inner {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l2-foreground);
+ background: var(--l1-foreground);
}
}
.auto-refresh-checkbox {
- border-bottom: 1px solid var(--bg-vanilla-400);
- color: var(--bg-slate-400);
+ border-bottom: 1px solid var(--l2-foreground);
+ color: var(--l1-border);
}
.refresh-interval-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
.refresh-interval-btns {
- color: var(--text-slate-400);
+ color: var(--muted-foreground);
}
}
diff --git a/frontend/src/container/TopNav/DateTimeSelectionV2/DateTimeSelectionV2.styles.scss b/frontend/src/container/TopNav/DateTimeSelectionV2/DateTimeSelectionV2.styles.scss
index ec12648eca..20690d9873 100644
--- a/frontend/src/container/TopNav/DateTimeSelectionV2/DateTimeSelectionV2.styles.scss
+++ b/frontend/src/container/TopNav/DateTimeSelectionV2/DateTimeSelectionV2.styles.scss
@@ -6,9 +6,9 @@
display: flex;
align-items: center;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
box-shadow: none !important;
- background: var(--bg-ink-300);
+ background: var(--l3-background);
display: flex;
min-width: 192px;
height: 34px;
@@ -39,12 +39,12 @@
display: flex;
flex-direction: row;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
margin-left: 8px;
.refresh-btn {
- border-right: 1px solid var(--bg-slate-400);
+ border-right: 1px solid var(--l1-border);
}
.ant-btn {
display: flex;
@@ -54,7 +54,7 @@
border: none;
&.active-tab {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
}
}
}
@@ -70,8 +70,8 @@
display: flex;
justify-content: space-between;
align-items: center;
- background: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-400);
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
margin-right: 16px;
}
}
@@ -80,14 +80,14 @@
.header-section-popover-root {
.ant-popover-inner {
border-radius: 4px !important;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2) !important;
padding: 0px !important;
border-radius: 4px;
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
) !important;
backdrop-filter: blur(20px);
}
@@ -103,29 +103,37 @@
display: flex;
width: 224px;
flex-direction: column;
- border-right: 1px solid var(--bg-slate-400);
+ border-right: 1px solid var(--l1-border);
.data-time-live {
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
text-align: start;
padding: 13.5px 14px;
height: 44px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: 0.14px;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
}
.active {
- background-color: rgba(171, 189, 255, 0.04) !important;
+ background-color: color-mix(
+ in srgb,
+ var(--bg-robin-200) 4%,
+ transparent
+ ) !important;
}
.data-time-live:hover {
&.ant-btn-text {
- background-color: rgba(171, 189, 255, 0.04) !important;
+ background-color: color-mix(
+ in srgb,
+ var(--bg-robin-200) 4%,
+ transparent
+ ) !important;
}
}
@@ -133,7 +141,7 @@
text-align: start;
padding: 8px 13px;
height: 37px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 13px;
font-style: normal;
font-weight: 400;
@@ -148,8 +156,8 @@
.time-value {
font-size: 11px;
- color: var(--bg-vanilla-400);
- background-color: var(--bg-ink-200);
+ color: var(--l2-foreground);
+ background-color: var(--l3-background);
padding: 4px 6px;
border-radius: 3px;
}
@@ -157,7 +165,11 @@
.date-time-options-btn:hover {
&.ant-btn-text {
- background-color: rgba(171, 189, 255, 0.04) !important;
+ background-color: color-mix(
+ in srgb,
+ var(--bg-robin-200) 4%,
+ transparent
+ ) !important;
}
}
}
@@ -166,7 +178,7 @@
display: flex;
width: 224px;
flex-direction: column;
- border-right: 1px solid var(--bg-slate-400);
+ border-right: 1px solid var(--l1-border);
.back-btn {
display: flex;
@@ -176,7 +188,7 @@
cursor: pointer;
&:hover {
- background-color: rgba(171, 189, 255, 0.04);
+ background-color: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
}
}
@@ -196,7 +208,7 @@
.date-time-custom-option-from-title,
.date-time-custom-option-to-title {
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
font-variant-numeric: slashed-zero;
font-family: Inter;
font-size: 12px;
@@ -209,7 +221,7 @@
.date-time-custom-option-from-value,
.date-time-custom-option-to-value {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-variant-numeric: slashed-zero;
font-family: Inter;
font-size: 13px;
@@ -220,16 +232,16 @@
}
&.active {
- background: rgba(171, 189, 255, 0.04);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
.date-time-custom-option-from-title,
.date-time-custom-option-to-title {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
.date-time-custom-option-from-value,
.date-time-custom-option-to-value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
@@ -270,7 +282,7 @@
cursor: default;
font-size: 12px;
gap: 8px;
- background-color: rgba(255, 219, 218, 0.1);
+ background-color: color-mix(in srgb, var(--bg-cherry-100) 10%, transparent);
border-radius: 3px;
.input-error-message-title {
@@ -303,14 +315,14 @@
gap: 8px;
padding: 6px 24px;
width: 100%;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-style: normal;
font-weight: 500;
line-height: normal;
letter-spacing: 0.14px;
line-height: 19px;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
}
.calendar-container-body {
@@ -332,8 +344,8 @@
.periscope-calendar-day {
button {
&:hover {
- background-color: var(--bg-robin-500) !important;
- color: var(--bg-vanilla-100) !important;
+ background-color: var(--primary-background) !important;
+ color: var(--l1-foreground) !important;
}
}
}
@@ -366,8 +378,8 @@
gap: 8px;
.recently-used-range-item {
- color: var(--bg-vanilla-400);
- background-color: var(--bg-ink-200);
+ color: var(--l2-foreground);
+ background-color: var(--l3-background);
font-size: 12px;
line-height: 16px;
letter-spacing: 0.04em;
@@ -377,8 +389,8 @@
cursor: pointer;
&:hover {
- background-color: var(--bg-ink-100);
- color: var(--bg-vanilla-100);
+ background-color: var(--l3-background);
+ color: var(--l1-foreground);
}
}
}
@@ -386,7 +398,7 @@
.time-heading {
text-align: left;
- color: var(--bg-vanilla-300);
+ color: var(--l2-foreground);
font-size: 11px;
font-style: normal;
font-weight: 500;
@@ -396,8 +408,8 @@
}
.time-btns {
- color: var(--bg-vanilla-400);
- background-color: #23262e;
+ color: var(--l2-foreground);
+ background-color: var(--l3-background);
font-size: 12px;
line-height: 16px;
letter-spacing: 0.04em;
@@ -408,156 +420,6 @@
}
}
-.lightMode {
- .date-time-input-element {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
-
- .refresh-actions {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
-
- .refresh-btn {
- border-right: 1px solid var(--bg-vanilla-300);
- }
- }
-
- .date-time-root,
- .header-section-popover-root {
- .ant-popover-inner {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-100) !important;
- }
- }
-
- .date-time-popover {
- .date-time-options {
- border-right: 1px solid var(--bg-vanilla-400);
-
- .data-time-live {
- border-bottom: 1px solid var(--bg-vanilla-400);
- color: var(--bg-slate-400);
- border-bottom: 1px solid var(--bg-vanilla-400);
- }
-
- .date-time-options-btn {
- color: var(--bg-slate-400);
-
- .time-value {
- background-color: var(--bg-vanilla-300);
- color: var(--bg-slate-400);
- }
- }
-
- .active {
- background-color: var(--bg-vanilla-300) !important;
- }
-
- .data-time-live:hover {
- &.ant-btn-text {
- background-color: var(--bg-vanilla-300) !important;
- }
- }
-
- .date-time-options-btn:hover {
- &.ant-btn-text {
- background-color: var(--bg-vanilla-300) !important;
- }
- }
- }
-
- .date-time-custom-options-container {
- display: flex;
- width: 224px;
- flex-direction: column;
- border-right: 1px solid var(--bg-vanilla-400);
-
- .back-btn {
- display: flex;
- align-items: center;
- gap: 16px;
- padding: 8px;
- cursor: pointer;
-
- &:hover {
- background-color: var(--bg-vanilla-300);
- }
- }
-
- .date-time-custom-options {
- .date-time-custom-option-from,
- .date-time-custom-option-to {
- .date-time-custom-option-from-title,
- .date-time-custom-option-to-title {
- color: var(--bg-slate-50);
- }
-
- .date-time-custom-option-from-value,
- .date-time-custom-option-to-value {
- color: var(--bg-slate-400);
- }
-
- &.active {
- background: var(--bg-vanilla-300);
-
- .date-time-custom-option-from-title,
- .date-time-custom-option-to-title {
- color: var(--bg-slate-400);
- }
-
- .date-time-custom-option-from-value,
- .date-time-custom-option-to-value {
- color: var(--bg-slate-400);
- }
- }
- }
- }
- }
-
- .relative-date-time {
- .time-heading {
- color: var(--bg-vanilla-400);
- }
-
- .time-btns {
- background-color: var(--bg-vanilla-300);
- color: var(--bg-slate-400);
- }
-
- .recently-used-container {
- .recently-used-range {
- .recently-used-range-item {
- color: var(--bg-slate-400);
- background-color: var(--bg-vanilla-300);
-
- &:hover {
- background-color: var(--bg-vanilla-300);
- color: var(--bg-slate-400);
- }
- }
- }
- }
- }
- }
-
- .reset-button {
- background: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-300);
- }
-
- .calendar-container {
- .periscope-calendar-day {
- button {
- &:hover {
- background-color: var(--bg-robin-500) !important;
- color: var(--bg-ink-500) !important;
- }
- }
- }
- }
-}
-
@media (min-width: 1400px) {
.date-time-selector {
.refresh-text-container {
diff --git a/frontend/src/container/TopNav/TopNav.styles.scss b/frontend/src/container/TopNav/TopNav.styles.scss
index 125d900048..98ab63c447 100644
--- a/frontend/src/container/TopNav/TopNav.styles.scss
+++ b/frontend/src/container/TopNav/TopNav.styles.scss
@@ -1,6 +1,6 @@
.top-nav-container {
padding: 8px;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
display: flex;
align-items: center;
@@ -9,9 +9,3 @@
margin-bottom: 8px;
}
-
-.lightMode {
- .top-nav-container {
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
-}
diff --git a/frontend/src/container/Trace/Search/AllTags/index.tsx b/frontend/src/container/Trace/Search/AllTags/index.tsx
index bde875384d..1af05c4972 100644
--- a/frontend/src/container/Trace/Search/AllTags/index.tsx
+++ b/frontend/src/container/Trace/Search/AllTags/index.tsx
@@ -77,12 +77,12 @@ function AllTags({
if (traces.isTagModalError) {
return (
<ErrorContainer>
- <Paragraph style={{ color: '#E89A3C' }}>
+ <Paragraph style={{ color: 'var(--warning-background)' }}>
Unrecognized query format. Please reset your query by clicking `X` in the
search bar above.
</Paragraph>
- <Paragraph style={{ color: '#E89A3C' }}>
+ <Paragraph style={{ color: 'var(--warning-background)' }}>
Please click on the search bar to get a drop down to select relevant tags
</Paragraph>
</ErrorContainer>
diff --git a/frontend/src/container/TraceDetail/SelectedSpanDetails/Tags/Tags.styles.scss b/frontend/src/container/TraceDetail/SelectedSpanDetails/Tags/Tags.styles.scss
index 255bcfca12..d8264e6777 100644
--- a/frontend/src/container/TraceDetail/SelectedSpanDetails/Tags/Tags.styles.scss
+++ b/frontend/src/container/TraceDetail/SelectedSpanDetails/Tags/Tags.styles.scss
@@ -5,7 +5,7 @@
overflow-y: auto;
padding: 8px;
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
margin-bottom: 8px;
}
@@ -13,25 +13,3 @@
box-shadow: none;
}
}
-
-.lightMode {
- .tagTooltip {
- .ant-tooltip-content {
- background-color: var(--bg-vanilla-300);
- }
-
- .ant-tooltip-inner {
- box-shadow: none;
- background-color: var(--bg-vanilla-300);
- color: var(--bg-ink-200);
- }
-
- .ant-tooltip-arrow {
- border-top-color: var(--bg-vanilla-300) !important;
- }
-
- &.ant-tooltip {
- --antd-arrow-background-color: var(--bg-vanilla-300) !important;
- }
- }
-}
diff --git a/frontend/src/container/TraceDetail/TraceDetails.styles.scss b/frontend/src/container/TraceDetail/TraceDetails.styles.scss
index c4c63392dd..b6db0c496f 100644
--- a/frontend/src/container/TraceDetail/TraceDetails.styles.scss
+++ b/frontend/src/container/TraceDetail/TraceDetails.styles.scss
@@ -6,12 +6,13 @@
}
::-webkit-scrollbar-track {
- box-shadow: inset 0 0 6px rgba(18, 18, 18, 0.3);
+ box-shadow: inset 0 0 6px
+ color-mix(in srgb, var(--background) 30%, transparent);
}
&.dark {
.ant-layout-sider-trigger {
- background-color: #0b0c0e !important;
+ background-color: var(--background) !important;
}
}
diff --git a/frontend/src/container/TraceMetadata/TraceMetadata.styles.scss b/frontend/src/container/TraceMetadata/TraceMetadata.styles.scss
index 58ce8240f5..507c61c5ab 100644
--- a/frontend/src/container/TraceMetadata/TraceMetadata.styles.scss
+++ b/frontend/src/container/TraceMetadata/TraceMetadata.styles.scss
@@ -19,8 +19,8 @@
padding: 6px 8px;
align-items: center;
gap: 4px;
- border: 1px solid var(--bg-slate-300);
- background: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
border-radius: 4px;
box-shadow: none;
}
@@ -31,16 +31,16 @@
margin-left: 6px;
align-items: center;
gap: 4px;
- border: 1px solid var(--bg-slate-300);
+ border: 1px solid var(--l1-border);
border-radius: 4px 0px 0px 4px;
- background: var(--bg-slate-500);
+ background: var(--l2-background);
.drafting {
- color: white;
+ color: var(--l1-foreground);
}
.trace-id {
- color: #fff;
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -56,15 +56,15 @@
justify-content: center;
align-items: center;
gap: 10px;
- background: var(--bg-slate-400);
- color: var(--Vanilla-400, #c0c1c3);
+ background: var(--l3-background);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 18px; /* 128.571% */
letter-spacing: -0.07px;
- border: 1px solid var(--bg-slate-300);
+ border: 1px solid var(--l1-border);
border-left: unset;
border-radius: 0px 4px 4px 0px;
}
@@ -77,11 +77,11 @@
.service-entry-info {
display: flex;
gap: 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
align-items: center;
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -96,19 +96,19 @@
align-items: center;
gap: 8px;
border-radius: 50px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
}
}
.trace-duration {
display: flex;
gap: 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
align-items: center;
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -121,11 +121,11 @@
.start-time-info {
display: flex;
gap: 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
align-items: center;
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -143,7 +143,7 @@
.separator {
width: 1px;
- background: #1d212d;
+ background: var(--l3-background);
}
.data-point {
@@ -153,7 +153,7 @@
gap: 4px;
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
text-align: center;
font-family: Inter;
font-size: 13px;
@@ -164,7 +164,7 @@
}
.value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-variant-numeric: lining-nums tabular-nums stacked-fractions
slashed-zero;
font-feature-settings: 'case' on, 'cpsp' on, 'dlig' on, 'salt' on;
@@ -180,83 +180,3 @@
}
}
}
-
-.lightMode {
- .trace-metadata {
- .metadata-info {
- .first-row {
- .previous-btn {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-200);
- }
-
- .trace-name {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-200);
- border-right: none;
-
- .drafting {
- color: var(--bg-ink-100);
- }
-
- .trace-id {
- color: var(--bg-ink-100);
- }
- }
-
- .trace-id-value {
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- border: 1px solid var(--bg-vanilla-300);
- }
- }
-
- .second-row {
- .service-entry-info {
- color: var(--bg-ink-400);
-
- .text {
- color: var(--bg-ink-400);
- }
-
- .root-span-name {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- }
- }
-
- .trace-duration {
- color: var(--bg-ink-400);
-
- .text {
- color: var(--bg-ink-400);
- }
- }
-
- .start-time-info {
- color: var(--bg-ink-400);
-
- .text {
- color: var(--bg-ink-400);
- }
- }
- }
- }
-
- .datapoints-info {
- .separator {
- background: var(--bg-vanilla-300);
- }
-
- .data-point {
- .text {
- color: var(--bg-ink-400);
- }
-
- .value {
- color: var(--bg-ink-100);
- }
- }
- }
- }
-}
diff --git a/frontend/src/container/TraceWaterfall/AddSpanToFunnelModal/AddSpanToFunnelModal.styles.scss b/frontend/src/container/TraceWaterfall/AddSpanToFunnelModal/AddSpanToFunnelModal.styles.scss
index 3a78cc40e5..b0a29df470 100644
--- a/frontend/src/container/TraceWaterfall/AddSpanToFunnelModal/AddSpanToFunnelModal.styles.scss
+++ b/frontend/src/container/TraceWaterfall/AddSpanToFunnelModal/AddSpanToFunnelModal.styles.scss
@@ -10,14 +10,14 @@
.ant-modal {
&-content,
&-header {
- background: var(--bg-ink-500);
+ background: var(--l1-background);
}
&-header {
border-bottom: none;
.ant-modal-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
@@ -30,8 +30,8 @@
&-footer {
margin-top: 0;
- background: var(--bg-ink-400);
- border-top: 1px solid var(--bg-slate-500);
+ background: var(--l2-background);
+ border-top: 1px solid var(--l1-border);
padding: 16px !important;
.add-span-to-funnel-modal {
&__save-button {
@@ -39,7 +39,7 @@
align-items: center;
justify-content: center;
gap: 4px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 12px;
font-weight: 500;
line-height: 24px;
@@ -49,16 +49,16 @@
display: flex;
}
&:disabled {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
.ant-btn-icon {
svg {
- stroke: var(--bg-vanilla-400);
+ stroke: var(--l2-foreground);
}
}
}
}
&__discard-button {
- background: var(--bg-slate-500);
+ background: var(--l1-border);
}
}
.ant-btn {
@@ -112,7 +112,7 @@
&-input {
flex: 1;
padding: 6px 8px;
- background: var(--bg-ink-300);
+ background: var(--l3-background);
.ant-input-prefix {
height: 18px;
@@ -129,11 +129,11 @@
line-height: 18px;
letter-spacing: -0.07px;
font-weight: 400;
- background: var(--bg-ink-300);
+ background: var(--l3-background);
}
input::placeholder {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
opacity: 0.4;
}
}
@@ -148,10 +148,10 @@
gap: 4px;
flex-shrink: 0;
border-radius: 2px;
- background: var(--bg-slate-500);
+ background: var(--l1-border);
border: none;
box-shadow: none;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-weight: 500;
line-height: 24px;
@@ -202,7 +202,7 @@
&__back-button {
@extend %button-base;
gap: 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
line-height: 20px;
margin-bottom: 14px;
@@ -243,19 +243,19 @@
.ant-modal {
&-content,
&-header {
- background: var(--bg-vanilla-100);
+ background: var(--l1-foreground);
}
&-title {
- color: var(--bg-ink-500);
+ color: var(--l1-background);
}
&-footer {
- border-top-color: var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border-top-color: var(--l1-border);
+ background: var(--l1-foreground);
.add-span-to-funnel-modal__discard-button {
- background: var(--bg-vanilla-200);
- color: var(--bg-ink-500);
+ background: var(--l2-background);
+ color: var(--l1-background);
}
}
}
@@ -263,35 +263,35 @@
.add-span-to-funnel-modal {
&__search-input {
- background: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-500);
+ background: var(--l1-foreground);
+ border: 1px solid var(--l1-border);
+ color: var(--l1-background);
input {
- color: var(--bg-ink-500);
- background: var(--bg-vanilla-100);
+ color: var(--l1-background);
+ background: var(--l1-foreground);
&::placeholder {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
&__create-button {
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ background: var(--l3-background);
+ color: var(--l2-background);
}
&__back-button {
- color: var(--bg-ink-500);
+ color: var(--l1-background);
&:hover {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
&__details h3 {
- color: var(--bg-ink-500);
+ color: var(--l1-background);
}
}
}
diff --git a/frontend/src/container/TraceWaterfall/SpanLineActionButtons/SpanLineActionButtons.styles.scss b/frontend/src/container/TraceWaterfall/SpanLineActionButtons/SpanLineActionButtons.styles.scss
index c3893bbf13..13c1bbf236 100644
--- a/frontend/src/container/TraceWaterfall/SpanLineActionButtons/SpanLineActionButtons.styles.scss
+++ b/frontend/src/container/TraceWaterfall/SpanLineActionButtons/SpanLineActionButtons.styles.scss
@@ -6,8 +6,8 @@
right: 0;
cursor: pointer;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.ant-btn-default {
border: none;
@@ -18,22 +18,22 @@
display: flex;
&.active-tab {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
}
}
.copy-span-btn {
- border-color: var(--bg-slate-400) !important;
+ border-color: var(--l1-border) !important;
}
}
.lightMode {
.span-line-action-buttons {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-400);
+ border: 1px solid var(--l2-foreground);
+ background: var(--l2-foreground);
.copy-span-btn {
- border-color: var(--bg-vanilla-400) !important;
+ border-color: var(--l2-foreground) !important;
}
}
}
diff --git a/frontend/src/container/TraceWaterfall/TraceWaterfallStates/Error/Error.styles.scss b/frontend/src/container/TraceWaterfall/TraceWaterfallStates/Error/Error.styles.scss
index 6382b0157a..6f7968e8bb 100644
--- a/frontend/src/container/TraceWaterfall/TraceWaterfallStates/Error/Error.styles.scss
+++ b/frontend/src/container/TraceWaterfall/TraceWaterfallStates/Error/Error.styles.scss
@@ -8,7 +8,7 @@
background: var(--bg-cherry-500);
.text {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -19,7 +19,7 @@
}
.value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
diff --git a/frontend/src/container/TraceWaterfall/TraceWaterfallStates/Success/Filters/Filters.styles.scss b/frontend/src/container/TraceWaterfall/TraceWaterfallStates/Success/Filters/Filters.styles.scss
index 421a0e6db6..58a1070349 100644
--- a/frontend/src/container/TraceWaterfall/TraceWaterfallStates/Success/Filters/Filters.styles.scss
+++ b/frontend/src/container/TraceWaterfall/TraceWaterfallStates/Success/Filters/Filters.styles.scss
@@ -16,7 +16,7 @@
.ant-typography {
display: flex;
align-items: center;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Geist Mono';
font-size: 12px;
font-style: normal;
@@ -36,7 +36,7 @@
display: flex;
align-items: center;
flex-shrink: 0;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Geist Mono';
font-size: 12px;
font-style: normal;
@@ -49,12 +49,12 @@
.filter-row {
.pre-next-toggle {
.ant-typography {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
.no-results {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
diff --git a/frontend/src/container/TraceWaterfall/TraceWaterfallStates/Success/Success.styles.scss b/frontend/src/container/TraceWaterfall/TraceWaterfallStates/Success/Success.styles.scss
index ee68acb231..7296ac4230 100644
--- a/frontend/src/container/TraceWaterfall/TraceWaterfallStates/Success/Success.styles.scss
+++ b/frontend/src/container/TraceWaterfall/TraceWaterfallStates/Success/Success.styles.scss
@@ -11,7 +11,7 @@
margin: 16px;
padding: 12px;
border-radius: 4px;
- background: rgba(69, 104, 220, 0.1);
+ background: color-mix(in srgb, var(--bg-robin-600) 10%, transparent);
.left-info {
display: flex;
@@ -77,7 +77,7 @@
position: sticky;
top: 0;
z-index: 2;
- background-color: var(--bg-ink-500) !important;
+ background-color: var(--l1-background) !important;
.div-tr {
height: 16px;
@@ -93,7 +93,11 @@
.div-tr:hover {
border-radius: 4px;
- background: rgba(171, 189, 255, 0.06) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-robin-200) 6%,
+ transparent
+ ) !important;
.div-td .span-overview .second-row .add-funnel-button {
opacity: 1;
@@ -146,7 +150,7 @@
align-items: flex-start;
gap: 5px;
width: 100%;
- background-color: #0b0c0e;
+ background-color: var(--background);
height: 100%;
justify-content: center;
&:not(:first-child) {
@@ -175,13 +179,13 @@
padding: 4px 4px;
gap: 4px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
box-shadow: none;
height: 20px;
.children-count {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono';
font-size: 14px;
font-style: normal;
@@ -192,7 +196,7 @@
}
.span-name {
- color: #fff;
+ color: var(--l1-foreground);
font-family: 'Inter';
font-size: 14px;
font-style: normal;
@@ -215,12 +219,12 @@
}
.success {
- border: 1px solid var(--bg-robin-500);
- background: var(--bg-robin-500);
+ border: 1px solid var(--primary-background);
+ background: var(--primary-background);
}
.error {
- border: 1px solid var(--bg-cherry-500);
+ border: 1px solid var(--danger-background);
background: var(--bg-cherry-500);
}
}
@@ -233,7 +237,7 @@
height: 18px;
width: 100%;
.service-name {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -251,7 +255,7 @@
transition: opacity 0.1s ease-in-out;
&__separator {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
&__button {
display: flex;
@@ -285,7 +289,7 @@
transform: translate(-50%, -50%) rotate(45deg);
width: 6px;
height: 6px;
- background-color: var(--bg-robin-500);
+ background-color: var(--primary-background);
border: 1px solid var(--bg-robin-600);
cursor: pointer;
z-index: 1;
@@ -318,7 +322,11 @@
.interested-span,
.selected-non-matching-span {
border-radius: 4px;
- background: rgba(171, 189, 255, 0.06) !important;
+ background: color-mix(
+ in srgb,
+ var(--bg-robin-200) 6%,
+ transparent
+ ) !important;
.span-overview-content {
background: unset;
@@ -341,11 +349,11 @@
}
.div-td + .div-td {
- border-left: 1px solid var(--bg-slate-400);
+ border-left: 1px solid var(--l1-border);
}
.div-th + .div-th {
- border-left: 1px solid var(--bg-slate-400);
+ border-left: 1px solid var(--l1-border);
}
.div-tr .div-th:nth-child(2) {
@@ -361,14 +369,14 @@
height: calc(70vh - 236px);
right: 0;
width: 2px;
- background: rgba(35, 196, 248, 0.2);
+ background: color-mix(in srgb, var(--bg-aqua-500) 20%, transparent);
cursor: col-resize;
user-select: none;
touch-action: none;
}
.resizer.isResizing {
- background: rgba(35, 196, 248, 0.2);
+ background: color-mix(in srgb, var(--bg-aqua-500) 20%, transparent);
opacity: 1;
}
@@ -397,8 +405,8 @@
align-items: center;
gap: 8px;
border-radius: 2px;
- border: 1px solid var(--Slate-400, #1d212d);
- background: var(--Slate-500, #161922);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
box-shadow: none;
}
}
@@ -409,25 +417,26 @@
.div-td {
.span-overview {
.span-overview-content {
- background-color: var(--bg-vanilla-200);
+ background-color: var(--l2-background);
+
.first-row {
.collapse-uncollapse-button {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-400);
+ border: 1px solid var(--l3-background);
+ background: var(--l3-background);
.children-count {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
}
.span-name {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
}
.second-row {
.service-name {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
}
}
@@ -435,27 +444,27 @@
.interested-span {
border-radius: 4px;
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
}
.div-td + .div-td {
- border-left: 1px solid var(--bg-vanilla-300);
+ border-left: 1px solid var(--l1-border);
}
.div-th + .div-th {
- border-left: 1px solid var(--bg-vanilla-300);
+ border-left: 1px solid var(--l1-border);
}
.div-thead {
- background-color: var(--bg-vanilla-200) !important;
+ background-color: var(--l2-background) !important;
}
}
}
.span-dets {
.related-logs {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
}
diff --git a/frontend/src/container/TraceWaterfall/TraceWaterfallStates/Success/__tests__/SpanDuration.test.tsx b/frontend/src/container/TraceWaterfall/TraceWaterfallStates/Success/__tests__/SpanDuration.test.tsx
index b582bc7619..97982170dc 100644
--- a/frontend/src/container/TraceWaterfall/TraceWaterfallStates/Success/__tests__/SpanDuration.test.tsx
+++ b/frontend/src/container/TraceWaterfall/TraceWaterfallStates/Success/__tests__/SpanDuration.test.tsx
@@ -14,7 +14,8 @@ const SELECTED_NON_MATCHING_SPAN_CLASS = 'selected-non-matching-span';
// Mock the hooks
jest.mock('hooks/useUrlQuery');
-jest.mock('@signozhq/badge', () => ({
+jest.mock('@signozhq/ui', () => ({
+ ...jest.requireActual('@signozhq/ui'),
Badge: jest.fn(),
}));
diff --git a/frontend/src/container/TracesExplorer/ListView/ListView.styles.scss b/frontend/src/container/TracesExplorer/ListView/ListView.styles.scss
index 3f46699604..484b8f02e7 100644
--- a/frontend/src/container/TracesExplorer/ListView/ListView.styles.scss
+++ b/frontend/src/container/TracesExplorer/ListView/ListView.styles.scss
@@ -10,7 +10,7 @@
gap: 8px;
.order-by-label {
- color: var(--text-vanilla-400);
+ color: var(--muted-foreground);
font-size: 12px;
font-style: normal;
font-weight: 400;
diff --git a/frontend/src/container/TracesTableComponent/TracesTableComponent.styles.scss b/frontend/src/container/TracesTableComponent/TracesTableComponent.styles.scss
index 30f90d4a09..6776c1ee6f 100644
--- a/frontend/src/container/TracesTableComponent/TracesTableComponent.styles.scss
+++ b/frontend/src/container/TracesTableComponent/TracesTableComponent.styles.scss
@@ -17,7 +17,7 @@
.ant-table-wrapper .ant-table-tbody > tr > td {
border: none;
background-color: transparent;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
font-style: normal;
font-weight: 400;
@@ -29,10 +29,10 @@
.ant-table-wrapper .ant-table-thead > tr > th {
font-family: Inter;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
background-color: transparent;
border: none;
- border-bottom: 0.5px solid var(--bg-slate-400);
+ border-bottom: 0.5px solid var(--l1-border);
font-size: 14px;
font-style: normal;
font-weight: 600;
@@ -55,20 +55,3 @@
margin: 12px 0 2px;
}
}
-
-.lightMode {
- .traces-table {
- .resize-table {
- .ant-table-wrapper .ant-table-tbody > tr > td {
- background-color: var(--bg-vanilla-100);
- color: var(--bg-ink-500);
- border-color: rgba(0, 0, 0, 0.06);
- }
- .ant-table-wrapper .ant-table-thead > tr > th {
- background-color: var(--bg-vanilla-300);
- color: var(--bg-ink-500);
- border-color: rgba(0, 0, 0, 0.06);
- }
- }
- }
-}
diff --git a/frontend/src/container/Version/Version.styles.scss b/frontend/src/container/Version/Version.styles.scss
index 4b65aa03b7..23f5d3ee81 100644
--- a/frontend/src/container/Version/Version.styles.scss
+++ b/frontend/src/container/Version/Version.styles.scss
@@ -3,12 +3,12 @@
overflow: hidden;
.version-page-header {
- border-bottom: 1px solid var(--Slate-500, #161922);
- background: rgba(11, 12, 14, 0.7);
+ border-bottom: 1px solid var(--l1-border);
+ background: color-mix(in srgb, var(--background) 70%, transparent);
backdrop-filter: blur(20px);
.version-page-header-title {
- color: var(--Vanilla-100, #fff);
+ color: var(--l1-foreground);
text-align: center;
font-family: Inter;
font-size: 13px;
@@ -36,8 +36,8 @@
padding: 16px;
border-radius: 4px 4px 0px 0px;
- border: 1px solid var(--Slate-500, #161922);
- background: var(--Ink-400, #121317);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
border-radius: 3px;
}
@@ -47,7 +47,11 @@
.version-page-stale-version-container {
padding: 16px;
- background-color: rgba(78, 116, 248, 0.1);
+ background-color: color-mix(
+ in srgb,
+ var(--primary-background) 10%,
+ transparent
+ );
border-radius: 4px;
.version-page-stale-version-container-title {
@@ -55,7 +59,7 @@
align-items: center;
gap: 8px;
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -71,7 +75,7 @@
align-items: center;
gap: 8px;
- color: var(--Vanilla-100, #fff);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -88,35 +92,3 @@
}
}
}
-
-.lightMode {
- .version-container {
- .version-page-header {
- border-bottom: 1px solid var(--bg-vanilla-300);
- background: #fff;
-
- .version-page-header-title {
- color: var(--bg-ink-400);
- }
- }
-
- .version-page-container {
- .version-card {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
-
- .version-page-stale-version-container {
- .version-page-stale-version-container-title {
- color: var(--text-ink-400);
- }
- }
-
- .version-page-latest-version-container {
- .version-page-latest-version-container-title {
- color: var(--text-ink-400);
- }
- }
- }
- }
-}
diff --git a/frontend/src/hooks/logs/useCopyLogLink.ts b/frontend/src/hooks/logs/useCopyLogLink.ts
index 012d624bc2..e7147a79c3 100644
--- a/frontend/src/hooks/logs/useCopyLogLink.ts
+++ b/frontend/src/hooks/logs/useCopyLogLink.ts
@@ -9,7 +9,7 @@ import {
import { useSelector } from 'react-redux';
import { useLocation } from 'react-router-dom';
import { useCopyToClipboard } from 'react-use';
-import { toast } from '@signozhq/sonner';
+import { toast } from '@signozhq/ui';
import { QueryParams } from 'constants/query';
import ROUTES from 'constants/routes';
import { useSafeNavigate } from 'hooks/useSafeNavigate';
diff --git a/frontend/src/lib/uPlotV2/components/Legend/Legend.styles.scss b/frontend/src/lib/uPlotV2/components/Legend/Legend.styles.scss
index 041da62b7b..b4c77f580f 100644
--- a/frontend/src/lib/uPlotV2/components/Legend/Legend.styles.scss
+++ b/frontend/src/lib/uPlotV2/components/Legend/Legend.styles.scss
@@ -26,7 +26,7 @@
.legend-empty-state {
font-size: 12px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
text-align: center;
padding: 12px;
padding: 2rem 0;
@@ -77,7 +77,7 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-100);
+ background: var(--l3-background);
border-radius: 0.5rem;
}
}
@@ -177,19 +177,19 @@
padding: 2px;
margin: 0;
border: none;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
cursor: pointer;
border-radius: 4px;
opacity: 1;
transition: opacity 0.15s ease, color 0.15s ease;
&:hover {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
&:hover {
- background: rgba(255, 255, 255, 0.05);
+ background: color-mix(in srgb, var(--l1-foreground) 5%, transparent);
.legend-copy-button {
display: flex;
opacity: 1;
@@ -201,7 +201,7 @@
.legend-container {
.legend-virtuoso-container {
&::-webkit-scrollbar-thumb {
- background: var(--bg-vanilla-400);
+ background: var(--l2-foreground);
}
}
}
@@ -211,10 +211,10 @@
background: rgba(0, 0, 0, 0.05);
}
.legend-copy-button {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
&:hover {
- color: var(--bg-ink-500);
+ color: var(--l1-background);
}
}
}
diff --git a/frontend/src/pages/AlertDetails/AlertDetails.styles.scss b/frontend/src/pages/AlertDetails/AlertDetails.styles.scss
index 8a49413fff..d420771b12 100644
--- a/frontend/src/pages/AlertDetails/AlertDetails.styles.scss
+++ b/frontend/src/pages/AlertDetails/AlertDetails.styles.scss
@@ -13,7 +13,7 @@
&-nav {
margin-bottom: 0 !important;
&::before {
- border-bottom: 1px solid var(--bg-slate-500) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
}
&-tab {
@@ -26,7 +26,7 @@
[aria-selected='false'] {
.periscope-tab {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
}
}
}
@@ -36,22 +36,14 @@
.alert-empty-card {
margin-top: 50px;
.ant-empty-description {
- color: var(--text-vanilla-400);
- }
-}
-
-.lightMode {
- .alert-empty-card {
- .ant-empty-description {
- color: var(--text-ink-400);
- }
+ color: var(--l2-foreground);
}
}
.alert-details {
margin-top: 10px;
.divider {
- border-color: var(--bg-slate-500);
+ border-color: var(--l1-border);
margin: 16px 0;
}
.breadcrumb-divider {
@@ -63,7 +55,7 @@
}
padding-left: 16px;
.breadcrumb-item {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
line-height: 20px;
letter-spacing: 0.25px;
@@ -72,7 +64,7 @@
.ant-breadcrumb-separator,
.breadcrumb-item--last {
- color: var(--text-vanilla-500);
+ color: var(--muted-foreground);
font-family: 'Geist Mono';
}
}
@@ -97,24 +89,24 @@
&-btn {
padding: 6px 17px;
- color: var(--text-vanilla-400) !important;
+ color: var(--l2-foreground) !important;
letter-spacing: -0.07px;
font-size: 14px;
&[aria-selected='true'] {
- color: var(--text-vanilla-100) !important;
+ color: var(--l1-foreground) !important;
}
}
&-active {
- background: var(--bg-slate-400, #1d212d);
+ background: var(--l2-background);
}
}
&-extra-content {
padding: 0 16px 16px;
}
&-nav-list {
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
border-radius: 2px;
}
}
@@ -168,12 +160,12 @@
.ant-tabs-tab {
.ant-tabs-tab-btn {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
font-size: 13px;
&[aria-selected='true'] {
- background: var(--bg-ink-500);
+ background: var(--l1-background);
}
}
}
@@ -190,66 +182,3 @@
}
}
}
-
-.lightMode {
- .alert-details {
- &-tabs {
- .ant-tabs-nav {
- &::before {
- border-bottom: 1px solid var(--bg-vanilla-300) !important;
- }
- }
- }
- &__breadcrumb {
- .ant-breadcrumb-link {
- color: var(--text-ink-400);
- }
- .ant-breadcrumb-separator,
- span.ant-breadcrumb-link {
- color: var(--text-ink-500);
- }
- }
- .tabs-and-filters {
- .ant-tabs {
- &-nav-list {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- }
- &-tab {
- &-btn {
- &[aria-selected='true'] {
- color: var(--text-robin-500) !important;
- }
- color: var(--text-ink-400) !important;
- }
- &-active {
- background: var(--bg-vanilla-100);
- }
- }
- }
- }
- .divider {
- border-color: var(--bg-vanilla-300);
- }
- }
-
- .alert-details-tabs {
- .ant-tabs {
- &-nav {
- &::before {
- border: none !important;
- }
- }
- &-tab {
- .periscope-tab {
- color: var(--text-ink-300);
- }
- [aria-selected='true'] {
- .periscope-tab {
- color: var(--text-ink-400);
- }
- }
- }
- }
- }
-}
diff --git a/frontend/src/pages/AlertDetails/AlertHeader/ActionButtons/ActionButtons.styles.scss b/frontend/src/pages/AlertDetails/AlertHeader/ActionButtons/ActionButtons.styles.scss
index edd94a5bcd..8f75d03387 100644
--- a/frontend/src/pages/AlertDetails/AlertHeader/ActionButtons/ActionButtons.styles.scss
+++ b/frontend/src/pages/AlertDetails/AlertHeader/ActionButtons/ActionButtons.styles.scss
@@ -2,10 +2,10 @@
display: flex;
align-items: center;
gap: 12px;
- color: var(--bg-slate-400);
+ color: var(--l1-border);
.ant-divider-vertical {
height: 16px;
- border-color: var(--bg-slate-400);
+ border-color: var(--l1-border);
margin: 0;
}
.dropdown-icon {
@@ -17,8 +17,8 @@
box-shadow: none;
background: linear-gradient(
138.7deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
.dropdown-divider {
@@ -34,7 +34,7 @@
&,
& span {
&:hover {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
color: var(--bg-cherry-400);
}
color: var(--bg-cherry-400);
@@ -42,22 +42,3 @@
}
}
}
-
-.lightMode {
- .alert-action-buttons {
- .ant-divider-vertical {
- border-color: var(--bg-vanilla-300);
- }
- }
- .dropdown-menu {
- background: inherit;
- .delete-button {
- &,
- &span {
- &:hover {
- background: var(--bg-vanilla-300);
- }
- }
- }
- }
-}
diff --git a/frontend/src/pages/AlertDetails/AlertHeader/ActionButtons/RenameModal.styles.scss b/frontend/src/pages/AlertDetails/AlertHeader/ActionButtons/RenameModal.styles.scss
index d3552d8143..8a4f1ce7a0 100644
--- a/frontend/src/pages/AlertDetails/AlertHeader/ActionButtons/RenameModal.styles.scss
+++ b/frontend/src/pages/AlertDetails/AlertHeader/ActionButtons/RenameModal.styles.scss
@@ -3,19 +3,19 @@
width: 384px;
flex-shrink: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
padding: 0px;
.ant-modal-header {
height: 52px;
padding: 16px;
- background: var(--bg-ink-400);
- border-bottom: 1px solid var(--bg-slate-500);
+ background: var(--l2-background);
+ border-bottom: 1px solid var(--l1-border);
margin-bottom: 0px;
.ant-modal-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -35,7 +35,7 @@
gap: 8px;
.name-text {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -50,8 +50,8 @@
gap: 4px;
align-self: stretch;
border-radius: 0px 2px 2px 0px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
}
}
}
@@ -71,7 +71,7 @@
align-items: center;
gap: 4px;
border-radius: 2px;
- background: var(--bg-slate-500);
+ background: var(--l1-background);
.ant-btn-icon {
margin-inline-end: 0px;
@@ -87,7 +87,7 @@
align-items: center;
gap: 4px;
border-radius: 2px;
- background: var(--bg-robin-500);
+ background: var(--primary-background);
.ant-btn-icon {
margin-inline-end: 0px;
@@ -97,42 +97,3 @@
}
}
}
-
-.lightMode {
- .rename-alert {
- .ant-modal-content {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
-
- .ant-modal-header {
- background: var(--bg-vanilla-100);
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .ant-modal-title {
- color: var(--bg-ink-300);
- }
- }
-
- .ant-modal-body {
- .alert-content {
- .name-text {
- color: var(--bg-ink-300);
- }
-
- .alert-name-input {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
- }
- }
-
- .ant-modal-footer {
- .alert-rename {
- .cancel-btn {
- background: var(--bg-vanilla-300);
- }
- }
- }
- }
- }
-}
diff --git a/frontend/src/pages/AlertDetails/AlertHeader/AlertHeader.styles.scss b/frontend/src/pages/AlertDetails/AlertHeader/AlertHeader.styles.scss
index e026ff5da1..b21edd97ec 100644
--- a/frontend/src/pages/AlertDetails/AlertHeader/AlertHeader.styles.scss
+++ b/frontend/src/pages/AlertDetails/AlertHeader/AlertHeader.styles.scss
@@ -26,7 +26,7 @@
.alert-title {
font-size: 16px;
font-weight: 500;
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
line-height: 24px;
letter-spacing: -0.08px;
}
@@ -39,17 +39,3 @@
}
}
}
-
-.lightMode {
- .alert-info {
- &__info-wrapper {
- .top-section {
- .alert-title-wrapper {
- .alert-title {
- color: var(--text-ink-100);
- }
- }
- }
- }
- }
-}
diff --git a/frontend/src/pages/AlertDetails/AlertHeader/AlertSeverity/AlertSeverity.styles.scss b/frontend/src/pages/AlertDetails/AlertHeader/AlertSeverity/AlertSeverity.styles.scss
index ba0226a11d..e7415af4a4 100644
--- a/frontend/src/pages/AlertDetails/AlertHeader/AlertSeverity/AlertSeverity.styles.scss
+++ b/frontend/src/pages/AlertDetails/AlertHeader/AlertSeverity/AlertSeverity.styles.scss
@@ -29,12 +29,21 @@
&--critical,
&--error {
- @include severity-styles(rgba(245, 108, 135, 0.2), var(--text-sakura-400));
+ @include severity-styles(
+ color-mix(in srgb, var(--bg-sakura-400) 20%, transparent),
+ var(--text-sakura-400)
+ );
}
&--warning {
- @include severity-styles(rgba(255, 215, 120, 0.2), var(--text-amber-400));
+ @include severity-styles(
+ color-mix(in srgb, var(--bg-amber-400) 20%, transparent),
+ var(--text-amber-400)
+ );
}
&--info {
- @include severity-styles(rgba(113, 144, 249, 0.2), var(--text-robin-400));
+ @include severity-styles(
+ color-mix(in srgb, var(--bg-robin-400) 20%, transparent),
+ var(--text-robin-400)
+ );
}
}
diff --git a/frontend/src/pages/AlertDetails/AlertHeader/AlertStatus/AlertStatus.styles.scss b/frontend/src/pages/AlertDetails/AlertHeader/AlertStatus/AlertStatus.styles.scss
index 97549bf21d..162749666c 100644
--- a/frontend/src/pages/AlertDetails/AlertHeader/AlertStatus/AlertStatus.styles.scss
+++ b/frontend/src/pages/AlertDetails/AlertHeader/AlertStatus/AlertStatus.styles.scss
@@ -1,6 +1,6 @@
.alert-status-info {
gap: 6px;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
&__icon {
display: flex;
align-items: baseline;
@@ -14,9 +14,3 @@
gap: 3px;
}
}
-
-.lightMode {
- .alert-status-info {
- color: var(--text-ink-400);
- }
-}
diff --git a/frontend/src/pages/AlertDetails/AlertNotFound/AlertNotFound.styles.scss b/frontend/src/pages/AlertDetails/AlertNotFound/AlertNotFound.styles.scss
index a8ecd2e7ae..a03b9e97a5 100644
--- a/frontend/src/pages/AlertDetails/AlertNotFound/AlertNotFound.styles.scss
+++ b/frontend/src/pages/AlertDetails/AlertNotFound/AlertNotFound.styles.scss
@@ -20,7 +20,7 @@
}
.not-found-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -42,7 +42,7 @@
align-items: flex-start;
gap: 12px;
border-radius: 4px;
- background: rgba(171, 189, 255, 0.04);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
.construction-img,
.broom-img {
@@ -51,7 +51,7 @@
}
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -69,7 +69,7 @@
gap: 12px;
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -91,8 +91,8 @@
align-items: center;
gap: 8px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
box-shadow: none;
.ant-btn-icon {
@@ -102,35 +102,3 @@
}
}
}
-
-.lightMode {
- .alert-not-found {
- .description {
- .not-found-text {
- color: var(--bg-ink-400);
- }
- }
-
- .reasons {
- .reason {
- background: var(--bg-vanilla-300);
- .text {
- color: var(--bg-ink-400);
- }
- }
- }
-
- .none-of-above {
- .text {
- color: var(--bg-ink-400);
- }
-
- .action-btns {
- .action-btn {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- }
- }
- }
- }
-}
diff --git a/frontend/src/pages/ApiMonitoring/ApiMonitoringPage.styles.scss b/frontend/src/pages/ApiMonitoring/ApiMonitoringPage.styles.scss
index d07e6e436b..63794caf15 100644
--- a/frontend/src/pages/ApiMonitoring/ApiMonitoringPage.styles.scss
+++ b/frontend/src/pages/ApiMonitoring/ApiMonitoringPage.styles.scss
@@ -11,7 +11,7 @@
margin-bottom: 0px;
&::before {
- border-bottom: 1px solid var(--bg-slate-400) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
}
@@ -38,13 +38,3 @@
gap: 8px;
}
}
-
-.lightMode {
- .api-monitoring-page {
- .ant-tabs-nav {
- &::before {
- border-bottom: 1px solid var(--bg-vanilla-300) !important;
- }
- }
- }
-}
diff --git a/frontend/src/pages/Celery/CeleryOverview/CeleryOverview.styles.scss b/frontend/src/pages/Celery/CeleryOverview/CeleryOverview.styles.scss
index a10524ea7f..35fb57262c 100644
--- a/frontend/src/pages/Celery/CeleryOverview/CeleryOverview.styles.scss
+++ b/frontend/src/pages/Celery/CeleryOverview/CeleryOverview.styles.scss
@@ -13,7 +13,7 @@
width: 100%;
.celery-overview-content-header-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 24px;
font-style: normal;
@@ -24,15 +24,3 @@
}
}
}
-
-.lightMode {
- .celery-overview-container {
- .celery-overview-content {
- .celery-overview-content-header {
- .celery-overview-content-header-title {
- color: var(--bg-slate-200);
- }
- }
- }
- }
-}
diff --git a/frontend/src/pages/Celery/CeleryOverview/CeleryOverviewDetail/CeleryOverviewDetails.styles.scss b/frontend/src/pages/Celery/CeleryOverview/CeleryOverviewDetail/CeleryOverviewDetails.styles.scss
index c2e0aac0b8..abbec8d0ee 100644
--- a/frontend/src/pages/Celery/CeleryOverview/CeleryOverviewDetail/CeleryOverviewDetails.styles.scss
+++ b/frontend/src/pages/Celery/CeleryOverview/CeleryOverviewDetail/CeleryOverviewDetails.styles.scss
@@ -7,8 +7,8 @@
.overview-right-panel-graph-card {
border-radius: 8px;
- border: 1px solid #262626 !important;
- background: #0a0a0a;
+ border: 1px solid var(--l1-border) !important;
+ background: var(--l1-background);
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1),
0px 1px 2px -1px rgba(0, 0, 0, 0.1);
@@ -19,7 +19,7 @@
padding: 10px;
width: 100%;
box-sizing: border-box;
- border-bottom: 0.75px solid #262626;
+ border-bottom: 0.75px solid var(--l1-border);
margin-bottom: 12px;
position: relative;
@@ -28,16 +28,3 @@
}
}
}
-
-.lightMode {
- .overview-right-panel-graph-card {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100);
-
- .request-rate-card,
- .error-rate-card,
- .avg-latency-card {
- border-bottom: 0.75px solid var(--bg-vanilla-300);
- }
- }
-}
diff --git a/frontend/src/pages/Celery/CeleryOverview/CeleryOverviewDetail/ValueInfo.styles.scss b/frontend/src/pages/Celery/CeleryOverview/CeleryOverviewDetail/ValueInfo.styles.scss
index ff67876460..2470a0e5da 100644
--- a/frontend/src/pages/Celery/CeleryOverview/CeleryOverviewDetail/ValueInfo.styles.scss
+++ b/frontend/src/pages/Celery/CeleryOverview/CeleryOverviewDetail/ValueInfo.styles.scss
@@ -1,13 +1,13 @@
.value-info-card {
border-radius: 8px;
- border: 1px solid #262626 !important;
- background: #0a0a0a;
+ border: 1px solid var(--border) !important;
+ background: var(--background);
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1),
0px 1px 2px -1px rgba(0, 0, 0, 0.1);
.metric-column {
.metric-title {
- color: #fafafa;
+ color: var(--l1-foreground);
font-size: 14px;
font-weight: 500;
}
@@ -23,11 +23,11 @@
font-weight: 400;
&.red {
- color: #f87171;
+ color: var(--bg-cherry-400);
}
&.green {
- color: #4ade80;
+ color: var(--bg-forest-400);
}
&.loading {
@@ -36,24 +36,24 @@
}
.metric-unit {
- color: #a3a3a3;
+ color: var(--muted-foreground);
font-size: 14px;
}
.metric-reference {
- color: #a3a3a3;
+ color: var(--muted-foreground);
font-size: 12px;
}
.trace-button {
margin-top: 8px;
- background: #262626;
+ background: var(--l3-background);
border: none;
box-shadow: none;
border-radius: 4px;
&:hover {
- background: #404040;
+ background: var(--l3-background);
}
&:disabled {
@@ -63,32 +63,3 @@
}
}
}
-
-.lightMode {
- .value-info-card {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100);
-
- .metric-column {
- .metric-title {
- color: var(--bg-slate-100);
- }
-
- .metric-unit {
- color: var(--bg-ink-500);
- }
-
- .metric-reference {
- color: var(--bg-ink-500);
- }
-
- .trace-button {
- background: var(--bg-slate-200);
-
- &:hover {
- background: var(--bg-slate-100);
- }
- }
- }
- }
-}
diff --git a/frontend/src/pages/Celery/CeleryTask/CeleryTask.styles.scss b/frontend/src/pages/Celery/CeleryTask/CeleryTask.styles.scss
index ddd16bd105..0b48913ed4 100644
--- a/frontend/src/pages/Celery/CeleryTask/CeleryTask.styles.scss
+++ b/frontend/src/pages/Celery/CeleryTask/CeleryTask.styles.scss
@@ -13,7 +13,7 @@
width: 100%;
.celery-content-header-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 24px;
font-style: normal;
@@ -30,15 +30,3 @@
}
}
}
-
-.lightMode {
- .celery-task-container {
- .celery-content {
- .celery-content-header {
- .celery-content-header-title {
- color: var(--bg-slate-200);
- }
- }
- }
- }
-}
diff --git a/frontend/src/pages/ChannelsEdit/ChannelsEdit.styles.scss b/frontend/src/pages/ChannelsEdit/ChannelsEdit.styles.scss
index c16f114490..90ea6adb02 100644
--- a/frontend/src/pages/ChannelsEdit/ChannelsEdit.styles.scss
+++ b/frontend/src/pages/ChannelsEdit/ChannelsEdit.styles.scss
@@ -1,8 +1,8 @@
.edit-alert-channels-container {
margin: 12px;
- border: 1px solid var(--Slate-500, #161922);
- background: var(--Ink-400, #121317);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
border-radius: 3px;
padding: 16px;
@@ -12,14 +12,3 @@
margin-bottom: 16px;
}
}
-
-.lightMode {
- .edit-alert-channels-container {
- background: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-300);
-
- .form-alert-channels-title {
- color: var(--bg-ink-100);
- }
- }
-}
diff --git a/frontend/src/pages/DashboardsListPage/DashboardsListPage.styles.scss b/frontend/src/pages/DashboardsListPage/DashboardsListPage.styles.scss
index a2b7ccde58..18bd4e8627 100644
--- a/frontend/src/pages/DashboardsListPage/DashboardsListPage.styles.scss
+++ b/frontend/src/pages/DashboardsListPage/DashboardsListPage.styles.scss
@@ -6,7 +6,6 @@
padding: 0 8px;
gap: 8px;
height: 48px;
- border-bottom: 1px solid var(--bg-slate-500);
.dashboard-header-left {
display: flex;
@@ -15,11 +14,11 @@
}
.icon {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
.text {
- color: var(--bg-vanilla-400);
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -29,19 +28,3 @@
}
}
}
-
-.lightMode {
- .dashboard-list-page {
- .dashboard-header {
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .icon {
- color: var(--bg-ink-400);
- }
-
- .text {
- color: var(--bg-ink-400);
- }
- }
- }
-}
diff --git a/frontend/src/pages/ErrorBoundaryFallback/ErrorBoundaryFallback.styles.scss b/frontend/src/pages/ErrorBoundaryFallback/ErrorBoundaryFallback.styles.scss
index 768713bb5c..8e700e2e51 100644
--- a/frontend/src/pages/ErrorBoundaryFallback/ErrorBoundaryFallback.styles.scss
+++ b/frontend/src/pages/ErrorBoundaryFallback/ErrorBoundaryFallback.styles.scss
@@ -7,7 +7,7 @@
justify-content: center;
align-items: center;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
.error-boundary-fallback-content {
display: flex;
@@ -23,7 +23,7 @@
}
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
font-style: normal;
font-weight: 500;
@@ -32,7 +32,7 @@
}
.description {
- color: var(--bg-vanilla-400);
+ color: var(--muted-foreground);
font-size: 13px;
font-style: normal;
font-weight: 400;
diff --git a/frontend/src/pages/InfrastructureMonitoring/InfrastructureMonitoring.styles.scss b/frontend/src/pages/InfrastructureMonitoring/InfrastructureMonitoring.styles.scss
index af9c524c69..9eea96fdab 100644
--- a/frontend/src/pages/InfrastructureMonitoring/InfrastructureMonitoring.styles.scss
+++ b/frontend/src/pages/InfrastructureMonitoring/InfrastructureMonitoring.styles.scss
@@ -13,7 +13,7 @@
margin-bottom: 0px;
&::before {
- border-bottom: 1px solid var(--bg-slate-400) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
}
@@ -40,13 +40,3 @@
gap: 8px;
}
}
-
-.lightMode {
- .infra-monitoring-module-container {
- .ant-tabs-nav {
- &::before {
- border-bottom: 1px solid var(--bg-vanilla-300) !important;
- }
- }
- }
-}
diff --git a/frontend/src/pages/Integrations/IntegrationDetailPage/IntegrationDetailContentTabs/IntegrationDetailContentTabs.styles.scss b/frontend/src/pages/Integrations/IntegrationDetailPage/IntegrationDetailContentTabs/IntegrationDetailContentTabs.styles.scss
index bf542f539d..20739a6bba 100644
--- a/frontend/src/pages/Integrations/IntegrationDetailPage/IntegrationDetailContentTabs/IntegrationDetailContentTabs.styles.scss
+++ b/frontend/src/pages/Integrations/IntegrationDetailPage/IntegrationDetailContentTabs/IntegrationDetailContentTabs.styles.scss
@@ -6,9 +6,9 @@
flex-direction: column;
width: 30%;
gap: 26px;
- border-right: 1px solid var(--bg-slate-500);
+ border-right: 1px solid var(--l1-border);
padding: 16px 0;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -22,7 +22,7 @@
flex-direction: column;
.heading {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -41,8 +41,8 @@
.category-tab {
padding: 2px 8px;
border-radius: 4px;
- border: 1px solid rgba(173, 127, 88, 0.2);
- background: rgba(173, 127, 88, 0.1);
+ border: 1px solid color-mix(in srgb, var(--bg-sienna-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-sienna-500) 10%, transparent);
color: var(--bg-sienna-400);
font-family: Inter;
font-size: 14px;
@@ -60,7 +60,7 @@
flex-direction: column;
.heading {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -73,7 +73,7 @@
.assets-list {
margin-left: 5px;
margin-top: 12px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -99,7 +99,7 @@
flex-direction: column;
gap: 32px;
margin-top: 8px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -113,13 +113,13 @@
gap: 8px;
.table-row-dark {
- background: rgba(255, 255, 255, 0.01);
+ background: color-mix(in srgb, var(--l1-foreground) 1%, transparent);
}
.logs-section-table {
border-radius: 6px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.ant-table-thead {
text-transform: uppercase;
@@ -148,13 +148,13 @@
gap: 8px;
.table-row-dark {
- background: rgba(255, 255, 255, 0.01);
+ background: color-mix(in srgb, var(--l1-foreground) 1%, transparent);
}
.metrics-section-table {
border-radius: 6px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.ant-table-thead {
text-transform: uppercase;
@@ -187,14 +187,14 @@
flex-direction: column;
width: 30%;
padding: 16px 16px 0px 0px;
- border-right: 1px solid var(--bg-slate-500);
+ border-right: 1px solid var(--l1-border);
gap: 8px;
.configure-menu-item {
padding: 4px 8px;
height: auto;
text-align: start;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -207,12 +207,12 @@
}
.configure-menu-item:hover {
- background-color: rgba(255, 255, 255, 0.08);
+ background-color: color-mix(in srgb, var(--l1-foreground) 8%, transparent);
}
.active {
color: rgba(255, 255, 255, 0.85);
- background-color: rgba(255, 255, 255, 0.08);
+ background-color: color-mix(in srgb, var(--l1-foreground) 8%, transparent);
}
}
@@ -227,74 +227,51 @@
.lightMode {
.integration-detail-overview {
.integration-detail-overview-left-container {
- border-right: 1px solid var(--bg-vanilla-400);
-
- color: var(--bg-slate-100);
-
.integration-detail-overview-category {
- .heading {
- color: var(--bg-slate-100);
- }
.category-tabs {
.category-tab {
border: 1px solid var(--bg-sienna-600);
- background: rgba(173, 127, 88, 0.1);
+ background: color-mix(in srgb, var(--bg-sienna-500) 10%, transparent);
color: var(--bg-sienna-500);
}
}
}
-
- .integration-detail-overview-assets {
- .heading {
- color: var(--bg-slate-100);
- }
- .assets-list {
- color: var(--bg-slate-100);
- }
- }
}
}
.integration-data-collected {
- color: var(--bg-vanilla-400);
-
.logs-section {
.table-row-dark {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
.logs-section-table {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
.metrics-section {
.table-row-dark {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
.metrics-section-table {
- border: 1px solid var(--bg-vanilla-400);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
}
.integration-detail-configure {
.configure-menu {
- border-right: 1px solid var(--bg-vanilla-400);
-
- .configure-menu-item {
- color: var(--bg-vanilla-100);
- }
.configure-menu-item:hover {
- background-color: var(--bg-vanilla-200);
+ background-color: var(--l2-background);
}
.active {
- color: rgba(255, 255, 255, 0.85);
- background-color: var(--bg-vanilla-200);
+ color: var(--l1-foreground);
+ background-color: var(--l2-background);
}
}
}
diff --git a/frontend/src/pages/Integrations/IntegrationDetailPage/IntegrationDetailPage.styles.scss b/frontend/src/pages/Integrations/IntegrationDetailPage/IntegrationDetailPage.styles.scss
index 823c05faf1..c4b70f8faa 100644
--- a/frontend/src/pages/Integrations/IntegrationDetailPage/IntegrationDetailPage.styles.scss
+++ b/frontend/src/pages/Integrations/IntegrationDetailPage/IntegrationDetailPage.styles.scss
@@ -7,8 +7,8 @@
.error-container {
display: flex;
border-radius: 6px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
align-items: center;
justify-content: center;
flex-direction: column;
@@ -73,7 +73,7 @@
align-items: center;
height: 24px;
padding-left: 0px;
- color: #c0c1c3;
+ color: var(--muted-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -93,8 +93,8 @@
padding: 16px;
gap: 12px;
border-radius: 6px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.integration-detail-header {
display: flex;
@@ -106,8 +106,8 @@
width: 40px;
flex-shrink: 0;
border-radius: 2px;
- border: 1px solid var(--bg-ink-50);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
display: flex;
align-items: center;
justify-content: center;
@@ -121,7 +121,7 @@
display: flex;
flex-direction: column;
.heading {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -131,7 +131,7 @@
}
.description {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -151,9 +151,9 @@
height: 30px;
padding: 6px;
border-radius: 2px;
- border: 1px solid var(--bg-ink-50);
- background: var(--bg-robin-500);
- color: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--primary-background);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -164,9 +164,9 @@
&.test-connection {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
- color: var(--bg-vanilla-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
+ color: var(--l2-foreground);
}
}
}
@@ -191,38 +191,42 @@
.testingConnection {
border-radius: 4px;
- border: 1px solid rgba(255, 205, 86, 0.1);
- background: rgba(255, 205, 86, 0.1);
- color: var(--bg-amber-400);
+ border: 1px solid
+ color-mix(in srgb, var(--warning-background) 10%, transparent);
+ background: color-mix(in srgb, var(--warning-background) 10%, transparent);
+ color: var(--warning-foreground);
}
.connected {
border-radius: 4px;
- border: 1px solid rgba(37, 225, 146, 0.1);
- background: rgba(37, 225, 146, 0.1);
- color: var(--bg-forest-400);
+ border: 1px solid
+ color-mix(in srgb, var(--success-background) 10%, transparent);
+ background: color-mix(in srgb, var(--success-background) 10%, transparent);
+ color: var(--success-foreground);
}
.connectionFailed {
border-radius: 4px;
- border: 1px solid rgba(218, 85, 101, 0.2);
- background: rgba(218, 85, 101, 0.06);
- color: var(--bg-cherry-500);
+ border: 1px solid
+ color-mix(in srgb, var(--danger-background) 20%, transparent);
+ background: color-mix(in srgb, var(--danger-background) 6%, transparent);
+ color: var(--danger-foreground);
}
.noDataSinceLong {
border-radius: 4px;
- border: 1px solid rgba(78, 116, 248, 0.1);
- background: rgba(78, 116, 248, 0.1);
- color: var(--bg-robin-400);
+ border: 1px solid
+ color-mix(in srgb, var(--primary-background) 10%, transparent);
+ background: color-mix(in srgb, var(--primary-background) 10%, transparent);
+ color: var(--primary-foreground);
}
}
.integration-detail-container {
border-radius: 6px;
padding: 10px 16px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400, #121317);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.integration-tab-btns {
display: flex;
@@ -231,7 +235,7 @@
padding: 8px 8px 18px 8px !important;
.typography {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -268,8 +272,8 @@
display: flex;
padding: 16px;
border-radius: 4px;
- border: 1px solid rgba(218, 85, 101, 0.2);
- background: rgba(218, 85, 101, 0.06);
+ border: 1px solid color-mix(in srgb, var(--bg-sakura-500) 20%, transparent);
+ background: color-mix(in srgb, var(--bg-sakura-500) 6%, transparent);
gap: 32px;
.unintall-integration-bar-text {
@@ -306,7 +310,7 @@
display: flex;
align-items: center;
justify-content: center;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
text-align: center;
font-family: Inter;
font-size: 12px;
@@ -317,7 +321,7 @@
.uninstall-integration-btn:hover {
&.ant-btn-default {
- color: var(--bg-vanilla-100) !important;
+ color: var(--l1-foreground) !important;
}
}
}
@@ -329,9 +333,9 @@
min-height: 200px;
flex-shrink: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.ant-modal-footer {
@@ -344,7 +348,7 @@
}
.ant-modal-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -354,7 +358,7 @@
}
.remove-integration-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -370,8 +374,8 @@
min-height: 170px;
flex-shrink: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
.ant-modal-header {
@@ -379,7 +383,7 @@
}
.ant-modal-body {
- border-top: 1px solid var(--bg-slate-500);
+ border-top: 1px solid var(--l1-border);
padding-top: 16px;
}
@@ -394,10 +398,10 @@
.understandBtn {
width: 50%;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: none;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -413,7 +417,7 @@
}
.configureBtn {
width: 50%;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -421,7 +425,7 @@
line-height: 10px; /* 83.333% */
letter-spacing: 0.12px;
border-radius: 2px;
- background: var(--bg-robin-500);
+ background: var(--primary-background);
display: flex;
height: 34px;
padding: 6px;
@@ -480,7 +484,7 @@
align-items: center;
.connection-line {
- border: 1px dashed var(--bg-slate-200);
+ border: 1px dashed var(--l1-border);
min-width: 20px;
height: 0px;
flex-grow: 1;
@@ -488,7 +492,7 @@
}
.last-data {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -498,7 +502,7 @@
}
.last-value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Space Mono';
font-size: 12px;
font-style: normal;
@@ -509,212 +513,34 @@
}
.testingConnection {
border-radius: 4px;
- border: 1px solid rgba(255, 205, 86, 0.1);
- background: rgba(255, 205, 86, 0.1);
- color: var(--bg-amber-400);
+ border: 1px solid
+ color-mix(in srgb, var(--warning-background) 10%, transparent);
+ background: color-mix(in srgb, var(--warning-background) 10%, transparent);
+ color: var(--warning-foreground);
}
.connected {
border-radius: 4px;
- border: 1px solid rgba(37, 225, 146, 0.1);
- background: rgba(37, 225, 146, 0.1);
- color: var(--bg-forest-400);
+ border: 1px solid
+ color-mix(in srgb, var(--success-background) 10%, transparent);
+ background: color-mix(in srgb, var(--success-background) 10%, transparent);
+ color: var(--success-foreground);
}
.connectionFailed {
border-radius: 4px;
- border: 1px solid rgba(218, 85, 101, 0.2);
- background: rgba(218, 85, 101, 0.06);
- color: var(--bg-cherry-500);
+ border: 1px solid
+ color-mix(in srgb, var(--danger-background) 20%, transparent);
+ background: color-mix(in srgb, var(--danger-background) 6%, transparent);
+ color: var(--danger-foreground);
}
.noDataSinceLong {
border-radius: 4px;
- border: 1px solid rgba(78, 116, 248, 0.1);
- background: rgba(78, 116, 248, 0.1);
- color: var(--bg-robin-400);
- }
- }
-}
-
-.lightMode {
- .integration-detail-content {
- .error-container {
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
-
- .error-content {
- .error-btns {
- .contact-support {
- .text {
- color: var(--text-robin-400);
- font-weight: 500;
- }
- }
- }
- }
- }
-
- .all-integrations-btn {
- color: var(--bg-slate-300);
- }
-
- .all-integrations-btn:hover {
- &.ant-btn-text {
- background-color: unset !important;
- }
- }
-
- .integration-connection-header {
- border: 1px solid rgba(53, 59, 76, 0.2);
- background: var(--bg-vanilla-100);
-
- .integration-detail-header {
- .image-container {
- border: 1.111px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
- .details {
- .heading {
- color: var(--bg-ink-500);
- }
-
- .description {
- color: var(--bg-slate-200);
- }
- }
- .configure-btn {
- &.test-connection {
- border: 1px solid rgba(53, 59, 76, 0.2);
- background: var(--bg-vanilla-200);
- color: var(--bg-slate-200);
- }
- }
- }
-
- .testingConnection {
- border: 1px solid rgba(255, 205, 86, 0.4);
- background: rgba(255, 205, 86, 0.2);
- color: var(--bg-amber-600);
- }
-
- .connected {
- border: 1px solid rgba(37, 225, 146, 0.1);
- background: rgba(37, 225, 146, 0.1);
- color: var(--bg-forest-600);
- }
-
- .noDataSinceLong {
- border: 1px solid rgba(78, 116, 248, 0.1);
- background: rgba(78, 116, 248, 0.1);
- color: var(--bg-robin-400);
- }
- }
-
- .integration-detail-container {
- border: 1px solid rgba(53, 59, 76, 0.2);
- background: var(--bg-vanilla-100);
-
- .integration-tab-btns {
- .typography {
- color: var(--bg-ink-500);
- }
- }
- }
-
- .uninstall-integration-bar {
- border: 1px solid rgba(53, 59, 76, 0.2);
- background: var(--bg-vanilla-100);
-
- .unintall-integration-bar-text {
- .heading {
- color: var(--bg-ink-500);
- }
-
- .subtitle {
- color: var(--bg-slate-100);
- }
- }
-
- .uninstall-integration-btn {
- background: var(--bg-cherry-500, #e5484d);
- border-color: none !important;
- color: var(--bg-vanilla-100);
- }
-
- .uninstall-integration-btn:hover {
- &.ant-btn-default {
- color: var(--bg-vanilla-300) !important;
- }
- }
- }
- }
-
- .remove-integration-modal {
- .ant-modal-content {
- border: 1px solid var(--bg-vanilla-400);
- box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
- background: var(--bg-vanilla-100);
- }
-
- .ant-modal-title {
- color: var(--bg-ink-500);
- }
-
- .remove-integration-text {
- color: var(--bg-slate-400);
- }
- }
-
- .test-connection-modal {
- .ant-modal-content {
- border: 1px solid rgba(53, 59, 76, 0.2);
- background: var(--bg-vanilla-100);
- box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
-
- .ant-modal-body {
- border-top: 1px solid var(--bg-vanilla-400);
- }
-
- .ant-modal-footer {
- .understandBtn {
- border: 1px solid rgba(53, 59, 76, 0.2);
- background: var(--bg-vanilla-200);
- color: var(--bg-slate-400);
- }
- }
- }
-
- .connection-content {
- .data-info {
- .connection-line {
- border: 1px dashed var(--bg-vanilla-400);
- }
- .last-data {
- color: var(--bg-slate-400);
- }
-
- .last-value {
- color: var(--bg-slate-100);
- }
- }
- .testingConnection {
- border: 1px solid rgba(255, 205, 86, 0.4);
- background: rgba(255, 205, 86, 0.2);
- color: var(--bg-amber-600);
- }
-
- .connected {
- border: 1px solid rgba(37, 225, 146, 0.1);
- background: rgba(37, 225, 146, 0.1);
- color: var(--bg-forest-600);
- }
-
- .noDataSinceLong {
- border: 1px solid rgba(78, 116, 248, 0.1);
- background: rgba(78, 116, 248, 0.1);
- color: var(--bg-robin-400);
- }
+ border: 1px solid
+ color-mix(in srgb, var(--primary-background) 10%, transparent);
+ background: color-mix(in srgb, var(--primary-background) 10%, transparent);
+ color: var(--primary-foreground);
}
}
}
diff --git a/frontend/src/pages/Integrations/Integrations.styles.scss b/frontend/src/pages/Integrations/Integrations.styles.scss
index 3eec7ff5cc..b040d19e9c 100644
--- a/frontend/src/pages/Integrations/Integrations.styles.scss
+++ b/frontend/src/pages/Integrations/Integrations.styles.scss
@@ -19,7 +19,7 @@
}
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: var(--font-size-lg);
font-style: normal;
line-height: 28px; /* 155.556% */
@@ -29,7 +29,7 @@
}
.subtitle {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-sm);
font-style: normal;
line-height: 20px; /* 142.857% */
@@ -54,8 +54,8 @@
.error-container {
display: flex;
border-radius: 6px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
align-items: center;
justify-content: center;
flex-direction: column;
@@ -109,8 +109,8 @@
gap: 10px;
padding: 16px;
border-radius: 6px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
cursor: pointer;
.list-item-image-container {
@@ -118,8 +118,8 @@
width: 40px;
flex-shrink: 0;
border-radius: 2px;
- border: 1px solid var(--bg-ink-50);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
display: flex;
align-items: center;
justify-content: center;
@@ -135,7 +135,7 @@
flex-direction: column;
.heading {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
font-style: normal;
font-weight: 500;
@@ -151,14 +151,15 @@
font-weight: 500;
letter-spacing: 0.54px;
border-radius: 2px;
- border: 1px solid rgba(37, 225, 146, 0.1);
- background: rgba(37, 225, 146, 0.1);
+ border: 1px solid
+ color-mix(in srgb, var(--bg-forest-500) 10%, transparent);
+ background: color-mix(in srgb, var(--bg-forest-500) 10%, transparent);
padding: 2px 8px;
}
}
.description {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-style: normal;
font-weight: 400;
@@ -177,10 +178,10 @@
height: 24px;
padding: 6px 1px;
border-radius: 2px;
- border: 1px solid #303540;
- background: var(--bg-ink-200);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
box-shadow: none;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-style: normal;
font-weight: 400;
@@ -198,57 +199,10 @@
align-items: center;
border-radius: 4px;
- border: 0.5px solid rgba(78, 116, 248, 0.2);
- background: rgba(69, 104, 220, 0.1);
+ border: 0.5px solid
+ color-mix(in srgb, var(--primary-background) 20%, transparent);
+ background: color-mix(in srgb, var(--primary-background) 10%, transparent);
padding: 12px;
margin: 24px 0;
margin-bottom: 80px;
}
-
-.lightMode {
- .integrations-container {
- .integrations-content {
- .integrations-header {
- .title {
- color: var(--bg-ink-500);
- }
- .subtitle {
- color: var(--bg-slate-200);
- }
- }
-
- .integrations-list {
- .error-container {
- border: 1px solid rgba(53, 59, 76, 0.2);
- background: var(--bg-vanilla-100);
- }
-
- .integrations-list-item {
- border: 1px solid rgba(53, 59, 76, 0.2);
- background: var(--bg-vanilla-100);
-
- .list-item-image-container {
- border: 1.111px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
-
- .list-item-details {
- .heading {
- color: var(--bg-ink-500);
- }
-
- .description {
- color: var(--bg-slate-200);
- }
- }
-
- .configure-btn {
- border: 1px solid rgba(53, 59, 76, 0.2);
- background: var(--bg-vanilla-200);
- color: var(--bg-ink-500);
- }
- }
- }
- }
- }
-}
diff --git a/frontend/src/pages/IntegrationsModulePage/IntegrationsModulePage.styles.scss b/frontend/src/pages/IntegrationsModulePage/IntegrationsModulePage.styles.scss
index c4ea6423b4..7e2364be07 100644
--- a/frontend/src/pages/IntegrationsModulePage/IntegrationsModulePage.styles.scss
+++ b/frontend/src/pages/IntegrationsModulePage/IntegrationsModulePage.styles.scss
@@ -4,7 +4,7 @@
margin-bottom: 0px;
&::before {
- border-bottom: 1px solid var(--bg-slate-400) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
}
@@ -21,13 +21,3 @@
border-left: none;
}
}
-
-.lightMode {
- .integrations-module-container {
- .ant-tabs-nav {
- &::before {
- border-bottom: 1px solid var(--bg-vanilla-400) !important;
- }
- }
- }
-}
diff --git a/frontend/src/pages/LogsModulePage/LogsModulePage.styles.scss b/frontend/src/pages/LogsModulePage/LogsModulePage.styles.scss
index d3874b1881..c5dddd9f24 100644
--- a/frontend/src/pages/LogsModulePage/LogsModulePage.styles.scss
+++ b/frontend/src/pages/LogsModulePage/LogsModulePage.styles.scss
@@ -16,7 +16,7 @@
margin-bottom: 0px;
&::before {
- border-bottom: 1px solid var(--bg-slate-400) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
}
@@ -46,13 +46,3 @@
gap: 8px;
}
}
-
-.lightMode {
- .logs-module-container {
- .ant-tabs-nav {
- &::before {
- border-bottom: 1px solid var(--bg-vanilla-300) !important;
- }
- }
- }
-}
diff --git a/frontend/src/pages/MessagingQueues/MQDetails/DropRateView/DropRateView.styles.scss b/frontend/src/pages/MessagingQueues/MQDetails/DropRateView/DropRateView.styles.scss
index 39481dbd7c..6dd01d9a9a 100644
--- a/frontend/src/pages/MessagingQueues/MQDetails/DropRateView/DropRateView.styles.scss
+++ b/frontend/src/pages/MessagingQueues/MQDetails/DropRateView/DropRateView.styles.scss
@@ -9,13 +9,13 @@
font-style: normal;
font-weight: 500;
line-height: 28px;
- color: var(--bg-vanilla-200);
+ color: var(--l2-foreground);
}
.ant-selector {
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
box-shadow: none;
}
}
@@ -32,12 +32,12 @@
.lightMode {
.evaluation-time-selector {
.eval-title {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
.ant-selector {
- background-color: var(--bg-vanilla-200);
- border: 1px solid var(--bg-ink-400);
+ background-color: var(--l2-background);
+ border: 1px solid var(--l2-background);
}
}
}
diff --git a/frontend/src/pages/MessagingQueues/MQDetails/MQDetails.style.scss b/frontend/src/pages/MessagingQueues/MQDetails/MQDetails.style.scss
index 0e78feabf4..7ba3a48be6 100644
--- a/frontend/src/pages/MessagingQueues/MQDetails/MQDetails.style.scss
+++ b/frontend/src/pages/MessagingQueues/MQDetails/MQDetails.style.scss
@@ -13,8 +13,8 @@
gap: 16px;
border-radius: 6px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
.mq-overview-title {
display: flex;
@@ -22,7 +22,7 @@
align-items: center;
width: 100%;
- color: var(--bg-vanilla-200);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 18px;
@@ -36,12 +36,12 @@
cursor: pointer;
.ant-radio-button-wrapper {
- border-color: var(--bg-slate-400);
- color: var(--bg-vanilla-400);
+ border-color: var(--l1-border);
+ color: var(--l2-foreground);
}
.ant-radio-button-wrapper-checked {
- background: var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ background: var(--l1-border);
+ color: var(--l1-foreground);
}
.ant-radio-button-wrapper::before {
width: 0px;
@@ -55,7 +55,7 @@
.ant-table-content {
border-radius: 6px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
}
@@ -68,8 +68,8 @@
.ant-table-thead {
.ant-table-cell {
- background-color: var(--bg-ink-500);
- border-bottom: 1px solid var(--bg-slate-500);
+ background-color: var(--l1-background);
+ border-bottom: 1px solid var(--l1-border);
}
}
}
@@ -87,15 +87,15 @@
.traceid-text {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
padding: 2px;
cursor: pointer;
}
.remaing-count {
cursor: pointer;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -114,67 +114,3 @@
}
}
}
-
-.lightMode {
- .mq-overview-container {
- background: var(--bg-vanilla-200);
- border: 1px solid var(--bg-vanilla-300);
-
- .mq-overview-title {
- color: var(--bg-ink-400);
- }
-
- .mq-details-options {
- .ant-radio-button-wrapper {
- border-color: var(--bg-vanilla-300);
- color: var(--bg-slate-200);
- }
- .ant-radio-button-wrapper-checked {
- color: var(--bg-slate-200);
- background: var(--bg-vanilla-300);
- }
- .ant-radio-button-wrapper-disabled {
- background: var(--bg-vanilla-100);
- color: var(--bg-vanilla-400);
- }
- }
- }
-
- .droprate-view {
- .mq-table {
- .ant-table-content {
- border: 1px solid var(--bg-vanilla-300);
- }
-
- .ant-table-tbody {
- .ant-table-cell {
- background-color: var(--bg-vanilla-100);
- }
- }
-
- .ant-table-thead {
- .ant-table-cell {
- background-color: var(--bg-vanilla-100);
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
- }
- }
-
- .no-data-style {
- border: 1px solid var(--bg-vanilla-300);
- }
- }
-
- .trace-id-list {
- .traceid-style {
- .traceid-text {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
- }
-
- .remaing-count {
- color: var(--bg-ink-400);
- }
- }
- }
-}
diff --git a/frontend/src/pages/MessagingQueues/MQDetails/MQTables/MQTables.styles.scss b/frontend/src/pages/MessagingQueues/MQDetails/MQTables/MQTables.styles.scss
index ad665d61f5..5b16c65a45 100644
--- a/frontend/src/pages/MessagingQueues/MQDetails/MQTables/MQTables.styles.scss
+++ b/frontend/src/pages/MessagingQueues/MQDetails/MQTables/MQTables.styles.scss
@@ -8,7 +8,7 @@
gap: 12px;
padding-bottom: 16px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 18px;
font-style: normal;
@@ -17,7 +17,7 @@
letter-spacing: -0.09px;
.mq-table-subtitle {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
}
}
@@ -27,7 +27,7 @@
.ant-table-content {
border-radius: 6px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
}
@@ -40,8 +40,8 @@
.ant-table-thead {
.ant-table-cell {
- background-color: var(--bg-ink-500);
- border-bottom: 1px solid var(--bg-slate-500);
+ background-color: var(--l1-background);
+ border-bottom: 1px solid var(--l1-border);
}
}
}
@@ -54,7 +54,7 @@
flex-direction: column;
gap: 24px;
padding: 24px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
border-radius: 6px;
.ant-typography {
@@ -66,49 +66,14 @@
.mq-table {
&.mq-overview-row-clickable {
.ant-table-row {
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
&:hover {
cursor: pointer;
- background-color: var(--bg-slate-400) !important;
- color: var(--bg-vanilla-400);
+ background-color: var(--l1-border) !important;
+ color: var(--l2-foreground);
transition: background-color 0.3s ease, color 0.3s ease;
}
}
}
}
-
-.lightMode {
- .mq-tables-container {
- .mq-table-title {
- color: var(--bg-slate-200);
-
- .mq-table-subtitle {
- color: var(--bg-slate-300);
- }
- }
-
- .mq-table {
- .ant-table-content {
- border: 1px solid var(--bg-vanilla-300);
- }
-
- .ant-table-tbody {
- .ant-table-cell {
- background-color: var(--bg-vanilla-100);
- }
- }
-
- .ant-table-thead {
- .ant-table-cell {
- background-color: var(--bg-vanilla-100);
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
- }
- }
-
- .no-data-style {
- border: 1px solid var(--bg-vanilla-300);
- }
- }
-}
diff --git a/frontend/src/pages/MessagingQueues/MQDetails/MetricPage/MetricPage.styles.scss b/frontend/src/pages/MessagingQueues/MQDetails/MetricPage/MetricPage.styles.scss
index cc955c0739..dc8bab19f3 100644
--- a/frontend/src/pages/MessagingQueues/MQDetails/MetricPage/MetricPage.styles.scss
+++ b/frontend/src/pages/MessagingQueues/MQDetails/MetricPage/MetricPage.styles.scss
@@ -39,7 +39,7 @@
.row-panel {
border-radius: 4px;
- background: rgba(18, 19, 23, 0.4);
+ background: color-mix(in srgb, var(--card) 40%, transparent);
padding: 8px;
display: flex;
gap: 6px;
@@ -57,12 +57,12 @@
align-items: center;
.row-icon {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
cursor: pointer;
}
.section-title {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -116,11 +116,11 @@
.row-panel {
.row-panel-section {
.row-icon {
- color: var(--bg-ink-300);
+ color: var(--l3-background);
}
.section-title {
- color: var(--bg-ink-300);
+ color: var(--l3-background);
}
}
}
diff --git a/frontend/src/pages/MessagingQueues/MessagingQueues.styles.scss b/frontend/src/pages/MessagingQueues/MessagingQueues.styles.scss
index 9d97bfb2db..318e22fdb7 100644
--- a/frontend/src/pages/MessagingQueues/MessagingQueues.styles.scss
+++ b/frontend/src/pages/MessagingQueues/MessagingQueues.styles.scss
@@ -10,7 +10,7 @@
justify-content: space-between;
align-items: center;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Geist Mono';
font-size: 14px;
font-style: normal;
@@ -18,7 +18,7 @@
line-height: 20px;
letter-spacing: 0.25px;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
.header-config {
display: flex;
@@ -34,8 +34,8 @@
gap: 4px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
}
@@ -61,8 +61,8 @@
min-width: 164px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
}
@@ -72,7 +72,7 @@
padding: 24px 24px 0 24px;
}
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
}
.messaging-queue-details {
@@ -84,16 +84,16 @@
cursor: pointer;
.ant-radio-button-wrapper {
- border-color: var(--bg-slate-400);
- color: var(--bg-vanilla-400);
+ border-color: var(--l1-border);
+ color: var(--l2-foreground);
}
.ant-radio-button-wrapper-checked {
- background: var(--bg-slate-400);
- color: var(--bg-vanilla-100);
+ background: var(--l1-border);
+ color: var(--l1-foreground);
}
.ant-radio-button-wrapper-disabled {
- background: var(--bg-ink-400);
- color: var(--bg-slate-200);
+ background: var(--l2-background);
+ color: var(--l3-foreground);
}
.ant-radio-button-wrapper::before {
width: 0px;
@@ -116,7 +116,7 @@
padding: 24px 16px 10px 16px;
.overview-text {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 16px;
font-style: normal;
@@ -127,7 +127,7 @@
}
.overview-subtext {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -154,11 +154,11 @@
padding: 18px 20px 20px 20px;
flex-direction: column;
justify-content: space-between;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
border-radius: 2px;
.card-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -170,7 +170,7 @@
}
.card-info-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -190,7 +190,7 @@
}
.ant-btn-default {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
border: none;
box-shadow: none;
}
@@ -208,7 +208,7 @@
min-height: 144px;
.card-title {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -229,8 +229,8 @@
padding: 12px;
flex-direction: column;
align-items: flex-start;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
width: 337px;
height: 283px;
border-radius: 2px;
@@ -243,7 +243,7 @@
height: 24px;
> p {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 13px;
font-style: normal;
@@ -259,7 +259,7 @@
align-items: center;
> p {
- color: var(--bg-slate-200);
+ color: var(--l3-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -282,20 +282,20 @@
}
.coming-soon-card {
- background: var(--bg-ink-500) !important;
+ background: var(--l1-background) !important;
border-left: none !important;
}
}
.overview-confirm-modal {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
padding: 0;
border-radius: 4px;
.ant-modal-content {
- background-color: var(--bg-ink-300);
+ background-color: var(--l3-background);
.ant-modal-confirm-content {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
.ant-modal-confirm-body-wrapper {
@@ -306,115 +306,3 @@
}
}
}
-
-.lightMode {
- .messaging-queue-container {
- .messaging-header {
- color: var(--bg-ink-400);
- border-bottom: 1px solid var(--bg-vanilla-300);
-
- .header-config {
- .messaging-queue-options {
- .ant-select-selector {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
- }
- }
- }
-
- .messaging-queue-main-graph {
- .config-options {
- .config-select-option {
- .ant-select-selector {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- }
- }
- }
-
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
-
- .messaging-queue-details {
- .mq-details-options {
- .ant-radio-button-wrapper {
- border-color: var(--bg-vanilla-300);
- color: var(--bg-slate-200);
- }
- .ant-radio-button-wrapper-checked {
- color: var(--bg-slate-200);
- background: var(--bg-vanilla-300);
- }
- .ant-radio-button-wrapper-disabled {
- background: var(--bg-vanilla-100);
- color: var(--bg-vanilla-400);
- }
- }
- }
- }
-
- .messaging-overview {
- .overview-text {
- color: var(--bg-slate-200);
- }
-
- .overview-subtext {
- color: var(--bg-slate-300);
- }
-
- .overview-doc-area {
- .overview-info-card {
- border: 1px solid var(--bg-vanilla-300);
-
- .card-title {
- color: var(--bg-slate-200);
- }
-
- .card-info-text {
- color: var(--bg-slate-300);
- }
-
- .button-grp {
- .ant-btn-default {
- background-color: var(--bg-vanilla-100);
- }
- }
- }
- }
-
- .summary-section {
- .summary-card {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
-
- .summary-title {
- > p {
- color: var(--bg-slate-200);
- }
-
- .time-value {
- > p {
- color: var(--bg-slate-200);
- }
- }
- }
- }
- }
-
- .coming-soon-card {
- background: var(--bg-vanilla-200) !important;
- }
- }
-
- .overview-confirm-modal {
- background-color: var(--bg-vanilla-100);
-
- .ant-modal-content {
- background-color: var(--bg-vanilla-100);
- .ant-modal-confirm-content {
- color: var(--bg-slate-200);
- }
- }
- }
-}
diff --git a/frontend/src/pages/MessagingQueues/MessagingQueuesMainPage.styles.scss b/frontend/src/pages/MessagingQueues/MessagingQueuesMainPage.styles.scss
index e1cda241d6..9108e867a1 100644
--- a/frontend/src/pages/MessagingQueues/MessagingQueuesMainPage.styles.scss
+++ b/frontend/src/pages/MessagingQueues/MessagingQueuesMainPage.styles.scss
@@ -13,7 +13,7 @@
margin-bottom: 0px;
&::before {
- border-bottom: 1px solid var(--bg-slate-400) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
}
@@ -40,13 +40,3 @@
gap: 8px;
}
}
-
-.lightMode {
- .messaging-queues-module-container {
- .ant-tabs-nav {
- &::before {
- border-bottom: 1px solid var(--bg-vanilla-300) !important;
- }
- }
- }
-}
diff --git a/frontend/src/pages/MetricsApplication/MetricsApplication.styles.scss b/frontend/src/pages/MetricsApplication/MetricsApplication.styles.scss
index 190bbb80d4..ca6a4cf28d 100644
--- a/frontend/src/pages/MetricsApplication/MetricsApplication.styles.scss
+++ b/frontend/src/pages/MetricsApplication/MetricsApplication.styles.scss
@@ -2,23 +2,23 @@
margin-bottom: 64px;
.ant-tabs-nav {
&::before {
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
}
.ant-tabs-nav-wrap {
.ant-tabs-nav-list {
.ant-tabs-ink-bar {
- background-color: var(--bg-robin-500) !important;
+ background-color: var(--primary-background) !important;
}
.ant-tabs-tab {
font-size: 13px;
font-family: 'Inter';
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
line-height: 20px;
letter-spacing: -0.07px;
gap: 10px;
}
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
}
}
}
diff --git a/frontend/src/pages/MetricsExplorer/MetricsExplorerPage.styles.scss b/frontend/src/pages/MetricsExplorer/MetricsExplorerPage.styles.scss
index 7f4dc868ff..20e753aae2 100644
--- a/frontend/src/pages/MetricsExplorer/MetricsExplorerPage.styles.scss
+++ b/frontend/src/pages/MetricsExplorer/MetricsExplorerPage.styles.scss
@@ -13,7 +13,7 @@
margin-bottom: 0px;
&::before {
- border-bottom: 1px solid var(--bg-slate-400) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
}
@@ -41,13 +41,3 @@
gap: 8px;
}
}
-
-.lightMode {
- .metrics-explorer-page {
- .ant-tabs-nav {
- &::before {
- border-bottom: 1px solid var(--bg-vanilla-300) !important;
- }
- }
- }
-}
diff --git a/frontend/src/pages/PublicDashboard/PublicDashboard.styles.scss b/frontend/src/pages/PublicDashboard/PublicDashboard.styles.scss
index 26579715c1..33cfafe5d9 100644
--- a/frontend/src/pages/PublicDashboard/PublicDashboard.styles.scss
+++ b/frontend/src/pages/PublicDashboard/PublicDashboard.styles.scss
@@ -30,7 +30,7 @@
.brand-title {
font-size: 20px;
font-weight: 600;
- color: var(--bg-vanilla-100, #ffffff); // White text for dark theme
+ color: var(--l1-foreground);
margin: 0;
}
}
@@ -39,7 +39,7 @@
margin-bottom: 24px;
.ant-typography {
- color: var(--bg-vanilla-400, #c0c1c3); // Light gray text for dark theme
+ color: var(--l2-foreground);
}
}
}
@@ -66,17 +66,7 @@
}
.public-dashboard-error-message-icon {
- color: var(--bg-vanilla-400, #c0c1c3); // Light gray text for dark theme
- }
- }
- }
-}
-
-.lightMode {
- .public-dashboard-error-container {
- .public-dashboard-error-content-header {
- .brand-title {
- color: var(--bg-ink-400, #121317) !important; // Dark text for light theme
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/pages/SaveView/SaveView.styles.scss b/frontend/src/pages/SaveView/SaveView.styles.scss
index e1eb1ab0b0..3d7512f056 100644
--- a/frontend/src/pages/SaveView/SaveView.styles.scss
+++ b/frontend/src/pages/SaveView/SaveView.styles.scss
@@ -9,7 +9,7 @@
max-width: 736px;
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: var(--font-size-lg);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -18,7 +18,7 @@
}
.subtitle {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -38,14 +38,14 @@
.ant-table-cell {
padding: 0;
border: none;
- background: var(--bg-ink-500);
+ background: var(--l1-background);
}
.column-render {
margin: 8px 0 !important;
padding: 16px;
border-radius: 6px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
.title-with-action {
display: flex;
@@ -62,7 +62,7 @@
border-radius: 50%;
}
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-medium);
@@ -91,13 +91,13 @@
width: 14px;
height: 14px;
border-radius: 50px;
- background: var(--bg-slate-300);
+ background: var(--l3-background);
display: flex;
justify-content: center;
align-items: center;
.tag-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
leading-trim: both;
text-edge: cap;
font-size: 10px;
@@ -118,7 +118,7 @@
align-items: center;
.ant-typography {
margin-left: 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -136,7 +136,7 @@
align-items: center;
> a {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-variant-numeric: lining-nums tabular-nums slashed-zero;
font-feature-settings: 'dlig' on, 'salt' on, 'case' on, 'cpsp' on;
font-size: var(--font-size-sm);
@@ -147,9 +147,9 @@
}
.ant-pagination-item-active {
- background-color: var(--bg-robin-500);
+ background-color: var(--primary-background);
> a {
- color: var(--bg-ink-500) !important;
+ color: var(--l1-background) !important;
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-medium);
@@ -165,20 +165,20 @@
.ant-modal-content {
padding: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
.ant-modal-header {
padding: 16px;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
}
.ant-modal-body {
padding: 0px 16px 28px 16px;
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-normal);
@@ -195,8 +195,8 @@
.ant-color-picker-trigger {
padding: 6px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
width: 32px;
height: 32px;
@@ -226,7 +226,7 @@
align-items: center;
border: none;
border-radius: 2px;
- background: var(--bg-slate-500);
+ background: var(--l1-border);
}
.delete-btn {
@@ -239,13 +239,13 @@
}
.delete-btn:hover {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
background: var(--bg-cherry-600);
}
}
}
.title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: var(--font-weight-medium);
@@ -257,53 +257,53 @@
.save-view-container {
.save-view-content {
.title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
.ant-table-row {
.ant-table-cell {
- background: var(--bg-vanilla-200);
+ background: var(--l2-background);
}
&:hover {
.ant-table-cell {
- background: var(--bg-vanilla-200) !important;
+ background: var(--l2-background) !important;
}
}
.column-render {
- border: 1px solid var(--bg-vanilla-200);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
.title-with-action {
.save-view-title {
.ant-typography {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
.action-btn {
.ant-typography {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
}
.view-details {
.view-tag {
- background: var(--bg-vanilla-200);
+ background: var(--l2-background);
.tag-text {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
.view-created-by {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
.view-created-at {
.ant-typography {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
}
@@ -314,34 +314,34 @@
.delete-view-modal {
.ant-modal-content {
- border: 1px solid var(--bg-vanilla-200);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
.ant-modal-header {
- background: var(--bg-vanilla-100);
+ background: var(--card);
.title {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
.ant-modal-body {
.ant-typography {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
.save-view-input {
.ant-input {
- background: var(--bg-vanilla-200);
- color: var(--bg-ink-500);
+ background: var(--l1-background);
+ color: var(--l1-foreground);
}
}
}
.ant-modal-footer {
.cancel-btn {
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ background: var(--l3-background);
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/pages/Settings/Settings.styles.scss b/frontend/src/pages/Settings/Settings.styles.scss
index 2aee6c017e..d80ebd05c7 100644
--- a/frontend/src/pages/Settings/Settings.styles.scss
+++ b/frontend/src/pages/Settings/Settings.styles.scss
@@ -3,12 +3,12 @@
overflow: hidden;
.settings-page-header {
- border-bottom: 1px solid var(--Slate-500, #161922);
- background: rgba(11, 12, 14, 0.7);
+ border-bottom: 1px solid var(--l1-border);
+ background: color-mix(in srgb, var(--background) 70%, transparent);
backdrop-filter: blur(20px);
.settings-page-header-title {
- color: var(--Vanilla-100, #fff);
+ color: var(--l1-foreground);
text-align: center;
font-family: Inter;
font-size: 13px;
@@ -31,8 +31,8 @@
.settings-page-sidenav {
width: 240px;
height: calc(100vh - 48px);
- border-right: 1px solid var(--secondary);
- background: var(--sidebar-primary-foreground);
+ border-right: 1px solid var(--l1-border);
+ background: var(--l1-background);
padding-top: var(--padding-1);
display: flex;
flex-direction: column;
@@ -45,7 +45,7 @@
}
.settings-nav-section--with-divider {
- border-top: 1px solid var(--secondary);
+ border-top: 1px solid var(--l1-border);
padding-top: var(--padding-4);
}
@@ -66,7 +66,7 @@
&.active {
.nav-item-data .nav-item-label {
- color: var(--bg-vanilla-100, #fff);
+ color: var(--l1-foreground);
}
}
}
@@ -75,7 +75,7 @@
.settings-page-content {
flex: 1;
height: calc(100vh - 48px);
- background: var(--Ink-500, #0b0c0e);
+ background: var(--background);
padding: 10px 8px;
overflow-y: auto;
@@ -89,11 +89,11 @@
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-200);
+ background: var(--l3-background);
}
}
}
@@ -102,45 +102,45 @@
.lightMode {
.settings-page {
.settings-page-header {
- border-bottom: 1px solid var(--bg-vanilla-300);
- background: #fff;
+ border-bottom: 1px solid var(--l1-border);
+ background: var(--card);
backdrop-filter: blur(20px);
.settings-page-header-title {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
- background: var(--bg-vanilla-100);
- border-right: 1px solid var(--bg-vanilla-300);
+ background: var(--card);
+ border-right: 1px solid var(--l1-border);
}
}
.settings-page-content-container {
.settings-page-sidenav {
- border-right: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border-right: 1px solid var(--l1-border);
+ background: var(--l1-background);
.nav-item {
&.active {
.nav-item-data .nav-item-label {
- color: var(--bg-ink-500);
+ color: var(--l1-foreground);
}
}
}
}
.settings-page-content {
- background: var(--bg-vanilla-100);
+ background: var(--l1-background);
&::-webkit-scrollbar-track {
background: transparent;
}
&::-webkit-scrollbar-thumb {
- background: var(--bg-slate-300);
+ background: var(--l3-background);
}
&::-webkit-scrollbar-thumb:hover {
- background: var(--bg-slate-200);
+ background: var(--l3-background);
}
}
}
diff --git a/frontend/src/pages/SignUp/SignUp.styles.scss b/frontend/src/pages/SignUp/SignUp.styles.scss
index 5b26c29518..3879d5a337 100644
--- a/frontend/src/pages/SignUp/SignUp.styles.scss
+++ b/frontend/src/pages/SignUp/SignUp.styles.scss
@@ -52,8 +52,8 @@
.signup-form-container {
width: 100%;
- background: var(--bg-neutral-dark-950);
- border: 1px solid var(--l3-background);
+ background: var(--l1-background);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
padding: 24px;
@@ -82,7 +82,8 @@
height: 32px;
border-radius: 2px;
background: var(--l3-background);
- border-color: var(--l3-border);
+ border-color: var(--l1-border);
+ color: var(--l1-foreground);
}
&.ant-input-affix-wrapper {
@@ -91,12 +92,20 @@
background: transparent;
}
}
+
+ &::placeholder {
+ color: var(--l3-foreground);
+ }
+
+ &:focus {
+ border-color: var(--primary);
+ }
}
.signup-form-input {
height: 32px;
background: var(--l3-background);
- border: 1px solid var(--l3-border);
+ border: 1px solid var(--l1-border);
border-radius: 2px;
padding: 6px 8px;
font-family: Inter, sans-serif;
@@ -111,7 +120,7 @@
}
&:hover {
- border-color: var(--l3-border);
+ border-color: var(--l1-border);
}
&:focus {
@@ -127,8 +136,8 @@
}
.signup-error-callout {
- background: rgba(229, 72, 77, 0.1);
- border: 1px solid rgba(229, 72, 77, 0.2);
+ background: color-mix(in srgb, var(--bg-cherry-500) 10%, transparent);
+ border: 1px solid color-mix(in srgb, var(--bg-cherry-500) 20%, transparent);
border-radius: 4px;
animation: horizontal-shaking 300ms ease-out;
}
@@ -166,68 +175,6 @@
}
}
-.lightMode {
- .signup-card {
- .signup-form-header {
- .signup-header-icon {
- color: var(--text-ink-500);
- }
-
- .signup-header-title {
- color: var(--text-ink-500);
- }
-
- .signup-header-subtitle {
- color: var(--text-neutral-light-200);
- }
- }
-
- .signup-form {
- .signup-form-container {
- background: var(--bg-base-white);
- border: 1px solid var(--bg-vanilla-300);
-
- .signup-form-input,
- .signup-antd-input {
- &.ant-input,
- &.ant-input-password,
- &.ant-input-affix-wrapper {
- background: var(--bg-vanilla-200);
- border-color: var(--bg-vanilla-300);
- color: var(--text-ink-500);
- }
-
- &::placeholder {
- color: var(--text-neutral-light-200);
- }
-
- &:focus {
- border-color: var(--primary);
- }
- }
-
- .signup-form-input {
- background: var(--bg-vanilla-200);
- border-color: var(--bg-vanilla-300);
- color: var(--text-ink-500);
-
- &::placeholder {
- color: var(--text-neutral-light-200);
- }
-
- &:focus {
- border-color: var(--primary);
- }
- }
- }
-
- .signup-info-message {
- color: var(--text-neutral-light-200);
- }
- }
- }
-}
-
@keyframes horizontal-shaking {
0% {
transform: translateX(0);
diff --git a/frontend/src/pages/Support/Support.styles.scss b/frontend/src/pages/Support/Support.styles.scss
index 1c47b29f51..82583fe102 100644
--- a/frontend/src/pages/Support/Support.styles.scss
+++ b/frontend/src/pages/Support/Support.styles.scss
@@ -3,12 +3,12 @@
overflow: hidden;
.support-page-header {
- border-bottom: 1px solid var(--bg-slate-500);
- background: rgba(11, 12, 14, 0.7);
+ border-bottom: 1px solid var(--l1-border);
+ background: color-mix(in srgb, var(--background) 70%, transparent);
backdrop-filter: blur(20px);
.support-page-header-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
text-align: center;
font-family: Inter;
font-size: 13px;
@@ -27,7 +27,7 @@
padding: 16px;
.support-page-content-description {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
text-align: left;
font-family: Inter;
font-size: 16px;
@@ -61,11 +61,11 @@
border: none !important;
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -110,51 +110,3 @@
min-height: 240px;
}
}
-
-.lightMode {
- .support-page-container {
- .support-page-header {
- border-bottom: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
-
- .support-page-header-title {
- color: var(--bg-ink-400);
- }
- }
- }
-
- .support-page-content {
- .support-page-content-description {
- color: var(--bg-ink-400);
- }
-
- .support-channels {
- .support-channel {
- border: 1px solid var(--bg-vanilla-300);
- background: linear-gradient(
- 139deg,
- rgba(255, 255, 255, 0.8) 0%,
- rgba(255, 255, 255, 0.9) 98.68%
- );
- box-shadow: 4px 10px 16px 2px rgba(255, 255, 255, 0.2);
- backdrop-filter: blur(20px);
- }
-
- .support-channel-title {
- color: var(--bg-ink-400);
- }
-
- .support-channel-action {
- button {
- .ant-typography {
- color: var(--bg-ink-400);
- }
- }
-
- .support-channel-btn {
- color: var(--bg-ink-400);
- }
- }
- }
- }
-}
diff --git a/frontend/src/pages/TraceDetailV2/NoData/NoData.styles.scss b/frontend/src/pages/TraceDetailV2/NoData/NoData.styles.scss
index b145c64d6f..33efb54da8 100644
--- a/frontend/src/pages/TraceDetailV2/NoData/NoData.styles.scss
+++ b/frontend/src/pages/TraceDetailV2/NoData/NoData.styles.scss
@@ -19,7 +19,7 @@
}
.not-found-text-1 {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -27,7 +27,7 @@
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
.not-found-text-2 {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
}
@@ -43,7 +43,7 @@
align-items: flex-start;
gap: 12px;
border-radius: 4px;
- background: rgba(171, 189, 255, 0.04);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
.construction-img {
height: 16px;
@@ -51,7 +51,7 @@
}
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -66,7 +66,7 @@
align-items: flex-start;
gap: 12px;
border-radius: 4px;
- background: rgba(171, 189, 255, 0.04);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
.broom-img {
height: 16px;
@@ -74,7 +74,7 @@
}
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -91,7 +91,7 @@
gap: 12px;
.text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -112,8 +112,8 @@
align-items: center;
gap: 8px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-border);
box-shadow: none;
.ant-btn-icon {
@@ -128,38 +128,38 @@
.not-found-trace {
.description {
.not-found-text-1 {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
.not-found-text-2 {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
}
}
.reasons {
.reason-1 {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
.text {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
.reason-2 {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
.text {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
.none-of-above {
.text {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
.action-btns {
.action-btn {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
}
}
}
diff --git a/frontend/src/pages/TraceDetailV2/TraceDetailV2.styles.scss b/frontend/src/pages/TraceDetailV2/TraceDetailV2.styles.scss
index 1063fdea33..68fcf6c0e4 100644
--- a/frontend/src/pages/TraceDetailV2/TraceDetailV2.styles.scss
+++ b/frontend/src/pages/TraceDetailV2/TraceDetailV2.styles.scss
@@ -8,7 +8,7 @@
display: flex;
align-items: center;
gap: 8px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -20,7 +20,7 @@
.ant-tabs-tab-active {
.tab-item {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
.ant-tabs-nav {
@@ -29,7 +29,7 @@
}
.ant-tabs-nav::before {
- border-bottom: 1px solid var(--bg-slate-400) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
.ant-tabs-nav-list {
@@ -40,7 +40,7 @@
.old-switch {
display: flex;
align-items: center;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
/* Bifrost (Ancient)/Content/sm */
font-family: Inter;
@@ -71,7 +71,7 @@
align-items: center;
justify-content: center;
height: 31px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
padding: 5px 20px;
font-family: Inter;
font-size: 14px;
@@ -92,7 +92,7 @@
justify-content: center;
height: 31px;
padding: 5px 20px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -108,18 +108,18 @@
.trace-visualisation-tabs {
.ant-tabs-tab {
border-radius: 2px 0px 0px 0px;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
border-radius: 2px 2px 0px 0px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
height: 31px;
}
.ant-tabs-tab-active {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
.ant-btn {
- color: var(--bg-vanilla-100) !important;
+ color: var(--l1-foreground) !important;
}
}
@@ -130,7 +130,7 @@
.ant-tabs-ink-bar {
height: 1px !important;
- background: var(--bg-ink-500) !important;
+ background: var(--l1-background) !important;
}
.ant-tabs-nav-list {
@@ -138,7 +138,7 @@
}
.ant-tabs-nav::before {
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
}
.ant-tabs-nav {
@@ -155,54 +155,54 @@
.trace-module {
.ant-tabs-tab {
.tab-item {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
}
.ant-tabs-tab-active {
.tab-item {
- color: var(--bg-ink-100);
+ color: var(--l1-foreground);
}
}
.ant-tabs-nav::before {
- border-bottom: 1px solid var(--bg-vanilla-300) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
}
.old-switch {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
.trace-layout {
.flamegraph-waterfall-toggle {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
.span-list-toggle {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
.trace-visualisation-tabs {
.ant-tabs-tab {
- background: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
}
.ant-tabs-tab-active {
- background-color: var(--bg-vanilla-200);
+ background-color: var(--l1-background);
.ant-btn {
- color: var(--bg-ink-100) !important;
+ color: var(--l1-foreground) !important;
}
}
.ant-tabs-ink-bar {
height: 1px !important;
- background: var(--bg-vanilla-200) !important;
+ background: var(--l1-background) !important;
}
.ant-tabs-nav::before {
- border-bottom: 1px solid var(--bg-vanilla-300);
+ border-bottom: 1px solid var(--l1-border);
}
}
}
diff --git a/frontend/src/pages/TracesExplorer/Filter/Filter.styles.scss b/frontend/src/pages/TracesExplorer/Filter/Filter.styles.scss
index d7050f82a1..00b0d41368 100644
--- a/frontend/src/pages/TracesExplorer/Filter/Filter.styles.scss
+++ b/frontend/src/pages/TracesExplorer/Filter/Filter.styles.scss
@@ -1,12 +1,12 @@
.collapseContainer {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
.ant-collapse-header {
padding: 12px !important;
align-items: center !important;
}
.ant-collapse-header-text {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -22,7 +22,7 @@
.min-max-input {
.ant-input-group-addon {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono', monospace;
font-size: 11px;
font-style: normal;
@@ -35,7 +35,7 @@
.ant-input {
padding: 4px 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Space Mono', monospace;
font-size: 11px;
font-style: normal;
@@ -48,9 +48,9 @@
}
.divider {
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
margin: 0;
- border-color: var(--bg-slate-400);
+ border-color: var(--l1-border);
}
.filter-header {
@@ -61,7 +61,7 @@
gap: 6px;
.ant-typography {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -72,14 +72,14 @@
}
.sync-icon {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
border: 0;
box-shadow: none;
padding: 8px;
}
.arrow-icon {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
border: 0;
box-shadow: none;
padding-top: 8px;
@@ -107,7 +107,7 @@
}
.section-card {
- background-color: var(--bg-ink-500);
+ background-color: var(--l1-background);
.ant-card-body {
padding: 0;
display: flex;
@@ -147,50 +147,3 @@
}
}
}
-.lightMode {
- .collapseContainer {
- background-color: var(--bg-vanilla-100);
-
- .ant-collapse-header-text {
- color: var(--bg-slate-100);
- }
-
- .duration-inputs {
- .min-max-input {
- .ant-input-group-addon {
- color: var(--bg-slate-100);
- }
-
- .ant-input {
- color: var(--bg-slate-100);
- }
- }
- }
- }
-
- .divider {
- background-color: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-200);
- }
-
- .filter-header {
- .filter-title {
- .ant-typography {
- color: var(--bg-slate-100);
- }
- }
-
- .arrow-icon {
- background-color: var(--bg-vanilla-100);
- }
-
- .sync-icon {
- background-color: var(--bg-vanilla-100);
- }
- }
-
- .section-card {
- background-color: var(--bg-vanilla-100);
- box-shadow: none;
- }
-}
diff --git a/frontend/src/pages/TracesExplorer/TracesExplorer.styles.scss b/frontend/src/pages/TracesExplorer/TracesExplorer.styles.scss
index 94b67940ce..7be5ca3ba5 100644
--- a/frontend/src/pages/TracesExplorer/TracesExplorer.styles.scss
+++ b/frontend/src/pages/TracesExplorer/TracesExplorer.styles.scss
@@ -9,10 +9,10 @@
.filter-outlined-btn {
border-radius: 0px 2px 2px 0px;
- border-top: 1px solid var(--bg-slate-400);
- border-right: 1px solid var(--bg-slate-400);
- border-bottom: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-400);
+ border-top: 1px solid var(--l1-border);
+ border-right: 1px solid var(--l1-border);
+ border-bottom: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
}
@@ -41,8 +41,8 @@
.ant-select-selector {
border-radius: 2px;
- border: 1px solid var(--bg-slate-400) !important;
- background: var(--bg-ink-300) !important;
+ border: 1px solid var(--l1-border) !important;
+ background: var(--l2-background) !important;
height: 34px !important;
box-sizing: border-box !important;
}
@@ -73,8 +73,8 @@
min-height: 100vh;
border-right: 0px;
- border: 1px solid var(--bg-slate-400);
- background-color: var(--bg-ink-500);
+ border: 1px solid var(--l1-border);
+ background-color: var(--l1-background);
> .ant-card-body {
padding: 0;
@@ -84,47 +84,15 @@
.trace-explorer {
width: 100%;
- background: var(--bg-ink-500);
+ background: var(--l1-background);
> .ant-card-body {
padding: 0;
}
- border-color: var(--bg-slate-400);
+ border-color: var(--l1-border);
}
.trace-explorer.filters-expanded {
width: calc(100% - 260px);
}
}
-
-.lightMode {
- .trace-explorer-page {
- .filter {
- border: 1px solid var(--bg-vanilla-200);
- background-color: var(--bg-vanilla-100);
- }
-
- .trace-explorer {
- width: 100%;
- border-left: 1px solid var(--bg-vanilla-200);
- background: var(--bg-vanilla-200);
-
- > .ant-card-body {
- padding: 8px 8px;
- }
-
- border-color: var(--bg-vanilla-200);
- }
- }
-
- .trace-explorer-header {
- .filter-outlined-btn {
- border-radius: 0px 2px 2px 0px;
- border-top: 1px solid var(--bg-vanilla-200);
- border-right: 1px solid var(--bg-vanilla-200);
- border-bottom: 1px solid var(--bg-vanilla-200);
- background: var(--bg-vanilla-100);
- box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0);
- }
- }
-}
diff --git a/frontend/src/pages/TracesFunnelDetails/TracesFunnelDetails.styles.scss b/frontend/src/pages/TracesFunnelDetails/TracesFunnelDetails.styles.scss
index 8ac9e6d8f3..f466127b4c 100644
--- a/frontend/src/pages/TracesFunnelDetails/TracesFunnelDetails.styles.scss
+++ b/frontend/src/pages/TracesFunnelDetails/TracesFunnelDetails.styles.scss
@@ -6,7 +6,7 @@
&__steps-config {
flex-shrink: 0;
width: 600px;
- border-right: 1px solid var(--bg-slate-400);
+ border-right: 1px solid var(--l1-border);
position: relative;
}
&__steps-results {
@@ -18,11 +18,3 @@
}
}
}
-
-.lightMode {
- .traces-funnel-details {
- &__steps-config {
- border-color: var(--bg-vanilla-300);
- }
- }
-}
diff --git a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/AddFunnelDescriptionModal.styles.scss b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/AddFunnelDescriptionModal.styles.scss
index dbf7365ac2..ba0584ae0a 100644
--- a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/AddFunnelDescriptionModal.styles.scss
+++ b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/AddFunnelDescriptionModal.styles.scss
@@ -1,10 +1,10 @@
.funnel-step-modal {
.ant-modal-content {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
.ant-modal-header {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
.ant-modal-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
line-height: 20px;
@@ -19,11 +19,11 @@
display: flex;
align-items: center;
gap: 6px;
- background: var(--bg-robin-500);
+ background: var(--primary-background);
border: none;
&[disabled] {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
opacity: 1;
}
@@ -36,7 +36,7 @@
display: flex;
align-items: center;
gap: 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
.ant-btn-icon {
margin-inline-end: 0 !important;
@@ -56,7 +56,7 @@
}
&__label {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-weight: 500;
@@ -64,23 +64,23 @@
}
&__input {
- background: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-500);
- color: var(--bg-vanilla-400);
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
&::placeholder {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
opacity: 0.6;
}
&.ant-input-textarea {
.ant-input {
- background: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-500);
- color: var(--bg-vanilla-400);
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
&::placeholder {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
opacity: 0.6;
}
}
@@ -93,40 +93,40 @@
.funnel-step-modal {
.ant-modal-content {
.ant-modal-header {
- background: var(--bg-vanilla-100);
+ background: var(--l1-foreground);
.ant-modal-title {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
&__cancel-btn {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
.funnel-step-modal-content {
&__label {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
&__input {
- background: var(--bg-vanilla-400);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ background: var(--l2-foreground);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-background);
&::placeholder {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
&.ant-input-textarea {
.ant-input {
- background: var(--bg-vanilla-400);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ background: var(--l2-foreground);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-background);
&::placeholder {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/AddFunnelStepDetailsModal.styles.scss b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/AddFunnelStepDetailsModal.styles.scss
index 65438fe7d2..aae961f857 100644
--- a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/AddFunnelStepDetailsModal.styles.scss
+++ b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/AddFunnelStepDetailsModal.styles.scss
@@ -1,10 +1,10 @@
.funnel-step-modal {
.ant-modal-content {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
.ant-modal-header {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
.ant-modal-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
line-height: 20px;
@@ -19,11 +19,11 @@
display: flex;
align-items: center;
gap: 6px;
- background: var(--bg-robin-500);
+ background: var(--primary-background);
border: none;
&[disabled] {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
opacity: 1;
}
@@ -36,7 +36,7 @@
display: flex;
align-items: center;
gap: 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
.ant-btn-icon {
margin-inline-end: 0 !important;
@@ -56,7 +56,7 @@
}
&__label {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-weight: 500;
@@ -64,23 +64,23 @@
}
&__input {
- background: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-500);
- color: var(--bg-vanilla-400);
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
&::placeholder {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
opacity: 0.6;
}
&.ant-input-textarea {
.ant-input {
- background: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-500);
- color: var(--bg-vanilla-400);
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
&::placeholder {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
opacity: 0.6;
}
}
@@ -94,42 +94,42 @@
.ant-modal-content {
.ant-modal-header {
.ant-modal-title {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
&__ok-btn {
- background: var(--bg-robin-500) !important;
+ background: var(--primary-background) !important;
}
&__cancel-btn {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
.funnel-step-modal-content {
&__label {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
&__input {
- background: var(--bg-vanilla-400);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ background: var(--l2-foreground);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-background);
&::placeholder {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
&.ant-input-textarea {
.ant-input {
- background: var(--bg-vanilla-400);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ background: var(--l2-foreground);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-background);
&::placeholder {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/DeleteFunnelStep.styles.scss b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/DeleteFunnelStep.styles.scss
index e59996da6e..9d628eb1df 100644
--- a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/DeleteFunnelStep.styles.scss
+++ b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/DeleteFunnelStep.styles.scss
@@ -1,10 +1,10 @@
.funnel-step-modal {
.ant-modal-content {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
.ant-modal-header {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
.ant-modal-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
line-height: 20px;
@@ -19,11 +19,11 @@
display: flex;
align-items: center;
gap: 6px;
- background: var(--bg-robin-500);
+ background: var(--primary-background);
border: none;
&[disabled] {
- background: var(--bg-slate-400);
+ background: var(--l1-border);
opacity: 1;
}
@@ -36,7 +36,7 @@
display: flex;
align-items: center;
gap: 6px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
.ant-btn-icon {
margin-inline-end: 0 !important;
@@ -56,7 +56,7 @@
}
&__label {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-weight: 500;
@@ -64,23 +64,23 @@
}
&__input {
- background: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-500);
- color: var(--bg-vanilla-400);
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
&::placeholder {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
opacity: 0.6;
}
&.ant-input-textarea {
.ant-input {
- background: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-500);
- color: var(--bg-vanilla-400);
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
&::placeholder {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
opacity: 0.6;
}
}
@@ -94,38 +94,38 @@
.ant-modal-content {
.ant-modal-header {
.ant-modal-title {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
&__cancel-btn {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
.funnel-step-modal-content {
&__label {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
&__input {
- background: var(--bg-vanilla-400);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ background: var(--l2-foreground);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-background);
&::placeholder {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
&.ant-input-textarea {
.ant-input {
- background: var(--bg-vanilla-400);
- border: 1px solid var(--bg-vanilla-300);
- color: var(--bg-ink-400);
+ background: var(--l2-foreground);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-background);
&::placeholder {
- color: var(--bg-ink-100);
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/FunnelBreadcrumb.styles.scss b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/FunnelBreadcrumb.styles.scss
index 68c97eb2dc..c0e2bbd668 100644
--- a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/FunnelBreadcrumb.styles.scss
+++ b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/FunnelBreadcrumb.styles.scss
@@ -6,17 +6,17 @@
}
li:first-of-type {
.funnel-breadcrumb__title {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
.ant-breadcrumb-separator {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
& > ol {
gap: 6px;
}
&__title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
@@ -28,11 +28,11 @@
.lightMode {
.funnel-breadcrumb__title,
.ant-breadcrumb-separator {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
li:first-of-type {
.funnel-breadcrumb__title {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/FunnelConfiguration.styles.scss b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/FunnelConfiguration.styles.scss
index b71218531e..363432766b 100644
--- a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/FunnelConfiguration.styles.scss
+++ b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/FunnelConfiguration.styles.scss
@@ -16,7 +16,7 @@
align-items: center;
justify-content: space-between;
padding: 14px 16px;
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
&-right {
&,
& > div {
@@ -47,14 +47,14 @@
padding: 16px 16px 0 16px;
.funnel {
&-title {
- color: var(--bg-vanilla-500);
+ color: var(--l2-foreground);
font-size: 16px;
font-weight: 500;
line-height: 24px; /* 150% */
letter-spacing: -0.08px;
}
&-description {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
line-height: 18px; /* 150% */
letter-spacing: -0.06px;
@@ -75,11 +75,3 @@
padding: 16px;
}
}
-
-.lightMode {
- .funnel-configuration {
- &__header {
- border-color: var(--bg-vanilla-300);
- }
- }
-}
diff --git a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/FunnelStep.styles.scss b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/FunnelStep.styles.scss
index 2e5315a6b3..39271374ed 100644
--- a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/FunnelStep.styles.scss
+++ b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/FunnelStep.styles.scss
@@ -5,9 +5,9 @@
}
.funnel-step {
- background: var(--bg-ink-400);
- color: var(--bg-vanilla-400);
- border: 1px solid var(--bg-slate-500);
+ background: var(--l2-background);
+ color: var(--l2-foreground);
+ border: 1px solid var(--l1-border);
border-radius: 6px;
width: 100%;
@@ -46,7 +46,7 @@
width: 22px;
height: 22px;
padding: 4px;
- background: var(--bg-ink-100);
+ background: var(--l2-background);
border-radius: 2px;
position: absolute;
right: -11px;
@@ -60,7 +60,7 @@
justify-content: space-between;
align-items: start;
padding: 8px 12px;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
.funnel-step-details {
display: flex;
flex-direction: column;
@@ -76,13 +76,13 @@
}
}
&__title {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
line-height: 20px;
letter-spacing: -0.07px;
}
&__description {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
line-height: 18px;
letter-spacing: -0.06px;
@@ -122,8 +122,8 @@
flex-direction: column;
gap: 10px;
.ant-select-selector {
- background: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-500);
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
.ant-select-selection-placeholder {
font-size: 12px;
line-height: 16px;
@@ -134,7 +134,7 @@
align-items: center;
gap: 12px;
.ant-select-selection-placeholder {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
.ant-select {
width: 239px;
@@ -145,7 +145,7 @@
align-items: center;
gap: 8px;
.label {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
line-height: 20px;
font-weight: 400;
@@ -163,19 +163,19 @@
display: flex;
align-items: center;
justify-content: space-between;
- border-top: 1px solid var(--bg-slate-500);
+ border-top: 1px solid var(--l1-border);
.error {
display: flex;
align-items: center;
padding: 10.5px 12px 10.5px 16px;
gap: 20px;
- border-right: 1px solid var(--bg-slate-500);
+ border-right: 1px solid var(--l1-border);
width: 50%;
}
.error__label,
.latency-pointer__label {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
line-height: 20px;
letter-spacing: -0.07px;
@@ -191,7 +191,7 @@
align-items: center;
cursor: pointer;
&-item {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
line-height: 20px;
@@ -204,62 +204,3 @@
}
}
}
-
-.lightMode {
- .funnel-step {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-400);
- border-color: var(--bg-vanilla-300);
-
- .step-popover {
- background: var(--bg-vanilla-100);
- }
-
- &__header {
- border-color: var(--bg-vanilla-300);
- .funnel-step-details {
- &__title {
- color: var(--bg-ink-400);
- }
- &__description {
- color: var(--bg-ink-400);
- }
- }
- }
-
- &__content {
- .filters {
- .ant-select-selector {
- background: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-300);
- }
- &__service-and-span {
- .ant-select-selection-placeholder {
- color: var(--bg-ink-400);
- }
- }
- &__where-filter {
- .label {
- color: var(--bg-ink-400);
- }
- }
- }
- }
-
- &__footer {
- &,
- .error {
- border-color: var(--bg-vanilla-300);
- }
- .error__label,
- .latency-pointer__label {
- color: var(--bg-ink-400);
- }
- .latency-pointer {
- .ant-space-item {
- color: var(--bg-ink-400);
- }
- }
- }
- }
-}
diff --git a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/InterStepConfig.styles.scss b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/InterStepConfig.styles.scss
index fec99440c0..1a7d6ab9e0 100644
--- a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/InterStepConfig.styles.scss
+++ b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/InterStepConfig.styles.scss
@@ -13,12 +13,12 @@
transform: translateY(-50%);
width: 12px;
height: 12px;
- background-color: var(--bg-slate-400);
+ background-color: var(--l1-border);
border-radius: 50%;
z-index: 1;
}
&__label {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
font-size: 14px;
line-height: 20px;
letter-spacing: -0.07px;
@@ -28,30 +28,10 @@
width: 100%;
.ant-divider {
margin: 0;
- border-color: var(--bg-slate-400);
+ border-color: var(--l1-border);
}
}
&__latency-options {
flex-shrink: 0;
}
}
-
-.lightMode {
- .inter-step-config {
- background-color: var(--bg-vanilla-200);
- color: var(--bg-ink-400);
- &::before {
- background-color: var(--bg-vanilla-400);
- }
-
- &__label {
- color: var(--bg-ink-300);
- }
-
- &__divider {
- .ant-divider {
- border-color: var(--bg-vanilla-400);
- }
- }
- }
-}
diff --git a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/StepsContent.styles.scss b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/StepsContent.styles.scss
index eeadcb72c4..189f0c6f97 100644
--- a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/StepsContent.styles.scss
+++ b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/StepsContent.styles.scss
@@ -21,9 +21,9 @@
align-items: center;
gap: 6px;
border-radius: 3px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
- color: var(--bg-vanilla-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -31,7 +31,7 @@
line-height: 18px;
&:disabled {
background-color: rgba(209, 209, 209, 0.074);
- color: #5f5f5f;
+ color: var(--muted-foreground);
}
}
}
@@ -39,8 +39,8 @@
&__add-btn {
border-radius: 2px;
- border: 1px solid var(--bg-ink-200);
- background: var(--bg-ink-200);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
padding: 6px 12px;
display: flex;
@@ -70,14 +70,14 @@
align-items: center;
justify-content: center;
border: none;
- background-color: var(--bg-slate-400) !important;
+ background-color: var(--l1-border) !important;
& > .ant-steps-icon {
font-size: 13px;
font-weight: 400;
line-height: normal;
letter-spacing: -0.065px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
@@ -91,7 +91,7 @@
padding: 20px 0 0 !important;
&::after {
- background-color: var(--bg-slate-400) !important;
+ background-color: var(--l1-border) !important;
}
}
@@ -104,7 +104,7 @@
transform: translateY(-50%);
width: 12px;
height: 12px;
- background-color: var(--bg-ink-400);
+ background-color: var(--l2-background);
border-radius: 50%;
z-index: 1;
}
@@ -113,40 +113,26 @@
// Light mode styles
.lightMode {
- .funnel-step-wrapper__replace-button {
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- border: none;
- }
.steps-content {
- &__add-btn {
- background: var(--bg-vanilla-300);
- border: none;
- color: var(--bg-ink-400);
-
- &:hover {
- background: var(--bg-vanilla-400);
- }
- }
-
+ .ant-steps-item-process .ant-steps-item-icon,
.ant-steps-item-icon {
- background-color: var(--bg-vanilla-400) !important;
+ background-color: var(--l3-background) !important;
- .ant-steps-icon {
- color: var(--bg-ink-400);
+ & > .ant-steps-icon {
+ color: var(--l1-foreground);
}
}
- .ant-steps-item-tail::after {
- background-color: var(--bg-vanilla-400) !important;
- }
-
- .inter-step-config::before {
- background-color: var(--bg-vanilla-400);
+ .ant-steps-item-tail {
+ &::after {
+ background-color: var(--l1-border) !important;
+ }
}
- .latency-step-marker::before {
- background-color: var(--bg-vanilla-400);
+ .latency-step-marker {
+ &::before {
+ background-color: var(--l3-background);
+ }
}
}
}
diff --git a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/StepsFooter.styles.scss b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/StepsFooter.styles.scss
index 784a325cff..5103a1e0bc 100644
--- a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/StepsFooter.styles.scss
+++ b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/StepsFooter.styles.scss
@@ -1,6 +1,6 @@
.steps-footer {
- border-top: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-500);
+ border-top: 1px solid var(--l1-border);
+ background: var(--l1-background);
padding: 16px;
position: absolute;
left: 0;
@@ -41,13 +41,13 @@
border-radius: 2px;
&--run {
- background-color: var(--bg-robin-500);
+ background-color: var(--primary-background);
}
&--updating {
display: flex;
align-items: center;
gap: 4px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
}
}
@@ -55,11 +55,11 @@
.lightMode {
.steps-footer {
- border-top: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-200);
+ border-top: 1px solid var(--l1-border);
+ background: var(--l2-background);
&__left {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
&__valid-traces {
@@ -70,7 +70,7 @@
&__button {
&--save {
- background: var(--bg-vanilla-300);
+ background: var(--l3-background);
}
&--run {
background-color: var(--bg-robin-400);
diff --git a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/StepsHeader.styles.scss b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/StepsHeader.styles.scss
index 9cf5247359..82133933ba 100644
--- a/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/StepsHeader.styles.scss
+++ b/frontend/src/pages/TracesFunnelDetails/components/FunnelConfiguration/StepsHeader.styles.scss
@@ -4,7 +4,7 @@
justify-content: center;
gap: 6px;
&__label {
- color: var(--bg-slate-50);
+ color: var(--muted-foreground);
font-size: 12px;
font-weight: 600;
line-height: 18px;
@@ -16,7 +16,7 @@
width: 100%;
.ant-divider {
margin: 0;
- border-color: var(--bg-slate-400);
+ border-color: var(--l1-border);
}
}
&__time-range {
@@ -29,7 +29,7 @@
}
&,
input {
- background: var(--bg-ink-300);
+ background: var(--l3-background);
font-size: 12px;
}
}
@@ -39,7 +39,7 @@
.lightMode {
.steps-header {
&__label {
- color: var(--bg-ink-400);
+ color: var(--l2-foreground);
}
.timeSelection-input {
&,
diff --git a/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/EmptyFunnelResults.styles.scss b/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/EmptyFunnelResults.styles.scss
index 16caf0934a..6a4082550c 100644
--- a/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/EmptyFunnelResults.styles.scss
+++ b/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/EmptyFunnelResults.styles.scss
@@ -10,7 +10,7 @@
gap: 4px;
&__title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
font-weight: 500;
line-height: 18px;
@@ -18,7 +18,7 @@
}
&__description {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
line-height: 18px;
letter-spacing: -0.07px;
@@ -32,11 +32,11 @@
.lightMode {
.empty-funnel-results {
&__title {
- color: var(--bg-ink-400);
+ color: var(--l1-foreground);
}
&__description {
- color: var(--bg-ink-300);
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/FunnelGraph.styles.scss b/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/FunnelGraph.styles.scss
index 0c61f9778f..9e31ff7a15 100644
--- a/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/FunnelGraph.styles.scss
+++ b/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/FunnelGraph.styles.scss
@@ -2,10 +2,10 @@
width: 100%;
padding: 16px;
height: 459px;
- background: var(--bg-ink-500);
+ background: var(--l1-background);
border-radius: 6px;
box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
display: flex;
align-items: center;
justify-content: center;
@@ -79,7 +79,7 @@
}
&--total {
- background-color: var(--bg-robin-500);
+ background-color: var(--primary-background);
}
&--error {
@@ -87,31 +87,16 @@
}
&__label {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
}
&__value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-size: 12px;
}
}
}
}
-
-.lightMode {
- .funnel-graph {
- background: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
- &__legend-column {
- .legend-item {
- &__label,
- &__value {
- color: var(--bg-ink-500);
- }
- }
- }
- }
-}
diff --git a/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/FunnelMetricsTable.styles.scss b/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/FunnelMetricsTable.styles.scss
index 62fbe6fc20..d2a978eebd 100644
--- a/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/FunnelMetricsTable.styles.scss
+++ b/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/FunnelMetricsTable.styles.scss
@@ -1,8 +1,8 @@
.funnel-metrics {
- background: var(--bg-ink-500);
+ background: var(--l1-background);
border-radius: 6px;
box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
&--loading-state,
&--empty-state {
padding: 16px;
@@ -13,11 +13,11 @@
justify-content: space-between;
align-items: center;
padding: 14px 16px;
- border-bottom: 1px solid var(--bg-slate-500);
+ border-bottom: 1px solid var(--l1-border);
}
&__title {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-weight: 500;
line-height: 22px;
@@ -31,7 +31,7 @@
gap: 8px;
&-label {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 14px;
line-height: 22px; /* 157.143% */
@@ -39,7 +39,7 @@
}
&-value {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: 'Geist Mono';
font-size: 14px;
font-style: normal;
@@ -60,10 +60,10 @@
gap: 26px;
padding: 14px 16px;
&:not(:last-child) {
- border-right: 1px solid var(--bg-slate-500);
+ border-right: 1px solid var(--l1-border);
}
&-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
line-height: 22px; /* 157.143% */
letter-spacing: -0.07px;
@@ -71,7 +71,7 @@
&-value,
&-unit {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-family: 'Geist Mono';
font-size: 14px;
line-height: 22px; /* 157.143% */
@@ -82,40 +82,40 @@
.lightMode {
.funnel-metrics {
- background: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
+ background: var(--l1-foreground);
+ border: 1px solid var(--l1-border);
box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.05);
&__header {
- border-bottom: 1px solid var(--bg-vanilla-300);
+ border-bottom: 1px solid var(--l1-border);
}
&__title {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
&__subtitle {
&-label {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
&-value {
- color: var(--text-ink-500);
+ color: var(--l1-foreground);
}
}
&__item {
&:not(:last-child) {
- border-right: 1px solid var(--bg-vanilla-300);
+ border-right: 1px solid var(--l1-border);
}
&-title {
- color: var(--text-ink-500);
+ color: var(--l1-foreground);
}
&-value,
&-unit {
- color: var(--text-ink-300);
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/FunnelTable.styles.scss b/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/FunnelTable.styles.scss
index b963144d43..5c3c4a9167 100644
--- a/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/FunnelTable.styles.scss
+++ b/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/FunnelTable.styles.scss
@@ -3,26 +3,26 @@
}
.funnel-table {
border-radius: 3px;
- border: 1px solid var(--bg-slate-500);
+ border: 1px solid var(--l1-border);
table {
background: linear-gradient(
0deg,
- rgba(171, 189, 255, 0.01) 0%,
- rgba(171, 189, 255, 0.01) 100%
+ color-mix(in srgb, var(--bg-robin-200) 1%, transparent) 0%,
+ color-mix(in srgb, var(--bg-robin-200) 1%, transparent) 100%
),
- #0b0c0e;
+ var(--background);
}
&__header {
padding: 12px 14px 12px;
padding-bottom: 24px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 18px;
- background: var(--bg-ink-400);
+ background: var(--l2-background);
display: flex;
justify-content: space-between;
align-items: center;
@@ -32,7 +32,7 @@
.ant-table-thead > tr > th {
padding: 2px 12px;
border-bottom: none;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 11px;
font-style: normal;
@@ -54,17 +54,17 @@
padding: 12px;
font-size: 13px;
line-height: 20px;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
border-bottom: none;
}
.ant-table-tbody > tr:hover > td {
- background: rgba(255, 255, 255, 0.04);
+ background: color-mix(in srgb, var(--l1-foreground) 4%, transparent);
}
.ant-table-cell:first-child {
text-align: justify;
- background: rgba(171, 189, 255, 0.04);
+ background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
}
.ant-table-cell:nth-child(2) {
@@ -102,7 +102,7 @@
}
.table-row-dark {
- background: rgba(var(--bg-vanilla-100-rgb), 0.01);
+ background: color-mix(in srgb, var(--l1-foreground) 1%, transparent);
}
.trace-id-cell {
@@ -118,16 +118,16 @@
.lightMode {
.funnel-table {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
.ant-table {
.ant-table-thead > tr > th {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
+ background: var(--l1-foreground);
+ color: var(--l2-foreground);
}
.ant-table-cell {
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-500);
+ background: var(--l1-foreground);
+ color: var(--l1-background);
}
.ant-table-tbody > tr:hover > td {
@@ -136,18 +136,18 @@
.table-row-light {
background: none;
- color: var(--bg-ink-500);
+ color: var(--l1-background);
}
.table-row-dark {
background: none;
- color: var(--bg-ink-500);
+ color: var(--l1-background);
}
}
&__header {
- background: var(--bg-vanilla-100);
- color: var(--text-ink-300);
+ background: var(--l1-foreground);
+ color: var(--l2-foreground);
}
}
}
diff --git a/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/StepsTransitionResults.styles.scss b/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/StepsTransitionResults.styles.scss
index 842b21963a..fb0468f581 100644
--- a/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/StepsTransitionResults.styles.scss
+++ b/frontend/src/pages/TracesFunnelDetails/components/FunnelResults/StepsTransitionResults.styles.scss
@@ -19,18 +19,18 @@
&__steps-selector {
.views-tabs {
.tab {
- background: var(--bg-vanilla-100);
+ background: var(--l1-foreground);
}
.selected_view {
- background: var(--bg-vanilla-300);
- border: 1px solid var(--bg-slate-300);
- color: var(--text-ink-400);
+ background: var(--l3-background);
+ border: 1px solid var(--l1-border);
+ color: var(--l2-foreground);
}
.selected_view::before {
- background: var(--bg-vanilla-300);
- border-left: 1px solid var(--bg-slate-300);
+ background: var(--l3-background);
+ border-left: 1px solid var(--l1-border);
}
}
}
diff --git a/frontend/src/pages/TracesFunnels/TracesFunnels.styles.scss b/frontend/src/pages/TracesFunnels/TracesFunnels.styles.scss
index a6669609f5..46c83aeaab 100644
--- a/frontend/src/pages/TracesFunnels/TracesFunnels.styles.scss
+++ b/frontend/src/pages/TracesFunnels/TracesFunnels.styles.scss
@@ -36,8 +36,8 @@
.ant-popover-content {
.ant-popover-inner {
padding: 0;
- background: var(--bg-ink-400);
- border: 1px solid var(--bg-slate-500);
+ background: var(--l2-background);
+ border: 1px solid var(--l1-border);
border-radius: 4px;
.sort-content {
@@ -45,7 +45,7 @@
min-width: 160px;
.sort-heading {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
padding: 6px 8px;
}
@@ -53,14 +53,14 @@
.sort-btns {
width: 100%;
text-align: left;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
display: flex;
justify-content: space-between;
align-items: center;
padding: 6px 8px;
&:hover {
- background: var(--bg-slate-500);
+ background: var(--l1-border);
border-radius: 4px;
}
}
@@ -70,39 +70,3 @@
}
// Light mode styles
-.lightMode {
- .traces-funnels {
- &__content {
- .title {
- color: var(--bg-ink-500);
- }
-
- .subtitle {
- color: var(--bg-ink-400);
- }
- }
- }
-
- .sort-funnels {
- .ant-popover-content {
- .ant-popover-inner {
- background: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
-
- .sort-content {
- .sort-heading {
- color: var(--bg-ink-400);
- }
-
- .sort-btns {
- color: var(--bg-ink-500);
-
- &:hover {
- background: var(--bg-vanilla-200);
- }
- }
- }
- }
- }
- }
-}
diff --git a/frontend/src/pages/TracesFunnels/components/DeleteFunnel/DeleteFunnel.styles.scss b/frontend/src/pages/TracesFunnels/components/DeleteFunnel/DeleteFunnel.styles.scss
index 3d21ceefed..b9d579c1a6 100644
--- a/frontend/src/pages/TracesFunnels/components/DeleteFunnel/DeleteFunnel.styles.scss
+++ b/frontend/src/pages/TracesFunnels/components/DeleteFunnel/DeleteFunnel.styles.scss
@@ -3,7 +3,7 @@
background: var(--bg-cherry-500) !important;
}
.delete-funnel-modal-content {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
@@ -20,6 +20,6 @@
.lightMode {
.delete-funnel-modal-content {
- color: var(--bg-ink-100) !important;
+ color: var(--l2-foreground) !important;
}
}
diff --git a/frontend/src/pages/TracesFunnels/components/FunnelsEmptyState/FunnelsEmptyState.styles.scss b/frontend/src/pages/TracesFunnels/components/FunnelsEmptyState/FunnelsEmptyState.styles.scss
index 4de4c204ba..bd483f7aa4 100644
--- a/frontend/src/pages/TracesFunnels/components/FunnelsEmptyState/FunnelsEmptyState.styles.scss
+++ b/frontend/src/pages/TracesFunnels/components/FunnelsEmptyState/FunnelsEmptyState.styles.scss
@@ -10,7 +10,7 @@
gap: 24px;
padding: 105px 172px;
border-radius: 6px;
- border: 1px dashed var(--bg-slate-500);
+ border: 1px dashed var(--l1-border);
}
&__header {
@@ -25,14 +25,14 @@
}
&__title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
font-weight: 500;
letter-spacing: -0.07px;
}
&__subtitle {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 400;
letter-spacing: -0.07px;
@@ -50,7 +50,7 @@
align-items: center;
justify-content: center;
gap: 6px;
- background: var(--bg-robin-500);
+ background: var(--primary-background);
border: none;
width: 153px;
height: 32px;
@@ -64,19 +64,19 @@
.lightMode {
.funnels-empty {
&__content {
- border: 1px dashed var(--bg-vanilla-400);
+ border: 1px dashed var(--l2-foreground);
}
&__icon {
- color: var(--bg-ink-500);
+ color: var(--l1-background);
}
&__title {
- color: var(--bg-ink-500);
+ color: var(--l1-background);
}
&__subtitle {
- color: var(--bg-ink-400);
+ color: var(--l2-background);
}
}
}
diff --git a/frontend/src/pages/TracesFunnels/components/FunnelsList/FunnelsList.styles.scss b/frontend/src/pages/TracesFunnels/components/FunnelsList/FunnelsList.styles.scss
index 84f8a44f54..ec4538b9b5 100644
--- a/frontend/src/pages/TracesFunnels/components/FunnelsList/FunnelsList.styles.scss
+++ b/frontend/src/pages/TracesFunnels/components/FunnelsList/FunnelsList.styles.scss
@@ -5,8 +5,8 @@
.funnel-item {
padding: 12px 16px 16px;
- border: 1px solid var(--bg-slate-500);
- background: var(--bg-ink-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
cursor: pointer;
&:first-child {
@@ -25,7 +25,7 @@
}
&__title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
line-height: 20px;
letter-spacing: -0.07px;
font-size: 14px;
@@ -33,7 +33,7 @@
}
&__action-icon {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
opacity: 0;
transition: opacity 0.2s ease;
cursor: pointer;
@@ -55,9 +55,9 @@
align-items: center;
gap: 6px;
border-radius: 3px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
- color: var(--bg-vanilla-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
+ color: var(--l2-foreground);
font-family: Inter;
font-size: 12px;
font-style: normal;
@@ -66,7 +66,7 @@
box-shadow: none;
&:disabled {
background-color: rgba(209, 209, 209, 0.074);
- color: #5f5f5f;
+ color: var(--muted-foreground);
}
.ant-btn-icon {
margin: 0 !important;
@@ -79,11 +79,11 @@
height: auto;
flex-shrink: 0;
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -97,10 +97,10 @@
align-items: center;
gap: 8px;
padding: 12px 14px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
&:not(:last-child) {
- border-bottom: 1px solid var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
}
&--delete {
@@ -123,7 +123,7 @@
display: flex;
align-items: center;
gap: 4px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 400;
line-height: 18px; /* 128.571% */
@@ -133,55 +133,13 @@
width: 14px;
height: 14px;
border-radius: 50%;
- background: var(--bg-slate-300);
+ background: var(--l3-background);
display: flex;
justify-content: center;
align-items: center;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 8px;
}
}
// Light mode styles
-.lightMode {
- .funnel-item {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
-
- &__title {
- color: var(--bg-ink-500);
- }
- &__actions {
- .ant-popover-inner {
- background: unset;
- border: unset;
- }
- }
- &__open-button {
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- border: none;
- }
- &__action-btn {
- color: var(--bg-ink-400);
- border: unset;
-
- &:hover {
- background: var(--bg-vanilla-200);
- }
-
- &--delete {
- color: var(--bg-cherry-400);
- }
- }
-
- &__created-at {
- color: var(--bg-ink-400);
- }
-
- &__user-avatar {
- background: var(--bg-vanilla-200);
- color: var(--bg-ink-400);
- }
- }
-}
diff --git a/frontend/src/pages/TracesFunnels/components/Header/Header.styles.scss b/frontend/src/pages/TracesFunnels/components/Header/Header.styles.scss
index 647ad5d958..abba1a93b3 100644
--- a/frontend/src/pages/TracesFunnels/components/Header/Header.styles.scss
+++ b/frontend/src/pages/TracesFunnels/components/Header/Header.styles.scss
@@ -4,7 +4,7 @@
gap: 4px;
.traces-funnels-header-title {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 18px;
font-style: normal;
font-weight: 500;
@@ -14,20 +14,8 @@
}
.traces-funnels-header-subtitle {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
line-height: 20px;
}
}
-
-.lightMode {
- .traces-funnels-header {
- .traces-funnels-header-title {
- color: var(--bg-ink-500);
- }
-
- .traces-funnels-header-subtitle {
- color: var(--bg-ink-400);
- }
- }
-}
diff --git a/frontend/src/pages/TracesFunnels/components/RenameFunnel/RenameFunnel.styles.scss b/frontend/src/pages/TracesFunnels/components/RenameFunnel/RenameFunnel.styles.scss
index 0a020e7bec..2871faaee1 100644
--- a/frontend/src/pages/TracesFunnels/components/RenameFunnel/RenameFunnel.styles.scss
+++ b/frontend/src/pages/TracesFunnels/components/RenameFunnel/RenameFunnel.styles.scss
@@ -22,9 +22,9 @@
.funnel-modal__ok-btn {
width: 138px;
justify-content: center;
- background-color: var(--bg-robin-500);
+ background-color: var(--primary-background);
margin: 0 !important;
- color: var(--bg-vanilla-100);
+ color: var(--primary-foreground);
font-weight: 500;
&:disabled {
opacity: 0.5;
@@ -32,8 +32,8 @@
}
.funnel-modal__cancel-btn {
- background-color: var(--bg-slate-500);
- color: var(--bg-vanilla-400);
+ background-color: var(--l1-border);
+ color: var(--l2-foreground);
font-weight: 400;
letter-spacing: -0.07px;
width: 74px;
@@ -47,18 +47,16 @@
gap: 8px;
&__label {
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
font-size: 14px;
font-weight: 500;
line-height: 20px;
}
&__input {
- background: var(--bg-ink-300);
- border: 1px solid var(--bg-slate-400);
border-radius: 2px;
padding: 6px 8px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 400;
line-height: 18px;
@@ -77,35 +75,3 @@
margin-top: 4px;
}
}
-
-// Light mode styles
-.lightMode {
- .funnel-modal-content {
- &__label {
- color: var(--bg-ink-500);
- }
-
- &__input {
- background: var(--bg-vanilla-100);
- border-color: var(--bg-vanilla-300);
- color: var(--bg-ink-500);
-
- &:hover,
- &:focus {
- border-color: var(--bg-robin-500);
- }
-
- &--error {
- border-color: var(--bg-cherry-500);
- }
- }
-
- &__error {
- color: var(--bg-cherry-500);
- }
- }
- .funnel-modal__cancel-btn {
- background-color: var(--bg-slate-100) !important;
- color: var(--bg-vanilla-100) !important;
- }
-}
diff --git a/frontend/src/pages/TracesFunnels/components/SearchBar/SearchBar.styles.scss b/frontend/src/pages/TracesFunnels/components/SearchBar/SearchBar.styles.scss
index 456addf0fc..e494ae6aeb 100644
--- a/frontend/src/pages/TracesFunnels/components/SearchBar/SearchBar.styles.scss
+++ b/frontend/src/pages/TracesFunnels/components/SearchBar/SearchBar.styles.scss
@@ -12,7 +12,7 @@
&,
input {
font-family: Inter;
- background: var(--bg-ink-300);
+ background: var(--l3-background);
font-size: 14px;
line-height: 18px;
font-style: normal;
@@ -20,7 +20,7 @@
font-weight: 400;
}
input::placeholder {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
opacity: 0.4;
}
}
@@ -30,7 +30,7 @@
align-items: center;
justify-content: center;
gap: 6px;
- background: var(--bg-robin-500);
+ background: var(--primary-background);
border-radius: 1.5px;
width: 156px;
height: 32px;
@@ -51,9 +51,9 @@
width: 66px;
padding: 6px;
border-radius: 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
- color: var(--bg-vanilla-400);
+ border: 1px solid var(--l1-border);
+ background: var(--l2-background);
+ color: var(--l2-foreground);
font-size: 12px;
font-weight: 500;
line-height: 10px;
@@ -69,11 +69,11 @@
padding: 0px;
align-items: center;
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -84,7 +84,7 @@
align-items: flex-start;
width: 140px;
&__heading {
- color: var(--bg-slate-200);
+ color: var(--l2-foreground);
font-size: 11px;
font-weight: 600;
line-height: 18px; /* 163.636% */
@@ -99,7 +99,7 @@
justify-content: space-between;
align-items: center;
width: 100%;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 14px;
font-weight: 400;
letter-spacing: 0.14px;
@@ -109,39 +109,3 @@
}
}
}
-
-.lightMode {
- .sort-popover {
- .ant-popover-content {
- .ant-popover-inner {
- background: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
- }
- }
- &-content {
- &__heading {
- color: var(--bg-ink-400);
- }
-
- &__button {
- color: var(--bg-ink-500);
-
- &:hover {
- background: var(--bg-vanilla-200);
- }
- }
- }
- }
- .search__sort-btn {
- background: var(--bg-vanilla-300);
- color: var(--bg-ink-400);
- border: unset;
- }
- .search__input,
- .search__input input {
- background: var(--bg-vanilla-100);
- &::placeholder {
- color: unset;
- }
- }
-}
diff --git a/frontend/src/pages/TracesModulePage/TracesModulePage.styles.scss b/frontend/src/pages/TracesModulePage/TracesModulePage.styles.scss
index 937b17ec04..4d5edaf343 100644
--- a/frontend/src/pages/TracesModulePage/TracesModulePage.styles.scss
+++ b/frontend/src/pages/TracesModulePage/TracesModulePage.styles.scss
@@ -4,7 +4,7 @@
margin-bottom: 0px;
&::before {
- border-bottom: 1px solid var(--bg-slate-400) !important;
+ border-bottom: 1px solid var(--l1-border) !important;
}
}
@@ -18,13 +18,3 @@
transform: rotate(180deg);
}
}
-
-.lightMode {
- .traces-module-container {
- .ant-tabs-nav {
- &::before {
- border-bottom: 1px solid var(--bg-vanilla-300) !important;
- }
- }
- }
-}
diff --git a/frontend/src/pages/WorkspaceAccessRestricted/WorkspaceAccessRestricted.styles.scss b/frontend/src/pages/WorkspaceAccessRestricted/WorkspaceAccessRestricted.styles.scss
index bd5c497e7b..4922961c9c 100644
--- a/frontend/src/pages/WorkspaceAccessRestricted/WorkspaceAccessRestricted.styles.scss
+++ b/frontend/src/pages/WorkspaceAccessRestricted/WorkspaceAccessRestricted.styles.scss
@@ -26,10 +26,10 @@ $dark-theme: 'darkMode';
.ant-tabs {
&-nav {
&::before {
- border-color: var(--bg-slate-500);
+ border-color: var(--l1-border);
.#{$light-theme} & {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
}
}
@@ -47,18 +47,18 @@ $dark-theme: 'darkMode';
}
.ant-modal-content {
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
.#{$light-theme} & {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
}
}
@@ -68,10 +68,10 @@ $dark-theme: 'darkMode';
.ant-list {
&-item {
- border-color: var(--bg-slate-500);
+ border-color: var(--l1-border);
.#{$light-theme} & {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&-meta {
@@ -89,11 +89,11 @@ $dark-theme: 'darkMode';
}
&__title {
font-weight: 500;
- color: var(--text-vanilla-100);
+ color: var(--l1-foreground);
font-size: 18px;
.#{$light-theme} & {
- color: var(--text-ink-200);
+ color: var(--foreground);
}
}
&__cta {
@@ -106,7 +106,7 @@ $dark-theme: 'darkMode';
&__details {
width: 80%;
margin: 0 auto;
- color: var(--text-vanilla-400, #c0c1c3);
+ color: var(--muted-foreground);
text-align: center;
font-size: 16px;
font-style: normal;
@@ -114,17 +114,17 @@ $dark-theme: 'darkMode';
line-height: 24px; /* 150% */
.#{$light-theme} & {
- color: var(--text-ink-200);
+ color: var(--foreground);
}
&__highlight {
- color: var(--text-vanilla-100, #fff);
+ color: var(--l1-foreground, #fff);
font-style: normal;
font-weight: 700;
line-height: 24px;
.#{$light-theme} & {
- color: var(--text-ink-100);
+ color: var(--foreground);
}
}
}
diff --git a/frontend/src/pages/WorkspaceLocked/WorkspaceLocked.styles.scss b/frontend/src/pages/WorkspaceLocked/WorkspaceLocked.styles.scss
index 53667471b8..e3af0814ec 100644
--- a/frontend/src/pages/WorkspaceLocked/WorkspaceLocked.styles.scss
+++ b/frontend/src/pages/WorkspaceLocked/WorkspaceLocked.styles.scss
@@ -26,10 +26,10 @@ $dark-theme: 'darkMode';
.ant-tabs {
&-nav {
&::before {
- border-color: var(--bg-slate-500);
+ border-color: var(--l1-border);
.#{$light-theme} & {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
}
}
@@ -51,28 +51,28 @@ $dark-theme: 'darkMode';
gap: 8px;
.ant-btn-link {
- color: var(--text-vanilla-400);
+ color: var(--muted-foreground);
.#{$light-theme} & {
- color: var(--text-ink-200);
+ color: var(--foreground);
}
}
}
}
.ant-modal-content {
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
.#{$light-theme} & {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
}
}
@@ -82,10 +82,10 @@ $dark-theme: 'darkMode';
.ant-list {
&-item {
- border-color: var(--bg-slate-500);
+ border-color: var(--l1-border);
.#{$light-theme} & {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&-meta {
@@ -103,10 +103,10 @@ $dark-theme: 'darkMode';
}
&__title {
font-weight: 400;
- color: var(--text-vanilla-400);
+ color: var(--muted-foreground);
.#{$light-theme} & {
- color: var(--text-ink-200);
+ color: var(--foreground);
}
}
&__cta {
@@ -119,7 +119,7 @@ $dark-theme: 'darkMode';
&__details {
width: 80%;
margin: 0 auto;
- color: var(--text-vanilla-400, #c0c1c3);
+ color: var(--muted-foreground);
text-align: center;
font-size: 16px;
font-style: normal;
@@ -127,17 +127,17 @@ $dark-theme: 'darkMode';
line-height: 24px; /* 150% */
.#{$light-theme} & {
- color: var(--text-ink-200);
+ color: var(--foreground);
}
&__highlight {
- color: var(--text-vanilla-100, #fff);
+ color: var(--l1-foreground, #fff);
font-style: normal;
font-weight: 700;
line-height: 24px;
.#{$light-theme} & {
- color: var(--text-ink-100);
+ color: var(--foreground);
}
}
}
@@ -164,7 +164,7 @@ $dark-theme: 'darkMode';
.ant-collapse-item,
.ant-collapse-content-active {
.#{$dark-theme} & {
- border-color: var(--bg-slate-400);
+ border-color: var(--l1-border);
}
}
}
@@ -188,10 +188,10 @@ $dark-theme: 'darkMode';
.contact-us {
margin-top: 48px;
- color: var(--text-vanilla-400);
+ color: var(--muted-foreground);
.#{$light-theme} & {
- color: var(--text-ink-200);
+ color: var(--foreground);
}
}
diff --git a/frontend/src/pages/WorkspaceLocked/customerStoryCard.styles.scss b/frontend/src/pages/WorkspaceLocked/customerStoryCard.styles.scss
index 7abddada3a..7c90e3a4ef 100644
--- a/frontend/src/pages/WorkspaceLocked/customerStoryCard.styles.scss
+++ b/frontend/src/pages/WorkspaceLocked/customerStoryCard.styles.scss
@@ -8,12 +8,12 @@ $light-theme: 'lightMode';
margin-bottom: 24px;
border-radius: 6px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
- background-color: var(--bg-ink-400);
- border: 1px solid var(--bg-ink-300);
+ background-color: var(--card);
+ border: 1px solid var(--l1-border);
.#{$light-theme} & {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
}
.#{$ant-card-override}-meta-title {
@@ -23,11 +23,11 @@ $light-theme: 'lightMode';
&:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
- background-color: var(--bg-ink-300);
+ background-color: var(--l2-background);
.#{$light-theme} & {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
- background-color: var(--bg-vanilla-100);
+ background-color: var(--card);
}
}
}
diff --git a/frontend/src/pages/WorkspaceSuspended/WorkspaceSuspended.styles.scss b/frontend/src/pages/WorkspaceSuspended/WorkspaceSuspended.styles.scss
index 49cba71f0b..5c84a0da95 100644
--- a/frontend/src/pages/WorkspaceSuspended/WorkspaceSuspended.styles.scss
+++ b/frontend/src/pages/WorkspaceSuspended/WorkspaceSuspended.styles.scss
@@ -26,10 +26,10 @@ $dark-theme: 'darkMode';
.ant-tabs {
&-nav {
&::before {
- border-color: var(--bg-slate-500);
+ border-color: var(--l1-border);
.#{$light-theme} & {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
}
}
@@ -53,18 +53,18 @@ $dark-theme: 'darkMode';
}
.ant-modal-content {
border-radius: 4px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
.#{$light-theme} & {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
}
}
@@ -74,10 +74,10 @@ $dark-theme: 'darkMode';
.ant-list {
&-item {
- border-color: var(--bg-slate-500);
+ border-color: var(--l1-border);
.#{$light-theme} & {
- border-color: var(--bg-vanilla-300);
+ border-color: var(--l1-border);
}
&-meta {
@@ -95,10 +95,10 @@ $dark-theme: 'darkMode';
}
&__title {
font-weight: 400;
- color: var(--text-vanilla-400);
+ color: var(--muted-foreground);
.#{$light-theme} & {
- color: var(--text-ink-200);
+ color: var(--foreground);
}
}
&__cta {
@@ -111,7 +111,7 @@ $dark-theme: 'darkMode';
&__details {
width: 80%;
margin: 0 auto;
- color: var(--text-vanilla-400, #c0c1c3);
+ color: var(--muted-foreground);
text-align: center;
font-size: 16px;
font-style: normal;
@@ -119,17 +119,17 @@ $dark-theme: 'darkMode';
line-height: 24px; /* 150% */
.#{$light-theme} & {
- color: var(--text-ink-200);
+ color: var(--foreground);
}
&__highlight {
- color: var(--text-vanilla-100, #fff);
+ color: var(--l1-foreground, #fff);
font-style: normal;
font-weight: 700;
line-height: 24px;
.#{$light-theme} & {
- color: var(--text-ink-100);
+ color: var(--foreground);
}
}
}
diff --git a/frontend/src/periscope.scss b/frontend/src/periscope.scss
index b435222ae2..04cb4ab15c 100644
--- a/frontend/src/periscope.scss
+++ b/frontend/src/periscope.scss
@@ -13,32 +13,34 @@
padding: 6px;
- border: 1px solid var(--bg-slate-400, #1d212d);
+ border: 1px solid var(--l1-border);
border-radius: 3px;
- background: var(--bg-ink-400, #121317);
+ background: var(--l2-background);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
&.ghost {
box-shadow: none;
border: none;
background: transparent;
- color: var(--bg-vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
}
cursor: pointer;
&.primary {
- color: var(--bg-vanilla-100) !important;
- background-color: var(--bg-robin-500) !important;
+ color: var(--primary-foreground) !important;
+ background-color: var(--primary-background) !important;
border: none;
- box-shadow: 0 2px 0 rgba(62, 86, 245, 0.09);
+ box-shadow: 0 2px 0
+ color-mix(in srgb, var(--primary-background) 9%, transparent);
}
&.secondary {
border-radius: 3px;
- border: 1px solid var(--Slate-300, #242834);
- background: var(--Ink-200, #23262e);
+ border: 1px solid var(--secondary-border);
+ background: var(--secondary-background);
+ color: var(--secondary-foreground);
}
&:disabled {
@@ -46,7 +48,7 @@
}
&.link {
- color: var(--Vanilla-400, #c0c1c3);
+ color: var(--l2-foreground);
border: none;
box-shadow: none;
@@ -57,13 +59,13 @@
line-height: 20px;
&:hover {
- color: var(--bg-vanilla-100) !important;
+ color: var(--l1-foreground) !important;
background-color: transparent !important;
}
}
&.text {
- color: var(--bg-vanilla-100) !important;
+ color: var(--l1-foreground) !important;
background-color: transparent !important;
border: none;
box-shadow: none;
@@ -71,37 +73,47 @@
padding: 4px 4px;
&:hover {
- color: var(--bg-vanilla-300) !important;
+ color: var(--l2-foreground) !important;
background-color: transparent !important;
}
}
&.success {
- color: var(--bg-forest-400) !important;
+ color: var(--success-foreground) !important;
border-radius: 2px;
- border: 1px solid rgba(37, 225, 146, 0.1);
- background: rgba(37, 225, 146, 0.1) !important;
+ border: 1px solid
+ color-mix(in srgb, var(--success-background) 10%, transparent);
+ background: color-mix(
+ in srgb,
+ var(--success-background) 10%,
+ transparent
+ ) !important;
box-shadow: none !important;
}
&.warning {
- color: var(--bg-amber-500) !important;
+ color: var(--warning-foreground) !important;
border-radius: 2px;
- border: 1px solid rgba(255, 184, 0, 0.1);
- background: rgba(255, 184, 0, 0.1) !important;
+ border: 1px solid
+ color-mix(in srgb, var(--warning-background) 10%, transparent);
+ background: color-mix(
+ in srgb,
+ var(--warning-background) 10%,
+ transparent
+ ) !important;
box-shadow: none !important;
}
&.danger {
border-radius: 2px;
- color: var(--text-vanilla-100) !important;
- background: var(--bg-cherry-500) !important;
+ color: var(--danger-foreground) !important;
+ background: var(--danger-background) !important;
text-align: center;
font-variant-numeric: slashed-zero;
box-shadow: none !important;
&:hover {
- border: 1px solid var(--bg-cherry-600) !important;
+ border: 1px solid var(--danger-background) !important;
}
}
}
@@ -127,7 +139,7 @@
.label {
font-size: 12px;
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
font-size: 12px;
font-style: normal;
font-weight: 500;
@@ -141,8 +153,8 @@
text-overflow: ellipsis;
padding: 0px 8px;
border-radius: 2px 0px 0px 2px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
display: flex;
justify-content: flex-start;
align-items: center;
@@ -152,7 +164,7 @@
.input {
flex: 1;
border-radius: 0px 2px 2px 0px;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
border-right: none;
border-left: none;
border-top-right-radius: 0px;
@@ -160,7 +172,7 @@
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
- background: var(--bg-ink-300);
+ background: var(--l3-background);
min-width: 0;
@@ -180,50 +192,15 @@
}
.ant-select-selection-placeholder {
- color: var(--bg-vanilla-400);
+ color: var(--l2-foreground);
}
}
.close-btn {
border-radius: 0px 2px 2px 0px;
- border: 1px solid var(--bg-slate-400);
- background: var(--bg-ink-300);
+ border: 1px solid var(--l1-border);
+ background: var(--l3-background);
height: 38px;
width: 38px;
}
}
-
-.lightMode {
- .periscope-btn {
- border-color: var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-200);
-
- &.text {
- color: var(--bg-ink-200) !important;
-
- &:hover {
- color: var(--bg-ink-300) !important;
- }
- }
- }
-
- .periscope-input-with-label {
- .label {
- color: var(--bg-ink-500) !important;
-
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
- }
-
- .input {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
- }
-
- .close-btn {
- border: 1px solid var(--bg-vanilla-300) !important;
- background: var(--bg-vanilla-100) !important;
- }
- }
-}
diff --git a/frontend/src/periscope/components/Card/Card.styles.scss b/frontend/src/periscope/components/Card/Card.styles.scss
index 9e346abd25..9e5284b2dc 100644
--- a/frontend/src/periscope/components/Card/Card.styles.scss
+++ b/frontend/src/periscope/components/Card/Card.styles.scss
@@ -1,13 +1,13 @@
.periscope-card {
border-radius: 4px;
- border: 1px solid var(--bg-slate-400, #1d212d);
- background: var(--bg-ink-400, #121317);
- color: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--card);
+ color: var(--l1-foreground);
.periscope-card-header {
padding: 12px;
width: 100%;
- border-bottom: 1px solid var(--bg-slate-400, #1d212d);
+ border-bottom: 1px solid var(--l1-border);
display: flex;
align-items: center;
@@ -21,7 +21,7 @@
}
.periscope-card-footer {
- border-top: 1px solid var(--bg-slate-400, #1d212d);
+ border-top: 1px solid var(--l1-border);
padding: 12px;
width: 100%;
}
@@ -68,22 +68,3 @@
}
}
}
-
-.lightMode {
- .periscope-card {
- border: 1px solid var(--bg-vanilla-300);
-
- border-radius: 4px;
-
- background: var(--bg-vanilla-100);
- color: var(--bg-ink-300);
-
- .periscope-card-header {
- border-bottom: 1px solid var(--bg-vanilla-300);
- }
-
- .periscope-card-footer {
- border-top: 1px solid var(--bg-vanilla-300);
- }
- }
-}
diff --git a/frontend/src/periscope/components/ContextMenu/styles.scss b/frontend/src/periscope/components/ContextMenu/styles.scss
index f3891c8b1a..4558c0493f 100644
--- a/frontend/src/periscope/components/ContextMenu/styles.scss
+++ b/frontend/src/periscope/components/ContextMenu/styles.scss
@@ -4,7 +4,7 @@
gap: 8px;
padding: 8px;
cursor: pointer;
- color: var(--bg-ink-400);
+ color: var(--foreground);
font-family: Inter;
font-size: var(--font-size-sm);
font-weight: 600;
@@ -21,12 +21,12 @@
text-overflow: ellipsis;
&:hover {
- background-color: var(--bg-vanilla-200);
+ background-color: var(--background);
}
&:focus {
outline: none;
- background-color: var(--bg-vanilla-200);
+ background-color: var(--background);
}
&.disabled {
@@ -52,7 +52,7 @@
}
.icon {
- color: var(--bg-robin-500);
+ color: var(--accent-primary);
font-size: 14px;
display: flex;
align-items: center;
@@ -75,8 +75,8 @@
.context-menu-header {
padding-bottom: 4px;
- border-bottom: 1px solid var(--bg-vanilla-400);
- color: var(--bg-slate-400);
+ border-bottom: 1px solid var(--l1-border);
+ color: var(--muted-foreground);
}
// Target the popover inner specifically for context menu
@@ -89,11 +89,11 @@
// Dark mode support
.darkMode {
.context-menu-item {
- color: var(--bg-vanilla-400);
+ color: var(--muted-foreground);
&:hover,
&:focus {
- background-color: var(--bg-slate-400);
+ background-color: var(--l2-background);
}
&.danger {
@@ -105,7 +105,7 @@
&:hover {
background-color: var(--bg-cherry-500);
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
}
}
@@ -115,14 +115,14 @@
}
.context-menu-header {
- border-bottom: 1px solid var(--bg-slate-400);
- color: var(--bg-vanilla-400);
+ border-bottom: 1px solid var(--l1-border);
+ color: var(--muted-foreground);
}
// Set the menu popover background
.context-menu .ant-popover-inner {
- background: var(--bg-ink-500) !important;
- border: 1px solid var(--bg-slate-400) !important;
+ background: var(--background) !important;
+ border: 1px solid var(--border) !important;
}
}
diff --git a/frontend/src/periscope/components/CopyToClipboard/CopyToClipboard.styles.scss b/frontend/src/periscope/components/CopyToClipboard/CopyToClipboard.styles.scss
index 7a55632ae6..084446e8d6 100644
--- a/frontend/src/periscope/components/CopyToClipboard/CopyToClipboard.styles.scss
+++ b/frontend/src/periscope/components/CopyToClipboard/CopyToClipboard.styles.scss
@@ -14,7 +14,7 @@
margin: 0 !important;
}
& > * {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
font-weight: 400;
line-height: 20px;
letter-spacing: -0.07px;
@@ -27,13 +27,3 @@
}
}
}
-
-.lightMode {
- .copy-to-clipboard {
- &:not(&--success) {
- & > * {
- color: var(--text-ink-400);
- }
- }
- }
-}
diff --git a/frontend/src/periscope/components/KeyValueLabel/KeyValueLabel.styles.scss b/frontend/src/periscope/components/KeyValueLabel/KeyValueLabel.styles.scss
index e325b85113..cd4849d51e 100644
--- a/frontend/src/periscope/components/KeyValueLabel/KeyValueLabel.styles.scss
+++ b/frontend/src/periscope/components/KeyValueLabel/KeyValueLabel.styles.scss
@@ -1,7 +1,7 @@
.key-value-label {
display: flex;
align-items: center;
- border: 1px solid var(--bg-slate-400);
+ border: 1px solid var(--l1-border);
border-radius: 2px;
flex-wrap: wrap;
@@ -14,30 +14,14 @@
letter-spacing: -0.005em;
&,
&:hover {
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
}
}
&__key {
- background: var(--bg-ink-400);
+ background: var(--l2-background);
border-radius: 2px 0 0 2px;
}
&__value {
- background: var(--bg-slate-400);
- }
-}
-
-.lightMode {
- .key-value-label {
- border-color: var(--bg-vanilla-400);
- &__key,
- &__value {
- color: var(--text-ink-400);
- }
- &__key {
- background: var(--bg-vanilla-300);
- }
- &__value {
- background: var(--bg-vanilla-200);
- }
+ background: var(--l3-background);
}
}
diff --git a/frontend/src/periscope/components/SeeMore/SeeMore.styles.scss b/frontend/src/periscope/components/SeeMore/SeeMore.styles.scss
index 002b04294b..e9415394d7 100644
--- a/frontend/src/periscope/components/SeeMore/SeeMore.styles.scss
+++ b/frontend/src/periscope/components/SeeMore/SeeMore.styles.scss
@@ -4,7 +4,7 @@
font-size: 14px;
line-height: 18px;
letter-spacing: -0.005em;
- color: var(--text-vanilla-400);
+ color: var(--l2-foreground);
border: none;
cursor: pointer;
}
@@ -15,12 +15,3 @@
flex-wrap: wrap;
width: 300px;
}
-
-.lightMode {
- .see-more-button {
- color: var(--text-ink-400);
- }
- .see-more-popover-content {
- background: var(--bg-vanilla-100);
- }
-}
diff --git a/frontend/src/periscope/components/Tabs2/Tabs2.styles.scss b/frontend/src/periscope/components/Tabs2/Tabs2.styles.scss
index 3c3293ebd9..6c9cf404e0 100644
--- a/frontend/src/periscope/components/Tabs2/Tabs2.styles.scss
+++ b/frontend/src/periscope/components/Tabs2/Tabs2.styles.scss
@@ -9,13 +9,13 @@
display: flex;
align-items: center;
gap: 10px;
- color: var(--text-vanilla-400);
- background: var(--bg-ink-400);
+ color: var(--l2-foreground);
+ background: var(--l2-background);
font-size: 13px;
line-height: 18px;
letter-spacing: -0.07px;
padding: 6px 24px;
- border-color: var(--bg-slate-400);
+ border-color: var(--l1-border);
justify-content: center;
}
&.reset-button {
@@ -25,24 +25,8 @@
padding: 6px 12px;
}
&.selected {
- color: var(--text-vanilla-100);
- background: var(--bg-slate-400);
- }
- }
-}
-
-.lightMode {
- .tabs-wrapper {
- .tab {
- &.ant-btn-default {
- color: var(--text-ink-400);
- background: var(--bg-vanilla-300);
- border-color: var(--bg-vanilla-300);
- }
- &.selected {
- color: var(--text-robin-500);
- background: var(--bg-vanilla-100);
- }
+ color: var(--l1-foreground);
+ background: var(--l1-background-hover);
}
}
}
diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss
index 61a73c15ae..ef5ec3d8f9 100644
--- a/frontend/src/styles.scss
+++ b/frontend/src/styles.scss
@@ -197,7 +197,7 @@ body {
}
&:hover {
- background: rgba(255, 255, 255, 0.05);
+ background: color-mix(in srgb, var(--l1-foreground) 5%, transparent);
}
}
@@ -222,7 +222,7 @@ body {
left: 50%;
width: 12px;
height: 2px;
- background: #ff4444;
+ background: var(--bg-cherry-500);
transform: translate(-50%, -50%) rotate(45deg);
border-radius: 1px;
}
@@ -271,7 +271,7 @@ body {
max-width: 100%;
&:hover {
- background: rgba(255, 255, 255, 0.05);
+ background: color-mix(in srgb, var(--l1-foreground) 5%, transparent);
}
.u-marker {
@@ -331,7 +331,7 @@ body {
left: 50%;
width: 12px;
height: 2px;
- background: #ff4444;
+ background: var(--bg-cherry-500);
transform: translate(-50%, -50%) rotate(45deg);
border-radius: 1px;
}
@@ -391,9 +391,9 @@ body {
font-size: 12px;
position: absolute;
margin: 0.5rem;
- background: var(--bg-ink-300);
+ background: var(--l2-background);
-webkit-font-smoothing: antialiased;
- color: var(--bg-vanilla-100);
+ color: var(--l1-foreground);
z-index: 10000;
// pointer-events: none;
overflow: auto;
@@ -474,11 +474,11 @@ body {
border-radius: 4px;
padding: 16px;
- border: 1px solid var(--bg-slate-400, #1d212d);
+ border: 1px solid var(--l1-border);
background: linear-gradient(
139deg,
- rgba(18, 19, 23, 0.8) 0%,
- rgba(18, 19, 23, 0.9) 98.68%
+ color-mix(in srgb, var(--card) 80%, transparent) 0%,
+ color-mix(in srgb, var(--card) 90%, transparent) 98.68%
);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(20px);
@@ -562,29 +562,29 @@ body {
.lightMode {
#overlay {
- color: var(--bg-ink-500);
- background: var(--bg-vanilla-100);
- border: 1px solid var(--bg-vanilla-300);
+ color: var(--l1-foreground);
+ background: var(--l1-background);
+ border: 1px solid var(--l1-border);
}
.ant-tooltip {
- --antd-arrow-background-color: var(--bg-vanilla-100);
+ --antd-arrow-background-color: var(--l1-background);
.ant-tooltip-inner {
- background-color: var(--bg-vanilla-100);
- color: var(---bg-ink-500);
+ background-color: var(--l1-background);
+ color: var(--l1-foreground);
}
}
.ant-dropdown-menu {
- border: 1px solid var(--bg-vanilla-300);
- background: var(--bg-vanilla-100);
+ border: 1px solid var(--l1-border);
+ background: var(--l1-background);
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
}
.ant-dropdown-menu-item {
&:hover {
- background-color: var(--bg-vanilla-300) !important;
+ background-color: var(--l3-background) !important;
&.ant-dropdown-menu-item-danger {
background-color: var(--bg-cherry-500) !important;
@@ -625,7 +625,7 @@ body {
opacity: 0.3;
&::after {
- background: #cc3333;
+ background: var(--bg-cherry-600);
}
&:hover {
@@ -663,7 +663,7 @@ body {
opacity: 0.3;
&::after {
- background: #cc3333;
+ background: var(--bg-cherry-600);
}
&:hover {
@@ -721,8 +721,8 @@ notifications - 2050
// Custom legend tooltip for immediate display
.legend-tooltip {
position: fixed;
- background: var(--bg-slate-400);
- color: var(--text-vanilla-100);
+ background: var(--l2-background);
+ color: var(--l1-foreground);
padding: 8px 12px;
border-radius: 6px;
font-size: 12px;
@@ -732,16 +732,16 @@ notifications - 2050
pointer-events: none;
white-space: nowrap;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
- border: 1px solid #374151;
+ border: 1px solid var(--l1-border);
-webkit-font-smoothing: antialiased;
letter-spacing: 0.025em;
}
// Light mode styling for legend tooltip
.lightMode .legend-tooltip {
- background: #ffffff;
- color: #1f2937;
- border: 1px solid #d1d5db;
+ background: var(--card);
+ color: var(--l1-foreground);
+ border: 1px solid var(--l1-border);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
@@ -764,3 +764,34 @@ notifications - 2050
.cursor-pointer {
cursor: pointer;
}
+
+.ant-modal {
+ .ant-modal-content {
+ background: var(--l1-background);
+ border: 1px solid var(--l1-border);
+ padding: 0;
+ }
+
+ .ant-modal-header {
+ background: var(--l1-background);
+ border-bottom: 1px solid var(--l1-border);
+ padding: 12px;
+ }
+
+ .ant-modal-body {
+ padding: 12px;
+ }
+
+ .ant-modal-footer {
+ padding: 12px;
+ border-top: 1px solid var(--l1-border);
+ }
+}
+
+.border {
+ border: 1px solid var(--l1-border);
+}
+
+.bg-border {
+ background: color-mix(in srgb, var(--l3-background) 20%, transparent);
+}
diff --git a/frontend/yarn.lock b/frontend/yarn.lock
index d712a6081a..797ff79248 100644
--- a/frontend/yarn.lock
+++ b/frontend/yarn.lock
@@ -4865,7 +4865,7 @@
"@babel/runtime" "^7.13.10"
"@radix-ui/react-compose-refs" "1.0.1"
-"@radix-ui/[email protected]", "@radix-ui/react-slot@^1.1.0", "@radix-ui/react-slot@^1.2.0", "@radix-ui/react-slot@^1.2.3":
+"@radix-ui/[email protected]", "@radix-ui/react-slot@^1.1.0", "@radix-ui/react-slot@^1.2.3":
version "1.2.3"
resolved "https://registry.yarnpkg.com/@radix-ui/react-slot/-/react-slot-1.2.3.tgz#502d6e354fc847d4169c3bc5f189de777f68cfe1"
integrity sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==
@@ -5503,19 +5503,6 @@
resolved "https://registry.yarnpkg.com/@shikijs/vscode-textmate/-/vscode-textmate-10.0.2.tgz#a90ab31d0cc1dfb54c66a69e515bf624fa7b2224"
integrity sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==
-"@signozhq/[email protected]":
- version "0.0.2"
- resolved "https://registry.yarnpkg.com/@signozhq/badge/-/badge-0.0.2.tgz#7fab5ce43ee2f48c9c4fddf082c0e91cd0c34ed1"
- integrity sha512-JibNUs/aewIxFQei0JOm+AUpROu0ykbzIQsQ4wvfYGxr1TaIWjxR2thjFCa7Vt82f6pCJAcH+UiMmZkNjMxLyA==
- dependencies:
- "@radix-ui/react-icons" "^1.3.0"
- "@radix-ui/react-slot" "^1.2.0"
- class-variance-authority "^0.7.0"
- clsx "^2.1.1"
- lucide-react "^0.445.0"
- tailwind-merge "^2.5.2"
- tailwindcss-animate "^1.0.7"
-
"@signozhq/[email protected]":
version "0.0.1"
resolved "https://registry.yarnpkg.com/@signozhq/button/-/button-0.0.1.tgz#7d3204454b0361bd3fdf91fa6604af01a481a9db"
@@ -5617,10 +5604,10 @@
tailwind-merge "^2.5.2"
tailwindcss-animate "^1.0.7"
-"@signozhq/[email protected]":
- version "2.1.1"
- resolved "https://registry.yarnpkg.com/@signozhq/design-tokens/-/design-tokens-2.1.1.tgz#9c36d433fd264410713cc0c5ebdd75ce0ebecba3"
- integrity sha512-SdziCHg5Lwj+6oY6IRUPplaKZ+kTHjbrlhNj//UoAJ8aQLnRdR2F/miPzfSi4vrYw88LtXxNA9J9iJyacCp37A==
+"@signozhq/[email protected]":
+ version "2.1.4"
+ resolved "https://registry.yarnpkg.com/@signozhq/design-tokens/-/design-tokens-2.1.4.tgz#f209da6fbd2ac97ab4434b71472f741009306550"
+ integrity sha512-Ny7/VA5YGFFmZx58jMh7ATFyu7VePaJ4ySmj/DopP1hilmfdxQsKWnpqKaZJWRXrbNkc0gmq3cR7q7Z8nnN7ZQ==
"@signozhq/dialog@^0.0.2":
version "0.0.2"
@@ -5716,35 +5703,6 @@
tailwind-merge "^2.5.2"
tailwindcss-animate "^1.0.7"
-"@signozhq/[email protected]":
- version "0.1.0"
- resolved "https://registry.yarnpkg.com/@signozhq/sonner/-/sonner-0.1.0.tgz#1310cc530c60459608246550eb977a1ae27b6ce4"
- integrity sha512-P4gc1WdNiX89FZIAhIvR4Bj3sdL7VIpoM80L6otnoeLCZhyFfEOXHGAElvO2z7BuBqJBp1f3pdVDrBQNE6bhyw==
- dependencies:
- "@radix-ui/react-icons" "^1.3.0"
- "@radix-ui/react-slot" "^1.1.0"
- class-variance-authority "^0.7.0"
- clsx "^2.1.1"
- lucide-react "^0.445.0"
- next-themes "^0.4.6"
- sonner "^2.0.7"
- tailwind-merge "^2.5.2"
- tailwindcss-animate "^1.0.7"
-
-"@signozhq/[email protected]":
- version "0.0.2"
- resolved "https://registry.yarnpkg.com/@signozhq/switch/-/switch-0.0.2.tgz#58003ce9c0cd1f2ad8266a7045182607ce51df76"
- integrity sha512-3B3Y5dzIyepO6EQJ7agx97bPmwg1dcOY46q2lqviHnMxNk3Sv079nSNCaztjQlo0VR0qu2JgVXhWi5Lw9WBN8A==
- dependencies:
- "@radix-ui/react-icons" "^1.3.0"
- "@radix-ui/react-slot" "^1.1.0"
- "@radix-ui/react-switch" "^1.1.4"
- class-variance-authority "^0.7.0"
- clsx "^2.1.1"
- lucide-react "^0.445.0"
- tailwind-merge "^2.5.2"
- tailwindcss-animate "^1.0.7"
-
"@signozhq/[email protected]":
version "0.3.7"
resolved "https://registry.yarnpkg.com/@signozhq/table/-/table-0.3.7.tgz#895b710c02af124dfb5117e02bbc6d80ce062063"