Hacker GitHub

← All repos

gitaarik/lit-style

View on GitHub ↗ ★ 10 JavaScript

Shared component styles for LitElement

5 mentions on Hacker News by 1 person: 0 stories, 5 comments · first 2023-07-22 · latest 2025-12-29

Mentions per year 5 mentions · busiest year 2023 (3)
20082026
  1. I also made a simple lib to make it easy to implement common styles in your Lit components: https://github.com/gitaarik/lit-style
    comment by gitaarik · 2025-12-29 · in You can make up HTML tags
  2. …Already quite some time ago I made a little library which makes this easy: https://github.com/gitaarik/lit-style
  3. …live with some quirks in Lit than doing things with React, which just feels clumsy to me now. [0]: https://github.com/gitaarik/lit-style
  4. …definition in a separate file and import it and use it for the components that you want it for. https://github.com/gitaarik/lit-style
  5. …state management - https://github.com/gitaarik/lit-state LitStyle: Shared component styles - https://github.com/gitaarik/lit-style LitDocumentEvent: Global event handling - https://github.com/gitaarik/lit-document-event Also check out…
    comment by gitaarik · 2023-07-22 · in Lit: Simple, fast web components