accordionpackage.theme.lumo.vaadin-accordion-heading-styles.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vaadin-webcomponents Show documentation
Show all versions of vaadin-webcomponents Show documentation
Mvnpm composite: Vaadin webcomponents
import { detailsSummary } from '@vaadin/details/theme/lumo/vaadin-details-summary-styles.js';
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
const accordionHeading = css`
:host {
padding: 0;
}
[part='content'] {
padding: var(--lumo-space-s) 0;
}
:host([theme~='filled']) {
padding-top: 0;
padding-bottom: 0;
}
`;
registerStyles('vaadin-accordion-heading', [detailsSummary, accordionHeading], { moduleId: 'lumo-accordion-heading' });