-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make toast copy more consistent #2504
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Love the direction, thanks for doing this tedious stuff. |
Prettier is killing me. This sent me on an odyssey to see if addToast({ content: <>IP <HLs>{ephemeralIp.ip}</HLs> attached</> }) but neither one can. Reconsidering my choice of career. |
The highlighting might make the secondary color text look too dim. Here's what it looks like with both in |
df7f302
to
d90b1c7
Compare
f52198b
to
4ecef06
Compare
group-[.text-accent-secondary]:text-accent | ||
group-[.text-error-secondary]:text-error | ||
group-[.text-info-secondary]:text-info | ||
` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mad scientist stuff. This is the CSS selector it generates.
.group.text-accent-secondary .group-\[\.text-accent-secondary\]\:text-accent {
// ...
}
3308efc
to
63737d7
Compare
63737d7
to
0656409
Compare
0656409
to
69940ce
Compare
ok lmao. in a3d736b, I did a giant find-replace of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing all the fiddly work @charliepark. The toasts have been bothering me forever!
oxidecomputer/console@f7d6daf...6eeab20 * [6eeab203](oxidecomputer/console@6eeab203) oxidecomputer/console#2525 * [bdc1c87c](oxidecomputer/console@bdc1c87c) oxidecomputer/console#2526 * [23824251](oxidecomputer/console@23824251) oxidecomputer/console#2508 * [78e7e26b](oxidecomputer/console@78e7e26b) oxidecomputer/console#2524 * [eb7f8567](oxidecomputer/console@eb7f8567) oxidecomputer/console#2504 * [df0dea4a](oxidecomputer/console@df0dea4a) oxidecomputer/console#2514 * [3474c6ce](oxidecomputer/console@3474c6ce) oxidecomputer/console#2522 * [af6a89e7](oxidecomputer/console@af6a89e7) oxidecomputer/console#2520 * [4e967560](oxidecomputer/console@4e967560) oxidecomputer/console#2512
oxidecomputer/console@f7d6daf...6eeab20 * [6eeab203](oxidecomputer/console@6eeab203) oxidecomputer/console#2525 * [bdc1c87c](oxidecomputer/console@bdc1c87c) oxidecomputer/console#2526 * [23824251](oxidecomputer/console@23824251) oxidecomputer/console#2508 * [78e7e26b](oxidecomputer/console@78e7e26b) oxidecomputer/console#2524 * [eb7f8567](oxidecomputer/console@eb7f8567) oxidecomputer/console#2504 * [df0dea4a](oxidecomputer/console@df0dea4a) oxidecomputer/console#2514 * [3474c6ce](oxidecomputer/console@3474c6ce) oxidecomputer/console#2522 * [af6a89e7](oxidecomputer/console@af6a89e7) oxidecomputer/console#2520 * [4e967560](oxidecomputer/console@4e967560) oxidecomputer/console#2512
This makes the toasts across the app more consistent, and adds highlighting to the resource name (when available) for each of the toasts.
Closes #2499