Skip to content

Commit

Permalink
docs: fix broken imports in color utilities (#8106)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkajtoch authored Oct 29, 2024
1 parent cf83222 commit 4156987
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useEuiBackgroundColorCSS, useEuiPaddingCSS } from '@elastic/eui';
import { useEuiBackgroundColor } from '@elastic/eui/src/global_styling/mixins/_color';
import { useEuiBackgroundColorCSS, useEuiPaddingCSS, useEuiBackgroundColor } from '@elastic/eui';

export const UseEuiBackgroundColorCSSPreview = () => {
const accentStyles = useEuiBackgroundColorCSS().accent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useEuiBackgroundColor } from '@elastic/eui/src/global_styling/mixins/_color';
import { useEuiBackgroundColor, useEuiPaddingCSS } from '@elastic/eui';
import { css } from '@emotion/react';
import { useEuiPaddingCSS } from '@elastic/eui/src/global_styling/mixins/_padding';

export const UseEuiBackgroundColorPreview = () => {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {
EuiSpacer,
EuiButtonGroup,
useEuiTheme,
euiBackgroundColor,
} from '@elastic/eui';
import { ColorsTable } from '../colors_table';
import { euiBackgroundColor } from '@elastic/eui/src/global_styling/mixins/_color';

const colors = [
'transparent',
Expand Down

0 comments on commit 4156987

Please sign in to comment.