Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

refactor: Migrate text and syntax tokens (#76508)

Oleh K8f5eb11fba09
diff --git a/.claude/skills/emotion-migrate/SKILL.md b/.claude/skills/emotion-migrate/SKILL.md
index 11cc1607dd5..d41fe96efeb 100644
--- a/.claude/skills/emotion-migrate/SKILL.md
+++ b/.claude/skills/emotion-migrate/SKILL.md
@@ -182,7 +182,7 @@ Create `ComponentName.module.css` alongside the component file:
}
.disabled {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
pointer-events: none;
}
@@ -255,7 +255,7 @@ Remove the old styled file entirely. Remove all imports of it from other files.
**Colors** (`c`, `bg`):
-- Text: `"text-primary"`, `"text-secondary"`, `"text-tertiary"`
+- Text: `"text-primary"`, `"text-secondary"`, `"text-disabled"`
- Background: `"background_page-primary"`, `"background_page-secondary"`, `"background_surface-hover"`
- Brand: `"core-brand"`, `"error"`, `"success"`, `"warning"`
@@ -279,7 +279,7 @@ Remove the old styled file entirely. Remove all imports of it from other files.
**Colors** — `var(--mb-color-<name>)`:
-- `--mb-color-text-primary`, `--mb-color-text-secondary`, `--mb-color-text-tertiary`
+- `--mb-color-text-primary`, `--mb-color-text-secondary`, `--mb-color-text-disabled`
- `--mb-color-background_page-primary`, `--mb-color-background_page-secondary`, `--mb-color-background_surface-hover`
- `--mb-color-border`, `--mb-color-border-strong`, `--mb-color-border-subtle`
- `--mb-color-core-brand`, `--mb-color-core-brand-hover`
@@ -398,7 +398,7 @@ export const Wrapper = styled.div`
```tsx
export const Item = styled.div<{ isSelected: boolean; disabled: boolean }>`
color: ${(props) =>
- props.disabled ? color("text-tertiary") : color("text-primary")};
+ props.disabled ? color("text-disabled") : color("text-primary")};
background-color: ${(props) =>
props.isSelected ? color("core-brand") : "transparent"};
cursor: ${(props) => (props.disabled ? "default" : "pointer")};
@@ -427,11 +427,11 @@ export const Item = styled.div<{ isSelected: boolean; disabled: boolean }>`
}
.disabled {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
cursor: default;
&:hover {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
}
```
diff --git a/.loki/reference/chrome_laptop_Design_System_Colors_Default.png b/.loki/reference/chrome_laptop_Design_System_Colors_Default.png
index 95008aa360c..c4b977b97e8 100644
Binary files a/.loki/reference/chrome_laptop_Design_System_Colors_Default.png and b/.loki/reference/chrome_laptop_Design_System_Colors_Default.png differ
diff --git a/e2e/support/helpers/e2e-visual-tests-helpers.js b/e2e/support/helpers/e2e-visual-tests-helpers.js
index f45a949a94d..aea8da64081 100644
--- a/e2e/support/helpers/e2e-visual-tests-helpers.js
+++ b/e2e/support/helpers/e2e-visual-tests-helpers.js
@@ -60,7 +60,7 @@ export function getXYTransform(element) {
export function echartsIcon(name, isSelected = false) {
const iconSvg = setSvgColor(
Icons[name].source,
- getColor(isSelected ? "brand" : "text-tertiary"),
+ getColor(isSelected ? "brand" : "text-disabled"),
);
const dataUri = svgToDataUri(iconSvg);
diff --git a/enterprise/frontend/src/embedding-sdk-ee/metabot/MetabotQuestionEmptyState.tsx b/enterprise/frontend/src/embedding-sdk-ee/metabot/MetabotQuestionEmptyState.tsx
index b2e570bcbbd..3231df637d7 100644
--- a/enterprise/frontend/src/embedding-sdk-ee/metabot/MetabotQuestionEmptyState.tsx
+++ b/enterprise/frontend/src/embedding-sdk-ee/metabot/MetabotQuestionEmptyState.tsx
@@ -6,7 +6,7 @@ import S from "./MetabotQuestion.module.css";
export const MetabotQuestionEmptyState = () => (
<Stack h="100%" w="100%" gap="sm" align="center" justify="center">
- <Icon name="ai" c="text-tertiary" size="3rem" opacity={0.7} />
+ <Icon name="ai" c="text-disabled" size="3rem" opacity={0.7} />
<Stack gap="xs" align="center">
<Text lh="sm">{t`Ask questions to AI.`}</Text>
@@ -17,7 +17,7 @@ export const MetabotQuestionEmptyState = () => (
className={S.emptyStateDisclaimerText}
lh="sm"
fz="sm"
- c="text-tertiary"
+ c="text-disabled"
>{t`AI isn't perfect. Double-check results.`}</Text>
</Stack>
);
diff --git a/enterprise/frontend/src/embedding-sdk-ee/metabot/QuestionDetails.tsx b/enterprise/frontend/src/embedding-sdk-ee/metabot/QuestionDetails.tsx
index 52116782d52..e06284ce2a3 100644
--- a/enterprise/frontend/src/embedding-sdk-ee/metabot/QuestionDetails.tsx
+++ b/enterprise/frontend/src/embedding-sdk-ee/metabot/QuestionDetails.tsx
@@ -45,7 +45,7 @@ export function QuestionDetails() {
].filter((section) => section.length > 0);
return (
- <Text size="0.75rem" c="text-tertiary">
+ <Text size="0.75rem" c="text-disabled">
{sections.join(" ")}
</Text>
);
diff --git a/enterprise/frontend/src/embedding-sdk-ee/metabot/SidebarHeader.tsx b/enterprise/frontend/src/embedding-sdk-ee/metabot/SidebarHeader.tsx
index a91ec054332..b592c7f1ded 100644
--- a/enterprise/frontend/src/embedding-sdk-ee/metabot/SidebarHeader.tsx
+++ b/enterprise/frontend/src/embedding-sdk-ee/metabot/SidebarHeader.tsx
@@ -16,7 +16,7 @@ export function SidebarHeader() {
align="center"
className={S.sidebarHeader}
>
- <Text fz="sm" c="text-tertiary">
+ <Text fz="sm" c="text-disabled">
{t`AI isn't perfect. Double-check results.`}
</Text>
@@ -25,7 +25,7 @@ export function SidebarHeader() {
onClick={() => metabot.resetConversation()}
data-testid="metabot-new-conversation"
>
- <Icon name="edit_document_outlined" size="1rem" c="text-tertiary" />
+ <Icon name="edit_document_outlined" size="1rem" c="text-disabled" />
</UnstyledButton>
</Tooltip>
</Flex>
diff --git a/enterprise/frontend/src/embedding/data-picker/DataSelector/DataSelector.module.css b/enterprise/frontend/src/embedding/data-picker/DataSelector/DataSelector.module.css
index fba8f5400a7..6ff1a44ed89 100644
--- a/enterprise/frontend/src/embedding/data-picker/DataSelector/DataSelector.module.css
+++ b/enterprise/frontend/src/embedding/data-picker/DataSelector/DataSelector.module.css
@@ -20,7 +20,7 @@
.TextSchema {
font-size: 0.75em;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
line-height: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.06em;
diff --git a/enterprise/frontend/src/embedding/data-picker/DataSelectorDataBucketPicker/DataSelectorDataBucketPicker.module.css b/enterprise/frontend/src/embedding/data-picker/DataSelectorDataBucketPicker/DataSelectorDataBucketPicker.module.css
index 5435a76b1ea..c7807063e03 100644
--- a/enterprise/frontend/src/embedding/data-picker/DataSelectorDataBucketPicker/DataSelectorDataBucketPicker.module.css
+++ b/enterprise/frontend/src/embedding/data-picker/DataSelectorDataBucketPicker/DataSelectorDataBucketPicker.module.css
@@ -10,7 +10,7 @@
}
.DataBucketListItemDescription {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
font-weight: 700;
font-size: 12px;
}
diff --git a/enterprise/frontend/src/metabase-enterprise/ai-controls/pages/MetabotUsageLimitsPage/GroupLimitsSettingsSection/GroupLimitsTab/AllUsersHigherAccessTooltipIcon.module.css b/enterprise/frontend/src/metabase-enterprise/ai-controls/pages/MetabotUsageLimitsPage/GroupLimitsSettingsSection/GroupLimitsTab/AllUsersHigherAccessTooltipIcon.module.css
index 6d02a7c1c40..176e19ed705 100644
--- a/enterprise/frontend/src/metabase-enterprise/ai-controls/pages/MetabotUsageLimitsPage/GroupLimitsSettingsSection/GroupLimitsTab/AllUsersHigherAccessTooltipIcon.module.css
+++ b/enterprise/frontend/src/metabase-enterprise/ai-controls/pages/MetabotUsageLimitsPage/GroupLimitsSettingsSection/GroupLimitsTab/AllUsersHigherAccessTooltipIcon.module.css
@@ -1,5 +1,5 @@
.InfoIcon {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
cursor: pointer;
flex-shrink: 0;
/* Nudge for SVG glyph offset within its bounding box. */
diff --git a/enterprise/frontend/src/metabase-enterprise/audit_app/metabot-analytics/components/ConversationDetailPage/ConversationHeader.tsx b/enterprise/frontend/src/metabase-enterprise/audit_app/metabot-analytics/components/ConversationDetailPage/ConversationHeader.tsx
index 02a75324d0f..b63470e8a2f 100644
--- a/enterprise/frontend/src/metabase-enterprise/audit_app/metabot-analytics/components/ConversationDetailPage/ConversationHeader.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/audit_app/metabot-analytics/components/ConversationDetailPage/ConversationHeader.tsx
@@ -98,14 +98,14 @@ export function ConversationHeader({
</Flex>
<Flex gap="lg" align="center" wrap="wrap">
<Flex gap="xs" align="center">
- <Icon name="calendar" size={16} c="text-tertiary" />
+ <Icon name="calendar" size={16} c="text-disabled" />
<Text size="md" c="text-secondary">
<DateTime value={conversation.created_at} unit="day" />
</Text>
</Flex>
{firstProfile && (
<Flex gap="xs" align="center">
- <Icon name="metabot" size={16} c="text-tertiary" />
+ <Icon name="metabot" size={16} c="text-disabled" />
<Text size="md" c="text-secondary">
{renderMetabotProfileLabel(firstProfile)}
</Text>
@@ -114,13 +114,13 @@ export function ConversationHeader({
{(userGroupsInfo.userGroups.length > 0 ||
userGroupsInfo.isAdmin) && (
<Flex gap="xs" align="center">
- <Icon name="group" size={16} c="text-tertiary" />
+ <Icon name="group" size={16} c="text-disabled" />
<UserGroupsMenu {...userGroupsInfo} />
</Flex>
)}
{tenant && (
<Flex gap="xs" align="center">
- <Icon name="company" size={16} c="text-tertiary" />
+ <Icon name="company" size={16} c="text-disabled" />
<Anchor
component={ForwardRefLink}
to={EnterpriseUrls.editTenant(tenant.id)}
@@ -205,7 +205,7 @@ function UserGroupsMenu({
>
<Flex component="span" align="center" gap={4}>
<span>{summaryText}</span>
- <Icon name="chevrondown" size={10} c="text-tertiary" />
+ <Icon name="chevrondown" size={10} c="text-disabled" />
</Flex>
</Anchor>
</Menu.Target>
diff --git a/enterprise/frontend/src/metabase-enterprise/audit_app/metabot-analytics/components/ConversationStatsPage/DataComplexityCards.tsx b/enterprise/frontend/src/metabase-enterprise/audit_app/metabot-analytics/components/ConversationStatsPage/DataComplexityCards.tsx
index 554e1ff1b44..759937abd4a 100644
--- a/enterprise/frontend/src/metabase-enterprise/audit_app/metabot-analytics/components/ConversationStatsPage/DataComplexityCards.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/audit_app/metabot-analytics/components/ConversationStatsPage/DataComplexityCards.tsx
@@ -108,7 +108,7 @@ function DataComplexityCard({
<UnstyledButton onClick={open}>
<Flex align="center" justify="space-between" gap="sm">
<Text fw={700}>{title}</Text>
- <Icon name="expand" c="text-tertiary" />
+ <Icon name="expand" c="text-disabled" />
</Flex>
<Text c="text-secondary">{subtitle}</Text>
{catalog.score !== null ? (
@@ -295,7 +295,7 @@ function DataComplexityComponentItem({
{count}
</Text>
<Tooltip label={description}>
- <Icon name="info" c="text-tertiary" size={14} />
+ <Icon name="info" c="text-disabled" size={14} />
</Tooltip>
<ScoreDisplayInline score={component} />
</Flex>
diff --git a/enterprise/frontend/src/metabase-enterprise/audit_app/metabot-analytics/components/ConversationsPage/ConversationsTable.tsx b/enterprise/frontend/src/metabase-enterprise/audit_app/metabot-analytics/components/ConversationsPage/ConversationsTable.tsx
index 424ebc0d568..5eec6864021 100644
--- a/enterprise/frontend/src/metabase-enterprise/audit_app/metabot-analytics/components/ConversationsPage/ConversationsTable.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/audit_app/metabot-analytics/components/ConversationsPage/ConversationsTable.tsx
@@ -100,7 +100,7 @@ export function ConversationsTable({
{conversations.length === 0 && (
<tr>
<td colSpan={8}>
- <Flex c="text-tertiary" justify="center">
+ <Flex c="text-disabled" justify="center">
{t`No conversations found`}
</Flex>
</td>
diff --git a/enterprise/frontend/src/metabase-enterprise/caching/components/StrategyEditorForQuestionsAndDashboards/StrategyEditorForQuestionsAndDashboards.tsx b/enterprise/frontend/src/metabase-enterprise/caching/components/StrategyEditorForQuestionsAndDashboards/StrategyEditorForQuestionsAndDashboards.tsx
index 33e9334f9ab..26ff58f7435 100644
--- a/enterprise/frontend/src/metabase-enterprise/caching/components/StrategyEditorForQuestionsAndDashboards/StrategyEditorForQuestionsAndDashboards.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/caching/components/StrategyEditorForQuestionsAndDashboards/StrategyEditorForQuestionsAndDashboards.tsx
@@ -273,7 +273,7 @@ const TableSkeleton = ({ columns }: { columns: ColumnItem[] }) => (
);
const NoResultsTableRow = () => (
- <Center fw="bold" c="text-tertiary">
+ <Center fw="bold" c="text-disabled">
{t`No dashboards or questions have their own caching policies yet.`}
</Center>
);
diff --git a/enterprise/frontend/src/metabase-enterprise/collections/components/CollectionAuthorityLevelIcon.tsx b/enterprise/frontend/src/metabase-enterprise/collections/components/CollectionAuthorityLevelIcon.tsx
index a01952a617b..dabf370d854 100644
--- a/enterprise/frontend/src/metabase-enterprise/collections/components/CollectionAuthorityLevelIcon.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/collections/components/CollectionAuthorityLevelIcon.tsx
@@ -12,7 +12,7 @@ export const CollectionAuthorityLevelIcon: CollectionAuthorityLevelIconComponent
}
const level = AUTHORITY_LEVELS[String(collection.authority_level)];
const levelColor = level.color ? color(level.color) : undefined;
- const iconColor = archived ? color("text-tertiary") : levelColor;
+ const iconColor = archived ? color("text-disabled") : levelColor;
return (
<Icon
{...iconProps}
diff --git a/enterprise/frontend/src/metabase-enterprise/collections/constants.ts b/enterprise/frontend/src/metabase-enterprise/collections/constants.ts
index ff3838bb6aa..47bf2100f04 100644
--- a/enterprise/frontend/src/metabase-enterprise/collections/constants.ts
+++ b/enterprise/frontend/src/metabase-enterprise/collections/constants.ts
@@ -23,7 +23,7 @@ export const OFFICIAL_COLLECTION: CollectionAuthorityLevelConfig = {
// eslint-disable-next-line ttag/no-module-declaration -- see metabase#55045
name: t`Official`,
icon: "official_collection",
- color: "saturated-yellow" as const,
+ color: "core-yellow-saturated" as const,
tooltips: {
// eslint-disable-next-line ttag/no-module-declaration -- see metabase#55045
default: t`Official collection`,
diff --git a/enterprise/frontend/src/metabase-enterprise/collections/utils.unit.spec.tsx b/enterprise/frontend/src/metabase-enterprise/collections/utils.unit.spec.tsx
index 5fc81f2920e..d08d7a2713a 100644
--- a/enterprise/frontend/src/metabase-enterprise/collections/utils.unit.spec.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/collections/utils.unit.spec.tsx
@@ -104,7 +104,7 @@ describe("Collections plugin utils", () => {
getIcon({ model: "collection", authority_level: "official" }),
).toEqual({
name: "official_collection",
- color: "saturated-yellow",
+ color: "core-yellow-saturated",
tooltip: "Official collection",
});
});
diff --git a/enterprise/frontend/src/metabase-enterprise/custom_viz/components/CustomVizPluginSummary.tsx b/enterprise/frontend/src/metabase-enterprise/custom_viz/components/CustomVizPluginSummary.tsx
index 33071aa6539..35d7fa85271 100644
--- a/enterprise/frontend/src/metabase-enterprise/custom_viz/components/CustomVizPluginSummary.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/custom_viz/components/CustomVizPluginSummary.tsx
@@ -18,17 +18,17 @@ export function CustomVizPluginSummary({ plugin }: Props) {
{(plugin.bundle_hash || plugin.metabase_version) && (
<Group gap="xs">
{plugin.bundle_hash && (
- <Text size="sm" c="text-tertiary">
+ <Text size="sm" c="text-disabled">
{t`Bundle: ${plugin.bundle_hash.slice(0, 8)}`}
</Text>
)}
{plugin.bundle_hash && plugin.metabase_version && (
- <Text size="sm" c="text-tertiary">
+ <Text size="sm" c="text-disabled">
&bull;
</Text>
)}
{plugin.metabase_version && (
- <Text size="sm" c="text-tertiary">
+ <Text size="sm" c="text-disabled">
{/* eslint-disable-next-line metabase/no-literal-metabase-strings -- admin-only custom-viz settings page */}
{t`Requires Metabase ${plugin.metabase_version}`}
</Text>
diff --git a/enterprise/frontend/src/metabase-enterprise/custom_viz/components/ManageCustomVizPage.tsx b/enterprise/frontend/src/metabase-enterprise/custom_viz/components/ManageCustomVizPage.tsx
index 19024df700c..877fe66ab7a 100644
--- a/enterprise/frontend/src/metabase-enterprise/custom_viz/components/ManageCustomVizPage.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/custom_viz/components/ManageCustomVizPage.tsx
@@ -126,7 +126,7 @@ export function ManageCustomVizPage() {
mih="15rem"
p="xl"
>
- <Text c="text-tertiary">{t`You don't have any custom visualizations.`}</Text>
+ <Text c="text-disabled">{t`You don't have any custom visualizations.`}</Text>
</Group>
)}
diff --git a/enterprise/frontend/src/metabase-enterprise/data-studio/library/LibraryPage/hooks/useLibraryTreeTableInstance.tsx b/enterprise/frontend/src/metabase-enterprise/data-studio/library/LibraryPage/hooks/useLibraryTreeTableInstance.tsx
index 7ead86d87f6..5b69b9386ab 100644
--- a/enterprise/frontend/src/metabase-enterprise/data-studio/library/LibraryPage/hooks/useLibraryTreeTableInstance.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/data-studio/library/LibraryPage/hooks/useLibraryTreeTableInstance.tsx
@@ -133,7 +133,7 @@ export function useLibraryTreeTableInstance({
if (isEmptyStateData(data)) {
return (
<Flex align="center" gap="0.25rem" data-testid="empty-state-row">
- <Text c="text-tertiary" fz="inherit">
+ <Text c="text-disabled" fz="inherit">
{data.description}
</Text>
{!isRemoteSyncReadOnly && (
@@ -155,8 +155,8 @@ export function useLibraryTreeTableInstance({
<Group gap="sm" miw={0} align="center">
<Text truncate>{row.original.name}</Text>
<Group gap="xs">
- <Icon name="collection" size={12} c="text-tertiary" />
- <Text fz="xs" c="text-tertiary" truncate>
+ <Icon name="collection" size={12} c="text-disabled" />
+ <Text fz="xs" c="text-disabled" truncate>
{row.original.parentCollectionName}
</Text>
</Group>
diff --git a/enterprise/frontend/src/metabase-enterprise/database_replication/DatabaseReplicationForm.tsx b/enterprise/frontend/src/metabase-enterprise/database_replication/DatabaseReplicationForm.tsx
index b6de6257c4e..ede4fad170a 100644
--- a/enterprise/frontend/src/metabase-enterprise/database_replication/DatabaseReplicationForm.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/database_replication/DatabaseReplicationForm.tsx
@@ -281,7 +281,7 @@ export const DatabaseReplicationForm = ({
<Text span c="text-secondary" display="inline">
.{table.tableName}
</Text>{" "}
- <Text span c="text-tertiary" display="inline">
+ <Text span c="text-disabled" display="inline">
{noSyncReason(table)}
</Text>
</Text>
@@ -395,7 +395,7 @@ export const DatabaseReplicationForm = ({
<Stack>
<Group justify="space-between">
<Box ta="left">
- <Text c="text-tertiary">{database.name}</Text>
+ <Text c="text-disabled">{database.name}</Text>
{!previewResponseLoading &&
typeof previewResponse?.totalEstimatedRowCount ===
"number" ? (
@@ -410,7 +410,7 @@ export const DatabaseReplicationForm = ({
{previewResponseLoading && <Loader />}
<Box ta="right">
- <Text c="text-tertiary">{t`Available Cloud Storage`}</Text>
+ <Text c="text-disabled">{t`Available Cloud Storage`}</Text>
{!previewResponseLoading &&
typeof previewResponse?.freeQuota === "number" ? (
<Text fw="bold" w="100%">
diff --git a/enterprise/frontend/src/metabase-enterprise/database_replication/DatabaseReplicationStatusInfo.tsx b/enterprise/frontend/src/metabase-enterprise/database_replication/DatabaseReplicationStatusInfo.tsx
index 4416d8f7027..6056eb94524 100644
--- a/enterprise/frontend/src/metabase-enterprise/database_replication/DatabaseReplicationStatusInfo.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/database_replication/DatabaseReplicationStatusInfo.tsx
@@ -21,7 +21,7 @@ export const DatabaseReplicationStatusInfo = memo(
t`Replicating to Metabase Cloud Storage`
: // eslint-disable-next-line metabase/no-literal-metabase-strings -- This string only shows for admins.
t`Not replicating to Metabase Cloud Storage`;
- const color = hasConnection ? "success" : "text-tertiary";
+ const color = hasConnection ? "success" : "text-disabled";
return (
<Flex align="center" gap="sm" {...flexProps}>
diff --git a/enterprise/frontend/src/metabase-enterprise/moderation/constants.ts b/enterprise/frontend/src/metabase-enterprise/moderation/constants.ts
index d193551d201..08892524d9a 100644
--- a/enterprise/frontend/src/metabase-enterprise/moderation/constants.ts
+++ b/enterprise/frontend/src/metabase-enterprise/moderation/constants.ts
@@ -22,5 +22,5 @@ MODERATION_STATUS_ICONS.set("verified_filled", {
MODERATION_STATUS_ICONS.set(null, {
name: "close",
- color: "text-tertiary",
+ color: "text-disabled",
});
diff --git a/enterprise/frontend/src/metabase-enterprise/moderation/service.unit.spec.ts b/enterprise/frontend/src/metabase-enterprise/moderation/service.unit.spec.ts
index d1eaaf66777..272be94eef6 100644
--- a/enterprise/frontend/src/metabase-enterprise/moderation/service.unit.spec.ts
+++ b/enterprise/frontend/src/metabase-enterprise/moderation/service.unit.spec.ts
@@ -49,7 +49,7 @@ describe("moderation/service", () => {
it("should return an icon for a removed review", () => {
expect(getRemovedReviewStatusIcon()).toEqual({
name: "close",
- color: "text-tertiary",
+ color: "text-disabled",
});
});
});
diff --git a/enterprise/frontend/src/metabase-enterprise/remote_sync/components/ChangesLists/ChangesLists.tsx b/enterprise/frontend/src/metabase-enterprise/remote_sync/components/ChangesLists/ChangesLists.tsx
index 9633f4dd3b5..4a93c03f334 100644
--- a/enterprise/frontend/src/metabase-enterprise/remote_sync/components/ChangesLists/ChangesLists.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/remote_sync/components/ChangesLists/ChangesLists.tsx
@@ -29,7 +29,7 @@ export const ChangesLists = ({ title }: ChangesListsProps) => {
if (allEntities.length === 0) {
return (
<Box ta="center" py="xl">
- <Text c="text-tertiary" size="sm">
+ <Text c="text-disabled" size="sm">
{t`No changes to push`}
</Text>
</Box>
diff --git a/enterprise/frontend/src/metabase-enterprise/remote_sync/components/GitSyncControls/BranchDropdown.tsx b/enterprise/frontend/src/metabase-enterprise/remote_sync/components/GitSyncControls/BranchDropdown.tsx
index 78dd1f9a565..5edb1398f11 100644
--- a/enterprise/frontend/src/metabase-enterprise/remote_sync/components/GitSyncControls/BranchDropdown.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/remote_sync/components/GitSyncControls/BranchDropdown.tsx
@@ -131,7 +131,7 @@ export const BranchDropdown = ({
<>
{filteredBranches.length === 0 && !showCreateOption ? (
<Box p="md">
- <Text size="sm" c="text-tertiary" ta="center">
+ <Text size="sm" c="text-disabled" ta="center">
{searchValue
? t`No branches found`
: t`No branches available`}
@@ -145,7 +145,7 @@ export const BranchDropdown = ({
<Box px="sm" py="sm">
<Text
size="xs"
- c="text-tertiary"
+ c="text-disabled"
tt="uppercase"
fw="bold"
>
@@ -182,7 +182,7 @@ export const BranchDropdown = ({
<Icon name="add" size={16} />
<Box>
<Text lh="md">{t`Create branch "${searchValue}"`}</Text>
- <Text size="xs" c="text-tertiary">
+ <Text size="xs" c="text-disabled">
{t`from ${baseBranch || value}`}
</Text>
</Box>
diff --git a/enterprise/frontend/src/metabase-enterprise/remote_sync/components/RemoteSyncAdminSettings/RemoteSyncSettingsForm.tsx b/enterprise/frontend/src/metabase-enterprise/remote_sync/components/RemoteSyncAdminSettings/RemoteSyncSettingsForm.tsx
index 0ef9ca7043e..5dae4a0f0c7 100644
--- a/enterprise/frontend/src/metabase-enterprise/remote_sync/components/RemoteSyncAdminSettings/RemoteSyncSettingsForm.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/remote_sync/components/RemoteSyncAdminSettings/RemoteSyncSettingsForm.tsx
@@ -398,7 +398,7 @@ export const RemoteSyncSettingsForm = (props: RemoteSyncSettingsFormProps) => {
name={TOKEN_KEY}
label={t`Access Token`}
description={
- <Text c="text-tertiary" size="sm" lh="md" component="span">
+ <Text c="text-disabled" size="sm" lh="md" component="span">
{t`Personal access token with write permissions`}
</Text>
}
diff --git a/enterprise/frontend/src/metabase-enterprise/remote_sync/components/SyncedCollectionsSidebarSection/SyncedCollectionsSidebarSection.tsx b/enterprise/frontend/src/metabase-enterprise/remote_sync/components/SyncedCollectionsSidebarSection/SyncedCollectionsSidebarSection.tsx
index 5ab3fcbcb98..27cef6d83ff 100644
--- a/enterprise/frontend/src/metabase-enterprise/remote_sync/components/SyncedCollectionsSidebarSection/SyncedCollectionsSidebarSection.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/remote_sync/components/SyncedCollectionsSidebarSection/SyncedCollectionsSidebarSection.tsx
@@ -65,7 +65,7 @@ export const SyncedCollectionsSidebarSection = ({
</Flex>
{!hasSyncedCollections && (
- <Text c="text-tertiary" fz="sm" ta="center">
+ <Text c="text-disabled" fz="sm" ta="center">
{t`No synced collections`}
</Text>
)}
diff --git a/enterprise/frontend/src/metabase-enterprise/remote_sync/utils.ts b/enterprise/frontend/src/metabase-enterprise/remote_sync/utils.ts
index fbf0db98ff1..14c8a7dc32d 100644
--- a/enterprise/frontend/src/metabase-enterprise/remote_sync/utils.ts
+++ b/enterprise/frontend/src/metabase-enterprise/remote_sync/utils.ts
@@ -65,7 +65,7 @@ export const getSyncStatusColor = (
return "danger";
case "update":
case "touch":
- return "saturated-blue";
+ return "core-blue-saturated";
default:
return "info";
}
diff --git a/enterprise/frontend/src/metabase-enterprise/sandboxes/components/LoginAttributesWidget/LoginAttributeMappingEditor.tsx b/enterprise/frontend/src/metabase-enterprise/sandboxes/components/LoginAttributesWidget/LoginAttributeMappingEditor.tsx
index 8d98ed98e25..f9ca1a07303 100644
--- a/enterprise/frontend/src/metabase-enterprise/sandboxes/components/LoginAttributesWidget/LoginAttributeMappingEditor.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/sandboxes/components/LoginAttributesWidget/LoginAttributeMappingEditor.tsx
@@ -288,7 +288,7 @@ const InfoCard = ({
!["tenant", "system", "jwt"].includes(source ?? "") ? null : (
<HoverCard>
<HoverCard.Target>
- <Icon name="info" c="text-tertiary" />
+ <Icon name="info" c="text-disabled" />
</HoverCard.Target>
<HoverCard.Dropdown maw="20rem">
<Text p="sm" maw="20rem">
diff --git a/enterprise/frontend/src/metabase-enterprise/schema_viewer/components/SchemaViewer/SchemaViewer.tsx b/enterprise/frontend/src/metabase-enterprise/schema_viewer/components/SchemaViewer/SchemaViewer.tsx
index fe70abeed8f..2f132064545 100644
--- a/enterprise/frontend/src/metabase-enterprise/schema_viewer/components/SchemaViewer/SchemaViewer.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/schema_viewer/components/SchemaViewer/SchemaViewer.tsx
@@ -362,7 +362,7 @@ export function SchemaViewer({
pt="xl"
data-testid="schema-viewer-empty-state"
>
- <Text c="text-tertiary">{t`No schema selected`}</Text>
+ <Text c="text-disabled">{t`No schema selected`}</Text>
</Stack>
</Panel>
)}
diff --git a/enterprise/frontend/src/metabase-enterprise/schema_viewer/components/SchemaViewer/components/NodeSearch/SchemaViewerNodeSearch.tsx b/enterprise/frontend/src/metabase-enterprise/schema_viewer/components/SchemaViewer/components/NodeSearch/SchemaViewerNodeSearch.tsx
index 5995293a524..8f8c475e0a7 100644
--- a/enterprise/frontend/src/metabase-enterprise/schema_viewer/components/SchemaViewer/components/NodeSearch/SchemaViewerNodeSearch.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/schema_viewer/components/SchemaViewer/components/NodeSearch/SchemaViewerNodeSearch.tsx
@@ -141,12 +141,12 @@ export function SchemaViewerNodeSearch({ nodes }: SchemaViewerNodeSearchProps) {
<Group gap="sm" wrap="nowrap" justify="space-between" w="100%">
<Text className={S.label}>{item.label}</Text>
<Group gap="xs" wrap="nowrap" className={S.fieldCount}>
- <Text c="text-tertiary" fz="xs">
+ <Text c="text-disabled" fz="xs">
{item.fkCount}
</Text>
<FixedSizeIcon
name="connections"
- c="text-tertiary"
+ c="text-disabled"
size={12}
/>
</Group>
diff --git a/enterprise/frontend/src/metabase-enterprise/schema_viewer/components/SchemaViewer/components/SchemaPickerInput/SchemaPickerInput.tsx b/enterprise/frontend/src/metabase-enterprise/schema_viewer/components/SchemaViewer/components/SchemaPickerInput/SchemaPickerInput.tsx
index 453d6f3732f..3e8555a043b 100644
--- a/enterprise/frontend/src/metabase-enterprise/schema_viewer/components/SchemaViewer/components/SchemaPickerInput/SchemaPickerInput.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/schema_viewer/components/SchemaViewer/components/SchemaPickerInput/SchemaPickerInput.tsx
@@ -83,13 +83,13 @@ export function SchemaPickerInput({
leftSection={
<FixedSizeIcon
name="database"
- c={isInputEmpty ? "text-tertiary" : undefined}
+ c={isInputEmpty ? "text-disabled" : undefined}
/>
}
rightSection={
<FixedSizeIcon
name="chevrondown"
- c={isInputEmpty ? "text-tertiary" : undefined}
+ c={isInputEmpty ? "text-disabled" : undefined}
/>
}
data-testid="schema-picker-button"
diff --git a/enterprise/frontend/src/metabase-enterprise/schema_viewer/components/SchemaViewer/components/SelectedNodeInfoPanel/InfoPanelField.tsx b/enterprise/frontend/src/metabase-enterprise/schema_viewer/components/SchemaViewer/components/SelectedNodeInfoPanel/InfoPanelField.tsx
index 80ece8bcb11..a044c1bcb5d 100644
--- a/enterprise/frontend/src/metabase-enterprise/schema_viewer/components/SchemaViewer/components/SelectedNodeInfoPanel/InfoPanelField.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/schema_viewer/components/SchemaViewer/components/SelectedNodeInfoPanel/InfoPanelField.tsx
@@ -86,7 +86,7 @@ export function InfoPanelField({
miw={0}
maw="50%"
>
- <Text c="text-tertiary" lh={1} fz="1rem">
+ <Text c="text-disabled" lh={1} fz="1rem">
→
</Text>
<UnstyledButton
diff --git a/enterprise/frontend/src/metabase-enterprise/security_center/components/AdvisoryCard/AdvisoryCard.module.css b/enterprise/frontend/src/metabase-enterprise/security_center/components/AdvisoryCard/AdvisoryCard.module.css
index 651415fd569..5fa578129dc 100644
--- a/enterprise/frontend/src/metabase-enterprise/security_center/components/AdvisoryCard/AdvisoryCard.module.css
+++ b/enterprise/frontend/src/metabase-enterprise/security_center/components/AdvisoryCard/AdvisoryCard.module.css
@@ -20,5 +20,5 @@
.severityNeutral {
background-color: var(--mb-color-background_surface-disabled);
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
diff --git a/enterprise/frontend/src/metabase-enterprise/semantic_search/SearchSettingsWidget.tsx b/enterprise/frontend/src/metabase-enterprise/semantic_search/SearchSettingsWidget.tsx
index 2d1b2464fc7..e37e71195b3 100644
--- a/enterprise/frontend/src/metabase-enterprise/semantic_search/SearchSettingsWidget.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/semantic_search/SearchSettingsWidget.tsx
@@ -108,7 +108,7 @@ export function SearchSettingsWidget({
maw="25rem"
animated={progress < 100}
/>
- <Text c="text-tertiary" size="md">
+ <Text c="text-disabled" size="md">
{progress === 100
? t`Initialized search index`
: t`Initializing search index...`}
diff --git a/enterprise/frontend/src/metabase-enterprise/table-editing/inputs/TableActionInputBoolean.tsx b/enterprise/frontend/src/metabase-enterprise/table-editing/inputs/TableActionInputBoolean.tsx
index 15758e90d88..aa1ef9d8ff9 100644
--- a/enterprise/frontend/src/metabase-enterprise/table-editing/inputs/TableActionInputBoolean.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/table-editing/inputs/TableActionInputBoolean.tsx
@@ -77,7 +77,7 @@ export const TableActionInputBoolean = ({
{value ? (
value
) : (
- <Input.Placeholder c="text-tertiary">
+ <Input.Placeholder c="text-disabled">
{NULL_LABEL}
</Input.Placeholder>
)}
diff --git a/enterprise/frontend/src/metabase-enterprise/table-editing/inputs/TableActionInputSearchableSelect.tsx b/enterprise/frontend/src/metabase-enterprise/table-editing/inputs/TableActionInputSearchableSelect.tsx
index 1347429afbc..5182891e6ca 100644
--- a/enterprise/frontend/src/metabase-enterprise/table-editing/inputs/TableActionInputSearchableSelect.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/table-editing/inputs/TableActionInputSearchableSelect.tsx
@@ -102,7 +102,7 @@ export const TableActionInputSearchableSelect = ({
if (!value && inputProps?.placeholder) {
return (
<Input.Placeholder
- c="text-tertiary"
+ c="text-disabled"
className={classNames?.selectLabel}
>
{inputProps.placeholder}
@@ -113,7 +113,7 @@ export const TableActionInputSearchableSelect = ({
if (isLoading) {
return (
<Input.Placeholder
- c="text-tertiary"
+ c="text-disabled"
className={classNames?.selectLabel}
>
{t`Loading...`}
@@ -167,7 +167,7 @@ export const TableActionInputSearchableSelect = ({
shouldDisplayClearButton && (
<Icon
name="close"
- c="text-tertiary"
+ c="text-disabled"
onClick={() => handleOptionSubmit(null)}
onMouseDown={(event) => event.stopPropagation()}
/>
diff --git a/enterprise/frontend/src/metabase-enterprise/table-editing/table-edit/data-grid/TableEditingCell.module.css b/enterprise/frontend/src/metabase-enterprise/table-editing/table-edit/data-grid/TableEditingCell.module.css
index 4195a94d807..6b6f47a9eca 100644
--- a/enterprise/frontend/src/metabase-enterprise/table-editing/table-edit/data-grid/TableEditingCell.module.css
+++ b/enterprise/frontend/src/metabase-enterprise/table-editing/table-edit/data-grid/TableEditingCell.module.css
@@ -34,7 +34,7 @@
.readonlyCell {
font-weight: normal;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
cursor: not-allowed;
border-bottom-color: var(--mb-color-border-neutral);
}
diff --git a/enterprise/frontend/src/metabase-enterprise/tenants/components/TenantsListing/TenantsListing.tsx b/enterprise/frontend/src/metabase-enterprise/tenants/components/TenantsListing/TenantsListing.tsx
index fff9cfd0390..0b5c66f52f1 100644
--- a/enterprise/frontend/src/metabase-enterprise/tenants/components/TenantsListing/TenantsListing.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/tenants/components/TenantsListing/TenantsListing.tsx
@@ -119,13 +119,13 @@ export const TenantsListing = ({
{((tenants.length !== 0 && filteredTenants.length === 0) ||
(tenants.length === 0 && status === ACTIVE_STATUS.deactivated)) && (
- <Text size="lg" fw="700" ta="center" mt="xl" py="xl" c="text-tertiary">
+ <Text size="lg" fw="700" ta="center" mt="xl" py="xl" c="text-disabled">
{t`No matching tenants found.`}
</Text>
)}
{tenants.length === 0 && status === ACTIVE_STATUS.active && (
- <Text size="lg" fw="700" ta="center" mt="xl" py="xl" c="text-tertiary">
+ <Text size="lg" fw="700" ta="center" mt="xl" py="xl" c="text-disabled">
{t`Add your first tenant to get started.`}
</Text>
)}
@@ -144,7 +144,7 @@ function ActionsPopover({ tenant }: ActionsPopoverProps) {
<Menu shadow="md" width={200} position="bottom-end">
<Menu.Target>
<UnstyledButton>
- <Icon c="text-tertiary" name="ellipsis" />
+ <Icon c="text-disabled" name="ellipsis" />
</UnstyledButton>
</Menu.Target>
<Menu.Dropdown>
diff --git a/enterprise/frontend/src/metabase-enterprise/transforms-inspector/pages/TransformInspectPage/components/LensNavigator/LensNavigator.tsx b/enterprise/frontend/src/metabase-enterprise/transforms-inspector/pages/TransformInspectPage/components/LensNavigator/LensNavigator.tsx
index 7ba595c4cbc..c5baf4036cc 100644
--- a/enterprise/frontend/src/metabase-enterprise/transforms-inspector/pages/TransformInspectPage/components/LensNavigator/LensNavigator.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/transforms-inspector/pages/TransformInspectPage/components/LensNavigator/LensNavigator.tsx
@@ -51,7 +51,7 @@ const Indicator = ({ tab, activeTabKey }: IndicatorProps) => {
)
.exhaustive()}
>
- <Icon name="clock" size={12} c="text-tertiary" />
+ <Icon name="clock" size={12} c="text-disabled" />
</Tooltip>
);
};
@@ -103,7 +103,7 @@ export const LensNavigator = ({
lh={1}
style={{ cursor: "pointer" }}
>
- <Icon name="close" size={16} c="text-tertiary" />
+ <Icon name="close" size={16} c="text-disabled" />
</Box>
)}
</Group>
diff --git a/enterprise/frontend/src/metabase-enterprise/transforms-python/components/PythonTransformEditor/PythonDataPicker/AliasInput/AliasInput.tsx b/enterprise/frontend/src/metabase-enterprise/transforms-python/components/PythonTransformEditor/PythonDataPicker/AliasInput/AliasInput.tsx
index 6a4ffd3d29f..3304eaa93a3 100644
--- a/enterprise/frontend/src/metabase-enterprise/transforms-python/components/PythonTransformEditor/PythonDataPicker/AliasInput/AliasInput.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/transforms-python/components/PythonTransformEditor/PythonDataPicker/AliasInput/AliasInput.tsx
@@ -53,7 +53,7 @@ export function AliasInput({
<ActionIcon
onClick={() => onChange(defaultAlias)}
aria-label={t`Reset alias to default`}
- color="text-tertiary"
+ color="text-disabled"
variant="subtle"
>
<Icon name="refresh" size={12} />
diff --git a/enterprise/frontend/src/metabase-enterprise/transforms-python/components/PythonTransformEditor/PythonDataPicker/PythonDataPicker.tsx b/enterprise/frontend/src/metabase-enterprise/transforms-python/components/PythonTransformEditor/PythonDataPicker/PythonDataPicker.tsx
index 97c8639df8f..4175e597890 100644
--- a/enterprise/frontend/src/metabase-enterprise/transforms-python/components/PythonTransformEditor/PythonDataPicker/PythonDataPicker.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/transforms-python/components/PythonTransformEditor/PythonDataPicker/PythonDataPicker.tsx
@@ -126,7 +126,7 @@ export function PythonDataPicker({
{database && (
<Box>
<Text fw="bold">{t`Pick tables and alias them`}</Text>
- <Text size="sm" c="text-tertiary" mb="sm">
+ <Text size="sm" c="text-disabled" mb="sm">
{t`Select tables to use as data sources and provide aliases that can be referenced in your Python script.`}
</Text>
<Stack gap="md">
diff --git a/enterprise/frontend/src/metabase-enterprise/transforms-python/components/PythonTransformEditor/PythonEditorResults/PythonEditorResults.tsx b/enterprise/frontend/src/metabase-enterprise/transforms-python/components/PythonTransformEditor/PythonEditorResults/PythonEditorResults.tsx
index d1ac00776b4..5decade9d50 100644
--- a/enterprise/frontend/src/metabase-enterprise/transforms-python/components/PythonTransformEditor/PythonEditorResults/PythonEditorResults.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/transforms-python/components/PythonTransformEditor/PythonEditorResults/PythonEditorResults.tsx
@@ -181,7 +181,7 @@ function ResultsFooter({
/>
<Text fw="bold" c="text-primary" lh="xs">{t`Done`}</Text>
<Text
- c="text-tertiary"
+ c="text-disabled"
ml="xs"
lh="xs"
>{t`Preview based on the first 100 rows from each table.`}</Text>
@@ -197,7 +197,7 @@ function DismissButton({ onDismiss }: { onDismiss: () => void }) {
size="1.5rem"
radius="xl"
variant="subtle"
- c="text-tertiary"
+ c="text-disabled"
onClick={onDismiss}
aria-label={t`Dismiss`}
>
@@ -223,7 +223,7 @@ function ExecutionOutputLogs({
<AnsiLogs>{executionResult.logs}</AnsiLogs>
) : (
<Text
- c="text-tertiary"
+ c="text-disabled"
fz="sm"
fs="italic"
>{t`No logs to display`}</Text>
diff --git a/enterprise/frontend/src/metabase-enterprise/whitelabel/components/ColorSettings/ColorSettings.unit.spec.tsx b/enterprise/frontend/src/metabase-enterprise/whitelabel/components/ColorSettings/ColorSettings.unit.spec.tsx
index f1db2a8f59c..559405a41f8 100644
--- a/enterprise/frontend/src/metabase-enterprise/whitelabel/components/ColorSettings/ColorSettings.unit.spec.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/whitelabel/components/ColorSettings/ColorSettings.unit.spec.tsx
@@ -11,7 +11,7 @@ describe("ColorSettings", () => {
const textMediumHex = Color(
color("text-secondary", staticVizOverrides),
).hex();
- const textLightHex = Color(color("text-tertiary", staticVizOverrides)).hex();
+ const textLightHex = Color(color("text-disabled", staticVizOverrides)).hex();
const initialColors = {
brand: color("core-filter"),
diff --git a/enterprise/frontend/src/metabase-enterprise/whitelabel/components/FontWidget/FontFilesWidget.styled.tsx b/enterprise/frontend/src/metabase-enterprise/whitelabel/components/FontWidget/FontFilesWidget.styled.tsx
index af0c5b8eb6b..87a4d95a290 100644
--- a/enterprise/frontend/src/metabase-enterprise/whitelabel/components/FontWidget/FontFilesWidget.styled.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/whitelabel/components/FontWidget/FontFilesWidget.styled.tsx
@@ -71,6 +71,6 @@ export const TableBodyCell = styled.div<TableBodyCellProps>`
`;
export const TableBodyCellLabel = styled.span`
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
margin-left: 0.25rem;
`;
diff --git a/enterprise/frontend/src/metabase-enterprise/whitelabel/components/ImageUploadInfoDot.tsx b/enterprise/frontend/src/metabase-enterprise/whitelabel/components/ImageUploadInfoDot.tsx
index 17becfd7b98..01f45dd35f5 100644
--- a/enterprise/frontend/src/metabase-enterprise/whitelabel/components/ImageUploadInfoDot.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/whitelabel/components/ImageUploadInfoDot.tsx
@@ -32,7 +32,7 @@ export const ImageUploadInfoDot = ({ type }: CustomFileUploadInfoDot) => {
return (
<HoverCard position="top-start">
<HoverCard.Target>
- <Icon name="info" c="text-tertiary" />
+ <Icon name="info" c="text-disabled" />
</HoverCard.Target>
<HoverCard.Dropdown>
<Stack p="md" gap="sm" maw={DESCRIPTIONS_WIDTHS[type]}>
diff --git a/frontend/src/embedding-sdk-bundle/components/private/SdkBreadcrumbs/SdkBreadcrumbs.module.css b/frontend/src/embedding-sdk-bundle/components/private/SdkBreadcrumbs/SdkBreadcrumbs.module.css
index 772d6a0220e..b1c172636a4 100644
--- a/frontend/src/embedding-sdk-bundle/components/private/SdkBreadcrumbs/SdkBreadcrumbs.module.css
+++ b/frontend/src/embedding-sdk-bundle/components/private/SdkBreadcrumbs/SdkBreadcrumbs.module.css
@@ -6,5 +6,5 @@
margin-left: 0.5rem;
margin-right: 0.5rem;
user-select: none;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
diff --git a/frontend/src/embedding-sdk-bundle/components/private/SdkQuestion/components/ChartTypeDropdown/ChartTypeDropdown.tsx b/frontend/src/embedding-sdk-bundle/components/private/SdkQuestion/components/ChartTypeDropdown/ChartTypeDropdown.tsx
index bda36ece81a..6e9163f3c4d 100644
--- a/frontend/src/embedding-sdk-bundle/components/private/SdkQuestion/components/ChartTypeDropdown/ChartTypeDropdown.tsx
+++ b/frontend/src/embedding-sdk-bundle/components/private/SdkQuestion/components/ChartTypeDropdown/ChartTypeDropdown.tsx
@@ -158,7 +158,7 @@ export const ChartTypeDropdownInner = (props: ChartTypeDropdownInnerProps) => {
/>
))}
<Text
- c="text-tertiary"
+ c="text-disabled"
size="sm"
py="xs"
px="sm"
diff --git a/frontend/src/embedding-sdk-bundle/lib/theme/get-embedding-theme.unit.spec.ts b/frontend/src/embedding-sdk-bundle/lib/theme/get-embedding-theme.unit.spec.ts
index e25abf6f0ee..ab171082d21 100644
--- a/frontend/src/embedding-sdk-bundle/lib/theme/get-embedding-theme.unit.spec.ts
+++ b/frontend/src/embedding-sdk-bundle/lib/theme/get-embedding-theme.unit.spec.ts
@@ -41,6 +41,7 @@ describe("Transform Embedding Theme Override", () => {
"core-brand": expect.arrayContaining(["hotpink"]),
"text-primary": expect.arrayContaining(["yellow"]),
"text-tertiary": expect.arrayContaining(["green"]),
+ "text-disabled": expect.arrayContaining(["green"]),
"background-primary": expect.arrayContaining(["orange"]),
"background_page-primary": expect.arrayContaining(["orange"]),
"background-tertiary": expect.arrayContaining(["brown"]),
diff --git a/frontend/src/metabase/account/notifications/components/NotificationCard/DashboardNotificationCard.tsx b/frontend/src/metabase/account/notifications/components/NotificationCard/DashboardNotificationCard.tsx
index 628b194a8ed..1ad395bd28e 100644
--- a/frontend/src/metabase/account/notifications/components/NotificationCard/DashboardNotificationCard.tsx
+++ b/frontend/src/metabase/account/notifications/components/NotificationCard/DashboardNotificationCard.tsx
@@ -92,7 +92,7 @@ export const DashboardNotificationCard = ({
className={S.icon}
name="close"
size={16}
- c="text-tertiary"
+ c="text-disabled"
tooltip={t`Unsubscribe`}
onClick={onUnsubscribeClick}
/>
@@ -102,7 +102,7 @@ export const DashboardNotificationCard = ({
className={S.icon}
name="close"
size={16}
- c="text-tertiary"
+ c="text-disabled"
tooltip={t`Delete`}
onClick={onArchiveClick}
/>
diff --git a/frontend/src/metabase/account/notifications/components/NotificationCard/NotificationCard.tsx b/frontend/src/metabase/account/notifications/components/NotificationCard/NotificationCard.tsx
index dca817680b3..e813eb97890 100644
--- a/frontend/src/metabase/account/notifications/components/NotificationCard/NotificationCard.tsx
+++ b/frontend/src/metabase/account/notifications/components/NotificationCard/NotificationCard.tsx
@@ -103,7 +103,7 @@ export const NotificationCard = ({
className={S.icon}
name="close"
size={16}
- c="text-tertiary"
+ c="text-disabled"
tooltip={t`Unsubscribe`}
onClick={onUnsubscribeClick}
/>
@@ -113,7 +113,7 @@ export const NotificationCard = ({
className={S.icon}
name="close"
size={16}
- c="text-tertiary"
+ c="text-disabled"
tooltip={t`Delete`}
onClick={onArchiveClick}
/>
diff --git a/frontend/src/metabase/actions/containers/ActionCreator/FormCreator/OptionEditor.styled.tsx b/frontend/src/metabase/actions/containers/ActionCreator/FormCreator/OptionEditor.styled.tsx
index 1b96c7d1475..29eb9c9cfab 100644
--- a/frontend/src/metabase/actions/containers/ActionCreator/FormCreator/OptionEditor.styled.tsx
+++ b/frontend/src/metabase/actions/containers/ActionCreator/FormCreator/OptionEditor.styled.tsx
@@ -12,7 +12,7 @@ export const AddMorePrompt = styled.div<{ isVisible: boolean }>`
text-align: center;
font-size: 0.875rem;
height: 1.25rem;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
transition: opacity 0.2s ease-in-out;
opacity: ${(props) => (props.isVisible ? 1 : 0)};
`;
diff --git a/frontend/src/metabase/admin/ai/McpAppsSettings.tsx b/frontend/src/metabase/admin/ai/McpAppsSettings.tsx
index 472d3ebb157..b7a3d2a7209 100644
--- a/frontend/src/metabase/admin/ai/McpAppsSettings.tsx
+++ b/frontend/src/metabase/admin/ai/McpAppsSettings.tsx
@@ -173,7 +173,7 @@ function CustomMcpOriginsSection() {
onBlur={handleBlur}
placeholder="https://*.example.com"
/>
- <Text c="text-tertiary" fz="sm" mt="xs">
+ <Text c="text-disabled" fz="sm" mt="xs">
{t`Changes will take effect within one minute.`}
</Text>
</Box>
diff --git a/frontend/src/metabase/admin/ai/MetabotAdminSuggestedPrompts.tsx b/frontend/src/metabase/admin/ai/MetabotAdminSuggestedPrompts.tsx
index d5fa9fa0842..82fd0ddb08c 100644
--- a/frontend/src/metabase/admin/ai/MetabotAdminSuggestedPrompts.tsx
+++ b/frontend/src/metabase/admin/ai/MetabotAdminSuggestedPrompts.tsx
@@ -167,7 +167,7 @@ export const MetabotPromptSuggestionPane = ({
{t`Something went wrong.`}
</Center>
) : data?.total === 0 ? (
- <Center my="lg" fw="bold" c="text-tertiary">
+ <Center my="lg" fw="bold" c="text-disabled">
{t`No prompts found.`}
</Center>
) : null
diff --git a/frontend/src/metabase/admin/ai/MetabotSettingsPanel.tsx b/frontend/src/metabase/admin/ai/MetabotSettingsPanel.tsx
old mode 100755
new mode 100644
index 70dc7155a6e..1a4cb0852a1
--- a/frontend/src/metabase/admin/ai/MetabotSettingsPanel.tsx
+++ b/frontend/src/metabase/admin/ai/MetabotSettingsPanel.tsx
@@ -237,11 +237,11 @@ function CollectionInfo({ collection }: { collection: Collection }) {
const parent = collectionInfo?.effective_ancestors?.slice(-1)?.[0];
return (
- <Flex align="center" gap="sm" c="text-tertiary" mb="sm">
+ <Flex align="center" gap="sm" c="text-disabled" mb="sm">
{parent && (
<>
<CollectionDisplay collection={parent} />
- <Text c="text-tertiary" fw="bold">
+ <Text c="text-disabled" fw="bold">
/
</Text>
</>
diff --git a/frontend/src/metabase/admin/embedding/components/ThemeEditor/EditorPanel.tsx b/frontend/src/metabase/admin/embedding/components/ThemeEditor/EditorPanel.tsx
index 05f61472d7e..66009105f22 100644
--- a/frontend/src/metabase/admin/embedding/components/ThemeEditor/EditorPanel.tsx
+++ b/frontend/src/metabase/admin/embedding/components/ThemeEditor/EditorPanel.tsx
@@ -239,7 +239,7 @@ export function EditorPanel({
}}
placeholder={t`Default`}
rightSection={
- <Text c="text-tertiary" fz="sm">
+ <Text c="text-disabled" fz="sm">
{"px"}
</Text>
}
diff --git a/frontend/src/metabase/admin/people/components/GroupMembersTable/GroupMembersTable.tsx b/frontend/src/metabase/admin/people/components/GroupMembersTable/GroupMembersTable.tsx
index 4bff9b8e66d..114e7b7ae47 100644
--- a/frontend/src/metabase/admin/people/components/GroupMembersTable/GroupMembersTable.tsx
+++ b/frontend/src/metabase/admin/people/components/GroupMembersTable/GroupMembersTable.tsx
@@ -150,7 +150,7 @@ const UserMemberRow = ({
{canRemove ? (
<Box component="td" ta="right">
<UnstyledButton onClick={() => onMembershipRemove(member)}>
- <Icon name="close" c="text-tertiary" size={16} />
+ <Icon name="close" c="text-disabled" size={16} />
</UnstyledButton>
</Box>
) : null}
@@ -170,7 +170,7 @@ const ApiKeyMemberRow = ({ member }: { member: Member }) => (
<Box component="td" ta="right">
<Link to="/admin/settings/authentication/api-keys">
<Tooltip label={t`API keys`} position="left">
- <Icon name="link" c="text-tertiary" size={16} />
+ <Icon name="link" c="text-disabled" size={16} />
</Tooltip>
</Link>
</Box>
diff --git a/frontend/src/metabase/admin/people/components/GroupsListing.tsx b/frontend/src/metabase/admin/people/components/GroupsListing.tsx
index 7dd832f8b9e..455fd3d8978 100644
--- a/frontend/src/metabase/admin/people/components/GroupsListing.tsx
+++ b/frontend/src/metabase/admin/people/components/GroupsListing.tsx
@@ -147,7 +147,7 @@ function ActionsPopover({
<Menu shadow="md" width={200} position="bottom-end">
<Menu.Target>
<UnstyledButton aria-label={`group-action-button`}>
- <Icon c="text-tertiary" name="ellipsis" />
+ <Icon c="text-disabled" name="ellipsis" />
</UnstyledButton>
</Menu.Target>
<Menu.Dropdown>
@@ -299,7 +299,7 @@ const ApiKeyCount = ({ apiKeys }: { apiKeys: ApiKey[] }) => {
return null;
}
return (
- <Box component="span" c="text-tertiary">
+ <Box component="span" c="text-disabled">
{apiKeys.length === 1
? t` (includes 1 API key)`
: t` (includes ${apiKeys.length} API keys)`}
diff --git a/frontend/src/metabase/admin/people/components/MembershipSelect/MembershipSelect.tsx b/frontend/src/metabase/admin/people/components/MembershipSelect/MembershipSelect.tsx
index c556be3038e..5016813c222 100644
--- a/frontend/src/metabase/admin/people/components/MembershipSelect/MembershipSelect.tsx
+++ b/frontend/src/metabase/admin/people/components/MembershipSelect/MembershipSelect.tsx
@@ -153,7 +153,7 @@ export const MembershipSelect = ({
groups={groups}
selectedGroupIds={selectedGroupIds}
/>
- <Icon c="text-tertiary" name="chevrondown" size={10} />
+ <Icon c="text-disabled" name="chevrondown" size={10} />
</Flex>
</Popover.Target>
<Popover.Dropdown w="300px" mah="600px" py="sm">
diff --git a/frontend/src/metabase/admin/people/components/PeopleList.tsx b/frontend/src/metabase/admin/people/components/PeopleList.tsx
index 33f6d5bf137..a8d3df631d1 100644
--- a/frontend/src/metabase/admin/people/components/PeopleList.tsx
+++ b/frontend/src/metabase/admin/people/components/PeopleList.tsx
@@ -257,7 +257,7 @@ export const PeopleList = ({
>
<Box my="lg">
<Icon name="search" mb="sm" size={32} />
- <Text c="text-tertiary" fz="lg" fw={700}>
+ <Text c="text-disabled" fz="lg" fw={700}>
{noResultsMessage}
</Text>
</Box>
diff --git a/frontend/src/metabase/admin/people/components/ReactivateUserButton.module.css b/frontend/src/metabase/admin/people/components/ReactivateUserButton.module.css
index b0046fd8d3f..e2aec8c16c1 100644
--- a/frontend/src/metabase/admin/people/components/ReactivateUserButton.module.css
+++ b/frontend/src/metabase/admin/people/components/ReactivateUserButton.module.css
@@ -1,5 +1,5 @@
.refreshLink {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
cursor: pointer;
padding: 0.5rem;
@@ -8,7 +8,7 @@
}
&.disabled:hover {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
cursor: unset;
}
}
diff --git a/frontend/src/metabase/admin/permissions/components/PermissionsPageLayout/PermissionsPageLayout.styled.tsx b/frontend/src/metabase/admin/permissions/components/PermissionsPageLayout/PermissionsPageLayout.styled.tsx
index cb5ce3aa1c5..f32fd6df93c 100644
--- a/frontend/src/metabase/admin/permissions/components/PermissionsPageLayout/PermissionsPageLayout.styled.tsx
+++ b/frontend/src/metabase/admin/permissions/components/PermissionsPageLayout/PermissionsPageLayout.styled.tsx
@@ -48,7 +48,7 @@ export const CloseSidebarButton = styled(
)`
top: 1.75rem;
right: 1.5rem;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
position: absolute;
cursor: pointer;
transition: color 200ms;
diff --git a/frontend/src/metabase/admin/permissions/components/PermissionsSelect/PermissionsSelect.styled.tsx b/frontend/src/metabase/admin/permissions/components/PermissionsSelect/PermissionsSelect.styled.tsx
index 1ce0dc9be37..cd4f736027e 100644
--- a/frontend/src/metabase/admin/permissions/components/PermissionsSelect/PermissionsSelect.styled.tsx
+++ b/frontend/src/metabase/admin/permissions/components/PermissionsSelect/PermissionsSelect.styled.tsx
@@ -70,12 +70,12 @@ export const WarningIcon = styled(
),
)`
margin-right: 0.25rem;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
`;
export const DisabledPermissionOption = styled(PermissionsSelectOption)<{
isHighlighted: boolean;
}>`
color: ${(props) =>
- props.isHighlighted ? color("text-secondary") : color("text-tertiary")};
+ props.isHighlighted ? color("text-secondary") : color("text-disabled")};
`;
diff --git a/frontend/src/metabase/admin/permissions/components/PermissionsSelect/PermissionsSelect.tsx b/frontend/src/metabase/admin/permissions/components/PermissionsSelect/PermissionsSelect.tsx
index 2362823a7ea..60795f53f6b 100644
--- a/frontend/src/metabase/admin/permissions/components/PermissionsSelect/PermissionsSelect.tsx
+++ b/frontend/src/metabase/admin/permissions/components/PermissionsSelect/PermissionsSelect.tsx
@@ -34,7 +34,7 @@ const defaultOption = {
label: "Missing",
value: "missing" as DataPermissionValue,
icon: "empty" as IconName,
- iconColor: "text-tertiary" as ColorName,
+ iconColor: "text-disabled" as ColorName,
};
export const PermissionsSelect = memo(function PermissionsSelect({
@@ -83,7 +83,7 @@ export const PermissionsSelect = memo(function PermissionsSelect({
{...selectedOption}
isHighlighted={isHighlighted ?? false}
hint={disabledTooltip}
- iconColor="text-tertiary"
+ iconColor="text-disabled"
/>
) : (
<SelectedOption {...selectedOption} />
@@ -99,7 +99,7 @@ export const PermissionsSelect = memo(function PermissionsSelect({
style={{ visibility: isDisabled ? "hidden" : "visible" }}
name="chevrondown"
size={16}
- c="text-tertiary"
+ c="text-disabled"
/>
</PermissionsSelectRoot>
);
diff --git a/frontend/src/metabase/admin/permissions/components/PermissionsSidebar/PermissionsSidebar.styled.tsx b/frontend/src/metabase/admin/permissions/components/PermissionsSidebar/PermissionsSidebar.styled.tsx
index fb78cdfa159..9dc8fbc028c 100644
--- a/frontend/src/metabase/admin/permissions/components/PermissionsSidebar/PermissionsSidebar.styled.tsx
+++ b/frontend/src/metabase/admin/permissions/components/PermissionsSidebar/PermissionsSidebar.styled.tsx
@@ -19,7 +19,7 @@ export const SidebarHeader = styled.div`
export const BackIcon = styled(Icon)`
margin-right: 0.5rem;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
`;
export const BackButton = styled.button`
diff --git a/frontend/src/metabase/admin/permissions/components/PermissionsTable/PermissionsTable.styled.tsx b/frontend/src/metabase/admin/permissions/components/PermissionsTable/PermissionsTable.styled.tsx
index 34d2543a137..7ac5d78f716 100644
--- a/frontend/src/metabase/admin/permissions/components/PermissionsTable/PermissionsTable.styled.tsx
+++ b/frontend/src/metabase/admin/permissions/components/PermissionsTable/PermissionsTable.styled.tsx
@@ -97,7 +97,7 @@ export const HintIcon = styled(
);
}),
)`
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
margin-left: 0.375rem;
cursor: pointer;
`;
diff --git a/frontend/src/metabase/admin/settings/components/ApiKeys/ManageApiKeys.tsx b/frontend/src/metabase/admin/settings/components/ApiKeys/ManageApiKeys.tsx
index 7639dd59235..78a6bea4a34 100644
--- a/frontend/src/metabase/admin/settings/components/ApiKeys/ManageApiKeys.tsx
+++ b/frontend/src/metabase/admin/settings/components/ApiKeys/ManageApiKeys.tsx
@@ -48,7 +48,7 @@ function EmptyState() {
<ApiKeysEmptyIllustration aria-hidden />
</Box>
<Text
- c="text-tertiary"
+ c="text-disabled"
size="sm"
ta="center"
>{t`No API keys yet`}</Text>
diff --git a/frontend/src/metabase/admin/settings/components/widgets/CustomGeoJSONWidget.tsx b/frontend/src/metabase/admin/settings/components/widgets/CustomGeoJSONWidget.tsx
index 06b8d14bc8a..7180d736b75 100644
--- a/frontend/src/metabase/admin/settings/components/widgets/CustomGeoJSONWidget.tsx
+++ b/frontend/src/metabase/admin/settings/components/widgets/CustomGeoJSONWidget.tsx
@@ -140,7 +140,7 @@ export const CustomGeoJSONWidget = () => {
{!hasCustomMaps && (
<Stack p="xl" align="center" gap="md">
<Image w={120} h={120} src={noResultsSource} />
- <Text fw="700" c="text-tertiary">{t`No custom maps yet`}</Text>
+ <Text fw="700" c="text-disabled">{t`No custom maps yet`}</Text>
</Stack>
)}
diff --git a/frontend/src/metabase/admin/settings/components/widgets/GroupMappingsWidget/GroupSelect/GroupSelect.tsx b/frontend/src/metabase/admin/settings/components/widgets/GroupMappingsWidget/GroupSelect/GroupSelect.tsx
index 15cd487d8ff..1a5b456f87a 100644
--- a/frontend/src/metabase/admin/settings/components/widgets/GroupMappingsWidget/GroupSelect/GroupSelect.tsx
+++ b/frontend/src/metabase/admin/settings/components/widgets/GroupMappingsWidget/GroupSelect/GroupSelect.tsx
@@ -98,7 +98,7 @@ export const GroupSelect = ({
groups={groups}
selectedGroupIds={selectedGroupIds}
/>
- <Icon c="text-tertiary" name="chevrondown" size={10} />
+ <Icon c="text-disabled" name="chevrondown" size={10} />
</Flex>
</UnstyledButton>
</Combobox.Target>
diff --git a/frontend/src/metabase/collections/components/CollectionHeader/CollectionCaption.tsx b/frontend/src/metabase/collections/components/CollectionHeader/CollectionCaption.tsx
index c5f0658ade8..bec317f52f3 100644
--- a/frontend/src/metabase/collections/components/CollectionHeader/CollectionCaption.tsx
+++ b/frontend/src/metabase/collections/components/CollectionHeader/CollectionCaption.tsx
@@ -105,14 +105,14 @@ const CollectionCaptionIcon = ({ collection }: { collection: Collection }) => {
}
if (isRootTrashCollection(collection)) {
- return <Icon name="trash" size={24} c="text-tertiary" />;
+ return <Icon name="trash" size={24} c="text-disabled" />;
}
if (
collection.archived &&
PLUGIN_COLLECTIONS.isRegularCollection(collection)
) {
- return <Icon name="folder" size={24} c="text-tertiary" />;
+ return <Icon name="folder" size={24} c="text-disabled" />;
}
return (
diff --git a/frontend/src/metabase/collections/components/PinnedQuestionCard/PinnedQuestionCard.tsx b/frontend/src/metabase/collections/components/PinnedQuestionCard/PinnedQuestionCard.tsx
index b973683a72d..c53e42210eb 100644
--- a/frontend/src/metabase/collections/components/PinnedQuestionCard/PinnedQuestionCard.tsx
+++ b/frontend/src/metabase/collections/components/PinnedQuestionCard/PinnedQuestionCard.tsx
@@ -99,7 +99,7 @@ const PinnedQuestionCard = ({
<Icon
className={cx(CS.hoverChild, CS.hoverChildSmooth)}
name="info"
- c="text-tertiary"
+ c="text-disabled"
tooltip={item.description}
/>
)}
diff --git a/frontend/src/metabase/comments/components/CommentEditor/CommentEditor.module.css b/frontend/src/metabase/comments/components/CommentEditor/CommentEditor.module.css
index 4eba56c818e..16bc442946d 100644
--- a/frontend/src/metabase/comments/components/CommentEditor/CommentEditor.module.css
+++ b/frontend/src/metabase/comments/components/CommentEditor/CommentEditor.module.css
@@ -180,7 +180,7 @@
/* Placeholder styling */
.content :global(.is-empty:first-child:before) {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
content: attr(data-placeholder);
height: 0;
pointer-events: none;
diff --git a/frontend/src/metabase/comments/components/Discussion/Discussion.module.css b/frontend/src/metabase/comments/components/Discussion/Discussion.module.css
index c0250bf50a4..16e3228d744 100644
--- a/frontend/src/metabase/comments/components/Discussion/Discussion.module.css
+++ b/frontend/src/metabase/comments/components/Discussion/Discussion.module.css
@@ -50,7 +50,7 @@
.commentBulletDeleted {
background-color: var(--mb-color-background_page-primary);
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.reaction {
diff --git a/frontend/src/metabase/comments/components/Discussion/DiscussionComment.tsx b/frontend/src/metabase/comments/components/Discussion/DiscussionComment.tsx
index 88f00c4577f..9be24dae12d 100644
--- a/frontend/src/metabase/comments/components/Discussion/DiscussionComment.tsx
+++ b/frontend/src/metabase/comments/components/Discussion/DiscussionComment.tsx
@@ -79,7 +79,7 @@ export function DiscussionComment({
aria-current={isTarget ? "location" : undefined}
data-testid="discussion-comment-deleted"
>
- <Text size="md" c="text-tertiary" fs="italic">
+ <Text size="md" c="text-disabled" fs="italic">
{t`This comment was deleted.`}
</Text>
<DiscussionActionPanel
diff --git a/frontend/src/metabase/common/components/AnsiLogs/AnsiLogs.module.css b/frontend/src/metabase/common/components/AnsiLogs/AnsiLogs.module.css
index 0d4e95401bd..1ccdc8eeef5 100644
--- a/frontend/src/metabase/common/components/AnsiLogs/AnsiLogs.module.css
+++ b/frontend/src/metabase/common/components/AnsiLogs/AnsiLogs.module.css
@@ -38,27 +38,27 @@
}
.react-ansi-style-gray {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.react-ansi-style-red {
- color: var(--mb-color-saturated-red);
+ color: var(--mb-color-core-red-saturated);
}
.react-ansi-style-green {
- color: var(--mb-color-saturated-green);
+ color: var(--mb-color-core-green-saturated);
}
.react-ansi-style-yellow {
- color: var(--mb-color-saturated-yellow);
+ color: var(--mb-color-core-yellow-saturated);
}
.react-ansi-style-blue {
- color: var(--mb-color-saturated-blue);
+ color: var(--mb-color-core-blue-saturated);
}
.react-ansi-style-purple {
- color: var(--mb-color-saturated-purple);
+ color: var(--mb-color-core-purple-saturated);
}
}
}
diff --git a/frontend/src/metabase/common/components/Breadcrumb/Breadcrumb.module.css b/frontend/src/metabase/common/components/Breadcrumb/Breadcrumb.module.css
index 2622f4aca60..709a945bf55 100644
--- a/frontend/src/metabase/common/components/Breadcrumb/Breadcrumb.module.css
+++ b/frontend/src/metabase/common/components/Breadcrumb/Breadcrumb.module.css
@@ -4,7 +4,7 @@
}
.content {
- --color: var(--mb-color-text-tertiary);
+ --color: var(--mb-color-text-disabled);
--active-color: var(--mb-color-brand);
}
diff --git a/frontend/src/metabase/common/components/Breadcrumbs/Breadcrumbs.module.css b/frontend/src/metabase/common/components/Breadcrumbs/Breadcrumbs.module.css
index 782ba13214c..6bd93c90563 100644
--- a/frontend/src/metabase/common/components/Breadcrumbs/Breadcrumbs.module.css
+++ b/frontend/src/metabase/common/components/Breadcrumbs/Breadcrumbs.module.css
@@ -1,5 +1,5 @@
:root {
- --breadcrumbs-color: var(--mb-color-text-tertiary);
+ --breadcrumbs-color: var(--mb-color-text-disabled);
--breadcrumb-page-color: var(--mb-color-text-primary);
--breadcrumb-divider-spacing: 0.75em;
diff --git a/frontend/src/metabase/common/components/BrowserCrumbs/BrowserCrumbs.module.css b/frontend/src/metabase/common/components/BrowserCrumbs/BrowserCrumbs.module.css
index 998e5df7b92..f62c6dceecb 100644
--- a/frontend/src/metabase/common/components/BrowserCrumbs/BrowserCrumbs.module.css
+++ b/frontend/src/metabase/common/components/BrowserCrumbs/BrowserCrumbs.module.css
@@ -18,5 +18,5 @@
.icon {
margin: 0 0.5rem;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
diff --git a/frontend/src/metabase/common/components/BucketPickerPopover/BucketPickerPopover.module.css b/frontend/src/metabase/common/components/BucketPickerPopover/BucketPickerPopover.module.css
index 0f2c03b7ff8..85957a15ad6 100644
--- a/frontend/src/metabase/common/components/BucketPickerPopover/BucketPickerPopover.module.css
+++ b/frontend/src/metabase/common/components/BucketPickerPopover/BucketPickerPopover.module.css
@@ -1,7 +1,7 @@
.triggerButton {
border-radius: 0;
visibility: hidden;
- color: var(--mb-color-text-tertiary-inverse);
+ color: var(--mb-color-text-disabled-inverse);
border-left: 2px solid var(--mb-color-border-neutral-subtle);
}
diff --git a/frontend/src/metabase/common/components/BulkActionBar/BulkActionBar.module.css b/frontend/src/metabase/common/components/BulkActionBar/BulkActionBar.module.css
index ab68901ad1f..12677e5e071 100644
--- a/frontend/src/metabase/common/components/BulkActionBar/BulkActionBar.module.css
+++ b/frontend/src/metabase/common/components/BulkActionBar/BulkActionBar.module.css
@@ -26,7 +26,7 @@
}
&:disabled {
- color: var(--mb-color-text-tertiary-inverse);
+ color: var(--mb-color-text-disabled-inverse);
border-color: color-mix(
in srgb,
var(--mb-color-background_surface-disabled-inverse),
@@ -48,7 +48,7 @@
}
&:disabled:hover {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
border-color: color-mix(
in srgb,
var(--mb-color-background_page-primary),
diff --git a/frontend/src/metabase/common/components/CodeMirror/CodeMirror.module.css b/frontend/src/metabase/common/components/CodeMirror/CodeMirror.module.css
index 482cafd7416..01152c4fc1b 100644
--- a/frontend/src/metabase/common/components/CodeMirror/CodeMirror.module.css
+++ b/frontend/src/metabase/common/components/CodeMirror/CodeMirror.module.css
@@ -39,7 +39,7 @@
.cm-gutterElement {
font-weight: bold;
font-size: 10px;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
vertical-align: baseline;
display: flex;
align-items: center;
@@ -76,7 +76,7 @@
.cm-matchingBracket {
background: none !important;
- outline: 0.5px solid var(--mb-color-text-tertiary);
+ outline: 0.5px solid var(--mb-color-text-disabled);
border-radius: 2px;
}
@@ -92,7 +92,7 @@
}
.cm-completionDetail {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
font-style: normal;
text-align: right;
overflow: hidden;
diff --git a/frontend/src/metabase/common/components/ColorPill/ColorPill.module.css b/frontend/src/metabase/common/components/ColorPill/ColorPill.module.css
index ca7355f6c97..8d9d6c0db4d 100644
--- a/frontend/src/metabase/common/components/ColorPill/ColorPill.module.css
+++ b/frontend/src/metabase/common/components/ColorPill/ColorPill.module.css
@@ -6,12 +6,12 @@
border-width: 1px;
&:hover {
- border-color: var(--mb-color-text-tertiary);
+ border-color: var(--mb-color-text-disabled);
}
}
.Selected {
- border-color: var(--mb-color-text-tertiary);
+ border-color: var(--mb-color-text-disabled);
&:hover {
border-color: var(--mb-color-text-primary);
diff --git a/frontend/src/metabase/common/components/DatabaseMultiSelect/DatabaseMultiSelect.module.css b/frontend/src/metabase/common/components/DatabaseMultiSelect/DatabaseMultiSelect.module.css
index c1952ed7409..7dea7a835e1 100644
--- a/frontend/src/metabase/common/components/DatabaseMultiSelect/DatabaseMultiSelect.module.css
+++ b/frontend/src/metabase/common/components/DatabaseMultiSelect/DatabaseMultiSelect.module.css
@@ -24,7 +24,7 @@
}
.optionIconDisabled {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
flex-shrink: 0;
}
diff --git a/frontend/src/metabase/common/components/DatabaseMultiSelect/DatabaseMultiSelect.tsx b/frontend/src/metabase/common/components/DatabaseMultiSelect/DatabaseMultiSelect.tsx
index 201517f1675..2c164f85ae2 100644
--- a/frontend/src/metabase/common/components/DatabaseMultiSelect/DatabaseMultiSelect.tsx
+++ b/frontend/src/metabase/common/components/DatabaseMultiSelect/DatabaseMultiSelect.tsx
@@ -84,7 +84,7 @@ export const DatabaseMultiSelect = ({
className={isDisabled ? S.optionIconDisabled : S.optionIcon}
/>
- <Text size="md" c={isDisabled ? "text-tertiary" : undefined}>
+ <Text size="md" c={isDisabled ? "text-disabled" : undefined}>
{option.label}
</Text>
diff --git a/frontend/src/metabase/common/components/DimensionPill/DimensionPill.tsx b/frontend/src/metabase/common/components/DimensionPill/DimensionPill.tsx
index 0a5bc73aab9..919fd70b248 100644
--- a/frontend/src/metabase/common/components/DimensionPill/DimensionPill.tsx
+++ b/frontend/src/metabase/common/components/DimensionPill/DimensionPill.tsx
@@ -127,7 +127,7 @@ export function DimensionPill({
onClick={isInteractive ? () => setIsOpen(true) : undefined}
>
<SourceColorIndicator colors={colors} fallbackIcon={icon ?? "add"} />
- <Text size="sm" lh={1} c={isEmpty ? "text-tertiary" : undefined}>
+ <Text size="sm" lh={1} c={isEmpty ? "text-disabled" : undefined}>
{pillLabel}
</Text>
</Flex>
diff --git a/frontend/src/metabase/common/components/EntityIdCard/EntityIdCard.module.css b/frontend/src/metabase/common/components/EntityIdCard/EntityIdCard.module.css
index f863780f50e..214a21742af 100644
--- a/frontend/src/metabase/common/components/EntityIdCard/EntityIdCard.module.css
+++ b/frontend/src/metabase/common/components/EntityIdCard/EntityIdCard.module.css
@@ -1,7 +1,7 @@
.CopyButton {
cursor: pointer;
position: relative;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
&:hover {
color: var(--mb-color-core-brand);
@@ -9,7 +9,7 @@
}
.InfoIcon {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
&:hover {
background-color: var(--mb-color-background_surface-hover);
diff --git a/frontend/src/metabase/common/components/ErrorPages/ErrorPages.tsx b/frontend/src/metabase/common/components/ErrorPages/ErrorPages.tsx
index b42118aee38..76c29dbfb09 100644
--- a/frontend/src/metabase/common/components/ErrorPages/ErrorPages.tsx
+++ b/frontend/src/metabase/common/components/ErrorPages/ErrorPages.tsx
@@ -156,11 +156,11 @@ export const SmallGenericError = forwardRef<
>
<Tooltip label={tooltipMessage}>
{isEmbeddingIframe ? (
- <Icon name="warning" size={32} c="text-tertiary" />
+ <Icon name="warning" size={32} c="text-disabled" />
) : (
<Button
- leftSection={<Icon name="warning" size={32} c="text-tertiary" />}
- color="text-tertiary"
+ leftSection={<Icon name="warning" size={32} c="text-disabled" />}
+ color="text-disabled"
onClick={openModal}
variant="subtle"
/>
diff --git a/frontend/src/metabase/common/components/Glossary/GlossaryTable.tsx b/frontend/src/metabase/common/components/Glossary/GlossaryTable.tsx
index ce8794e501c..2803b7de450 100644
--- a/frontend/src/metabase/common/components/Glossary/GlossaryTable.tsx
+++ b/frontend/src/metabase/common/components/Glossary/GlossaryTable.tsx
@@ -214,7 +214,7 @@ export function GlossaryTable({
<ActionIcon
aria-label={t`Delete`}
variant="subtle"
- c="text-tertiary"
+ c="text-disabled"
className={cx(S.action)}
onClick={() => setDeletingItem(item)}
>
diff --git a/frontend/src/metabase/common/components/Input/Input.styled.tsx b/frontend/src/metabase/common/components/Input/Input.styled.tsx
index 4c3081ecaec..df07aa7d523 100644
--- a/frontend/src/metabase/common/components/Input/Input.styled.tsx
+++ b/frontend/src/metabase/common/components/Input/Input.styled.tsx
@@ -125,7 +125,7 @@ type InputButtonProps = {
const InputButton = styled(IconButtonWrapper)<InputButtonProps>`
position: absolute;
color: ${(props) =>
- color(props.onClick != null ? "text-primary" : "text-tertiary")};
+ color(props.onClick != null ? "text-primary" : "text-disabled")};
padding: ${(props) => (props.size === "small" ? "0.5rem" : "0.75rem")};
border-radius: 50%;
bottom: ${(props) => (props.size === "large" ? "0.125rem" : 0)};
@@ -155,7 +155,7 @@ export const InputResetButton = styled(InputButton, {
`;
export const InputSubtitle = styled.div`
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
position: absolute;
top: 1.25em;
left: 1.25em;
diff --git a/frontend/src/metabase/common/components/ItemsTable/DefaultItemRenderer.tsx b/frontend/src/metabase/common/components/ItemsTable/DefaultItemRenderer.tsx
index f1d1f1ebdc4..47be1978568 100644
--- a/frontend/src/metabase/common/components/ItemsTable/DefaultItemRenderer.tsx
+++ b/frontend/src/metabase/common/components/ItemsTable/DefaultItemRenderer.tsx
@@ -43,7 +43,7 @@ export const DefaultItemRenderer = ({
const icon = getIcon(item);
if (item.model === "card" || item.archived) {
- icon.color = "text-tertiary";
+ icon.color = "text-disabled";
}
const handleSelectionToggled = useCallback(() => {
diff --git a/frontend/src/metabase/common/components/List/List.module.css b/frontend/src/metabase/common/components/List/List.module.css
index 1ab8d3d583a..fb21dec2f3d 100644
--- a/frontend/src/metabase/common/components/List/List.module.css
+++ b/frontend/src/metabase/common/components/List/List.module.css
@@ -1,7 +1,7 @@
:root {
--title-color: var(--mb-color-text-primary);
--subtitle-color: var(--mb-color-text-secondary);
- --muted-color: var(--mb-color-text-tertiary);
+ --muted-color: var(--mb-color-text-disabled);
}
.list {
diff --git a/frontend/src/metabase/common/components/MetadataInfo/MetadataInfo.module.css b/frontend/src/metabase/common/components/MetadataInfo/MetadataInfo.module.css
index 63957339743..ee2d9975938 100644
--- a/frontend/src/metabase/common/components/MetadataInfo/MetadataInfo.module.css
+++ b/frontend/src/metabase/common/components/MetadataInfo/MetadataInfo.module.css
@@ -6,6 +6,6 @@
}
.EmptyDescription {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
font-weight: 700;
}
diff --git a/frontend/src/metabase/common/components/MetadataInfo/TableInfo/ConnectedTables.styled.tsx b/frontend/src/metabase/common/components/MetadataInfo/TableInfo/ConnectedTables.styled.tsx
index c61b54bd2ec..b967efba732 100644
--- a/frontend/src/metabase/common/components/MetadataInfo/TableInfo/ConnectedTables.styled.tsx
+++ b/frontend/src/metabase/common/components/MetadataInfo/TableInfo/ConnectedTables.styled.tsx
@@ -6,7 +6,7 @@ import { Link } from "metabase/common/components/Link";
import { TableLabel } from "../TableLabel/TableLabel";
export const InteractiveTableLabel = styled(TableLabel)`
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
`;
export const LabelButton = styled.button`
diff --git a/frontend/src/metabase/common/components/ModalContent/ModalContent.styled.ts b/frontend/src/metabase/common/components/ModalContent/ModalContent.styled.ts
index 46480647adf..dc470f8c0a2 100644
--- a/frontend/src/metabase/common/components/ModalContent/ModalContent.styled.ts
+++ b/frontend/src/metabase/common/components/ModalContent/ModalContent.styled.ts
@@ -10,7 +10,7 @@ export const ActionsWrapper = styled.div`
`;
export const ModalContentActionIcon = styled(Icon)`
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
cursor: pointer;
&:hover {
diff --git a/frontend/src/metabase/common/components/MoveQuestionsIntoDashboardsModal/ConfirmMoveDashboardQuestionCandidatesModal.tsx b/frontend/src/metabase/common/components/MoveQuestionsIntoDashboardsModal/ConfirmMoveDashboardQuestionCandidatesModal.tsx
index e117e7451aa..4b675f4d830 100644
--- a/frontend/src/metabase/common/components/MoveQuestionsIntoDashboardsModal/ConfirmMoveDashboardQuestionCandidatesModal.tsx
+++ b/frontend/src/metabase/common/components/MoveQuestionsIntoDashboardsModal/ConfirmMoveDashboardQuestionCandidatesModal.tsx
@@ -112,7 +112,7 @@ export const ConfirmMoveDashboardQuestionCandidatesModal = ({
})
.with({ rows: [] }, () => (
<Flex justify="center" py="19rem">
- <Text size="1.25rem" px="md" color="text-tertiary">
+ <Text size="1.25rem" px="md" color="text-disabled">
{t`There aren't any questions to move into dashboards. Looks like everything is in its place.`}
</Text>
</Flex>
diff --git a/frontend/src/metabase/common/components/OnboardingStepper/OnboardingStepper.module.css b/frontend/src/metabase/common/components/OnboardingStepper/OnboardingStepper.module.css
index bb6bf3568ec..70a7e586c50 100644
--- a/frontend/src/metabase/common/components/OnboardingStepper/OnboardingStepper.module.css
+++ b/frontend/src/metabase/common/components/OnboardingStepper/OnboardingStepper.module.css
@@ -105,7 +105,7 @@
.StepLockIcon {
width: 0.75rem;
height: 0.75rem;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
/* Step content with title (only shown when active) */
diff --git a/frontend/src/metabase/common/components/PaginationControls/PaginationControls.tsx b/frontend/src/metabase/common/components/PaginationControls/PaginationControls.tsx
index 9992d21872d..b1c076d489a 100644
--- a/frontend/src/metabase/common/components/PaginationControls/PaginationControls.tsx
+++ b/frontend/src/metabase/common/components/PaginationControls/PaginationControls.tsx
@@ -47,7 +47,7 @@ export const PaginationControls = ({
{page * pageSize + 1} - {page * pageSize + itemsLength}
{showTotal && (
<>
- <Text component="span" c="text-tertiary">
+ <Text component="span" c="text-disabled">
&nbsp;
{c(
"Appears in phrases like '1-10 of 100', referring to a page of results",
diff --git a/frontend/src/metabase/common/components/ReorderableTagsInput/ReorderableTagsInput.module.css b/frontend/src/metabase/common/components/ReorderableTagsInput/ReorderableTagsInput.module.css
index dbe3342d729..9e7d39679cc 100644
--- a/frontend/src/metabase/common/components/ReorderableTagsInput/ReorderableTagsInput.module.css
+++ b/frontend/src/metabase/common/components/ReorderableTagsInput/ReorderableTagsInput.module.css
@@ -3,7 +3,7 @@
flex-wrap: wrap;
gap: var(--mantine-spacing-xs);
align-items: center;
- border: 1px dashed var(--mb-color-saturated-blue) !important;
+ border: 1px dashed var(--mb-color-core-blue-saturated) !important;
background-color: var(--mb-color-background_surface-brand-subtle);
border-radius: var(--mantine-radius-md);
transition: box-shadow 250ms ease;
@@ -15,7 +15,7 @@
}
.dragOver:not(.max) {
- box-shadow: 0 0 2px 1px var(--mb-color-saturated-blue);
+ box-shadow: 0 0 2px 1px var(--mb-color-core-blue-saturated);
cursor: none !important;
}
diff --git a/frontend/src/metabase/common/components/RevisionHistoryTimeline/RevisionHistoryTimeline.module.css b/frontend/src/metabase/common/components/RevisionHistoryTimeline/RevisionHistoryTimeline.module.css
index 2ac1c7fa5f3..2cf47922ecf 100644
--- a/frontend/src/metabase/common/components/RevisionHistoryTimeline/RevisionHistoryTimeline.module.css
+++ b/frontend/src/metabase/common/components/RevisionHistoryTimeline/RevisionHistoryTimeline.module.css
@@ -10,7 +10,7 @@
top: calc(var(--mantine-spacing-md) + var(--icon-size) / 2);
bottom: calc(-1 * var(--mantine-spacing-md) - var(--icon-size) / 2);
left: calc(var(--mantine-spacing-lg) + var(--icon-size) / 2 - 1px);
- border-inline-start: 2px dotted var(--mb-color-text-tertiary);
+ border-inline-start: 2px dotted var(--mb-color-text-disabled);
}
.event {
@@ -32,7 +32,7 @@
}
.event:hover .title {
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
}
.revertButton {
@@ -42,7 +42,7 @@
.event:hover .revertButton {
opacity: 1;
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
}
.iconCircle {
diff --git a/frontend/src/metabase/common/components/RevisionHistoryTimeline/RevisionHistoryTimeline.stories.tsx b/frontend/src/metabase/common/components/RevisionHistoryTimeline/RevisionHistoryTimeline.stories.tsx
index 3dff1ad5903..0d6f598d973 100644
--- a/frontend/src/metabase/common/components/RevisionHistoryTimeline/RevisionHistoryTimeline.stories.tsx
+++ b/frontend/src/metabase/common/components/RevisionHistoryTimeline/RevisionHistoryTimeline.stories.tsx
@@ -75,7 +75,7 @@ const cardModerationVerified: RevisionOrModerationEvent = {
const cardModerationRemoved: RevisionOrModerationEvent = {
title: "Bob Jones removed verification.",
timestamp: "2026-03-17T13:00:00.000Z",
- icon: { name: "close", color: "text-tertiary" },
+ icon: { name: "close", color: "text-disabled" },
};
const cardEvents: RevisionOrModerationEvent[] = [
diff --git a/frontend/src/metabase/common/components/RevisionHistoryTimeline/RevisionHistoryTimeline.tsx b/frontend/src/metabase/common/components/RevisionHistoryTimeline/RevisionHistoryTimeline.tsx
index 2cd266f402a..72e5b1959c8 100644
--- a/frontend/src/metabase/common/components/RevisionHistoryTimeline/RevisionHistoryTimeline.tsx
+++ b/frontend/src/metabase/common/components/RevisionHistoryTimeline/RevisionHistoryTimeline.tsx
@@ -130,7 +130,7 @@ function EventIconCircle({ icon }: EventIconCircleProps) {
bd="1px solid var(--mb-color-border-neutral)"
bg="background_page-primary"
>
- <Icon name={icon} c="text-tertiary" size={12} />
+ <Icon name={icon} c="text-disabled" size={12} />
</Center>
);
}
diff --git a/frontend/src/metabase/common/components/SearchResult/components/CollectionIcon.tsx b/frontend/src/metabase/common/components/SearchResult/components/CollectionIcon.tsx
index 626db1034ea..6c21e9d7186 100644
--- a/frontend/src/metabase/common/components/SearchResult/components/CollectionIcon.tsx
+++ b/frontend/src/metabase/common/components/SearchResult/components/CollectionIcon.tsx
@@ -15,7 +15,7 @@ export const CollectionIcon = ({
const getIcon = useGetIcon();
const icon = getIcon(item);
- icon.color = icon.color ? icon.color : "text-tertiary";
+ icon.color = icon.color ? icon.color : "text-disabled";
return (
<Icon
diff --git a/frontend/src/metabase/common/components/SelectButton/SelectButton.styled.tsx b/frontend/src/metabase/common/components/SelectButton/SelectButton.styled.tsx
index ad89bf4d9e4..7060b5fe56a 100644
--- a/frontend/src/metabase/common/components/SelectButton/SelectButton.styled.tsx
+++ b/frontend/src/metabase/common/components/SelectButton/SelectButton.styled.tsx
@@ -15,7 +15,7 @@ const getColor = ({ hasValue, highlighted }: SelectButtonRootProps) => {
if (hasValue) {
return highlighted ? color("text-primary-inverse") : color("text-primary");
} else {
- return color("text-tertiary");
+ return color("text-disabled");
}
};
diff --git a/frontend/src/metabase/common/components/Sidebar.module.css b/frontend/src/metabase/common/components/Sidebar.module.css
index 37cbf00d6d2..0730306900c 100644
--- a/frontend/src/metabase/common/components/Sidebar.module.css
+++ b/frontend/src/metabase/common/components/Sidebar.module.css
@@ -16,7 +16,7 @@
align-items: center;
display: flex;
font-size: 1em;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.item .icon {
diff --git a/frontend/src/metabase/common/components/TabRow/TabRow.styled.tsx b/frontend/src/metabase/common/components/TabRow/TabRow.styled.tsx
index 9449c0c6736..643ec5303a7 100644
--- a/frontend/src/metabase/common/components/TabRow/TabRow.styled.tsx
+++ b/frontend/src/metabase/common/components/TabRow/TabRow.styled.tsx
@@ -32,7 +32,7 @@ export const ScrollButton = styled.button<ScrollButtonProps>`
top: 0;
width: 3rem;
text-align: ${(props) => props.direction};
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
&:hover {
color: var(--mb-color-core-brand);
diff --git a/frontend/src/metabase/common/components/TokenFieldItem/TokenFieldItem.styled.ts b/frontend/src/metabase/common/components/TokenFieldItem/TokenFieldItem.styled.ts
index d5dc7f618d9..47450dac4d9 100644
--- a/frontend/src/metabase/common/components/TokenFieldItem/TokenFieldItem.styled.ts
+++ b/frontend/src/metabase/common/components/TokenFieldItem/TokenFieldItem.styled.ts
@@ -25,6 +25,6 @@ export const TokenFieldAddon = styled.a<{
color: ${({ isValid }) => (isValid ? "" : `var(--mb-color-error)`)};
&:hover {
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
}
`;
diff --git a/frontend/src/metabase/css/admin.module.css b/frontend/src/metabase/css/admin.module.css
index f3cf1509bb5..759e43a192c 100644
--- a/frontend/src/metabase/css/admin.module.css
+++ b/frontend/src/metabase/css/admin.module.css
@@ -66,7 +66,7 @@
bottom: 0;
margin: auto;
margin-left: 1em;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.AdminListSearch .AdminInput {
@@ -105,7 +105,7 @@
margin-top: 1em;
padding: 0.5em 1em 0.5em 1em;
text-transform: uppercase;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
font-weight: 700;
font-size: smaller;
padding-right: 15px; /* set so that table visibility icons align */
diff --git a/frontend/src/metabase/css/components/form.module.css b/frontend/src/metabase/css/components/form.module.css
index a3083dcd743..0e0608fd780 100644
--- a/frontend/src/metabase/css/components/form.module.css
+++ b/frontend/src/metabase/css/components/form.module.css
@@ -1,13 +1,13 @@
::-webkit-input-placeholder {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
:-moz-placeholder {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
:-ms-input-placeholder {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.FormField {
diff --git a/frontend/src/metabase/css/components/list.module.css b/frontend/src/metabase/css/components/list.module.css
index 4217726e6bd..0ed29fedb42 100644
--- a/frontend/src/metabase/css/components/list.module.css
+++ b/frontend/src/metabase/css/components/list.module.css
@@ -8,7 +8,7 @@
}
.ListItem :global(.Icon) {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.ListSectionHeader {
@@ -67,7 +67,7 @@
}
.ListItemDisabled .ListItemTitle {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.ListItemCursor:not(.ListItemDisabled) .ListItemTitle,
diff --git a/frontend/src/metabase/css/core/colors.module.css b/frontend/src/metabase/css/core/colors.module.css
index 1b27c41b9e1..9b3ff5f78a8 100644
--- a/frontend/src/metabase/css/core/colors.module.css
+++ b/frontend/src/metabase/css/core/colors.module.css
@@ -49,11 +49,11 @@
}
.textSlateLight {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.textLight {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.textMedium,
@@ -75,7 +75,7 @@
}
.textTertiary {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.bgBrandHover:hover {
diff --git a/frontend/src/metabase/css/dashboard.module.css b/frontend/src/metabase/css/dashboard.module.css
index bcb8604d776..65dfacac682 100644
--- a/frontend/src/metabase/css/dashboard.module.css
+++ b/frontend/src/metabase/css/dashboard.module.css
@@ -41,7 +41,7 @@
.PinMapUpdateButtonDisabled {
pointer-events: none;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
/* .react-draggable*, .react-resizable* are 3rd party library classes */
diff --git a/frontend/src/metabase/css/query_builder.module.css b/frontend/src/metabase/css/query_builder.module.css
index 0de1b2f99bb..104bf04b835 100644
--- a/frontend/src/metabase/css/query_builder.module.css
+++ b/frontend/src/metabase/css/query_builder.module.css
@@ -269,7 +269,7 @@
}
.QuestionTooltipTarget {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
border: 2px solid currentColor;
border-radius: 99px;
width: 20px;
diff --git a/frontend/src/metabase/dashboard/components/DashCard/ClickBehaviorSidebarOverlay/ClickBehaviorSidebarOverlay.module.css b/frontend/src/metabase/dashboard/components/DashCard/ClickBehaviorSidebarOverlay/ClickBehaviorSidebarOverlay.module.css
index b9d47c91aa4..d1ef26dad4d 100644
--- a/frontend/src/metabase/dashboard/components/DashCard/ClickBehaviorSidebarOverlay/ClickBehaviorSidebarOverlay.module.css
+++ b/frontend/src/metabase/dashboard/components/DashCard/ClickBehaviorSidebarOverlay/ClickBehaviorSidebarOverlay.module.css
@@ -8,7 +8,7 @@
}
.ClickIcon {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
&.isActive {
color: unset;
diff --git a/frontend/src/metabase/dashboard/components/DashCard/DashCardParameterMapper/DashCardCardParameterMapper.tsx b/frontend/src/metabase/dashboard/components/DashCard/DashCardParameterMapper/DashCardCardParameterMapper.tsx
index 5631c83361d..77301627ab6 100644
--- a/frontend/src/metabase/dashboard/components/DashCard/DashCardParameterMapper/DashCardCardParameterMapper.tsx
+++ b/frontend/src/metabase/dashboard/components/DashCard/DashCardParameterMapper/DashCardCardParameterMapper.tsx
@@ -168,7 +168,7 @@ export function DashCardCardParameterMapper({
fw="bold"
fz="sm"
lh={1}
- color="text-tertiary"
+ color="text-disabled"
>{t`Auto-connected`}</Text>
</Flex>
);
diff --git a/frontend/src/metabase/dashboard/components/DashboardSubscriptionsSidebar/AddEditSidebar/DeleteSubscriptionAction.tsx b/frontend/src/metabase/dashboard/components/DashboardSubscriptionsSidebar/AddEditSidebar/DeleteSubscriptionAction.tsx
index 7b59b5fea79..a8301f74c0d 100644
--- a/frontend/src/metabase/dashboard/components/DashboardSubscriptionsSidebar/AddEditSidebar/DeleteSubscriptionAction.tsx
+++ b/frontend/src/metabase/dashboard/components/DashboardSubscriptionsSidebar/AddEditSidebar/DeleteSubscriptionAction.tsx
@@ -81,7 +81,7 @@ export function DeleteSubscriptionAction({
return (
<>
<Flex className={cx(CS.borderTop, CS.pt1, CS.pb3)} justify="flex-end">
- <Button variant="subtle" c="text-tertiary" onClick={openModal}>
+ <Button variant="subtle" c="text-disabled" onClick={openModal}>
{t`Delete this subscription`}
</Button>
</Flex>
diff --git a/frontend/src/metabase/dashboard/components/ParameterSettings/MoveParameterMenu/MoveParameterMenu.module.css b/frontend/src/metabase/dashboard/components/ParameterSettings/MoveParameterMenu/MoveParameterMenu.module.css
index 961257897f5..474d8f1ba92 100644
--- a/frontend/src/metabase/dashboard/components/ParameterSettings/MoveParameterMenu/MoveParameterMenu.module.css
+++ b/frontend/src/metabase/dashboard/components/ParameterSettings/MoveParameterMenu/MoveParameterMenu.module.css
@@ -25,12 +25,12 @@
}
&:hover::after {
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
}
}
.MoveParameterMenuOptionIcon {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.MoveParameterMenuOptionText {
diff --git a/frontend/src/metabase/dashboard/components/QuestionPicker/QuestionPicker.tsx b/frontend/src/metabase/dashboard/components/QuestionPicker/QuestionPicker.tsx
index 57c43067fea..6843e72467b 100644
--- a/frontend/src/metabase/dashboard/components/QuestionPicker/QuestionPicker.tsx
+++ b/frontend/src/metabase/dashboard/components/QuestionPicker/QuestionPicker.tsx
@@ -139,7 +139,7 @@ export function QuestionPicker({ onSelect }: QuestionPickerProps) {
const iconColor = PLUGIN_COLLECTIONS.isRegularCollection(
collection,
)
- ? "text-tertiary"
+ ? "text-disabled"
: icon.color;
return (
<SelectList.Item
diff --git a/frontend/src/metabase/dashboard/visualizations/Heading/Heading.styled.tsx b/frontend/src/metabase/dashboard/visualizations/Heading/Heading.styled.tsx
index 65a98865804..27861d82ac3 100644
--- a/frontend/src/metabase/dashboard/visualizations/Heading/Heading.styled.tsx
+++ b/frontend/src/metabase/dashboard/visualizations/Heading/Heading.styled.tsx
@@ -46,7 +46,7 @@ export const InputContainer = styled.div<InputContainerProps>`
isEmpty &&
css`
border: 1px solid var(--mb-color-core-brand);
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
`}
`;
diff --git a/frontend/src/metabase/dashboard/visualizations/LinkViz/EntityDisplay.tsx b/frontend/src/metabase/dashboard/visualizations/LinkViz/EntityDisplay.tsx
index c4fbc608f08..a2264056816 100644
--- a/frontend/src/metabase/dashboard/visualizations/LinkViz/EntityDisplay.tsx
+++ b/frontend/src/metabase/dashboard/visualizations/LinkViz/EntityDisplay.tsx
@@ -40,7 +40,7 @@ export const EntityDisplay = ({
{showDescription && entity?.description && (
<Icon
name="info"
- c="text-tertiary"
+ c="text-disabled"
tooltip={
<Markdown dark disallowHeading unstyleLinks lineClamp={8}>
{entity.description}
@@ -55,7 +55,7 @@ export const EntityDisplay = ({
export const RestrictedEntityDisplay = () => (
<EntityDisplayContainer>
<LeftContainer>
- <Icon name="key" c="text-tertiary" />
+ <Icon name="key" c="text-disabled" />
<EllipsifiedEntityContainer>{t`Sorry, you don't have permission to see this link.`}</EllipsifiedEntityContainer>
</LeftContainer>
</EntityDisplayContainer>
diff --git a/frontend/src/metabase/dashboard/visualizations/Text/Text.styled.tsx b/frontend/src/metabase/dashboard/visualizations/Text/Text.styled.tsx
index 7ac0c3ba733..5a8e0557287 100644
--- a/frontend/src/metabase/dashboard/visualizations/Text/Text.styled.tsx
+++ b/frontend/src/metabase/dashboard/visualizations/Text/Text.styled.tsx
@@ -81,7 +81,7 @@ export const EditModeContainer = styled(TextCardWrapper)<EditModeProps>`
isEmpty &&
css`
border: 1px solid var(--mb-color-core-brand);
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
`}
${({ isSingleRow, isPreviewing, isEmpty, isMobile, isFixedWidth }) => {
diff --git a/frontend/src/metabase/data-grid/components/RowIdCell/RowIdCell.module.css b/frontend/src/metabase/data-grid/components/RowIdCell/RowIdCell.module.css
index cc69298b677..3cefe7e3a42 100644
--- a/frontend/src/metabase/data-grid/components/RowIdCell/RowIdCell.module.css
+++ b/frontend/src/metabase/data-grid/components/RowIdCell/RowIdCell.module.css
@@ -2,7 +2,7 @@
height: 100%;
padding: 0 0.5rem;
text-align: right;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
display: flex;
justify-content: flex-end;
cursor: pointer;
diff --git a/frontend/src/metabase/data-grid/components/RowIdHeaderCell/RowIdHeaderCell.module.css b/frontend/src/metabase/data-grid/components/RowIdHeaderCell/RowIdHeaderCell.module.css
index 76c4c2138f7..cecc3ab9b06 100644
--- a/frontend/src/metabase/data-grid/components/RowIdHeaderCell/RowIdHeaderCell.module.css
+++ b/frontend/src/metabase/data-grid/components/RowIdHeaderCell/RowIdHeaderCell.module.css
@@ -3,7 +3,7 @@
display: flex;
align-items: center;
padding: 0 0.75em;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
cursor: default;
border-bottom: unset;
}
diff --git a/frontend/src/metabase/data-studio/components/RevisionHistory/RevisionDiff.tsx b/frontend/src/metabase/data-studio/components/RevisionHistory/RevisionDiff.tsx
index 361184f78a4..043f5a6468a 100644
--- a/frontend/src/metabase/data-studio/components/RevisionHistory/RevisionDiff.tsx
+++ b/frontend/src/metabase/data-studio/components/RevisionHistory/RevisionDiff.tsx
@@ -94,7 +94,7 @@ function TextDiff({ before, after }: FieldDiff) {
span
fw={part.added ? 600 : undefined}
td={part.removed ? "line-through" : undefined}
- c={part.removed ? "text-tertiary" : undefined}
+ c={part.removed ? "text-disabled" : undefined}
>
{part.value}
</Text>
@@ -105,7 +105,7 @@ function TextDiff({ before, after }: FieldDiff) {
if (beforeStr != null) {
return (
- <Text size="sm" td="line-through" c="text-tertiary">
+ <Text size="sm" td="line-through" c="text-disabled">
{beforeStr}
</Text>
);
diff --git a/frontend/src/metabase/data-studio/components/RevisionHistory/RevisionItem.tsx b/frontend/src/metabase/data-studio/components/RevisionHistory/RevisionItem.tsx
index a303c89e99e..de729c05d98 100644
--- a/frontend/src/metabase/data-studio/components/RevisionHistory/RevisionItem.tsx
+++ b/frontend/src/metabase/data-studio/components/RevisionHistory/RevisionItem.tsx
@@ -54,7 +54,7 @@ export function RevisionItem({
{action}
</Text>
</Stack>
- <Text size="sm" c="text-tertiary" title={formattedDate}>
+ <Text size="sm" c="text-disabled" title={formattedDate}>
{timeAgo}
</Text>
</Flex>
diff --git a/frontend/src/metabase/data-studio/data-model/components/TablePicker/components/SearchNew.tsx b/frontend/src/metabase/data-studio/data-model/components/TablePicker/components/SearchNew.tsx
index 6571b1a2ef7..9ba5c6f293a 100644
--- a/frontend/src/metabase/data-studio/data-model/components/TablePicker/components/SearchNew.tsx
+++ b/frontend/src/metabase/data-studio/data-model/components/TablePicker/components/SearchNew.tsx
@@ -180,7 +180,7 @@ export function SearchNew({
if (filteredTables.length === 0) {
return (
<Box p="xl">
- <Text c="text-tertiary">{t`No tables found`}</Text>
+ <Text c="text-disabled">{t`No tables found`}</Text>
</Box>
);
}
diff --git a/frontend/src/metabase/data-studio/data-model/components/TableSection/components/TableAttributesEditBulk.tsx b/frontend/src/metabase/data-studio/data-model/components/TableSection/components/TableAttributesEditBulk.tsx
index 3e35cf7bfa6..09722683da0 100644
--- a/frontend/src/metabase/data-studio/data-model/components/TableSection/components/TableAttributesEditBulk.tsx
+++ b/frontend/src/metabase/data-studio/data-model/components/TableSection/components/TableAttributesEditBulk.tsx
@@ -176,7 +176,7 @@ export function TableAttributesEditBulk({
<Stack gap="md">
<Group
align="center"
- c="text-tertiary"
+ c="text-disabled"
gap={10}
flex="1"
fs="lg"
diff --git a/frontend/src/metabase/databases/components/DatabaseEngineList/DatabaseEngineList.tsx b/frontend/src/metabase/databases/components/DatabaseEngineList/DatabaseEngineList.tsx
index 361be1e4c04..94aaa48d3e8 100644
--- a/frontend/src/metabase/databases/components/DatabaseEngineList/DatabaseEngineList.tsx
+++ b/frontend/src/metabase/databases/components/DatabaseEngineList/DatabaseEngineList.tsx
@@ -229,7 +229,7 @@ const SampleDatabaseIndicator = () => {
{t`Sample Database for testing`}
</Text>
{/* eslint-disable-next-line metabase/no-literal-metabase-strings -- only shown to admins during setup */}
- <Text inline c="text-tertiary">{t`(by Metabase)`}</Text>
+ <Text inline c="text-disabled">{t`(by Metabase)`}</Text>
</Flex>
<Group gap="xs">
<Icon name="check_filled" c="success" />
diff --git a/frontend/src/metabase/detail-view/components/DetailsGroup/Value/Value.tsx b/frontend/src/metabase/detail-view/components/DetailsGroup/Value/Value.tsx
index eca1ec09f03..51a0e417f26 100644
--- a/frontend/src/metabase/detail-view/components/DetailsGroup/Value/Value.tsx
+++ b/frontend/src/metabase/detail-view/components/DetailsGroup/Value/Value.tsx
@@ -32,7 +32,7 @@ export const Value = ({ children, column, field, value }: Props) => {
const json = useMemo(() => getJson(column, value), [column, value]);
if (isEmptyValue) {
- return <Text c="text-tertiary">{t`empty`}</Text>;
+ return <Text c="text-disabled">{t`empty`}</Text>;
}
if (json) {
diff --git a/frontend/src/metabase/detail-view/components/Relationships/Relationship/Relationship.tsx b/frontend/src/metabase/detail-view/components/Relationships/Relationship/Relationship.tsx
index 4194dca4152..75d2ca2443f 100644
--- a/frontend/src/metabase/detail-view/components/Relationships/Relationship/Relationship.tsx
+++ b/frontend/src/metabase/detail-view/components/Relationships/Relationship/Relationship.tsx
@@ -77,7 +77,7 @@ export const Relationship = ({ fk, rowId, onClick }: Props) => {
{!isFetching && (
<Text
- c={count === 0 ? "text-tertiary" : "text-secondary"}
+ c={count === 0 ? "text-disabled" : "text-secondary"}
className={S.text}
fw="bold"
fz={rem(24)}
@@ -88,7 +88,7 @@ export const Relationship = ({ fk, rowId, onClick }: Props) => {
)}
<Text
- c={count === 0 ? "text-tertiary" : "text-secondary"}
+ c={count === 0 ? "text-disabled" : "text-secondary"}
className={S.text}
fw="bold"
lh={1}
diff --git a/frontend/src/metabase/documents/components/CommentsSidesheet/CommentsSidesheet.tsx b/frontend/src/metabase/documents/components/CommentsSidesheet/CommentsSidesheet.tsx
index e7da7d10a45..023700c395f 100644
--- a/frontend/src/metabase/documents/components/CommentsSidesheet/CommentsSidesheet.tsx
+++ b/frontend/src/metabase/documents/components/CommentsSidesheet/CommentsSidesheet.tsx
@@ -254,7 +254,7 @@ export const CommentsSidesheet = ({ params, onClose }: Props) => {
>
<Image w={120} h={120} src={noResultsSource} />
- <Text fw="700" c="text-tertiary">{t`No comments`}</Text>
+ <Text fw="700" c="text-disabled">{t`No comments`}</Text>
</Flex>
)}
diff --git a/frontend/src/metabase/documents/components/DocumentHeader.module.css b/frontend/src/metabase/documents/components/DocumentHeader.module.css
index 5925c446422..34ae883e6de 100644
--- a/frontend/src/metabase/documents/components/DocumentHeader.module.css
+++ b/frontend/src/metabase/documents/components/DocumentHeader.module.css
@@ -14,7 +14,7 @@
flex-shrink: 0;
.commentsIcon:hover {
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
background-color: var(--mb-color-background_surface-hover);
}
}
diff --git a/frontend/src/metabase/documents/components/Editor/Editor.module.css b/frontend/src/metabase/documents/components/Editor/Editor.module.css
index 4b9f808fad7..8c1e035740f 100644
--- a/frontend/src/metabase/documents/components/Editor/Editor.module.css
+++ b/frontend/src/metabase/documents/components/Editor/Editor.module.css
@@ -192,7 +192,7 @@
.editorContent :global(.is-empty:first-child:before),
.editorContent :global(.node-paragraph.is-empty:first-child:before) {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
content: attr(data-placeholder);
float: left;
height: 0;
diff --git a/frontend/src/metabase/embedding-sdk/theme/default-component-theme.ts b/frontend/src/metabase/embedding-sdk/theme/default-component-theme.ts
index b198a332a8d..f25b5783b51 100644
--- a/frontend/src/metabase/embedding-sdk/theme/default-component-theme.ts
+++ b/frontend/src/metabase/embedding-sdk/theme/default-component-theme.ts
@@ -78,7 +78,7 @@ export const DEFAULT_METABASE_COMPONENT_THEME: MetabaseComponentTheme = {
},
rowToggle: {
textColor: "text-primary-inverse",
- backgroundColor: "text-tertiary", // TODO: should it be "background_page-tertiary-inverse" ?
+ backgroundColor: "text-disabled", // TODO: should it be "background_page-tertiary-inverse" ?
},
},
cartesian: {
diff --git a/frontend/src/metabase/embedding-sdk/theme/embedding-color-palette.ts b/frontend/src/metabase/embedding-sdk/theme/embedding-color-palette.ts
index fa60d6062f7..a1eacd8aa3d 100644
--- a/frontend/src/metabase/embedding-sdk/theme/embedding-color-palette.ts
+++ b/frontend/src/metabase/embedding-sdk/theme/embedding-color-palette.ts
@@ -34,7 +34,7 @@ export const SDK_TO_MAIN_APP_COLORS_MAPPING: Record<
summarize: ["summarize", "core-summarize"],
"text-primary": ["text-primary"],
"text-secondary": ["text-secondary"],
- "text-tertiary": ["text-tertiary"],
+ "text-tertiary": ["text-tertiary", "text-disabled"],
background: ["background-primary", "background_page-primary"],
"background-secondary": [
"background-secondary",
@@ -51,7 +51,7 @@ export const SDK_TO_MAIN_APP_COLORS_MAPPING: Record<
"text-white": ["text-primary-inverse", "white"],
error: ["error"],
"background-error": ["background-error", "background_surface-error"],
- "text-hover": ["text-hover"],
+ "text-hover": ["text-hover", "text-brand-hover"],
focus: ["focus"],
};
diff --git a/frontend/src/metabase/embedding/components/PublicLinkPopover/PublicLinkCopyPanel.tsx b/frontend/src/metabase/embedding/components/PublicLinkPopover/PublicLinkCopyPanel.tsx
index 01f36eea2b5..2c657548c09 100644
--- a/frontend/src/metabase/embedding/components/PublicLinkPopover/PublicLinkCopyPanel.tsx
+++ b/frontend/src/metabase/embedding/components/PublicLinkPopover/PublicLinkCopyPanel.tsx
@@ -43,7 +43,7 @@ export const PublicLinkCopyPanel = ({
key={extension}
tt="uppercase"
c={
- extension === selectedExtension ? "core-brand" : "text-tertiary"
+ extension === selectedExtension ? "core-brand" : "text-disabled"
}
fw={700}
onClick={() =>
diff --git a/frontend/src/metabase/embedding/embedding-hub/components/SetupPermissionsAndTenantsPage/RlsDataSelector/TableColumnCard.tsx b/frontend/src/metabase/embedding/embedding-hub/components/SetupPermissionsAndTenantsPage/RlsDataSelector/TableColumnCard.tsx
index 05b731ce553..fcb58e730f9 100644
--- a/frontend/src/metabase/embedding/embedding-hub/components/SetupPermissionsAndTenantsPage/RlsDataSelector/TableColumnCard.tsx
+++ b/frontend/src/metabase/embedding/embedding-hub/components/SetupPermissionsAndTenantsPage/RlsDataSelector/TableColumnCard.tsx
@@ -158,7 +158,7 @@ export const TableColumnCard = ({
bdrs="xs"
>
<Text
- c={selectedTableName ? "text-primary" : "text-tertiary"}
+ c={selectedTableName ? "text-primary" : "text-disabled"}
size="md"
>
{selectedTableName ?? t`Pick a table`}
diff --git a/frontend/src/metabase/embedding/embedding-iframe-sdk-setup/components/ParameterSettings/ParameterSettings.tsx b/frontend/src/metabase/embedding/embedding-iframe-sdk-setup/components/ParameterSettings/ParameterSettings.tsx
index 0c32cd0aa6e..9a13d12ec2d 100644
--- a/frontend/src/metabase/embedding/embedding-iframe-sdk-setup/components/ParameterSettings/ParameterSettings.tsx
+++ b/frontend/src/metabase/embedding/embedding-iframe-sdk-setup/components/ParameterSettings/ParameterSettings.tsx
@@ -128,7 +128,7 @@ export const ParameterSettings = () => {
}
return (
- <Text size="sm" c="text-tertiary">
+ <Text size="sm" c="text-disabled">
{t`Parameters are not available for this ${experience}.`}
</Text>
);
diff --git a/frontend/src/metabase/home/components/EmbedHomepage/NeedMoreInfoCard.tsx b/frontend/src/metabase/home/components/EmbedHomepage/NeedMoreInfoCard.tsx
index 0d1a0be63c7..87c70279b4f 100644
--- a/frontend/src/metabase/home/components/EmbedHomepage/NeedMoreInfoCard.tsx
+++ b/frontend/src/metabase/home/components/EmbedHomepage/NeedMoreInfoCard.tsx
@@ -14,7 +14,7 @@ export const NeedMoreInfoCard = ({
}: NeedMoreInfoCardProps) => (
<Card px="xl">
<Text c="text-primary" fw="bold">{t`Need more information?`}</Text>
- <Text c="text-tertiary" size="sm">
+ <Text c="text-disabled" size="sm">
{/* eslint-disable-next-line metabase/no-literal-metabase-strings -- only visible to admins */}
{jt`Explore the ${(
<ExternalLink key="embedding-docs" href={embeddingDocsUrl}>
diff --git a/frontend/src/metabase/metabot/components/AIMarkdown/AIMarkdown.module.css b/frontend/src/metabase/metabot/components/AIMarkdown/AIMarkdown.module.css
index 97c9d95569e..31a45e6cbbd 100644
--- a/frontend/src/metabase/metabot/components/AIMarkdown/AIMarkdown.module.css
+++ b/frontend/src/metabase/metabot/components/AIMarkdown/AIMarkdown.module.css
@@ -84,7 +84,7 @@
}
.aiMarkdown pre::-webkit-scrollbar-thumb:hover {
- background: var(--mb-color-text-tertiary);
+ background: var(--mb-color-text-disabled);
}
.aiMarkdown code {
diff --git a/frontend/src/metabase/metabot/components/AIProviderConfigurationForm/AIProviderConfigurationForm.tsx b/frontend/src/metabase/metabot/components/AIProviderConfigurationForm/AIProviderConfigurationForm.tsx
index 5b452f4b88d..38b925953d9 100644
--- a/frontend/src/metabase/metabot/components/AIProviderConfigurationForm/AIProviderConfigurationForm.tsx
+++ b/frontend/src/metabase/metabot/components/AIProviderConfigurationForm/AIProviderConfigurationForm.tsx
@@ -234,12 +234,12 @@ export function AIProviderConfigurationForm({
>
<Text
lh="1rem"
- c={option.disabled ? "text-tertiary" : undefined}
+ c={option.disabled ? "text-disabled" : undefined}
>
{option.label}
</Text>
{!isAvailableProvider(option.value as MetabotProvider) && (
- <Text c="text-tertiary" lh="1rem" size="sm">
+ <Text c="text-disabled" lh="1rem" size="sm">
{t`Coming soon`}
</Text>
)}
diff --git a/frontend/src/metabase/metabot/components/AIProviderConfigurationNotice.tsx b/frontend/src/metabase/metabot/components/AIProviderConfigurationNotice.tsx
index a3cffa39e81..3b1afd9fe5d 100644
--- a/frontend/src/metabase/metabot/components/AIProviderConfigurationNotice.tsx
+++ b/frontend/src/metabase/metabot/components/AIProviderConfigurationNotice.tsx
@@ -23,7 +23,7 @@ export function AIProviderConfigurationNotice({
return (
<Text
- c="text-tertiary"
+ c="text-disabled"
maw={!inline ? "16rem" : undefined}
ta={!inline ? "center" : undefined}
lh="lg"
diff --git a/frontend/src/metabase/metabot/components/Metabot.tsx b/frontend/src/metabase/metabot/components/Metabot.tsx
index a69207c3412..600036eebae 100644
--- a/frontend/src/metabase/metabot/components/Metabot.tsx
+++ b/frontend/src/metabase/metabot/components/Metabot.tsx
@@ -42,7 +42,7 @@ const MetabotErrorFallback = ({ onRetry }: { onRetry: () => void }) => {
data-testid="metabot-error-fallback"
>
<Box component={MetabotFailure} w="6rem" />
- <Text c="text-tertiary" maw="12rem" ta="center">
+ <Text c="text-disabled" maw="12rem" ta="center">
{t`Something went wrong.`}
</Text>
<Button
diff --git a/frontend/src/metabase/metabot/components/MetabotAppBarButton.tsx b/frontend/src/metabase/metabot/components/MetabotAppBarButton.tsx
index 122f461d00c..3a20ba1001a 100644
--- a/frontend/src/metabase/metabot/components/MetabotAppBarButton.tsx
+++ b/frontend/src/metabase/metabot/components/MetabotAppBarButton.tsx
@@ -45,7 +45,7 @@ export function MetabotAppBarButton({
<ActionIcon
className={className}
variant="subtle"
- c={isAskPage ? "text-tertiary" : "text-primary"}
+ c={isAskPage ? "text-disabled" : "text-primary"}
opacity={isAskPage ? 0.5 : undefined}
bd="1px solid var(--mb-color-border-neutral)"
p="sm"
diff --git a/frontend/src/metabase/metabot/components/MetabotChat/MetabotAgentSuggestionMessage.tsx b/frontend/src/metabase/metabot/components/MetabotChat/MetabotAgentSuggestionMessage.tsx
index 7b0c3e587ca..14433e61a6e 100644
--- a/frontend/src/metabase/metabot/components/MetabotChat/MetabotAgentSuggestionMessage.tsx
+++ b/frontend/src/metabase/metabot/components/MetabotChat/MetabotAgentSuggestionMessage.tsx
@@ -213,7 +213,7 @@ export const AgentSuggestionMessage = ({
<Text size="sm">{suggestedTransform.name}</Text>
</Flex>
<Flex align="center" gap="sm">
- <Text size="sm" c={isNew ? "saturated-blue" : "text-secondary"}>
+ <Text size="sm" c={isNew ? "core-blue-saturated" : "text-secondary"}>
{isNew ? t`New` : t`Revision`}
</Text>
<Flex align="center" justify="center" h="md" w="md">
@@ -278,7 +278,7 @@ export const AgentSuggestionMessage = ({
variant="subtle"
fw="normal"
fz="sm"
- c={canApply && !readonly ? "success" : "text-tertiary"}
+ c={canApply && !readonly ? "success" : "text-disabled"}
disabled={!canApply || readonly}
onClick={handleApply}
>
diff --git a/frontend/src/metabase/metabot/components/MetabotChat/MetabotChat.tsx b/frontend/src/metabase/metabot/components/MetabotChat/MetabotChat.tsx
index 94ea5a78d64..5a73e425794 100644
--- a/frontend/src/metabase/metabot/components/MetabotChat/MetabotChat.tsx
+++ b/frontend/src/metabase/metabot/components/MetabotChat/MetabotChat.tsx
@@ -112,7 +112,7 @@ export const MetabotChat = ({
onConfigureAi={openAiProviderConfigurationModal}
/>
) : (
- <Text c="text-tertiary" maw="12rem" ta="center" lh="lg">
+ <Text c="text-disabled" maw="12rem" ta="center" lh="lg">
{config.emptyText ??
(showIllustrations
? t`I can help you explore your metrics and models.`
diff --git a/frontend/src/metabase/metabot/components/MetabotChat/MetabotResetLongChatButton.tsx b/frontend/src/metabase/metabot/components/MetabotChat/MetabotResetLongChatButton.tsx
index 6004b577a88..2e268372351 100644
--- a/frontend/src/metabase/metabot/components/MetabotChat/MetabotResetLongChatButton.tsx
+++ b/frontend/src/metabase/metabot/components/MetabotChat/MetabotResetLongChatButton.tsx
@@ -9,7 +9,7 @@ interface MetabotResetLongChatButtonProps {
export const MetabotResetLongChatButton = ({
onResetConversation,
}: MetabotResetLongChatButtonProps) => (
- <Text lh={1} c="text-tertiary" m={0} ta="center">
+ <Text lh={1} c="text-disabled" m={0} ta="center">
{jt`This chat is getting long. You can ${(
<UnstyledButton
key="reset"
diff --git a/frontend/src/metabase/metabot/components/MetabotInlineSQLPrompt/MetabotInlineSQLPrompt.tsx b/frontend/src/metabase/metabot/components/MetabotInlineSQLPrompt/MetabotInlineSQLPrompt.tsx
index ccbb7b2f5ff..1cf36a5859b 100644
--- a/frontend/src/metabase/metabot/components/MetabotInlineSQLPrompt/MetabotInlineSQLPrompt.tsx
+++ b/frontend/src/metabase/metabot/components/MetabotInlineSQLPrompt/MetabotInlineSQLPrompt.tsx
@@ -141,7 +141,7 @@ export const MetabotInlineSQLPrompt = ({
{isLoading ? (
<Loader
size="xs"
- color="text-tertiary"
+ color="text-disabled"
data-testid="metabot-inline-sql-generating"
/>
) : (
diff --git a/frontend/src/metabase/metabot/components/MetabotPromptInput/MetabotPromptInput.module.css b/frontend/src/metabase/metabot/components/MetabotPromptInput/MetabotPromptInput.module.css
index ea28144effd..0c8702d4b76 100644
--- a/frontend/src/metabase/metabot/components/MetabotPromptInput/MetabotPromptInput.module.css
+++ b/frontend/src/metabase/metabot/components/MetabotPromptInput/MetabotPromptInput.module.css
@@ -41,11 +41,11 @@
}
.content :global(.ProseMirror)::-webkit-scrollbar-thumb:hover {
- background: var(--mb-color-text-tertiary);
+ background: var(--mb-color-text-disabled);
}
.content :global(.is-empty:first-child:before) {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
content: attr(data-placeholder);
height: 0;
pointer-events: none;
diff --git a/frontend/src/metabase/metadata/components/CurrencyPicker/CurrencyPicker.tsx b/frontend/src/metabase/metadata/components/CurrencyPicker/CurrencyPicker.tsx
index 6bc912d2470..adfadd09ead 100644
--- a/frontend/src/metabase/metadata/components/CurrencyPicker/CurrencyPicker.tsx
+++ b/frontend/src/metabase/metadata/components/CurrencyPicker/CurrencyPicker.tsx
@@ -53,7 +53,7 @@ export const CurrencyPicker = ({
<span>{item.option.label}</span>
<Text
- c="text-tertiary"
+ c="text-disabled"
className={S.symbol}
flex="0 0 auto"
lh="1rem"
@@ -66,7 +66,7 @@ export const CurrencyPicker = ({
}}
rightSection={
<Flex align="center" gap="xs" pos="relative">
- <Text c="text-tertiary" pos="absolute" px="sm" right="100%">
+ <Text c="text-disabled" pos="absolute" px="sm" right="100%">
{SYMBOLS[value]}
</Text>
diff --git a/frontend/src/metabase/metadata/components/FieldList/FieldItem/FieldItem.tsx b/frontend/src/metabase/metadata/components/FieldList/FieldItem/FieldItem.tsx
index e18041828b6..065beedfcb4 100644
--- a/frontend/src/metabase/metadata/components/FieldList/FieldItem/FieldItem.tsx
+++ b/frontend/src/metabase/metadata/components/FieldList/FieldItem/FieldItem.tsx
@@ -110,7 +110,7 @@ const FieldItemBase = ({
>
<Group
align="center"
- c="text-tertiary"
+ c="text-disabled"
flex="0 0 auto"
gap={0}
maw="100%"
diff --git a/frontend/src/metabase/metadata/components/FieldVisibilityPicker/FieldVisibilityPicker.tsx b/frontend/src/metabase/metadata/components/FieldVisibilityPicker/FieldVisibilityPicker.tsx
index 3d64df4ee65..c87e729129b 100644
--- a/frontend/src/metabase/metadata/components/FieldVisibilityPicker/FieldVisibilityPicker.tsx
+++ b/frontend/src/metabase/metadata/components/FieldVisibilityPicker/FieldVisibilityPicker.tsx
@@ -64,7 +64,7 @@ export const FieldVisibilityPicker = ({
</Text>
{option?.description && (
- <Text c="text-tertiary" className={S.description} lh="1rem">
+ <Text c="text-disabled" className={S.description} lh="1rem">
{option.description}
</Text>
)}
diff --git a/frontend/src/metabase/metadata/components/FkTargetPicker/FkTargetPicker.tsx b/frontend/src/metabase/metadata/components/FkTargetPicker/FkTargetPicker.tsx
index 6c92d76f901..02684319a5a 100644
--- a/frontend/src/metabase/metadata/components/FkTargetPicker/FkTargetPicker.tsx
+++ b/frontend/src/metabase/metadata/components/FkTargetPicker/FkTargetPicker.tsx
@@ -137,7 +137,7 @@ export const FkTargetPicker = ({
{field?.description && (
<Text
- c="text-tertiary"
+ c="text-disabled"
className={S.description}
component="span"
lh="1rem"
diff --git a/frontend/src/metabase/metadata/components/NameDescriptionInput/NameDescriptionInput.tsx b/frontend/src/metabase/metadata/components/NameDescriptionInput/NameDescriptionInput.tsx
index 16208acf31f..c444b64c2b8 100644
--- a/frontend/src/metabase/metadata/components/NameDescriptionInput/NameDescriptionInput.tsx
+++ b/frontend/src/metabase/metadata/components/NameDescriptionInput/NameDescriptionInput.tsx
@@ -67,7 +67,7 @@ export const NameDescriptionInput = ({
leftSection={
<Group
align="center"
- c="text-tertiary"
+ c="text-disabled"
gap={10}
flex="1"
fs="lg"
@@ -85,7 +85,7 @@ export const NameDescriptionInput = ({
lines={1}
tooltip={namePrefix}
>
- <Text c="text-tertiary" component="span" size="lg">
+ <Text c="text-disabled" component="span" size="lg">
{namePrefix}
{":"}
</Text>
diff --git a/frontend/src/metabase/metadata/components/PreviewSection/Error/Error.tsx b/frontend/src/metabase/metadata/components/PreviewSection/Error/Error.tsx
index 762ca19e517..42200e8d16a 100644
--- a/frontend/src/metabase/metadata/components/PreviewSection/Error/Error.tsx
+++ b/frontend/src/metabase/metadata/components/PreviewSection/Error/Error.tsx
@@ -10,7 +10,7 @@ export function Error({ message }: Props) {
return (
<Stack
align="center"
- color="text-tertiary"
+ color="text-disabled"
h="100%"
justify="center"
p="xl"
diff --git a/frontend/src/metabase/metadata/components/TableSection/TableSection.tsx b/frontend/src/metabase/metadata/components/TableSection/TableSection.tsx
index e5e5f065528..e42de8ae395 100644
--- a/frontend/src/metabase/metadata/components/TableSection/TableSection.tsx
+++ b/frontend/src/metabase/metadata/components/TableSection/TableSection.tsx
@@ -174,7 +174,7 @@ const TableSectionBase = ({
component={Link}
to={Urls.queryBuilderTable(table.id, table.db_id)}
variant="subtle"
- color="text-tertiary"
+ color="text-disabled"
size="sm"
mr="sm"
aria-label={t`Go to this table`}
diff --git a/frontend/src/metabase/metadata/pages/DataModelV1/components/TablePicker/components/Results.tsx b/frontend/src/metabase/metadata/pages/DataModelV1/components/TablePicker/components/Results.tsx
index 9454d8e9088..2c1480214b2 100644
--- a/frontend/src/metabase/metadata/pages/DataModelV1/components/TablePicker/components/Results.tsx
+++ b/frontend/src/metabase/metadata/pages/DataModelV1/components/TablePicker/components/Results.tsx
@@ -239,7 +239,7 @@ export function Results({
<Icon
name="chevronright"
size={10}
- c="text-tertiary"
+ c="text-disabled"
className={cx(S.chevron, {
[S.expanded]: isExpanded,
})}
diff --git a/frontend/src/metabase/metrics-viewer/components/BreakoutLegend/BreakoutLegend.tsx b/frontend/src/metabase/metrics-viewer/components/BreakoutLegend/BreakoutLegend.tsx
index 3df93871bc9..66396c009ba 100644
--- a/frontend/src/metabase/metrics-viewer/components/BreakoutLegend/BreakoutLegend.tsx
+++ b/frontend/src/metabase/metrics-viewer/components/BreakoutLegend/BreakoutLegend.tsx
@@ -39,7 +39,7 @@ export function BreakoutLegend() {
{group.header}
</Title>
{group.subtitle && (
- <Text size="sm" c="text-tertiary" lh={1.3}>
+ <Text size="sm" c="text-disabled" lh={1.3}>
{group.subtitle}
</Text>
)}
diff --git a/frontend/src/metabase/metrics-viewer/components/DimensionPickerSidebar/components/AllFieldsList/MetricAccordionItem.tsx b/frontend/src/metabase/metrics-viewer/components/DimensionPickerSidebar/components/AllFieldsList/MetricAccordionItem.tsx
index 923b23c2661..f254e80b939 100644
--- a/frontend/src/metabase/metrics-viewer/components/DimensionPickerSidebar/components/AllFieldsList/MetricAccordionItem.tsx
+++ b/frontend/src/metabase/metrics-viewer/components/DimensionPickerSidebar/components/AllFieldsList/MetricAccordionItem.tsx
@@ -41,7 +41,11 @@ export function MetricAccordionItem({
{group.name}
</Text>
{showOccurrenceCount && (
- <Badge className={S.occurrenceCountBadge} circle c="text-hover">
+ <Badge
+ className={S.occurrenceCountBadge}
+ circle
+ c="text-brand-hover"
+ >
{group.occurrenceCount}
</Badge>
)}
diff --git a/frontend/src/metabase/metrics-viewer/components/DimensionPickerSidebar/components/MetricDimensionSelect.tsx b/frontend/src/metabase/metrics-viewer/components/DimensionPickerSidebar/components/MetricDimensionSelect.tsx
index 01d20d092b6..8c14becd192 100644
--- a/frontend/src/metabase/metrics-viewer/components/DimensionPickerSidebar/components/MetricDimensionSelect.tsx
+++ b/frontend/src/metabase/metrics-viewer/components/DimensionPickerSidebar/components/MetricDimensionSelect.tsx
@@ -24,7 +24,7 @@ export function MetricDimensionSelect({
{row.metricName}
</Text>
{showOccurrenceCount && (
- <Badge circle c="text-hover">
+ <Badge circle c="text-brand-hover">
{row.occurrenceCount}
</Badge>
)}
diff --git a/frontend/src/metabase/metrics-viewer/components/FilterPopover/FilterPopoverContent.tsx b/frontend/src/metabase/metrics-viewer/components/FilterPopover/FilterPopoverContent.tsx
index 6ecf8f057a1..eaecd281b27 100644
--- a/frontend/src/metabase/metrics-viewer/components/FilterPopover/FilterPopoverContent.tsx
+++ b/frontend/src/metabase/metrics-viewer/components/FilterPopover/FilterPopoverContent.tsx
@@ -222,7 +222,7 @@ function MetricGroupList({
<Flex align="center" gap="xs" fw={700}>
<span>{group.metricName}</span>
{(group.metricCount ?? 0) > 1 && (
- <Badge circle c="text-hover">
+ <Badge circle c="text-brand-hover">
{group.metricCount}
</Badge>
)}
diff --git a/frontend/src/metabase/metrics-viewer/components/MetricSearch/MetricExpressionPill/MetricExpressionPill.module.css b/frontend/src/metabase/metrics-viewer/components/MetricSearch/MetricExpressionPill/MetricExpressionPill.module.css
index 963a553affd..8ee4434dff4 100644
--- a/frontend/src/metabase/metrics-viewer/components/MetricSearch/MetricExpressionPill/MetricExpressionPill.module.css
+++ b/frontend/src/metabase/metrics-viewer/components/MetricSearch/MetricExpressionPill/MetricExpressionPill.module.css
@@ -35,5 +35,5 @@
}
.disabledText {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
diff --git a/frontend/src/metabase/metrics-viewer/components/MetricSearch/MetricExpressionPill/MetricExpressionPill.tsx b/frontend/src/metabase/metrics-viewer/components/MetricSearch/MetricExpressionPill/MetricExpressionPill.tsx
index 500bdd78221..07fbbe13b85 100644
--- a/frontend/src/metabase/metrics-viewer/components/MetricSearch/MetricExpressionPill/MetricExpressionPill.tsx
+++ b/frontend/src/metabase/metrics-viewer/components/MetricSearch/MetricExpressionPill/MetricExpressionPill.tsx
@@ -147,7 +147,7 @@ export function MetricExpressionPill({
<Badge
key={i}
circle
- c="text-hover"
+ c="text-brand-hover"
style={{ marginInlineStart: "0.2em" }}
>
{segment}
diff --git a/frontend/src/metabase/metrics-viewer/components/MetricSearch/MetricPill/MetricPill.module.css b/frontend/src/metabase/metrics-viewer/components/MetricSearch/MetricPill/MetricPill.module.css
index 045eb1c8c49..3e36fdee838 100644
--- a/frontend/src/metabase/metrics-viewer/components/MetricSearch/MetricPill/MetricPill.module.css
+++ b/frontend/src/metabase/metrics-viewer/components/MetricSearch/MetricPill/MetricPill.module.css
@@ -15,7 +15,7 @@
}
.disabled {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.menuTarget {
diff --git a/frontend/src/metabase/metrics-viewer/components/MetricSearch/MetricSearchInput/MetricSearchInput.module.css b/frontend/src/metabase/metrics-viewer/components/MetricSearch/MetricSearchInput/MetricSearchInput.module.css
index 55110d23a18..c4fe5f1c9d3 100644
--- a/frontend/src/metabase/metrics-viewer/components/MetricSearch/MetricSearchInput/MetricSearchInput.module.css
+++ b/frontend/src/metabase/metrics-viewer/components/MetricSearch/MetricSearchInput/MetricSearchInput.module.css
@@ -16,11 +16,11 @@
}
.inputField::placeholder {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.cmOperator {
- color: var(--mb-color-syntax-parameters);
+ color: var(--mb-color-text-syntax-parameter);
}
.cmMetricToken {
@@ -78,7 +78,7 @@
}
.cm-placeholder {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.cm-scroller {
diff --git a/frontend/src/metabase/metrics/pages/MetricAboutPage/MetricAbout/DescriptionSection/MetadataCard.module.css b/frontend/src/metabase/metrics/pages/MetricAboutPage/MetricAbout/DescriptionSection/MetadataCard.module.css
index 51c2c3f708e..28fe0b7b47c 100644
--- a/frontend/src/metabase/metrics/pages/MetricAboutPage/MetricAbout/DescriptionSection/MetadataCard.module.css
+++ b/frontend/src/metabase/metrics/pages/MetricAboutPage/MetricAbout/DescriptionSection/MetadataCard.module.css
@@ -43,5 +43,5 @@
}
.link:hover .text {
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
}
diff --git a/frontend/src/metabase/models/components/NewModelOption.module.css b/frontend/src/metabase/models/components/NewModelOption.module.css
index 8eed7eb8759..c707f9b5f13 100644
--- a/frontend/src/metabase/models/components/NewModelOption.module.css
+++ b/frontend/src/metabase/models/components/NewModelOption.module.css
@@ -11,12 +11,12 @@
height: 100%;
min-height: 21.25rem;
text-align: center;
- box-shadow: 0 1px 3px 0 var(--mb-color-text-tertiary);
+ box-shadow: 0 1px 3px 0 var(--mb-color-text-disabled);
transition: all 0.2s linear;
}
.linkWrapper:hover {
- box-shadow: 0 3px 8px 0 var(--mb-color-text-tertiary);
+ box-shadow: 0 3px 8px 0 var(--mb-color-text-disabled);
}
.modelTitle {
diff --git a/frontend/src/metabase/monitor/tools/components/ModelCacheRefreshJobs/ModelCacheRefreshJobs.styled.tsx b/frontend/src/metabase/monitor/tools/components/ModelCacheRefreshJobs/ModelCacheRefreshJobs.styled.tsx
index 7f479575217..ad77d5c77bd 100644
--- a/frontend/src/metabase/monitor/tools/components/ModelCacheRefreshJobs/ModelCacheRefreshJobs.styled.tsx
+++ b/frontend/src/metabase/monitor/tools/components/ModelCacheRefreshJobs/ModelCacheRefreshJobs.styled.tsx
@@ -16,7 +16,7 @@ export const IconButtonContainer = styled.button`
cursor: pointer;
.Icon {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
&:hover {
diff --git a/frontend/src/metabase/monitor/tools/components/TaskListPage/TasksTable.tsx b/frontend/src/metabase/monitor/tools/components/TaskListPage/TasksTable.tsx
index 7b7430ca1e1..2f3a866a822 100644
--- a/frontend/src/metabase/monitor/tools/components/TaskListPage/TasksTable.tsx
+++ b/frontend/src/metabase/monitor/tools/components/TaskListPage/TasksTable.tsx
@@ -93,7 +93,7 @@ export const TasksTable = ({
<tr>
<td colSpan={8}>
<Flex
- c="text-tertiary"
+ c="text-disabled"
justify="center"
>{t`No results`}</Flex>
</td>
diff --git a/frontend/src/metabase/monitor/tools/components/TaskRunDetailsPage/TaskRunDetailsPage.tsx b/frontend/src/metabase/monitor/tools/components/TaskRunDetailsPage/TaskRunDetailsPage.tsx
index 6b94615343d..5df509d75e4 100644
--- a/frontend/src/metabase/monitor/tools/components/TaskRunDetailsPage/TaskRunDetailsPage.tsx
+++ b/frontend/src/metabase/monitor/tools/components/TaskRunDetailsPage/TaskRunDetailsPage.tsx
@@ -147,7 +147,7 @@ export const TaskRunDetailsPage = ({ params }: TaskRunDetailsPageProps) => {
<tr>
<td colSpan={2}>
<Flex
- c="text-tertiary"
+ c="text-disabled"
justify="center"
>{t`No tasks`}</Flex>
</td>
diff --git a/frontend/src/metabase/monitor/tools/components/TaskRunStartedAtPicker/TaskRunDatePicker.tsx b/frontend/src/metabase/monitor/tools/components/TaskRunStartedAtPicker/TaskRunDatePicker.tsx
index 13a8c1313e2..7fa2ce3eda9 100644
--- a/frontend/src/metabase/monitor/tools/components/TaskRunStartedAtPicker/TaskRunDatePicker.tsx
+++ b/frontend/src/metabase/monitor/tools/components/TaskRunStartedAtPicker/TaskRunDatePicker.tsx
@@ -157,7 +157,7 @@ export const TaskRunDatePicker = ({
rightSectionPointerEvents="none"
>
{displayLabel ?? (
- <Input.Placeholder c="text-tertiary">
+ <Input.Placeholder c="text-disabled">
{placeholder}
</Input.Placeholder>
)}
diff --git a/frontend/src/metabase/monitor/tools/components/TaskRunsPage/TaskRunsTable.tsx b/frontend/src/metabase/monitor/tools/components/TaskRunsPage/TaskRunsTable.tsx
index c34e45052c1..33266b28424 100644
--- a/frontend/src/metabase/monitor/tools/components/TaskRunsPage/TaskRunsTable.tsx
+++ b/frontend/src/metabase/monitor/tools/components/TaskRunsPage/TaskRunsTable.tsx
@@ -64,7 +64,7 @@ export const TaskRunsTable = ({
<tr>
<td colSpan={6}>
<Flex
- c="text-tertiary"
+ c="text-disabled"
justify="center"
>{t`No results`}</Flex>
</td>
diff --git a/frontend/src/metabase/monitor/tools/notifications/NotificationDetailSidebar/ChannelAvatarStack.tsx b/frontend/src/metabase/monitor/tools/notifications/NotificationDetailSidebar/ChannelAvatarStack.tsx
index 10fe90c67ce..4b5b3c02243 100644
--- a/frontend/src/metabase/monitor/tools/notifications/NotificationDetailSidebar/ChannelAvatarStack.tsx
+++ b/frontend/src/metabase/monitor/tools/notifications/NotificationDetailSidebar/ChannelAvatarStack.tsx
@@ -41,8 +41,8 @@ const ChannelAvatar = ({ channel, bordered }: ChannelAvatarProps) => {
const { backgroundColor, iconColor } = match(channel)
.with("channel/slack", () => ({
backgroundColor:
- "color-mix(in srgb, var(--mb-color-saturated-purple) 10%, var(--mb-color-background_page-primary))",
- iconColor: "saturated-purple" as const,
+ "color-mix(in srgb, var(--mb-color-core-purple-saturated) 10%, var(--mb-color-background_page-primary))",
+ iconColor: "core-purple-saturated" as const,
}))
.otherwise(() => ({
backgroundColor: "var(--mb-color-background_surface-brand-subtle)",
diff --git a/frontend/src/metabase/monitor/tools/notifications/NotificationDetailSidebar/NotificationDetailSidebar.module.css b/frontend/src/metabase/monitor/tools/notifications/NotificationDetailSidebar/NotificationDetailSidebar.module.css
index 161783635b7..6ac059c9aed 100644
--- a/frontend/src/metabase/monitor/tools/notifications/NotificationDetailSidebar/NotificationDetailSidebar.module.css
+++ b/frontend/src/metabase/monitor/tools/notifications/NotificationDetailSidebar/NotificationDetailSidebar.module.css
@@ -8,7 +8,7 @@
}
&[data-disabled] {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
background: var(--mb-color-background_surface-primary);
&:hover {
diff --git a/frontend/src/metabase/monitor/tools/notifications/NotificationsTable/NotificationsTable.tsx b/frontend/src/metabase/monitor/tools/notifications/NotificationsTable/NotificationsTable.tsx
index 06db4f2a826..c1e2eec8cdf 100644
--- a/frontend/src/metabase/monitor/tools/notifications/NotificationsTable/NotificationsTable.tsx
+++ b/frontend/src/metabase/monitor/tools/notifications/NotificationsTable/NotificationsTable.tsx
@@ -251,7 +251,7 @@ export const NotificationsTable = ({
onRowClick={handleRowClick}
getRowProps={getRowProps}
emptyState={
- <Flex c="text-tertiary" justify="center">{t`No results`}</Flex>
+ <Flex c="text-disabled" justify="center">{t`No results`}</Flex>
}
/>
</Card>
diff --git a/frontend/src/metabase/nav/components/AppSwitcher/AppSwitcher.tsx b/frontend/src/metabase/nav/components/AppSwitcher/AppSwitcher.tsx
index c1964e28139..8011d6d6fce 100644
--- a/frontend/src/metabase/nav/components/AppSwitcher/AppSwitcher.tsx
+++ b/frontend/src/metabase/nav/components/AppSwitcher/AppSwitcher.tsx
@@ -195,7 +195,7 @@ export const AppSwitcher = ({ className }: { className?: string }) => {
</Avatar>
<Stack gap="xs">
<Text lh="xs">{user?.first_name}</Text>
- <Text c="text-tertiary" fz="md" lh="xs">
+ <Text c="text-disabled" fz="md" lh="xs">
{user?.email}
</Text>
</Stack>
diff --git a/frontend/src/metabase/nav/components/CollectionBreadcrumbs/CollectionBreadcrumbs.tsx b/frontend/src/metabase/nav/components/CollectionBreadcrumbs/CollectionBreadcrumbs.tsx
index 0756c59561a..91267fff71b 100644
--- a/frontend/src/metabase/nav/components/CollectionBreadcrumbs/CollectionBreadcrumbs.tsx
+++ b/frontend/src/metabase/nav/components/CollectionBreadcrumbs/CollectionBreadcrumbs.tsx
@@ -43,7 +43,7 @@ export const CollectionBreadcrumbs = ({
const separator = (
<Box
- c="text-tertiary"
+ c="text-disabled"
fz="0.8em"
fw="bold"
mx="0.5rem"
diff --git a/frontend/src/metabase/nav/components/NavbarPromoCard/NavbarPromoCard.module.css b/frontend/src/metabase/nav/components/NavbarPromoCard/NavbarPromoCard.module.css
index 15fba30d591..60282a0fa46 100644
--- a/frontend/src/metabase/nav/components/NavbarPromoCard/NavbarPromoCard.module.css
+++ b/frontend/src/metabase/nav/components/NavbarPromoCard/NavbarPromoCard.module.css
@@ -7,7 +7,7 @@
}
.DismissIconButtonWrapper {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.DismissIconButtonWrapper:hover {
diff --git a/frontend/src/metabase/nav/components/search/SearchBar/SearchBar.styled.tsx b/frontend/src/metabase/nav/components/search/SearchBar/SearchBar.styled.tsx
index 6c66d81fd71..686182239a6 100644
--- a/frontend/src/metabase/nav/components/search/SearchBar/SearchBar.styled.tsx
+++ b/frontend/src/metabase/nav/components/search/SearchBar/SearchBar.styled.tsx
@@ -144,7 +144,7 @@ export const CloseSearchButton = styled.button`
justify-content: center;
width: 3rem;
height: 100%;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
cursor: pointer;
&:hover {
diff --git a/frontend/src/metabase/nav/components/search/SearchButton/SearchButton.tsx b/frontend/src/metabase/nav/components/search/SearchButton/SearchButton.tsx
index c6a001dc48e..b6ea3ca793c 100644
--- a/frontend/src/metabase/nav/components/search/SearchButton/SearchButton.tsx
+++ b/frontend/src/metabase/nav/components/search/SearchButton/SearchButton.tsx
@@ -43,7 +43,7 @@ const SearchButtonView = ({ location, ...props }: SearchButtonProps) => {
<Button
h="36px"
w="240px"
- c={searchText ? "text-primary" : "text-tertiary"}
+ c={searchText ? "text-primary" : "text-disabled"}
leftSection={<Icon name="search" c="text-primary" />}
onClick={handleClick}
styles={{
diff --git a/frontend/src/metabase/nav/containers/MainNavbar/MainNavbarContainer/AddDataModal/Panels/CSVUpload.tsx b/frontend/src/metabase/nav/containers/MainNavbar/MainNavbarContainer/AddDataModal/Panels/CSVUpload.tsx
index 8114d34c871..601aeaa1f6d 100644
--- a/frontend/src/metabase/nav/containers/MainNavbar/MainNavbarContainer/AddDataModal/Panels/CSVUpload.tsx
+++ b/frontend/src/metabase/nav/containers/MainNavbar/MainNavbarContainer/AddDataModal/Panels/CSVUpload.tsx
@@ -227,7 +227,7 @@ export const CSVUpload = ({
<div>
<Text fw="bold">{primaryText}</Text>
{!uploadState.file && (
- <Text c="text-tertiary">
+ <Text c="text-disabled">
{c("{0} is the allowed size of a file in MB")
.t`.csv or .tsv files, ${MAX_UPLOAD_STRING} MB max`}
</Text>
diff --git a/frontend/src/metabase/nav/containers/MainNavbar/NavbarErrorView.tsx b/frontend/src/metabase/nav/containers/MainNavbar/NavbarErrorView.tsx
index b266bf39191..63f4b53bce9 100644
--- a/frontend/src/metabase/nav/containers/MainNavbar/NavbarErrorView.tsx
+++ b/frontend/src/metabase/nav/containers/MainNavbar/NavbarErrorView.tsx
@@ -15,7 +15,7 @@ export function NavbarErrorView() {
<Text
fw={400}
mt="0.5rem"
- color="text-tertiary"
+ color="text-disabled"
size="lg"
>{t`An error occurred`}</Text>
</LoadingAndErrorContent>
diff --git a/frontend/src/metabase/notifications/modals/QuestionAlertListModal/AlertListItem.tsx b/frontend/src/metabase/notifications/modals/QuestionAlertListModal/AlertListItem.tsx
index 5cb64b70849..d3518409beb 100644
--- a/frontend/src/metabase/notifications/modals/QuestionAlertListModal/AlertListItem.tsx
+++ b/frontend/src/metabase/notifications/modals/QuestionAlertListModal/AlertListItem.tsx
@@ -88,7 +88,7 @@ export const AlertListItem = ({
)}
{user && (
<>
- <Text size="sm" c="text-tertiary">
+ <Text size="sm" c="text-disabled">
•
</Text>
<Text size="sm" c="inherit">
diff --git a/frontend/src/metabase/palette/components/PaletteResultItem.tsx b/frontend/src/metabase/palette/components/PaletteResultItem.tsx
index 1c145329418..5181739f012 100644
--- a/frontend/src/metabase/palette/components/PaletteResultItem.tsx
+++ b/frontend/src/metabase/palette/components/PaletteResultItem.tsx
@@ -72,7 +72,7 @@ export const PaletteResultItem = ({ item, active }: PaletteResultItemProps) => {
{subtext && (
<Flex
flex="0 0 auto"
- c={active ? "text-secondary" : "text-tertiary"}
+ c={active ? "text-secondary" : "text-disabled"}
fz="0.75rem"
lh="1rem"
maw="40%"
@@ -87,7 +87,7 @@ export const PaletteResultItem = ({ item, active }: PaletteResultItemProps) => {
{item.subtitle && (
<Text
- c={active ? "text-secondary" : "text-tertiary"}
+ c={active ? "text-secondary" : "text-disabled"}
component="span"
lh="1rem"
style={{
diff --git a/frontend/src/metabase/palette/components/PaletteResults.tsx b/frontend/src/metabase/palette/components/PaletteResults.tsx
index 67851b3c074..0944e56b676 100644
--- a/frontend/src/metabase/palette/components/PaletteResults.tsx
+++ b/frontend/src/metabase/palette/components/PaletteResults.tsx
@@ -207,7 +207,7 @@ function PaletteEmptyState() {
<Text c="text-secondary" fw={700} mt="xl">
{t`No recent items`}
</Text>
- <Text c="text-tertiary" size="sm" mt="xs" ta="center">
+ <Text c="text-disabled" size="sm" mt="xs" ta="center">
{t`Items you've recently viewed will appear here.`}
</Text>
</Stack>
diff --git a/frontend/src/metabase/parameters/components/ParameterValueWidget.module.css b/frontend/src/metabase/parameters/components/ParameterValueWidget.module.css
index 6731af268c2..7673cd38b47 100644
--- a/frontend/src/metabase/parameters/components/ParameterValueWidget.module.css
+++ b/frontend/src/metabase/parameters/components/ParameterValueWidget.module.css
@@ -24,14 +24,14 @@
&:hover {
border-color: var(--mb-color-core-brand);
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
.Prefix,
.parameterIcon,
.widgetStatus,
.widgetStatus button {
transition: all 0.2s ease-in-out;
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
}
}
}
diff --git a/frontend/src/metabase/parameters/components/ParameterWidget/ParameterWidget.module.css b/frontend/src/metabase/parameters/components/ParameterWidget/ParameterWidget.module.css
index b9a00f88380..80ed8bee66b 100644
--- a/frontend/src/metabase/parameters/components/ParameterWidget/ParameterWidget.module.css
+++ b/frontend/src/metabase/parameters/components/ParameterWidget/ParameterWidget.module.css
@@ -9,7 +9,7 @@
&:hover:not(.isEditingParameter) {
border-color: var(--mb-color-core-brand);
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
}
&.isEditingParameter {
diff --git a/frontend/src/metabase/parameters/components/TemporalUnitSettings/TemporalUnitSettings.module.css b/frontend/src/metabase/parameters/components/TemporalUnitSettings/TemporalUnitSettings.module.css
index 6042e3d6016..d6675f3a96c 100644
--- a/frontend/src/metabase/parameters/components/TemporalUnitSettings/TemporalUnitSettings.module.css
+++ b/frontend/src/metabase/parameters/components/TemporalUnitSettings/TemporalUnitSettings.module.css
@@ -8,6 +8,6 @@
&:hover {
background-color: var(--mb-color-background_surface-hover);
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
}
}
diff --git a/frontend/src/metabase/parameters/components/widgets/ParameterFieldWidget/FieldValuesWidget/SingleSelectListField/SingleSelectListField.styled.tsx b/frontend/src/metabase/parameters/components/widgets/ParameterFieldWidget/FieldValuesWidget/SingleSelectListField/SingleSelectListField.styled.tsx
index 7915fd6d09c..ca33a595144 100644
--- a/frontend/src/metabase/parameters/components/widgets/ParameterFieldWidget/FieldValuesWidget/SingleSelectListField/SingleSelectListField.styled.tsx
+++ b/frontend/src/metabase/parameters/components/widgets/ParameterFieldWidget/FieldValuesWidget/SingleSelectListField/SingleSelectListField.styled.tsx
@@ -57,7 +57,7 @@ export const OptionItem = styled.div<OptionItemProps>`
${(props) =>
!props.selected &&
css`
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
background-color: var(--mb-color-background_surface-hover);
`}
}
diff --git a/frontend/src/metabase/public/components/EmbedFrame/EmbedFrame.module.css b/frontend/src/metabase/public/components/EmbedFrame/EmbedFrame.module.css
index 480acc68d3f..13699c88371 100644
--- a/frontend/src/metabase/public/components/EmbedFrame/EmbedFrame.module.css
+++ b/frontend/src/metabase/public/components/EmbedFrame/EmbedFrame.module.css
@@ -46,7 +46,7 @@ body:where(:global(.mb-wrapper)) {
var(--mb-color-text-primary-inverse) 65%,
transparent
);
- --mb-color-text-tertiary: color-mix(
+ --mb-color-text-disabled: color-mix(
in srgb,
var(--mb-color-text-primary-inverse) 45%,
transparent
diff --git a/frontend/src/metabase/query_builder/components/DatasetEditor/DatasetEditorSettingsSidebar/ListViewColumnsSidebar.tsx b/frontend/src/metabase/query_builder/components/DatasetEditor/DatasetEditorSettingsSidebar/ListViewColumnsSidebar.tsx
index 8f5a9782810..e92b621ae94 100644
--- a/frontend/src/metabase/query_builder/components/DatasetEditor/DatasetEditorSettingsSidebar/ListViewColumnsSidebar.tsx
+++ b/frontend/src/metabase/query_builder/components/DatasetEditor/DatasetEditorSettingsSidebar/ListViewColumnsSidebar.tsx
@@ -80,7 +80,7 @@ export function ListViewColumnsSidebar({
<Stack gap="md">
<TextInput
placeholder={t`Find a column...`}
- leftSection={<Icon name="search" size={14} c="text-tertiary" />}
+ leftSection={<Icon name="search" size={14} c="text-disabled" />}
value={query}
onChange={(e) => setQuery(e.currentTarget.value)}
/>
@@ -98,7 +98,7 @@ export function ListViewColumnsSidebar({
/>
))}
{filtered.length === 0 ? (
- <Text size="sm" c="text-tertiary">{t`No available columns`}</Text>
+ <Text size="sm" c="text-disabled">{t`No available columns`}</Text>
) : null}
</Stack>
</Stack>{" "}
diff --git a/frontend/src/metabase/query_builder/components/DatasetEditor/DatasetFieldMetadataSidebar/DatasetFieldMetadataSidebar.jsx b/frontend/src/metabase/query_builder/components/DatasetEditor/DatasetFieldMetadataSidebar/DatasetFieldMetadataSidebar.jsx
index 1104195bfbf..86d5363a268 100644
--- a/frontend/src/metabase/query_builder/components/DatasetEditor/DatasetFieldMetadataSidebar/DatasetFieldMetadataSidebar.jsx
+++ b/frontend/src/metabase/query_builder/components/DatasetEditor/DatasetFieldMetadataSidebar/DatasetFieldMetadataSidebar.jsx
@@ -246,7 +246,7 @@ function DatasetFieldMetadataSidebarInner({
left: "0.75rem",
top: "0.5rem",
fontSize: "0.625rem",
- color: color("text-tertiary"),
+ color: color("text-disabled"),
whiteSpace: "nowrap",
overflow: "hidden",
textOverflow: "ellipsis",
diff --git a/frontend/src/metabase/query_builder/components/DatasetEditor/EditorTabs/EditorTabs.tsx b/frontend/src/metabase/query_builder/components/DatasetEditor/EditorTabs/EditorTabs.tsx
index ea118c3bc76..ee75bc70e86 100644
--- a/frontend/src/metabase/query_builder/components/DatasetEditor/EditorTabs/EditorTabs.tsx
+++ b/frontend/src/metabase/query_builder/components/DatasetEditor/EditorTabs/EditorTabs.tsx
@@ -26,9 +26,9 @@ export function EditorTabs({
style={
{
// TODO: Re-write this component to use actual buttons and better semantic colors
- "--active-tab-color": "var(--mb-color-text-hover)",
+ "--active-tab-color": "var(--mb-color-text-brand-hover)",
"--inactive-tab-color":
- "color-mix(in srgb, var(--mb-color-text-hover) 30%, transparent )",
+ "color-mix(in srgb, var(--mb-color-text-brand-hover) 30%, transparent )",
} as CSSProperties
}
>
diff --git a/frontend/src/metabase/query_builder/components/chart-type-selector/ChartTypeOption/ChartTypeOption.tsx b/frontend/src/metabase/query_builder/components/chart-type-selector/ChartTypeOption/ChartTypeOption.tsx
index dc1c38035da..dd2edeb6a40 100644
--- a/frontend/src/metabase/query_builder/components/chart-type-selector/ChartTypeOption/ChartTypeOption.tsx
+++ b/frontend/src/metabase/query_builder/components/chart-type-selector/ChartTypeOption/ChartTypeOption.tsx
@@ -85,7 +85,7 @@ export const ChartTypeOption = ({
top="-0.5rem"
right="-0.6rem"
radius="xl"
- color="text-tertiary"
+ color="text-disabled"
variant="viewHeader"
bg="background_page-primary"
className={cx(
diff --git a/frontend/src/metabase/query_builder/components/view/ViewHeader/components/HeaderBreadcrumbs/HeaderBreadcrumbs.module.css b/frontend/src/metabase/query_builder/components/view/ViewHeader/components/HeaderBreadcrumbs/HeaderBreadcrumbs.module.css
index 18e9d63f8ea..c80bdb847f4 100644
--- a/frontend/src/metabase/query_builder/components/view/ViewHeader/components/HeaderBreadcrumbs/HeaderBreadcrumbs.module.css
+++ b/frontend/src/metabase/query_builder/components/view/ViewHeader/components/HeaderBreadcrumbs/HeaderBreadcrumbs.module.css
@@ -9,7 +9,7 @@
}
.HeaderBreadcrumbs {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
font-size: 0.8em;
font-weight: bold;
padding-left: 0.5em;
diff --git a/frontend/src/metabase/query_builder/components/view/ViewHeader/components/HeaderBreadcrumbs/HeaderBreadcrumbs.tsx b/frontend/src/metabase/query_builder/components/view/ViewHeader/components/HeaderBreadcrumbs/HeaderBreadcrumbs.tsx
index c48b0e368ff..0baa038baf1 100644
--- a/frontend/src/metabase/query_builder/components/view/ViewHeader/components/HeaderBreadcrumbs/HeaderBreadcrumbs.tsx
+++ b/frontend/src/metabase/query_builder/components/view/ViewHeader/components/HeaderBreadcrumbs/HeaderBreadcrumbs.tsx
@@ -25,7 +25,7 @@ function getBadgeInactiveColor({
variant: "head" | "subhead";
isLast: boolean;
}) {
- return isLast && variant === "head" ? "text-primary" : "text-tertiary";
+ return isLast && variant === "head" ? "text-primary" : "text-disabled";
}
interface HeadBreadcrumbsProps {
diff --git a/frontend/src/metabase/query_builder/components/view/ViewHeader/components/QuestionDataSource/QuestionDataSource.module.css b/frontend/src/metabase/query_builder/components/view/ViewHeader/components/QuestionDataSource/QuestionDataSource.module.css
index a3fc0acd276..d0c99aa138e 100644
--- a/frontend/src/metabase/query_builder/components/view/ViewHeader/components/QuestionDataSource/QuestionDataSource.module.css
+++ b/frontend/src/metabase/query_builder/components/view/ViewHeader/components/QuestionDataSource/QuestionDataSource.module.css
@@ -1,5 +1,5 @@
.TablesDivider {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
font-size: 1em;
font-weight: bold;
padding: 0 0.2em;
@@ -7,7 +7,7 @@
}
.IconWrapper {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
display: inline-block;
font-size: 1rem;
margin-left: 0.5rem;
diff --git a/frontend/src/metabase/query_builder/components/view/ViewHeader/components/QuestionDataSource/SourceModelBreadcrumbs.tsx b/frontend/src/metabase/query_builder/components/view/ViewHeader/components/QuestionDataSource/SourceModelBreadcrumbs.tsx
index 1b9f9fa7036..a992d6aac63 100644
--- a/frontend/src/metabase/query_builder/components/view/ViewHeader/components/QuestionDataSource/SourceModelBreadcrumbs.tsx
+++ b/frontend/src/metabase/query_builder/components/view/ViewHeader/components/QuestionDataSource/SourceModelBreadcrumbs.tsx
@@ -38,7 +38,7 @@ export function SourceModelBreadcrumbs({
key="collection"
to={Urls.collection(collection)}
icon={getIcon({ model: "card", type: question.type() }).name}
- color="text-tertiary"
+ color="text-disabled"
>
{collection?.name || t`Our analytics`}
</HeadBreadcrumbs.Breadcrumb>,
diff --git a/frontend/src/metabase/query_builder/components/view/ViewHeader/components/QuestionDataSource/SourceTableBreadcrumbs.tsx b/frontend/src/metabase/query_builder/components/view/ViewHeader/components/QuestionDataSource/SourceTableBreadcrumbs.tsx
index 952badb72d4..e8211e33961 100644
--- a/frontend/src/metabase/query_builder/components/view/ViewHeader/components/QuestionDataSource/SourceTableBreadcrumbs.tsx
+++ b/frontend/src/metabase/query_builder/components/view/ViewHeader/components/QuestionDataSource/SourceTableBreadcrumbs.tsx
@@ -73,7 +73,7 @@ export function SourceTableBreadcrumbs({
? Urls.queryBuilderTable(table.id, table.db_id)
: undefined
}
- color={isSubhead ? "text-tertiary" : "text-primary"}
+ color={isSubhead ? "text-disabled" : "text-primary"}
>
<span>
{table.display_name}
diff --git a/frontend/src/metabase/query_builder/components/view/ViewHeader/components/QuestionDataSource/utils.tsx b/frontend/src/metabase/query_builder/components/view/ViewHeader/components/QuestionDataSource/utils.tsx
index 0a4058ea982..830cfe24866 100644
--- a/frontend/src/metabase/query_builder/components/view/ViewHeader/components/QuestionDataSource/utils.tsx
+++ b/frontend/src/metabase/query_builder/components/view/ViewHeader/components/QuestionDataSource/utils.tsx
@@ -147,7 +147,7 @@ function QuestionTableBadges({
isLast,
}: QuestionTableBadgesProps) {
const badgeInactiveColor =
- isLast && !subHead ? "text-primary" : "text-tertiary";
+ isLast && !subHead ? "text-primary" : "text-disabled";
const parts = tables.map((table) => (
<HeadBreadcrumbs.Breadcrumb
diff --git a/frontend/src/metabase/query_builder/components/view/ViewHeader/components/SavedQuestionLeftSide/SavedQuestionLeftSide.module.css b/frontend/src/metabase/query_builder/components/view/ViewHeader/components/SavedQuestionLeftSide/SavedQuestionLeftSide.module.css
index 89bc885e9aa..03d59fa1790 100644
--- a/frontend/src/metabase/query_builder/components/view/ViewHeader/components/SavedQuestionLeftSide/SavedQuestionLeftSide.module.css
+++ b/frontend/src/metabase/query_builder/components/view/ViewHeader/components/SavedQuestionLeftSide/SavedQuestionLeftSide.module.css
@@ -6,7 +6,7 @@
.StyledLastEditInfoLabel {
/* LastEditInfoLabel uses emotion with higher specificity */
- color: var(--mb-color-text-tertiary) !important;
+ color: var(--mb-color-text-disabled) !important;
@media screen and (max-width: 40em) {
margin-left: 0;
diff --git a/frontend/src/metabase/query_builder/components/view/sidebars/ModelCacheManagementSection/ModelCacheManagementSection.tsx b/frontend/src/metabase/query_builder/components/view/sidebars/ModelCacheManagementSection/ModelCacheManagementSection.tsx
index 12375321d07..7c0d4bdb2da 100644
--- a/frontend/src/metabase/query_builder/components/view/sidebars/ModelCacheManagementSection/ModelCacheManagementSection.tsx
+++ b/frontend/src/metabase/query_builder/components/view/sidebars/ModelCacheManagementSection/ModelCacheManagementSection.tsx
@@ -79,7 +79,7 @@ export function ModelCacheManagementSection({ model }: Props) {
justify="space-between"
align="center"
data-testid="model-cache-section"
- c={canManageDB ? "text-primary" : "text-tertiary"}
+ c={canManageDB ? "text-primary" : "text-disabled"}
fz="md"
>
<Box>
diff --git a/frontend/src/metabase/query_builder/components/view/sidebars/QuestionInfoSidebar/components/ToggleFullList.tsx b/frontend/src/metabase/query_builder/components/view/sidebars/QuestionInfoSidebar/components/ToggleFullList.tsx
index 4662594e8e1..48f8d8482ff 100644
--- a/frontend/src/metabase/query_builder/components/view/sidebars/QuestionInfoSidebar/components/ToggleFullList.tsx
+++ b/frontend/src/metabase/query_builder/components/view/sidebars/QuestionInfoSidebar/components/ToggleFullList.tsx
@@ -22,7 +22,7 @@ export const ToggleFullList = ({
return (
<Group gap="sm" mt="sm" lh={1}>
{
- <Text c="text-tertiary" lh={1}>
+ <Text c="text-disabled" lh={1}>
{isExpanded
? c("{0} is a number").t`Showing all ${fullLength} questions`
: c("The variables are numbers")
diff --git a/frontend/src/metabase/query_builder/components/view/sidebars/SummarizeSidebar/BreakoutColumnList/BreakoutColumnListItem/BreakoutColumnListItem.module.css b/frontend/src/metabase/query_builder/components/view/sidebars/SummarizeSidebar/BreakoutColumnList/BreakoutColumnListItem/BreakoutColumnListItem.module.css
index a8e6ed4bc4c..c6f918256bd 100644
--- a/frontend/src/metabase/query_builder/components/view/sidebars/SummarizeSidebar/BreakoutColumnList/BreakoutColumnListItem/BreakoutColumnListItem.module.css
+++ b/frontend/src/metabase/query_builder/components/view/sidebars/SummarizeSidebar/BreakoutColumnList/BreakoutColumnListItem/BreakoutColumnListItem.module.css
@@ -79,7 +79,7 @@
&.isNotSelected {
.ColumnTypeIcon {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
&:hover {
@@ -97,7 +97,7 @@
.BucketTriggerButton {
visibility: visible;
opacity: 1;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
&:hover {
color: var(--mb-color-text-secondary);
diff --git a/frontend/src/metabase/querying/common/components/DataSelector/DataSelector.module.css b/frontend/src/metabase/querying/common/components/DataSelector/DataSelector.module.css
index fba8f5400a7..6ff1a44ed89 100644
--- a/frontend/src/metabase/querying/common/components/DataSelector/DataSelector.module.css
+++ b/frontend/src/metabase/querying/common/components/DataSelector/DataSelector.module.css
@@ -20,7 +20,7 @@
.TextSchema {
font-size: 0.75em;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
line-height: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.06em;
diff --git a/frontend/src/metabase/querying/common/components/DataSelector/DataSelectorDataBucketPicker/DataSelectorDataBucketPicker.module.css b/frontend/src/metabase/querying/common/components/DataSelector/DataSelectorDataBucketPicker/DataSelectorDataBucketPicker.module.css
index 5435a76b1ea..c7807063e03 100644
--- a/frontend/src/metabase/querying/common/components/DataSelector/DataSelectorDataBucketPicker/DataSelectorDataBucketPicker.module.css
+++ b/frontend/src/metabase/querying/common/components/DataSelector/DataSelectorDataBucketPicker/DataSelectorDataBucketPicker.module.css
@@ -10,7 +10,7 @@
}
.DataBucketListItemDescription {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
font-weight: 700;
font-size: 12px;
}
diff --git a/frontend/src/metabase/querying/common/components/DatePicker/SpecificDatePicker/DateRangePicker/DateRangePickerBody/DateRangePickerBody.tsx b/frontend/src/metabase/querying/common/components/DatePicker/SpecificDatePicker/DateRangePicker/DateRangePickerBody/DateRangePickerBody.tsx
index d94821b608f..e3f87ec5c96 100644
--- a/frontend/src/metabase/querying/common/components/DatePicker/SpecificDatePicker/DateRangePicker/DateRangePickerBody/DateRangePickerBody.tsx
+++ b/frontend/src/metabase/querying/common/components/DatePicker/SpecificDatePicker/DateRangePicker/DateRangePickerBody/DateRangePickerBody.tsx
@@ -98,7 +98,7 @@ export function DateRangePickerBody({
aria-label={t`Start date`}
onChange={(val) => val && handleStartDateChange(dayjs(val).toDate())}
/>
- <Text c="text-tertiary">{t`and`}</Text>
+ <Text c="text-disabled">{t`and`}</Text>
<DateInput
className={S.FlexDateInput}
value={endDate}
@@ -118,7 +118,7 @@ export function DateRangePickerBody({
aria-label={t`Start time`}
onChange={handleStartTimeChange}
/>
- <Text c="text-tertiary">{t`and`}</Text>
+ <Text c="text-disabled">{t`and`}</Text>
<TimeInput
className={S.FlexTimeInput}
value={endDate}
diff --git a/frontend/src/metabase/querying/common/components/FieldValuePicker/ListValuePicker/ListValuePicker.tsx b/frontend/src/metabase/querying/common/components/FieldValuePicker/ListValuePicker/ListValuePicker.tsx
index 5e96a40db29..a708ae85f37 100644
--- a/frontend/src/metabase/querying/common/components/FieldValuePicker/ListValuePicker/ListValuePicker.tsx
+++ b/frontend/src/metabase/querying/common/components/FieldValuePicker/ListValuePicker/ListValuePicker.tsx
@@ -63,7 +63,7 @@ function CheckboxListPicker({
value={searchValue}
placeholder={placeholder}
autoFocus={autoFocus}
- leftSection={<Icon name="search" c="text-tertiary" />}
+ leftSection={<Icon name="search" c="text-disabled" />}
onChange={handleInputChange}
/>
{filteredOptions.length > 0 ? (
@@ -92,7 +92,7 @@ function CheckboxListPicker({
</Checkbox.Group>
</Stack>
) : (
- <Stack c="text-tertiary" justify="center" align="center">
+ <Stack c="text-disabled" justify="center" align="center">
<Icon name="search" size={40} />
<Text c="text-secondary" fw="bold">{t`Didn't find anything`}</Text>
</Stack>
diff --git a/frontend/src/metabase/querying/common/components/TemporalUnitPicker/TemporalUnitPicker.tsx b/frontend/src/metabase/querying/common/components/TemporalUnitPicker/TemporalUnitPicker.tsx
index e864bfe1500..3c65effffc0 100644
--- a/frontend/src/metabase/querying/common/components/TemporalUnitPicker/TemporalUnitPicker.tsx
+++ b/frontend/src/metabase/querying/common/components/TemporalUnitPicker/TemporalUnitPicker.tsx
@@ -37,7 +37,7 @@ export function TemporalUnitPicker({
return (
<Box p="sm" miw={MIN_WIDTH}>
{availableItems.length === 0 && (
- <Text px="sm" c="text-tertiary">{t`No options`}</Text>
+ <Text px="sm" c="text-disabled">{t`No options`}</Text>
)}
{visibleItems.map((item) => (
<DefaultSelectItem
diff --git a/frontend/src/metabase/querying/components/CodeMirrorEditor/CodeMirrorEditor.module.css b/frontend/src/metabase/querying/components/CodeMirrorEditor/CodeMirrorEditor.module.css
index 2a740fc254d..7a2bc4ca2ee 100644
--- a/frontend/src/metabase/querying/components/CodeMirrorEditor/CodeMirrorEditor.module.css
+++ b/frontend/src/metabase/querying/components/CodeMirrorEditor/CodeMirrorEditor.module.css
@@ -17,12 +17,12 @@
/* merge view styles */
.cm-collapsedLines {
background: var(--mb-color-background_page-secondary) !important;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
&:before,
&:after {
content: "-";
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
}
diff --git a/frontend/src/metabase/querying/components/expressions/CombineColumns/ColumnAndSeparatorRow/ColumnAndSeparatorRow.tsx b/frontend/src/metabase/querying/components/expressions/CombineColumns/ColumnAndSeparatorRow/ColumnAndSeparatorRow.tsx
index 2793230b69c..33297cd3fcb 100644
--- a/frontend/src/metabase/querying/components/expressions/CombineColumns/ColumnAndSeparatorRow/ColumnAndSeparatorRow.tsx
+++ b/frontend/src/metabase/querying/components/expressions/CombineColumns/ColumnAndSeparatorRow/ColumnAndSeparatorRow.tsx
@@ -129,7 +129,7 @@ function SeparatorInput({
}}
/>
{!hasFocus && formatSeparator(value) !== value && (
- <Text color="text-tertiary" className={styles.placeholder}>
+ <Text color="text-disabled" className={styles.placeholder}>
{formatSeparator(value)}
</Text>
)}
diff --git a/frontend/src/metabase/querying/components/expressions/Editor/HelpText/HelpText.module.css b/frontend/src/metabase/querying/components/expressions/Editor/HelpText/HelpText.module.css
index 733dcf124b4..0ada48a6927 100644
--- a/frontend/src/metabase/querying/components/expressions/Editor/HelpText/HelpText.module.css
+++ b/frontend/src/metabase/querying/components/expressions/Editor/HelpText/HelpText.module.css
@@ -29,14 +29,14 @@
}
.arg {
- color: var(--mb-color-syntax-parameters);
+ color: var(--mb-color-text-syntax-parameter);
font-family: var(--mb-default-monospace-font-family);
font-size: 0.75rem;
line-height: 1.57em;
border-radius: 2px;
&.active {
- background-color: var(--mb-color-syntax-parameters-active);
+ background-color: var(--mb-color-text-syntax-parameter-active);
}
}
diff --git a/frontend/src/metabase/querying/components/expressions/ExpressionWidget/ExpressionWidgetHeader.module.css b/frontend/src/metabase/querying/components/expressions/ExpressionWidget/ExpressionWidgetHeader.module.css
index a1cfd679a27..216951c4316 100644
--- a/frontend/src/metabase/querying/components/expressions/ExpressionWidget/ExpressionWidgetHeader.module.css
+++ b/frontend/src/metabase/querying/components/expressions/ExpressionWidget/ExpressionWidgetHeader.module.css
@@ -7,7 +7,7 @@
height: 3rem;
.HeaderButton[data-variant="subtle"] {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
&:not(:disabled):hover {
color: var(--mb-color-core-brand);
diff --git a/frontend/src/metabase/querying/components/expressions/ExtractColumn/ExtractColumn.tsx b/frontend/src/metabase/querying/components/expressions/ExtractColumn/ExtractColumn.tsx
index 7cc2b049e23..f85e2346338 100644
--- a/frontend/src/metabase/querying/components/expressions/ExtractColumn/ExtractColumn.tsx
+++ b/frontend/src/metabase/querying/components/expressions/ExtractColumn/ExtractColumn.tsx
@@ -202,7 +202,7 @@ function ExtractColumnButton({
<Text color="text-primary" className={styles.content} fw="bold" p={0}>
{title}
</Text>
- <Text color="text-tertiary" size="sm" className={styles.example}>
+ <Text color="text-disabled" size="sm" className={styles.example}>
{example}
</Text>
</Flex>
diff --git a/frontend/src/metabase/querying/notebook/components/FieldPicker/FieldPicker.module.css b/frontend/src/metabase/querying/notebook/components/FieldPicker/FieldPicker.module.css
index e5b68130850..e14c44d49cc 100644
--- a/frontend/src/metabase/querying/notebook/components/FieldPicker/FieldPicker.module.css
+++ b/frontend/src/metabase/querying/notebook/components/FieldPicker/FieldPicker.module.css
@@ -6,7 +6,7 @@
.ItemIcon {
margin: 0 0.5em;
margin-left: 0.75em;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.ItemList {
diff --git a/frontend/src/metabase/querying/notebook/components/NotebookStep/NotebookStep.tsx b/frontend/src/metabase/querying/notebook/components/NotebookStep/NotebookStep.tsx
index 7df57e2e5e7..d66142229dc 100644
--- a/frontend/src/metabase/querying/notebook/components/NotebookStep/NotebookStep.tsx
+++ b/frontend/src/metabase/querying/notebook/components/NotebookStep/NotebookStep.tsx
@@ -132,7 +132,7 @@ export function NotebookStep({
component={NotebookActionButton}
icon="play"
title={t`Preview`}
- color={"text-tertiary"}
+ color={"text-disabled"}
onClick={openPreview}
data-testid="step-preview-button"
/>
diff --git a/frontend/src/metabase/querying/notebook/components/NotebookStep/utils.ts b/frontend/src/metabase/querying/notebook/components/NotebookStep/utils.ts
index 8f2b4779a57..18c172237b6 100644
--- a/frontend/src/metabase/querying/notebook/components/NotebookStep/utils.ts
+++ b/frontend/src/metabase/querying/notebook/components/NotebookStep/utils.ts
@@ -60,7 +60,7 @@ const STEPS: Record<NotebookStepType, StepUIItem> = {
icon: "add_data",
compact: true,
secondary: true,
- color: () => "text-tertiary",
+ color: () => "text-disabled",
Step: ExpressionStep,
StepHeader: NotebookStepHeader,
},
@@ -111,7 +111,7 @@ const STEPS: Record<NotebookStepType, StepUIItem> = {
icon: "sort",
compact: true,
secondary: true,
- color: () => "text-tertiary",
+ color: () => "text-disabled",
Step: SortStep,
StepHeader: NotebookStepHeader,
},
@@ -122,7 +122,7 @@ const STEPS: Record<NotebookStepType, StepUIItem> = {
icon: "list",
compact: true,
secondary: true,
- color: () => "text-tertiary",
+ color: () => "text-disabled",
Step: LimitStep,
StepHeader: NotebookStepHeader,
},
diff --git a/frontend/src/metabase/querying/segments/components/SegmentEditor/FilterStep/FilterStep.tsx b/frontend/src/metabase/querying/segments/components/SegmentEditor/FilterStep/FilterStep.tsx
index e3f810fc9fb..fb598cfe10f 100644
--- a/frontend/src/metabase/querying/segments/components/SegmentEditor/FilterStep/FilterStep.tsx
+++ b/frontend/src/metabase/querying/segments/components/SegmentEditor/FilterStep/FilterStep.tsx
@@ -141,7 +141,7 @@ const AddFilterButton = forwardRef(function AddFilterButton(
return (
<Button
ref={ref}
- c="text-tertiary"
+ c="text-disabled"
p={compact ? undefined : 0}
variant={compact ? "default" : "subtle"}
size={compact ? "compact-md" : "md"}
diff --git a/frontend/src/metabase/reference/Reference.module.css b/frontend/src/metabase/reference/Reference.module.css
index efc48a0ce77..39dbda60885 100644
--- a/frontend/src/metabase/reference/Reference.module.css
+++ b/frontend/src/metabase/reference/Reference.module.css
@@ -30,7 +30,7 @@
white-space: pre-wrap;
color: var(--mb-color-text-secondary);
background-color: var(--mb-color-background_page-secondary);
- border: 1px solid var(--mb-color-text-tertiary);
+ border: 1px solid var(--mb-color-text-disabled);
border-radius: 4px;
padding: 0.2em 0.4em;
}
diff --git a/frontend/src/metabase/reference/components/Detail.module.css b/frontend/src/metabase/reference/components/Detail.module.css
index 82a6400a63d..e213427065c 100644
--- a/frontend/src/metabase/reference/components/Detail.module.css
+++ b/frontend/src/metabase/reference/components/Detail.module.css
@@ -1,6 +1,6 @@
:root {
--title-color: var(--mb-color-text-secondary);
- --muted-color: var(--mb-color-text-tertiary);
+ --muted-color: var(--mb-color-text-disabled);
}
.detail {
diff --git a/frontend/src/metabase/rich_text_editing/tiptap/extensions/MetabotEmbed/MetabotEmbed.module.css b/frontend/src/metabase/rich_text_editing/tiptap/extensions/MetabotEmbed/MetabotEmbed.module.css
index 008fc8a2e2e..e0aaaef781a 100644
--- a/frontend/src/metabase/rich_text_editing/tiptap/extensions/MetabotEmbed/MetabotEmbed.module.css
+++ b/frontend/src/metabase/rich_text_editing/tiptap/extensions/MetabotEmbed/MetabotEmbed.module.css
@@ -14,7 +14,7 @@
position: absolute;
pointer-events: none;
padding: var(--mantine-spacing-md);
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.borderRadius {
diff --git a/frontend/src/metabase/rich_text_editing/tiptap/extensions/SupportingText/SupportingText.module.css b/frontend/src/metabase/rich_text_editing/tiptap/extensions/SupportingText/SupportingText.module.css
index d0f0d7df8a9..e44db57ad73 100644
--- a/frontend/src/metabase/rich_text_editing/tiptap/extensions/SupportingText/SupportingText.module.css
+++ b/frontend/src/metabase/rich_text_editing/tiptap/extensions/SupportingText/SupportingText.module.css
@@ -67,7 +67,7 @@
.placeholder {
position: absolute;
pointer-events: none;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.commentsButton[data-variant="default"]:not(:hover) {
diff --git a/frontend/src/metabase/rich_text_editing/tiptap/extensions/shared/EntitySearchSection.tsx b/frontend/src/metabase/rich_text_editing/tiptap/extensions/shared/EntitySearchSection.tsx
index b979180f8a4..ec486972316 100644
--- a/frontend/src/metabase/rich_text_editing/tiptap/extensions/shared/EntitySearchSection.tsx
+++ b/frontend/src/metabase/rich_text_editing/tiptap/extensions/shared/EntitySearchSection.tsx
@@ -65,7 +65,7 @@ export function EntitySearchSection({
<>
{selectedSearchModelName && (
<Box py="xs">
- <Text size="sm" c="text-tertiary" fw="bold">
+ <Text size="sm" c="text-disabled" fw="bold">
{selectedSearchModelName}
</Text>
</Box>
diff --git a/frontend/src/metabase/rich_text_editing/tiptap/extensions/shared/MenuComponents.tsx b/frontend/src/metabase/rich_text_editing/tiptap/extensions/shared/MenuComponents.tsx
index 51276f91f7f..79a682f01ad 100644
--- a/frontend/src/metabase/rich_text_editing/tiptap/extensions/shared/MenuComponents.tsx
+++ b/frontend/src/metabase/rich_text_editing/tiptap/extensions/shared/MenuComponents.tsx
@@ -63,14 +63,14 @@ export const MenuItemComponent = ({
{item.label}
</Text>
{item.description && (
- <Text size="sm" c="text-tertiary" lh="md">
+ <Text size="sm" c="text-disabled" lh="md">
{item.description}
</Text>
)}
</Stack>
{item.hasSubmenu && (
- <Icon name="chevronright" size=".75rem" c="text-tertiary" />
+ <Icon name="chevronright" size=".75rem" c="text-disabled" />
)}
</Group>
</UnstyledButton>
@@ -127,7 +127,7 @@ export const MetabotFooter = ({ isSelected, onClick }: ExtraItemProps) => {
<MetabotIcon size={16} c="inherit" />
<Stack gap={2}>
<Text size="md" lh="lg" c="inherit">{t`Ask ${metabotName}`}</Text>
- <Text size="sm" c="text-tertiary" lh="md">
+ <Text size="sm" c="text-disabled" lh="md">
{t`It wants to help!`}
</Text>
</Stack>
diff --git a/frontend/src/metabase/setup/components/LicenseTokenStep/LicenseTokenForm.tsx b/frontend/src/metabase/setup/components/LicenseTokenStep/LicenseTokenForm.tsx
index 89c90e0afd6..980ea94f80e 100644
--- a/frontend/src/metabase/setup/components/LicenseTokenStep/LicenseTokenForm.tsx
+++ b/frontend/src/metabase/setup/components/LicenseTokenStep/LicenseTokenForm.tsx
@@ -108,7 +108,7 @@ export const LicenseTokenForm = ({
px={0}
fw="normal"
>{t`I'll activate later`}</Button>
- <Text c="text-tertiary" size="sm">
+ <Text c="text-disabled" size="sm">
{t`You won't have access to paid features until you activate.`}
</Text>
</Box>
diff --git a/frontend/src/metabase/setup/components/LicenseTokenStep/LicenseTokenStep.tsx b/frontend/src/metabase/setup/components/LicenseTokenStep/LicenseTokenStep.tsx
index cea26785708..635754a6018 100644
--- a/frontend/src/metabase/setup/components/LicenseTokenStep/LicenseTokenStep.tsx
+++ b/frontend/src/metabase/setup/components/LicenseTokenStep/LicenseTokenStep.tsx
@@ -58,7 +58,7 @@ export const LicenseTokenStep = ({ stepLabel }: NumberedStepProps) => {
>
<Text
mb="lg"
- c="text-tertiary"
+ c="text-disabled"
>{t`Unlock access to paid features if you'd like to try them out`}</Text>
<LicenseTokenForm
diff --git a/frontend/src/metabase/setup/components/UsageQuestionStep/UsageQuestionStep.tsx b/frontend/src/metabase/setup/components/UsageQuestionStep/UsageQuestionStep.tsx
index 70d6f033717..5fc0ea1c82c 100644
--- a/frontend/src/metabase/setup/components/UsageQuestionStep/UsageQuestionStep.tsx
+++ b/frontend/src/metabase/setup/components/UsageQuestionStep/UsageQuestionStep.tsx
@@ -64,7 +64,7 @@ export const UsageQuestionStep = ({ stepLabel }: NumberedStepProps) => {
onChange={handleChange}
label={
<Text
- color="text-tertiary"
+ color="text-disabled"
fw="normal"
>{t`Let us know your plans with Metabase so that we can best guide you`}</Text>
}
diff --git a/frontend/src/metabase/static-viz/components/SmartScalar/SmartScalar.tsx b/frontend/src/metabase/static-viz/components/SmartScalar/SmartScalar.tsx
index 2c1df0a6f4d..727dd5f9f61 100644
--- a/frontend/src/metabase/static-viz/components/SmartScalar/SmartScalar.tsx
+++ b/frontend/src/metabase/static-viz/components/SmartScalar/SmartScalar.tsx
@@ -106,7 +106,7 @@ function Comparison({ comparison, renderingContext }: ComparisonProps) {
marginRight: "6px",
},
percentChange: {
- color: comparison.changeColor || getColor("text-tertiary"),
+ color: comparison.changeColor || getColor("text-disabled"),
fontWeight: 900,
marginRight: 4,
},
@@ -115,7 +115,7 @@ function Comparison({ comparison, renderingContext }: ComparisonProps) {
fontWeight: 700,
},
comparisonValue: {
- color: getColor("text-tertiary"),
+ color: getColor("text-disabled"),
fontWeight: 700,
},
};
diff --git a/frontend/src/metabase/timelines/collections/components/EventList/EventList.styled.tsx b/frontend/src/metabase/timelines/collections/components/EventList/EventList.styled.tsx
index f03b5254d28..a3fa592b6f6 100644
--- a/frontend/src/metabase/timelines/collections/components/EventList/EventList.styled.tsx
+++ b/frontend/src/metabase/timelines/collections/components/EventList/EventList.styled.tsx
@@ -31,13 +31,13 @@ export const ListThreadContainer = styled.div`
`;
export const ListIcon = styled(Icon)`
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
width: 1.5rem;
height: 1.5rem;
`;
export const ListIconText = styled.div`
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
margin-top: 0.375rem;
margin-left: 0.75rem;
`;
diff --git a/frontend/src/metabase/timelines/collections/components/TimelineCard/TimelineCard.styled.tsx b/frontend/src/metabase/timelines/collections/components/TimelineCard/TimelineCard.styled.tsx
index 68daa7ae1a4..3618ada531c 100644
--- a/frontend/src/metabase/timelines/collections/components/TimelineCard/TimelineCard.styled.tsx
+++ b/frontend/src/metabase/timelines/collections/components/TimelineCard/TimelineCard.styled.tsx
@@ -8,7 +8,7 @@ import { Markdown } from "metabase/common/components/Markdown";
import { Icon } from "metabase/ui";
export const CardIcon = styled(Icon)`
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
width: 1.375rem;
height: 1.375rem;
`;
diff --git a/frontend/src/metabase/timelines/common/components/ModalHeader/ModalHeader.styled.tsx b/frontend/src/metabase/timelines/common/components/ModalHeader/ModalHeader.styled.tsx
index 9627af2b323..d250fa4808a 100644
--- a/frontend/src/metabase/timelines/common/components/ModalHeader/ModalHeader.styled.tsx
+++ b/frontend/src/metabase/timelines/common/components/ModalHeader/ModalHeader.styled.tsx
@@ -35,5 +35,5 @@ export const HeaderCloseButton = styled(IconButtonWrapper)`
height: 36px;
width: 36px;
flex: 0 0 auto;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
`;
diff --git a/frontend/src/metabase/timelines/common/components/ModalHeader/ModalHeader.tsx b/frontend/src/metabase/timelines/common/components/ModalHeader/ModalHeader.tsx
index 1797e9007bf..f1d2d2ad042 100644
--- a/frontend/src/metabase/timelines/common/components/ModalHeader/ModalHeader.tsx
+++ b/frontend/src/metabase/timelines/common/components/ModalHeader/ModalHeader.tsx
@@ -52,7 +52,7 @@ const ModalHeader = ({
{pathOptions?.showPath && (
<Group gap="xs" align="center">
{c("Refers to: 'Events' in a collection").t`in`}
- <Icon name="folder" c="text-tertiary" />
+ <Icon name="folder" c="text-disabled" />
{pathOptions.collectionName}
</Group>
)}
diff --git a/frontend/src/metabase/transforms/pages/NoWritableDatabasesEmptyState/NoWritableDatabasesEmptyState.tsx b/frontend/src/metabase/transforms/pages/NoWritableDatabasesEmptyState/NoWritableDatabasesEmptyState.tsx
index 26dcf8a115e..dfd80d9695b 100644
--- a/frontend/src/metabase/transforms/pages/NoWritableDatabasesEmptyState/NoWritableDatabasesEmptyState.tsx
+++ b/frontend/src/metabase/transforms/pages/NoWritableDatabasesEmptyState/NoWritableDatabasesEmptyState.tsx
@@ -24,7 +24,7 @@ export function NoWritableDatabasesEmptyState() {
/>
<Center flex={1}>
<Stack align="center" maw="30rem" gap="md">
- <Icon name="database" size={48} c="text-tertiary" />
+ <Icon name="database" size={48} c="text-disabled" />
<Title
order={3}
ta="center"
diff --git a/frontend/src/metabase/transforms/pages/TransformRunPage/RunSection/RunSection.tsx b/frontend/src/metabase/transforms/pages/TransformRunPage/RunSection/RunSection.tsx
index e1e9c6a32f2..4acc5f93de7 100644
--- a/frontend/src/metabase/transforms/pages/TransformRunPage/RunSection/RunSection.tsx
+++ b/frontend/src/metabase/transforms/pages/TransformRunPage/RunSection/RunSection.tsx
@@ -92,7 +92,7 @@ function RunStatusSection({ transform }: RunStatusSectionProps) {
const runExtra = status === "succeeded" && previousStatus === "canceling" && (
<Box
- c="text-tertiary"
+ c="text-disabled"
ml="lg"
>{t`This run succeeded before it had a chance to cancel.`}</Box>
);
diff --git a/frontend/src/metabase/ui/colors/colors.ts b/frontend/src/metabase/ui/colors/colors.ts
index 61c1875e508..a9aae0f311f 100644
--- a/frontend/src/metabase/ui/colors/colors.ts
+++ b/frontend/src/metabase/ui/colors/colors.ts
@@ -31,5 +31,5 @@ export const mutateColors = (whitelabelColors: ColorSettings) => {
export const staticVizOverrides = {
"text-primary": baseColors.orion[80],
"text-secondary": baseColors.orion[60],
- "text-tertiary": baseColors.orion[40],
+ "text-disabled": baseColors.orion[40],
};
diff --git a/frontend/src/metabase/ui/colors/constants/themes/dark.ts b/frontend/src/metabase/ui/colors/constants/themes/dark.ts
index a0aa0fd86b3..d28589b3a87 100644
--- a/frontend/src/metabase/ui/colors/constants/themes/dark.ts
+++ b/frontend/src/metabase/ui/colors/constants/themes/dark.ts
@@ -131,13 +131,18 @@ const actualColors = {
"border-neutral-strong": baseColors.orionAlphaInverse[30],
"border-neutral-strongest": baseColors.orionAlphaInverse[50],
"border-neutral-subtle": baseColors.orionAlphaInverse[10],
+ "core-blue-saturated": baseColors.ocean[40],
"core-brand-hover": baseColors.brand[30],
"core-gold": "#FFD700",
+ "core-green-saturated": baseColors.palm[40],
"core-info": baseColors.orion[50],
"core-metabase_brand": baseColors.blue[40],
"core-metabase_brand-hover": baseColors.blue[50],
+ "core-purple-saturated": baseColors.octopus[40],
+ "core-red-saturated": baseColors.lobster[40],
"core-white": baseColors.orion[110],
"core-white_constant": "white",
+ "core-yellow-saturated": baseColors.dubloon[30],
"feedback-negative": baseColors.lobster[50],
"feedback-negative-strong": baseColors.lobster[30],
"feedback-neutral-strong": baseColors.orionAlphaInverse[30],
@@ -167,13 +172,8 @@ const actualColors = {
"text-secondary": baseColors.orionAlphaInverse[60],
"text-secondary-inverse": baseColors.orionAlpha[60],
"text-selected": baseColors.white,
- "text-syntax-constant": baseColors.lobster[40],
- "text-syntax-keyword": baseColors.octopus[40],
"text-syntax-parameter": baseColors.mango[40],
"text-syntax-parameter-active": baseColors.mango[90],
- "text-syntax-string": baseColors.palm[40],
- "text-syntax-variable": baseColors.ocean[40],
- "text-syntax-yellow": baseColors.dubloon[30],
"tooltip-background": baseColors.orion[70],
"tooltip-background-focused": `color-mix(in srgb, ${baseColors.orion[70]} 50%, #000)`,
"tooltip-text": baseColors.orionAlphaInverse[80],
diff --git a/frontend/src/metabase/ui/colors/constants/themes/light.ts b/frontend/src/metabase/ui/colors/constants/themes/light.ts
index 3cf9e55d7e7..71b7088a3a9 100644
--- a/frontend/src/metabase/ui/colors/constants/themes/light.ts
+++ b/frontend/src/metabase/ui/colors/constants/themes/light.ts
@@ -132,13 +132,18 @@ const actualColors = {
"border-neutral-strong": baseColors.orionAlpha[30],
"border-neutral-strongest": baseColors.orionAlpha[50],
"border-neutral-subtle": baseColors.orionAlpha[10],
+ "core-blue-saturated": baseColors.ocean[60],
"core-brand-hover": baseColors.brand[50],
"core-gold": "#FFD700",
+ "core-green-saturated": baseColors.palm[60],
"core-info": baseColors.orion[40],
"core-metabase_brand": baseColors.blue[40],
"core-metabase_brand-hover": baseColors.blue[30],
+ "core-purple-saturated": baseColors.octopus[60],
+ "core-red-saturated": baseColors.lobster[60],
"core-white": baseColors.white,
"core-white_constant": "white",
+ "core-yellow-saturated": baseColors.dubloon[30],
"feedback-negative": baseColors.lobster[50],
"feedback-negative-strong": baseColors.lobster[60],
"feedback-neutral-strong": baseColors.orionAlpha[60],
@@ -168,13 +173,8 @@ const actualColors = {
"text-secondary": baseColors.orionAlpha[60],
"text-secondary-inverse": baseColors.orionAlphaInverse[60],
"text-selected": baseColors.orionAlpha[80],
- "text-syntax-constant": baseColors.lobster[60],
- "text-syntax-keyword": baseColors.octopus[60],
"text-syntax-parameter": baseColors.mango[60],
"text-syntax-parameter-active": baseColors.mango[10],
- "text-syntax-string": baseColors.palm[60],
- "text-syntax-variable": baseColors.ocean[60],
- "text-syntax-yellow": baseColors.dubloon[30],
"tooltip-background": baseColors.orion[80],
"tooltip-background-focused": `color-mix(in srgb, ${baseColors.orion[80]} 50%, #000)`,
"tooltip-text": baseColors.white,
diff --git a/frontend/src/metabase/ui/colors/types/color-keys.ts b/frontend/src/metabase/ui/colors/types/color-keys.ts
index ebb03964d8e..53f822a840a 100644
--- a/frontend/src/metabase/ui/colors/types/color-keys.ts
+++ b/frontend/src/metabase/ui/colors/types/color-keys.ts
@@ -117,14 +117,19 @@ export type MetabaseColorKey =
| "border-neutral-strong"
| "border-neutral-strongest"
| "border-neutral-subtle"
+ | "core-blue-saturated"
| "core-brand"
| "core-brand-hover"
| "core-filter"
| "core-gold"
+ | "core-green-saturated"
| "core-info"
+ | "core-purple-saturated"
+ | "core-red-saturated"
| "core-summarize"
| "core-white"
| "core-white_constant"
+ | "core-yellow-saturated"
| "feedback-negative"
| "feedback-negative-strong"
| "feedback-neutral-strong"
@@ -151,13 +156,8 @@ export type MetabaseColorKey =
| "text-secondary"
| "text-secondary-inverse"
| "text-selected"
- | "text-syntax-constant"
- | "text-syntax-keyword"
| "text-syntax-parameter"
| "text-syntax-parameter-active"
- | "text-syntax-string"
- | "text-syntax-variable"
- | "text-syntax-yellow"
| "tooltip-background"
| "tooltip-background-focused"
| "tooltip-text"
diff --git a/frontend/src/metabase/ui/component-theme.ts b/frontend/src/metabase/ui/component-theme.ts
index d6695ec4144..74770c58c6c 100644
--- a/frontend/src/metabase/ui/component-theme.ts
+++ b/frontend/src/metabase/ui/component-theme.ts
@@ -252,7 +252,7 @@ export const DEFAULT_METABASE_COMPONENT_THEME: MetabaseComponentTheme = {
},
rowToggle: {
textColor: "text-primary-inverse",
- backgroundColor: "text-tertiary", // TODO: should it be "background_page-tertiary-inverse" ?
+ backgroundColor: "text-disabled", // TODO: should it be "background_page-tertiary-inverse" ?
},
},
cartesian: {
diff --git a/frontend/src/metabase/ui/components/buttons/ActionIcon/ActionIcon.module.css b/frontend/src/metabase/ui/components/buttons/ActionIcon/ActionIcon.module.css
index b8ae6789ae9..6e10d09eaa6 100644
--- a/frontend/src/metabase/ui/components/buttons/ActionIcon/ActionIcon.module.css
+++ b/frontend/src/metabase/ui/components/buttons/ActionIcon/ActionIcon.module.css
@@ -1,11 +1,11 @@
.root {
&[data-disabled] {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
pointer-events: all;
}
&[data-variant="subtle"] {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
&:hover {
color: var(--mb-color-text-secondary);
@@ -62,7 +62,7 @@
&:disabled,
&[data-disabled] {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
background-color: transparent;
}
}
@@ -77,7 +77,7 @@
&:disabled,
&[data-disabled] {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
background-color: transparent;
}
}
diff --git a/frontend/src/metabase/ui/components/buttons/Button/Button.module.css b/frontend/src/metabase/ui/components/buttons/Button/Button.module.css
index 328f59111f2..5f0e10e0872 100644
--- a/frontend/src/metabase/ui/components/buttons/Button/Button.module.css
+++ b/frontend/src/metabase/ui/components/buttons/Button/Button.module.css
@@ -50,7 +50,7 @@
&[aria-pressed="true"],
&:hover {
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
background-color: var(--mb-color-background_surface-hover);
}
}
@@ -72,12 +72,12 @@
&:disabled,
&[data-disabled="true"] {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
border-color: transparent;
background-color: transparent;
&:hover {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
border-color: transparent;
background-color: transparent;
}
@@ -145,12 +145,12 @@
&:disabled,
&[data-disabled="true"] {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
border-color: transparent;
background-color: transparent;
&:hover {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
border-color: transparent;
background-color: transparent;
}
@@ -159,7 +159,7 @@
&:disabled,
&:disabled:hover {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
border-color: var(--mb-color-border-neutral);
background-color: var(--mb-color-background_surface-disabled);
}
diff --git a/frontend/src/metabase/ui/components/data-display/TreeTable/TreeTable.stories.tsx b/frontend/src/metabase/ui/components/data-display/TreeTable/TreeTable.stories.tsx
index 1d77250261b..d0bda0929eb 100644
--- a/frontend/src/metabase/ui/components/data-display/TreeTable/TreeTable.stories.tsx
+++ b/frontend/src/metabase/ui/components/data-display/TreeTable/TreeTable.stories.tsx
@@ -259,7 +259,7 @@ export const EmptyState = {
instance={instance}
emptyState={
<Box ta="center" py="xl">
- <Icon name="folder" size={48} c="text-tertiary" />
+ <Icon name="folder" size={48} c="text-disabled" />
<Text c="text-secondary" mt="md">
This collection is empty
</Text>
diff --git a/frontend/src/metabase/ui/components/data-display/TreeTable/TreeTable.tsx b/frontend/src/metabase/ui/components/data-display/TreeTable/TreeTable.tsx
index 2dcfc312cc2..7fab564b5bb 100644
--- a/frontend/src/metabase/ui/components/data-display/TreeTable/TreeTable.tsx
+++ b/frontend/src/metabase/ui/components/data-display/TreeTable/TreeTable.tsx
@@ -192,7 +192,7 @@ export function TreeTable<TData extends TreeNodeData>({
style={styles?.body}
>
{showEmptyState ? (
- <Center h="100%" p="xl" c="text-tertiary">
+ <Center h="100%" p="xl" c="text-disabled">
{emptyState}
</Center>
) : (
diff --git a/frontend/src/metabase/ui/components/feedback/Loader/Loader.tsx b/frontend/src/metabase/ui/components/feedback/Loader/Loader.tsx
index 911f2865a37..11fcd285289 100644
--- a/frontend/src/metabase/ui/components/feedback/Loader/Loader.tsx
+++ b/frontend/src/metabase/ui/components/feedback/Loader/Loader.tsx
@@ -30,7 +30,7 @@ export const Loader = ({ size = "md", label, ...props }: LoaderProps) => {
return label ? (
<Stack justify="center" align="center" gap="sm" mt="xl">
<MantineLoader {...props} size={getSize(SIZES[size] ?? size)} />
- <Text c="text-tertiary" size="xl">
+ <Text c="text-disabled" size="xl">
{label}
</Text>
</Stack>
diff --git a/frontend/src/metabase/ui/components/icons/Icon/Icon.tsx b/frontend/src/metabase/ui/components/icons/Icon/Icon.tsx
index 4431d69fc7c..df243e50885 100644
--- a/frontend/src/metabase/ui/components/icons/Icon/Icon.tsx
+++ b/frontend/src/metabase/ui/components/icons/Icon/Icon.tsx
@@ -18,7 +18,7 @@ const PALETTE_KEYS = new Set<string>(ALL_COLOR_NAMES);
/**
* Mantine's `Box` forwards the `color` prop to the SVG as a presentation
* attribute, so it only honors valid CSS color strings — bare palette keys
- * like `"saturated-yellow"` are silently ignored. Resolve known palette keys
+ * like `"core-yellow-saturated"` are silently ignored. Resolve known palette keys
* to their `--mb-color-*` CSS variables; pass other strings through.
*/
const resolveIconColor = (color: string | undefined) =>
@@ -51,7 +51,7 @@ export const Icon = forwardRef<SVGSVGElement, IconProps>(function Icon(
const IconComponent = (Icons[name] ?? Icons["unknown"]).component;
// Box forwards `color` as a raw SVG presentation attribute, so palette keys
- // like "saturated-yellow" don't render — only valid CSS color strings do.
+ // like "core-yellow-saturated" don't render — only valid CSS color strings do.
// Resolve known palette keys to their `--mb-color-*` CSS variables.
if ("color" in restProps) {
restProps.color = resolveIconColor(restProps.color) as ColorName;
diff --git a/frontend/src/metabase/ui/components/inputs/Calendar/Calendar.module.css b/frontend/src/metabase/ui/components/inputs/Calendar/Calendar.module.css
index 17fec5669da..4a1a1b9920f 100644
--- a/frontend/src/metabase/ui/components/inputs/Calendar/Calendar.module.css
+++ b/frontend/src/metabase/ui/components/inputs/Calendar/Calendar.module.css
@@ -55,7 +55,7 @@
.weekday {
width: 2.5rem;
height: 2rem;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
font-size: var(--mantine-font-size-sm);
line-height: var(--mantine-line-height-lg);
text-align: center;
@@ -72,7 +72,7 @@
border-radius: var(--mantine-radius-xs);
&:hover {
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
background-color: var(--mb-color-background_surface-hover);
}
@@ -181,7 +181,7 @@
&[data-selected]:hover,
&:hover:not(:disabled) {
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
background-color: var(--mb-color-background_surface-hover);
}
}
@@ -199,7 +199,7 @@
&[data-selected]:hover,
&:hover:not(:disabled) {
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
background-color: var(--mb-color-background_surface-hover);
}
}
@@ -230,7 +230,7 @@
}
&:hover:not([data-selected], :disabled) {
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
background-color: var(--mb-color-background_surface-hover);
}
}
diff --git a/frontend/src/metabase/ui/components/inputs/Checkbox/Checkbox.module.css b/frontend/src/metabase/ui/components/inputs/Checkbox/Checkbox.module.css
index 1e95e8859bb..2897f36406b 100644
--- a/frontend/src/metabase/ui/components/inputs/Checkbox/Checkbox.module.css
+++ b/frontend/src/metabase/ui/components/inputs/Checkbox/Checkbox.module.css
@@ -1,15 +1,15 @@
.root {
&:has(.input:disabled) {
.label {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.description {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.icon {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
}
diff --git a/frontend/src/metabase/ui/components/inputs/Combobox/Combobox.module.css b/frontend/src/metabase/ui/components/inputs/Combobox/Combobox.module.css
index a1650454a3c..31c5f452068 100644
--- a/frontend/src/metabase/ui/components/inputs/Combobox/Combobox.module.css
+++ b/frontend/src/metabase/ui/components/inputs/Combobox/Combobox.module.css
@@ -14,7 +14,7 @@
}
.empty {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
font-size: 0.875rem;
padding: 1.5rem 0.5rem;
}
diff --git a/frontend/src/metabase/ui/components/inputs/Input/Input.module.css b/frontend/src/metabase/ui/components/inputs/Input/Input.module.css
index 4f38c67ce72..8135ec098a5 100644
--- a/frontend/src/metabase/ui/components/inputs/Input/Input.module.css
+++ b/frontend/src/metabase/ui/components/inputs/Input/Input.module.css
@@ -13,12 +13,12 @@
background-color: var(--mb-color-background_page-primary);
&::placeholder {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
&:disabled {
background-color: var(--mb-color-background_surface-disabled);
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
&[data-size="xs"] {
diff --git a/frontend/src/metabase/ui/components/inputs/MultiAutocomplete/MultiAutocomplete.tsx b/frontend/src/metabase/ui/components/inputs/MultiAutocomplete/MultiAutocomplete.tsx
index 745304ad95f..cbf2cc01b40 100644
--- a/frontend/src/metabase/ui/components/inputs/MultiAutocomplete/MultiAutocomplete.tsx
+++ b/frontend/src/metabase/ui/components/inputs/MultiAutocomplete/MultiAutocomplete.tsx
@@ -157,7 +157,7 @@ export function MultiAutocomplete({
</Text>
}
>
- <Icon c="text-tertiary" name="info" />
+ <Icon c="text-disabled" name="info" />
</Tooltip>
);
diff --git a/frontend/src/metabase/ui/components/inputs/PasswordInput/PasswordInput.module.css b/frontend/src/metabase/ui/components/inputs/PasswordInput/PasswordInput.module.css
index 99f46fd0406..cbce9c09511 100644
--- a/frontend/src/metabase/ui/components/inputs/PasswordInput/PasswordInput.module.css
+++ b/frontend/src/metabase/ui/components/inputs/PasswordInput/PasswordInput.module.css
@@ -6,7 +6,7 @@
.innerInput {
&::placeholder {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
}
diff --git a/frontend/src/metabase/ui/components/inputs/PillsInput/PillsInput.module.css b/frontend/src/metabase/ui/components/inputs/PillsInput/PillsInput.module.css
index 24437ca7436..53c216ef083 100644
--- a/frontend/src/metabase/ui/components/inputs/PillsInput/PillsInput.module.css
+++ b/frontend/src/metabase/ui/components/inputs/PillsInput/PillsInput.module.css
@@ -3,7 +3,7 @@
height: 1.75rem;
&::placeholder {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
&:only-child {
diff --git a/frontend/src/metabase/ui/components/inputs/Radio/Radio.module.css b/frontend/src/metabase/ui/components/inputs/Radio/Radio.module.css
index 218ad3b432f..01903744ded 100644
--- a/frontend/src/metabase/ui/components/inputs/Radio/Radio.module.css
+++ b/frontend/src/metabase/ui/components/inputs/Radio/Radio.module.css
@@ -1,11 +1,11 @@
.root {
&:has(.radio:disabled) {
.label {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.description {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.icon {
@@ -20,7 +20,7 @@
}
.radio {
- border-color: var(--mb-color-text-tertiary);
+ border-color: var(--mb-color-text-disabled);
&:not(:disabled) {
cursor: pointer;
@@ -36,7 +36,7 @@
}
&:disabled:not(:checked) {
- border-color: var(--mb-color-text-tertiary);
+ border-color: var(--mb-color-text-disabled);
background-color: var(--mb-color-background_page-tertiary);
}
}
diff --git a/frontend/src/metabase/ui/components/inputs/SegmentedControl/SegmentedControl.module.css b/frontend/src/metabase/ui/components/inputs/SegmentedControl/SegmentedControl.module.css
index 53b0f004696..67b5e0fb9c9 100644
--- a/frontend/src/metabase/ui/components/inputs/SegmentedControl/SegmentedControl.module.css
+++ b/frontend/src/metabase/ui/components/inputs/SegmentedControl/SegmentedControl.module.css
@@ -13,7 +13,7 @@
&[data-disabled] {
&,
&:hover {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
}
@@ -35,7 +35,7 @@
&:disabled + label {
&,
&:hover {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
}
}
diff --git a/frontend/src/metabase/ui/components/inputs/Select/Select.module.css b/frontend/src/metabase/ui/components/inputs/Select/Select.module.css
index 33b89384868..fcb4e08b23f 100644
--- a/frontend/src/metabase/ui/components/inputs/Select/Select.module.css
+++ b/frontend/src/metabase/ui/components/inputs/Select/Select.module.css
@@ -32,15 +32,15 @@
&[data-disabled] {
opacity: 1;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
&::placeholder {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
[data-position="right"] {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
/*
@@ -69,11 +69,11 @@
[data-disabled] & {
opacity: 1;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
background-color: var(--mb-color-background_page-tertiary);
&::placeholder {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
}
}
@@ -85,7 +85,7 @@
margin-top: 1px;
&:hover {
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
background-color: var(--mb-color-background_surface-hover);
}
@@ -96,7 +96,7 @@
&[data-combobox-disabled] {
cursor: default;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
pointer-events: none;
opacity: 0.75;
}
@@ -125,7 +125,7 @@
}
.SelectItemsNothingFound {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
padding: var(--mantine-spacing-sm);
}
diff --git a/frontend/src/metabase/ui/components/inputs/Select/SelectItem/SelectItem.module.css b/frontend/src/metabase/ui/components/inputs/Select/SelectItem/SelectItem.module.css
index 4c2f4d2670a..aa120ad9cdb 100644
--- a/frontend/src/metabase/ui/components/inputs/Select/SelectItem/SelectItem.module.css
+++ b/frontend/src/metabase/ui/components/inputs/Select/SelectItem/SelectItem.module.css
@@ -4,7 +4,7 @@
overflow-wrap: break-word;
&:hover {
- color: var(--mb-color-text-hover);
+ color: var(--mb-color-text-brand-hover);
background-color: var(--mb-color-background_surface-hover);
}
diff --git a/frontend/src/metabase/ui/components/inputs/Switch/Switch.module.css b/frontend/src/metabase/ui/components/inputs/Switch/Switch.module.css
index baee5e6cddc..394c8d28e73 100644
--- a/frontend/src/metabase/ui/components/inputs/Switch/Switch.module.css
+++ b/frontend/src/metabase/ui/components/inputs/Switch/Switch.module.css
@@ -41,12 +41,12 @@
&[data-disabled] {
.label {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
cursor: default;
}
.description {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
}
}
diff --git a/frontend/src/metabase/ui/components/navigation/Tabs/Tab.module.css b/frontend/src/metabase/ui/components/navigation/Tabs/Tab.module.css
index 7e0be804951..c87aa84c826 100644
--- a/frontend/src/metabase/ui/components/navigation/Tabs/Tab.module.css
+++ b/frontend/src/metabase/ui/components/navigation/Tabs/Tab.module.css
@@ -35,7 +35,7 @@
}
&:disabled {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
opacity: 1;
}
diff --git a/frontend/src/metabase/ui/components/overlays/Menu/Menu.module.css b/frontend/src/metabase/ui/components/overlays/Menu/Menu.module.css
index 3dd37f10c75..fc588387606 100644
--- a/frontend/src/metabase/ui/components/overlays/Menu/Menu.module.css
+++ b/frontend/src/metabase/ui/components/overlays/Menu/Menu.module.css
@@ -13,7 +13,7 @@
padding: var(--mantine-spacing-sm);
&[data-disabled="true"] {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
opacity: 1;
}
@@ -35,13 +35,13 @@
}
&[data-position="right"] {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
margin-left: var(--mantine-spacing-md);
}
}
.label {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
font-size: var(--mantine-font-size-sm);
line-height: var(--mantine-line-height);
padding: var(--mantine-spacing-xs) var(--mantine-spacing-sm);
diff --git a/frontend/src/metabase/ui/components/overlays/Modal/Modal.module.css b/frontend/src/metabase/ui/components/overlays/Modal/Modal.module.css
index 6ee19f3c4ba..ac33eaf0ab2 100644
--- a/frontend/src/metabase/ui/components/overlays/Modal/Modal.module.css
+++ b/frontend/src/metabase/ui/components/overlays/Modal/Modal.module.css
@@ -26,7 +26,7 @@
}
.ModalCloseButton {
- color: var(--mb-color-text-tertiary) !important;
+ color: var(--mb-color-text-disabled) !important;
padding: 0;
width: rem(18px);
height: rem(18px);
diff --git a/frontend/src/metabase/ui/stories/showcase/StoryJsx.tsx b/frontend/src/metabase/ui/stories/showcase/StoryJsx.tsx
index d33260cf0bb..5b7feee024a 100644
--- a/frontend/src/metabase/ui/stories/showcase/StoryJsx.tsx
+++ b/frontend/src/metabase/ui/stories/showcase/StoryJsx.tsx
@@ -54,8 +54,8 @@ export function tokenizeJsx(code: string): JsxToken[] {
const TOKEN_COLOR: Record<JsxTokenType, string> = {
punctuation: "var(--mb-color-text-secondary)",
tag: "var(--mb-color-text-primary)",
- attribute: "var(--mb-color-text-syntax-variable)",
- value: "var(--mb-color-text-syntax-string)",
+ attribute: "var(--mb-color-core-blue-saturated)",
+ value: "var(--mb-color-core-green-saturated)",
plain: "var(--mb-color-text-primary)",
};
diff --git a/frontend/src/metabase/ui/syntax/highlight.module.css b/frontend/src/metabase/ui/syntax/highlight.module.css
index a70c9d1f9b8..3c8b0967df8 100644
--- a/frontend/src/metabase/ui/syntax/highlight.module.css
+++ b/frontend/src/metabase/ui/syntax/highlight.module.css
@@ -1,10 +1,10 @@
.keyword {
- color: var(--mb-color-saturated-purple);
+ color: var(--mb-color-core-purple-saturated);
}
.variable,
.function {
- color: var(--mb-color-saturated-blue);
+ color: var(--mb-color-core-blue-saturated);
}
.function.variableName {
@@ -13,16 +13,16 @@
.constant,
.typeName {
- color: var(--mb-color-saturated-red);
+ color: var(--mb-color-core-red-saturated);
}
.string {
- color: var(--mb-color-saturated-green);
+ color: var(--mb-color-core-green-saturated);
}
.number,
.bool {
- color: var(--mb-color-saturated-red);
+ color: var(--mb-color-core-red-saturated);
}
.paren {
@@ -32,12 +32,12 @@
.comment,
.lineComment,
.blockComment {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
font-style: italic;
}
.brace {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
}
.squareBracket {
@@ -53,7 +53,7 @@
}
.logicOperator {
- color: var(--mb-color-saturated-purple);
+ color: var(--mb-color-core-purple-saturated);
}
.arithmeticOperator,
@@ -62,9 +62,9 @@
}
.escape {
- color: var(--mb-color-saturated-red);
+ color: var(--mb-color-core-red-saturated);
}
.typeName {
- color: var(--mb-color-saturated-purple);
+ color: var(--mb-color-core-purple-saturated);
}
diff --git a/frontend/src/metabase/visualizations/components/ChartTooltip/StackedDataTooltip/StackedDataTooltip.tsx b/frontend/src/metabase/visualizations/components/ChartTooltip/StackedDataTooltip/StackedDataTooltip.tsx
index 98a213af9d8..7f7174941e8 100644
--- a/frontend/src/metabase/visualizations/components/ChartTooltip/StackedDataTooltip/StackedDataTooltip.tsx
+++ b/frontend/src/metabase/visualizations/components/ChartTooltip/StackedDataTooltip/StackedDataTooltip.tsx
@@ -52,7 +52,7 @@ const StackedDataTooltip = ({
const trimmedBodyRows = groupExcessiveTooltipRows(
sortedBodyRows,
MAX_BODY_ROWS,
- hasColorIndicators ? color("text-tertiary") : undefined,
+ hasColorIndicators ? color("text-disabled") : undefined,
);
return (
diff --git a/frontend/src/metabase/visualizations/components/EmptyVizState/EmptyVizState.tsx b/frontend/src/metabase/visualizations/components/EmptyVizState/EmptyVizState.tsx
index 07501d7c90d..d9d8e218814 100644
--- a/frontend/src/metabase/visualizations/components/EmptyVizState/EmptyVizState.tsx
+++ b/frontend/src/metabase/visualizations/components/EmptyVizState/EmptyVizState.tsx
@@ -100,7 +100,7 @@ export const EmptyVizState = ({
)
} at the top right corner. ${primaryText}`}
</Text>
- <Text c="text-tertiary">{secondaryText}</Text>
+ <Text c="text-disabled">{secondaryText}</Text>
</>
)}
diff --git a/frontend/src/metabase/visualizations/components/TrendInfo/TrendInfo.tsx b/frontend/src/metabase/visualizations/components/TrendInfo/TrendInfo.tsx
index 8c0f30e9884..1bffa7a9da9 100644
--- a/frontend/src/metabase/visualizations/components/TrendInfo/TrendInfo.tsx
+++ b/frontend/src/metabase/visualizations/components/TrendInfo/TrendInfo.tsx
@@ -39,7 +39,7 @@ export function TrendInfo({ value, dateLabel, change }: TrendInfoProps) {
)}
{change != null && change.percent === 0 && (
<Flex align="center" gap={4}>
- <Text c="text-tertiary" fw={700}>
+ <Text c="text-disabled" fw={700}>
{t`No change`}
</Text>
<Text c="text-secondary">{change.description}</Text>
diff --git a/frontend/src/metabase/visualizations/components/Visualization/ErrorView/ErrorView.styled.tsx b/frontend/src/metabase/visualizations/components/Visualization/ErrorView/ErrorView.styled.tsx
index 534f8cf88ca..30042fb8eb4 100644
--- a/frontend/src/metabase/visualizations/components/Visualization/ErrorView/ErrorView.styled.tsx
+++ b/frontend/src/metabase/visualizations/components/Visualization/ErrorView/ErrorView.styled.tsx
@@ -15,7 +15,7 @@ export const Root = styled.div<{ isDashboard?: boolean }>`
padding-right: 0.5rem;
padding-bottom: 0.5rem;
color: ${({ isDashboard }) =>
- isDashboard ? color("text-secondary") : color("text-tertiary")};
+ isDashboard ? color("text-secondary") : color("text-disabled")};
`;
export const StyledIcon = styled(Icon)`
diff --git a/frontend/src/metabase/visualizations/components/Visualization/NoResultsView/NoResultsView.styled.tsx b/frontend/src/metabase/visualizations/components/Visualization/NoResultsView/NoResultsView.styled.tsx
index ad01a633a60..d5fc189c69d 100644
--- a/frontend/src/metabase/visualizations/components/Visualization/NoResultsView/NoResultsView.styled.tsx
+++ b/frontend/src/metabase/visualizations/components/Visualization/NoResultsView/NoResultsView.styled.tsx
@@ -11,7 +11,7 @@ export const Root = styled.div`
padding-left: 0.5rem;
padding-right: 0.5rem;
padding-bottom: 0.5rem;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
`;
export const ShortMessage = styled.span`
diff --git a/frontend/src/metabase/visualizations/components/legend/LegendCaption/LegendCaption.styled.tsx b/frontend/src/metabase/visualizations/components/legend/LegendCaption/LegendCaption.styled.tsx
index 579ffddd99f..1b8d550fae6 100644
--- a/frontend/src/metabase/visualizations/components/legend/LegendCaption/LegendCaption.styled.tsx
+++ b/frontend/src/metabase/visualizations/components/legend/LegendCaption/LegendCaption.styled.tsx
@@ -43,7 +43,7 @@ export const LegendDescriptionIcon = styled(
);
}),
)`
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
margin: 0 0.25rem;
&:hover {
diff --git a/frontend/src/metabase/visualizations/components/legend/LegendItemDot.styled.tsx b/frontend/src/metabase/visualizations/components/legend/LegendItemDot.styled.tsx
index e43bb4137d1..ae0643c1070 100644
--- a/frontend/src/metabase/visualizations/components/legend/LegendItemDot.styled.tsx
+++ b/frontend/src/metabase/visualizations/components/legend/LegendItemDot.styled.tsx
@@ -20,7 +20,7 @@ export const InnerCircle = styled.div<{ isVisible: boolean }>`
props.isVisible ? props.color : "var(--mb-color-background_page-primary)"};
border: 2px solid
${(props) =>
- props.isVisible ? props.color : "var(--mb-color-text-tertiary)"};
+ props.isVisible ? props.color : "var(--mb-color-text-disabled)"};
transition: all 0.2s;
`;
diff --git a/frontend/src/metabase/visualizations/components/settings/ChartSettingMessage.tsx b/frontend/src/metabase/visualizations/components/settings/ChartSettingMessage.tsx
index d2d233e142c..8a8e42fec3c 100644
--- a/frontend/src/metabase/visualizations/components/settings/ChartSettingMessage.tsx
+++ b/frontend/src/metabase/visualizations/components/settings/ChartSettingMessage.tsx
@@ -10,7 +10,7 @@ export const ChartSettingMessage = ({ children }: PropsWithChildren) => {
py="md"
px={0}
bg="background_page-secondary"
- c="text-tertiary"
+ c="text-disabled"
fw="bold"
style={{ borderRadius: theme.radius.md }}
>
diff --git a/frontend/src/metabase/visualizations/components/settings/ChartSettingSegmentsEditor/ChartSettingSegmentsEditor.tsx b/frontend/src/metabase/visualizations/components/settings/ChartSettingSegmentsEditor/ChartSettingSegmentsEditor.tsx
index 589a9c6176a..58427771bc3 100644
--- a/frontend/src/metabase/visualizations/components/settings/ChartSettingSegmentsEditor/ChartSettingSegmentsEditor.tsx
+++ b/frontend/src/metabase/visualizations/components/settings/ChartSettingSegmentsEditor/ChartSettingSegmentsEditor.tsx
@@ -103,7 +103,7 @@ export const ChartSettingSegmentsEditor = ({
<td>
{(segments.length > 1 || canRemoveAll) && (
<Button
- leftSection={<Icon name="trash" c="text-tertiary" />}
+ leftSection={<Icon name="trash" c="text-disabled" />}
onClick={() =>
onChange(segments.filter((v, i) => i !== index))
}
diff --git a/frontend/src/metabase/visualizations/components/settings/ChartSettingSeriesOrder.tsx b/frontend/src/metabase/visualizations/components/settings/ChartSettingSeriesOrder.tsx
index 913e96b9e9b..d2d1618d4e5 100644
--- a/frontend/src/metabase/visualizations/components/settings/ChartSettingSeriesOrder.tsx
+++ b/frontend/src/metabase/visualizations/components/settings/ChartSettingSeriesOrder.tsx
@@ -186,7 +186,7 @@ export const ChartSettingSeriesOrder = ({
<Flex justify="space-between" px={4}>
<Group p={4} gap="sm">
<ColorSelector
- value={otherColor ?? color("text-tertiary")}
+ value={otherColor ?? color("text-disabled")}
colors={getAccentColors()}
onChange={onOtherColorChange}
pillSize="small"
diff --git a/frontend/src/metabase/visualizations/components/skeletons/StaticSkeleton/StaticSkeleton.styled.tsx b/frontend/src/metabase/visualizations/components/skeletons/StaticSkeleton/StaticSkeleton.styled.tsx
index c6035a9f2a2..23418245a4e 100644
--- a/frontend/src/metabase/visualizations/components/skeletons/StaticSkeleton/StaticSkeleton.styled.tsx
+++ b/frontend/src/metabase/visualizations/components/skeletons/StaticSkeleton/StaticSkeleton.styled.tsx
@@ -22,7 +22,7 @@ export const SkeletonDescription = styled(MarkdownPreview)`
export const SkeletonTooltipIcon = styled(Icon)`
display: block;
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
width: 0.75rem;
height: 0.75rem;
`;
diff --git a/frontend/src/metabase/visualizations/echarts/cartesian/timeline-events/option.ts b/frontend/src/metabase/visualizations/echarts/cartesian/timeline-events/option.ts
index a5bb9f40a64..750e687e07e 100644
--- a/frontend/src/metabase/visualizations/echarts/cartesian/timeline-events/option.ts
+++ b/frontend/src/metabase/visualizations/echarts/cartesian/timeline-events/option.ts
@@ -58,7 +58,7 @@ export const getTimelineEventsSeries = (
selectedEventsIds.includes(event.id),
);
- const color = getColor(isSelected ? "core-brand" : "text-tertiary");
+ const color = getColor(isSelected ? "core-brand" : "text-disabled");
const iconName =
events.length === 1 ? (events[0].icon as IconName) : "star";
diff --git a/frontend/src/metabase/visualizations/echarts/pie/model/index.ts b/frontend/src/metabase/visualizations/echarts/pie/model/index.ts
index aba272a05b3..11263657084 100644
--- a/frontend/src/metabase/visualizations/echarts/pie/model/index.ts
+++ b/frontend/src/metabase/visualizations/echarts/pie/model/index.ts
@@ -196,7 +196,7 @@ function aggregateChildrenSlices(
value: otherTotal,
rawValue: otherTotal,
normalizedPercentage: Math.abs(otherTotal / node.value),
- color: renderingContext.getColor("text-tertiary"),
+ color: renderingContext.getColor("text-disabled"),
children: otherSliceChildren,
visible: true,
isOther: true,
@@ -516,7 +516,7 @@ export function getPieChartModel(
value: Math.abs(otherTotal),
rawValue: otherTotal,
normalizedPercentage: visible ? Math.abs(otherTotal / total) : 0,
- color: renderingContext.getColor("text-tertiary"),
+ color: renderingContext.getColor("text-disabled"),
column: colDescs.dimensionDesc.column,
visible,
children,
@@ -554,7 +554,7 @@ export function getPieChartModel(
value: 1,
rawValue: 0,
normalizedPercentage: 0,
- color: renderingContext.getColor("text-tertiary"),
+ color: renderingContext.getColor("text-disabled"),
visible: true,
column: colDescs.dimensionDesc.column,
children: new Map(),
diff --git a/frontend/src/metabase/visualizations/lib/settings/graph.ts b/frontend/src/metabase/visualizations/lib/settings/graph.ts
index b2bd945b206..698ba822671 100644
--- a/frontend/src/metabase/visualizations/lib/settings/graph.ts
+++ b/frontend/src/metabase/visualizations/lib/settings/graph.ts
@@ -639,7 +639,7 @@ export const GRAPH_DISPLAY_VALUES_SETTINGS: VisualizationSettingsDefinitions = {
],
},
"graph.other_category_color": {
- getDefault: () => color("text-tertiary"),
+ getDefault: () => color("text-disabled"),
},
"graph.other_category_aggregation_fn": {
getHidden: () => true,
diff --git a/frontend/src/metabase/visualizations/visualizations/List/components/ListView/ColumnValue.tsx b/frontend/src/metabase/visualizations/visualizations/List/components/ListView/ColumnValue.tsx
index c62123fcb22..28a73412b95 100644
--- a/frontend/src/metabase/visualizations/visualizations/List/components/ListView/ColumnValue.tsx
+++ b/frontend/src/metabase/visualizations/visualizations/List/components/ListView/ColumnValue.tsx
@@ -240,7 +240,7 @@ export function ColumnValue({
{String(value).slice(0, -1)}
<span
style={{
- color: "var(--mb-color-text-tertiary)",
+ color: "var(--mb-color-text-disabled)",
paddingLeft: "0.25rem",
}}
>
@@ -265,7 +265,7 @@ export function ColumnValue({
<Text fw="bold">
<span
style={{
- color: "var(--mb-color-text-tertiary)",
+ color: "var(--mb-color-text-disabled)",
fontWeight: "normal",
paddingRight: "0.25rem",
}}
diff --git a/frontend/src/metabase/visualizations/visualizations/List/components/ListView/ListView.module.css b/frontend/src/metabase/visualizations/visualizations/List/components/ListView/ListView.module.css
index e20b20a6b80..e5a787a31c7 100644
--- a/frontend/src/metabase/visualizations/visualizations/List/components/ListView/ListView.module.css
+++ b/frontend/src/metabase/visualizations/visualizations/List/components/ListView/ListView.module.css
@@ -88,7 +88,7 @@
}
.listEntityIcon {
- color: var(--mb-color-text-tertiary);
+ color: var(--mb-color-text-disabled);
&:hover {
color: var(--mb-color-core-brand);
@@ -101,7 +101,7 @@
background: var(--mb-color-background_surface-brand-subtle);
justify-content: center;
align-items: center;
- border: 1px dashed var(--mb-color-saturated-blue);
+ border: 1px dashed var(--mb-color-core-blue-saturated);
border-radius: 50%;
overflow: hidden;
padding: 0.5rem;
diff --git a/frontend/src/metabase/visualizations/visualizations/List/components/ListView/ListViewConfiguration.tsx b/frontend/src/metabase/visualizations/visualizations/List/components/ListView/ListViewConfiguration.tsx
index 180f4a311ff..80ada9f292e 100644
--- a/frontend/src/metabase/visualizations/visualizations/List/components/ListView/ListViewConfiguration.tsx
+++ b/frontend/src/metabase/visualizations/visualizations/List/components/ListView/ListViewConfiguration.tsx
@@ -274,7 +274,7 @@ export const ListViewConfiguration = ({
c={
iconConfig.entityIconEnabled
? (iconConfig.selectedIconColor as ColorName)
- : "text-tertiary"
+ : "text-disabled"
}
/>
)}
diff --git a/frontend/src/metabase/visualizations/visualizations/SmartScalar/PreviousValueComparison/PreviousValueComparison.tsx b/frontend/src/metabase/visualizations/visualizations/SmartScalar/PreviousValueComparison/PreviousValueComparison.tsx
index dfa9bee8426..f44e21d0322 100644
--- a/frontend/src/metabase/visualizations/visualizations/SmartScalar/PreviousValueComparison/PreviousValueComparison.tsx
+++ b/frontend/src/metabase/visualizations/visualizations/SmartScalar/PreviousValueComparison/PreviousValueComparison.tsx
@@ -120,7 +120,7 @@ export function PreviousValueComparison({
className={DashboardS.fullscreenNormalText}
>
<VariationPercent
- color="text-tertiary"
+ color="text-disabled"
comparison={comparison}
iconSize={ICON_SIZE}
>
diff --git a/frontend/src/metabase/visualizations/visualizations/SmartScalar/SettingsComponents/PeriodsAgoMenuOption.tsx b/frontend/src/metabase/visualizations/visualizations/SmartScalar/SettingsComponents/PeriodsAgoMenuOption.tsx
index fc5ea919891..dfc546ee48e 100644
--- a/frontend/src/metabase/visualizations/visualizations/SmartScalar/SettingsComponents/PeriodsAgoMenuOption.tsx
+++ b/frontend/src/metabase/visualizations/visualizations/SmartScalar/SettingsComponents/PeriodsAgoMenuOption.tsx
@@ -110,7 +110,7 @@ export function PeriodsAgoMenuOption({
<Text fw="bold">{name}</Text>
</Group>
{!!message && (
- <Text size="xs" color="text-tertiary" mt="xs">
+ <Text size="xs" color="text-disabled" mt="xs">
{message}
</Text>
)}
diff --git a/frontend/src/metabase/visualizer/components/DataImporter/DatasetsList/DatasetsListItem.module.css b/frontend/src/metabase/visualizer/components/DataImporter/DatasetsList/DatasetsListItem.module.css
index ae90f83cba6..c9aadb63ff7 100644
--- a/frontend/src/metabase/visualizer/components/DataImporter/DatasetsList/DatasetsListItem.module.css
+++ b/frontend/src/metabase/visualizer/components/DataImporter/DatasetsList/DatasetsListItem.module.css
@@ -53,5 +53,5 @@
}
.AddButton[data-variant="inverse"] {
- --button-color: var(--mb-color-text-tertiary);
+ --button-color: var(--mb-color-text-disabled);
}
diff --git a/frontend/src/metabase/visualizer/components/Header/Header.tsx b/frontend/src/metabase/visualizer/components/Header/Header.tsx
index d5e5302250d..523b58e791e 100644
--- a/frontend/src/metabase/visualizer/components/Header/Header.tsx
+++ b/frontend/src/metabase/visualizer/components/Header/Header.tsx
@@ -97,7 +97,7 @@ export function Header({
disabled={!canUndo}
onClick={undo}
leftSection={
- <Icon name="undo" c={canUndo ? "none" : "text-tertiary"} />
+ <Icon name="undo" c={canUndo ? "none" : "text-disabled"} />
}
/>
</Tooltip>
@@ -108,7 +108,7 @@ export function Header({
disabled={!canRedo}
onClick={redo}
leftSection={
- <Icon name="redo" c={canRedo ? "unset" : "text-tertiary"} />
+ <Icon name="redo" c={canRedo ? "unset" : "text-disabled"} />
}
/>
</Tooltip>
diff --git a/frontend/src/metabase/visualizer/components/VisualizationCanvas/VisualizationCanvas.tsx b/frontend/src/metabase/visualizer/components/VisualizationCanvas/VisualizationCanvas.tsx
index c82bb020735..e4580bf673c 100644
--- a/frontend/src/metabase/visualizer/components/VisualizationCanvas/VisualizationCanvas.tsx
+++ b/frontend/src/metabase/visualizer/components/VisualizationCanvas/VisualizationCanvas.tsx
@@ -76,7 +76,7 @@ export function VisualizationCanvas({ className }: VisualizationCanvasProps) {
>{t`Start by selecting a dataset`}</Title>
<Title
size="h5"
- c="text-tertiary"
+ c="text-disabled"
>{t`Find something to visualize in the column on the left.`}</Title>
</Flex>
</Center>
diff --git a/frontend/src/metabase/visualizer/components/VisualizationCanvas/wells/ScatterFloatingWell/ScatterFloatingWell.tsx b/frontend/src/metabase/visualizer/components/VisualizationCanvas/wells/ScatterFloatingWell/ScatterFloatingWell.tsx
index 5982109ad3f..f39fa72b622 100644
--- a/frontend/src/metabase/visualizer/components/VisualizationCanvas/wells/ScatterFloatingWell/ScatterFloatingWell.tsx
+++ b/frontend/src/metabase/visualizer/components/VisualizationCanvas/wells/ScatterFloatingWell/ScatterFloatingWell.tsx
@@ -59,7 +59,7 @@ export function ScatterFloatingWell() {
</Text>
</WellItem>
) : (
- <Text c="text-tertiary" ta="center">{t`Bubble size`}</Text>
+ <Text c="text-disabled" ta="center">{t`Bubble size`}</Text>
)}
</Box>
);