MCPcopy Create free account
hub / github.com/elastic/eui / euiCodeTextColors

Function euiCodeTextColors

packages/eui/src/components/code/code_syntax.styles.ts:11–16  ·  view source on GitHub ↗
({ euiTheme }: UseEuiTheme)

Source from the content-addressed store, hash-verified

9import { UseEuiTheme } from '../../services';
10
11export const euiCodeTextColors = ({ euiTheme }: UseEuiTheme) => {
12 return {
13 backgroundColor: euiTheme.components.codeBackground,
14 color: euiTheme.components.codeColor,
15 };
16};
17
18/**
19 * These variables are computationally expensive - do not call them outside `useEuiMemoizedStyles`

Callers 2

euiTextStylesFunction · 0.90
euiCodeSyntaxVariablesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…