-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ResponseOps][UI] EUI Visual Refresh integration and QA - replaced deprecated color variables #203120
Conversation
Pinging @elastic/response-ops (Team:ResponseOps) |
@@ -223,7 +223,7 @@ export const BaseSnoozePanel: React.FunctionComponent<BaseSnoozePanelProps> = ({ | |||
height: '36px', | |||
// Replicate euiPanel--accent vs euiPanel--subdued | |||
// Applying these classNames by themselves doesn't work due to a CSS-in-JS issue with EuiPanel | |||
color: isActive ? '#a8376a' : euiTheme.colors.subduedText, | |||
color: isActive ? '#a8376a' : euiTheme.colors.textSubdued, |
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.
We should be able to use a token for the static colors as well, I think?
#a8376a
could become euiTheme.colors.textAccent
which is #A11262
(light) and #EE72A6
(dark).
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.
i ll update it, thanks!
@@ -692,7 +691,7 @@ export const RuleActionsItem = (props: RuleActionsItemProps) => { | |||
} | |||
buttonContentClassName="eui-fullWidth" | |||
buttonContent={ | |||
<EuiPanel color="subdued" paddingSize="m"> | |||
<EuiPanel color={subdued} paddingSize="m"> |
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.
Question: Why do we need to override the default subdued
panel here? 🤔
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.
this is still WIP, i ll update it
5ea1c45
into
elastic:ro_eui_theme_borealis
💔 Build Failed
Failed CI StepsHistory
|
Closes #202550
Summary
previous color token -> new color token
primaryText -> textPrimary
accentText -> textAccent
between this and textSuccess.
warningText -> textWarning
dangerText -> textDanger
text -> textParagraph
title -> textHeading
subduedText -> textSubdued
disabledText -> textDisabled
successText -> textSuccess