GitHub - lit-styles/lit-styles: Monorepository with lit-css and integration with other tools and frameworks.

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Monorepository with lit-css and integration with other tools and frameworks.

License

MIT license

43 stars 1 fork Branches Tags Activity

Notifications You must be signed in to change notification settings

Repository files navigation

lit-styles

Monorepository with lit-css and integration with other tools and frameworks.

Quick Example for Web Components

import { html } from 'lit-html';
import { css } from 'lit-css';
import { StyledLitElement } from 'styled-lit-element';

class FancyBadge extends StyledLitElement {
  static get style() {
    return css`
      :host {
        background-color: blue;
        border-radius: 50%;
        color: white;
        padding: 4px;
      }
    `;
  }

  render() {
    return html`<slot></slot>`;
  }
}

Packages

For more information about each package and it's usage please refer to their docs:

About

Monorepository with lit-css and integration with other tools and frameworks.

Resources

Readme

License

MIT license

Activity

Custom properties

Stars

43 stars

Watchers

6 watching

Forks

1 fork