Skip to content

Commit 6e2c23b

Browse files
Update README
1 parent 80b9440 commit 6e2c23b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This project makes your SASS modular, and importable by any Web Component libraries you want to use.
44

55
By default, this utility compiles SASS files to TypeScript style templates using
6-
the [lit-element](https://lit-element.polymer-project.org/) `css` tag function.
6+
the [lit](https://lit.dev) `css` tag function.
77
Although this is quite opinionated, you can easily change the output template and the generated file extension.
88

99
## Installation
@@ -101,10 +101,11 @@ sass-render ./src/**/*.scss -i '../sass-lib/, ../another-lib'
101101
### Importing
102102

103103
Once your SASS files are converted into TypeScript or JavaScript files, you can use them inside a library like
104-
`lit-element`. Here is a TypeScript example:
104+
`lit`. Here is a TypeScript example:
105105

106106
```typescript
107-
import {CSSResult, customElement, html, LitElement, TemplateResult} from 'lit-element';
107+
import {CSSResult, LitElement, TemplateResult, html} from 'lit';
108+
import {customElement} from 'lit/decorators';
108109
import {styles} from './my-button-css';
109110

110111
@customElement('my-button')

0 commit comments

Comments
 (0)