Skip to content

Commit

Permalink
fix(ui): Vars - adjust styles
Browse files Browse the repository at this point in the history
  • Loading branch information
vio committed Nov 23, 2024
1 parent bb92b1e commit 750612f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/ui/src/components/run-info/run-info.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
}

.baselineMetric {
color: var(--color-text-ultra-muted);
color: var(--color-text-muted);
font-size: var(--size-small);
line-height: var(--line-height-heading);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/css/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
--color-highlight-secondary: var(--green-2);
--color-highlight-success: var(--green-2);
--color-highlight-info: var(--blue-3);
--color-highlight-warning: var(--yellow-3);
--color-highlight-warning: var(--yellow-2);
--color-highlight-danger: var(--red-3);

--color-outline: var(--gray-4);
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/ui/button/button.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
border: var(--border-width) solid transparent;
background: none;
transition: var(--transition-out);
color: var(--color-text-ultra-muted);
color: var(--color-text-muted);
font-family: var(--font-family);
white-space: nowrap;
}
Expand All @@ -26,7 +26,7 @@ a.root {
.root:active,
.root:focus {
outline: none;
color: var(--color-text-muted);
color: var(--color-text);
transition: var(--transition-in);
}

Expand Down
7 changes: 4 additions & 3 deletions packages/ui/src/ui/filters/filters.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
position: relative;
width: 100%;
max-width: 240px;
color: var(--color-text);
color: var(--color-text-muted);
}

.filterControl {
Expand All @@ -28,7 +28,7 @@
}

.filterControl[disabled] + .filterLabel {
color: var(--color-text-muted);
color: var(--color-text-ultra-muted);
}

.filter:hover {
Expand All @@ -42,14 +42,15 @@
border-radius: var(--radius-small);
font-size: var(--size-small);
line-height: var(--space-4x);
color: var(--color-text-ultra-muted);
color: var(--color-text-muted);
transition: var(--transition-out);
}

.filterSingle:hover,
.filterSingle:active,
.filterSingle:focus {
border-color: var(--color-outline-intense);
color: var(--color-text);
transition: var(--transition-in);
}

Expand Down

0 comments on commit 750612f

Please sign in to comment.