Skip to content

Conversation

@sissbruecker
Copy link

@sissbruecker sissbruecker commented Oct 21, 2025

Alternative to #10

  • Moves functional styles from previous Lumo theme as base styles into component
  • Converted component to use functional styles. Lumo theme styles are applied automatically when the application uses the Lumo theme by using ThemeDetectionMixin.
  • Dropped ThemeableMixin from the component as it's not required anymore to apply its styles / theme, and applications should not rely on it as it will likely be dropped in the future
  • Updated demo page to keep using Lumo theme

*/
@customElement("vcf-breadcrumbs")
export class VcfBreadcrumbs extends ResizeMixin(ElementMixin(ThemableMixin(PolylitMixin(LitElement)))) {
export class VcfBreadcrumbs extends ResizeMixin(ElementMixin(PolylitMixin(LitElement))) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should add ThemeDetectionMixin here also just in case someone expects it to be present?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants