Skip to content
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

[Shared UX] Remove color="ghost" on EuiBottomBar children #169307

Merged
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const BottomBar = ({
<EuiFlexItem grow={false}>
<EuiButtonEmpty
css={cssFormButton}
color="ghost"
color="text"
size="s"
iconType="cross"
onClick={onClearAllUnsaved}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interface UnsavedCountProps {
export const UnsavedCount = ({ unsavedCount }: UnsavedCountProps) => {
const { cssFormUnsavedCountMessage } = useFormStyles();
return (
<EuiText size="s" color="ghost" css={cssFormUnsavedCountMessage}>
<EuiText size="s" css={cssFormUnsavedCountMessage}>
<FormattedMessage
id="management.settings.form.countOfSettingsChanged"
defaultMessage="{unsavedCount} unsaved {unsavedCount, plural,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
EuiLink,
EuiCallOut,
EuiSpacer,
EuiTextColor,
EuiText,
EuiBottomBar,
EuiButton,
EuiToolTip,
Expand Down Expand Up @@ -314,7 +314,7 @@ export class Form extends PureComponent<FormProps> {
const unsavedCount = this.getCountOfUnsavedChanges();
const hiddenUnsavedCount = this.getCountOfHiddenUnsavedChanges();
return (
<EuiTextColor className="mgtAdvancedSettingsForm__unsavedCountMessage" color="ghost">
<EuiText className="mgtAdvancedSettingsForm__unsavedCountMessage">
<FormattedMessage
id="advancedSettings.form.countOfSettingsChanged"
defaultMessage="{unsavedCount} unsaved {unsavedCount, plural,
Expand All @@ -329,7 +329,7 @@ export class Form extends PureComponent<FormProps> {
hiddenCount: hiddenUnsavedCount,
}}
/>
</EuiTextColor>
</EuiText>
);
};

Expand All @@ -349,7 +349,7 @@ export class Form extends PureComponent<FormProps> {
<EuiFlexItem />
<EuiFlexItem grow={false}>
<EuiButtonEmpty
color="ghost"
color="text"
size="s"
iconType="cross"
onClick={this.clearAllUnsaved}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function MainControls({ toggleRequestFlyout, isRequestFlyoutOpen, reset,
size="s"
iconType="help"
iconSide="left"
color="ghost"
color="text"
onClick={() => setIsHelpOpen(!isHelpOpen)}
>
{i18n.translate('xpack.painlessLab.helpButtonLabel', {
Expand All @@ -114,7 +114,7 @@ export function MainControls({ toggleRequestFlyout, isRequestFlyoutOpen, reset,
<EuiFlexItem grow={false}>
<EuiButtonEmpty
size="s"
color="ghost"
color="text"
onClick={toggleRequestFlyout}
data-test-subj="btnViewRequest"
>
Expand Down
Loading