summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-12-11 15:16:04 -0600
committerAdam <[email protected]>2025-12-11 15:16:44 -0600
commitbfdb2365810ef4ba8f7084d2d714fd2fe1449fce (patch)
tree04effe3e6d338675493a6805a5492c033bec19a5 /packages/ui/src/components
parent4e92f54415c914a5ff73c3d682edc322e2151ef2 (diff)
downloadopencode-bfdb2365810ef4ba8f7084d2d714fd2fe1449fce.tar.gz
opencode-bfdb2365810ef4ba8f7084d2d714fd2fe1449fce.zip
fix: toast colors
Diffstat (limited to 'packages/ui/src/components')
-rw-r--r--packages/ui/src/components/toast.css32
-rw-r--r--packages/ui/src/components/tooltip.css1
2 files changed, 17 insertions, 16 deletions
diff --git a/packages/ui/src/components/toast.css b/packages/ui/src/components/toast.css
index 3389f477a..fbc84f13c 100644
--- a/packages/ui/src/components/toast.css
+++ b/packages/ui/src/components/toast.css
@@ -31,7 +31,7 @@
border-radius: var(--radius-lg);
border: 1px solid var(--border-weak-base);
background: var(--surface-float-base);
- color: rgba(253, 252, 252, 0.94);
+ color: var(--text-inverted-base);
box-shadow: var(--shadow-md);
[data-slot="toast-inner"] {
@@ -61,17 +61,17 @@
animation: toastSwipeOut 100ms ease-out forwards;
}
- &[data-variant="success"] {
- border-color: var(--color-semantic-positive);
- }
-
- &[data-variant="error"] {
- border-color: var(--color-semantic-danger);
- }
-
- &[data-variant="loading"] {
- border-color: var(--color-semantic-info);
- }
+ /* &[data-variant="success"] { */
+ /* border-color: var(--color-semantic-positive); */
+ /* } */
+ /**/
+ /* &[data-variant="error"] { */
+ /* border-color: var(--color-semantic-danger); */
+ /* } */
+ /**/
+ /* &[data-variant="loading"] { */
+ /* border-color: var(--color-semantic-info); */
+ /* } */
[data-slot="toast-icon"] {
flex-shrink: 0;
@@ -93,7 +93,7 @@
}
[data-slot="toast-title"] {
- color: rgba(253, 252, 252, 0.94);
+ color: var(--text-inverted-strong);
/* text-14-medium */
font-family: var(--font-family-sans);
@@ -107,7 +107,7 @@
}
[data-slot="toast-description"] {
- color: rgba(253, 249, 249, 0.7);
+ color: var(--text-inverted-base);
/* text-14-regular */
font-family: var(--font-family-sans);
@@ -132,7 +132,7 @@
padding: 0;
cursor: pointer;
- color: rgba(253, 252, 252, 0.94);
+ color: var(--text-inverted-strong);
font-family: var(--font-family-sans);
font-size: var(--font-size-base);
font-weight: var(--font-weight-medium);
@@ -144,7 +144,7 @@
}
&:last-child {
- color: rgba(253, 249, 249, 0.5);
+ color: var(--text-inverted-weak);
}
}
diff --git a/packages/ui/src/components/tooltip.css b/packages/ui/src/components/tooltip.css
index 72ee269b2..637986249 100644
--- a/packages/ui/src/components/tooltip.css
+++ b/packages/ui/src/components/tooltip.css
@@ -7,6 +7,7 @@
max-width: 320px;
border-radius: var(--radius-md);
background-color: var(--surface-float-base);
+ color: var(--text-inverted-base);
color: rgba(253, 252, 252, 0.94);
padding: 2px 8px;
border: 0.5px solid rgba(253, 252, 252, 0.2);