-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Web: Add MarkInverse and ResourceLabelTooltip contents #50532
Conversation
This pull request is automatically being deployed by Amplify Hosting (learn more). |
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.
Looks great!
@@ -26,3 +26,8 @@ export const Mark = styled.mark` | |||
background-color: ${p => p.theme.colors.interactive.tonal.neutral[2]}; | |||
color: inherit; | |||
`; | |||
|
|||
export const MarkInverse = styled(Mark)` |
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.
nit: JSdoc on exported function/var/types/styles etc.
import { IconTooltip } from 'design/Tooltip'; | ||
import styled from 'styled-components'; | ||
|
||
export function ResourceLabelTooltip({ |
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.
nit: JSDoc
Copy looks good to me! Thanks! |
part of #46976
This PR
Mark
to be used insideTooltips
, otherwiseMark
is invisible. Tooltips uses inverse background color of main theme (eg: tooltips for dark theme uses light background and vice versa).Screenshots
RDS - dark theme
EKS - dark theme
SERVER - light theme
DATABASE - light theme
KUBE - bblp theme