The gin_toolbar module references the claro/claro.drupal.dialog library to handle the dialog styling.
However adding this dependency without the css/base/variables.css defined in claro/global-styling results in an inconsistent UI, because its claro/claro.jquery.ui dependency still references variables which are only defined in that file.
1. Install gin_toolbar
2. Using a non-claro front end theme, add an element which uses an autocomplete form element (e.g. webform).
/core/themes/claro/css/components/jquery.ui/theme.css will be loaded, but the autocomplete styles will be broken because the variables within the following rules fail to resolve:
.ui-autocomplete {
color: var(--jui-dropdown-fg-color);
border: var(--input-border-size) solid var(--jui-dropdown-border-color);
border-top: 0;
border-radius: 0 0 var(--input-border-radius-size) var(--input-border-radius-size);
background: var(--jui-dropdown-bg-color);
box-shadow: 0 0.125rem 0.25rem var(--jui-dropdown-shadow-color);
}
The css/base/variables.css should be exposed as its own library definition, then have all the libraries which rely on it include it as a dependency.
That way individual components can be used without the global styles.
Provide MR
N/A
N/A
N/A
N/A
TBD
Active
11.0 🔥
Claro theme
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.