Skip to content

Commit

Permalink
[Visual Refresh] Update color token mappings (elastic#8211)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgadewoll committed Jan 10, 2025
1 parent 82485ed commit f584e5d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ export class ThemeProvider extends React.Component<PropsWithChildren, State> {
colorMode
);

const colorMode =
(localStorage.getItem('colorMode') as EuiThemeColorModeStandard) ||
undefined;

const themeLanguage = this.getThemeLanguage();

this.state = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export const euiBetaBadgeStyles = (euiThemeContext: UseEuiTheme) => {
accent: hasVisColorAdjustment
? css(badgeColors.accentText)
: css(badgeColors.accent),
accentSecondary: css(badgeColors.accentSecondaryText),
subdued: css(badgeColors.subdued),
hollow: css`
color: ${badgeColors.hollow.color};
Expand Down
1 change: 0 additions & 1 deletion packages/eui/src/global_styling/mixins/_color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ export const useEuiBackgroundColor = (
};

/**
* @deprecated
* @returns An object map of color keys to CSS,
* e.g. { danger: css``, success: css``, ... }
*/
Expand Down

0 comments on commit f584e5d

Please sign in to comment.