You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EuiTheme context] Add a token for euiFormMaxWidth #8217
Background:
The euiThemeVars module from the @kbn/ui-theme package in Kibana needs to no longer be referenced in code as it is not suitable for proper EUI theming. The vars that we use in Kibana should be taken from EUI context.
Is your feature request related to a problem? Please describe.
Problem: The euiFormMaxWidth var from euiThemeVars is not available in EUI context.
Describe the solution you'd like
Add an additional token for euiFormMaxWidth on euiTheme.components.
Describe alternatives you've considered
It is possible to import euiFormMaxWidth from @elastic/eui/lib/components/form/form.styles, however that greatly increases the built bundle size wherever that gets included in a bundle.
Activity
mgadewoll commentedon Dec 17, 2024
Resolved in #8221