Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luavolk/css2lit
Converts css file to a lit-element css export
https://github.com/luavolk/css2lit
Last synced: 27 days ago
JSON representation
Converts css file to a lit-element css export
- Host: GitHub
- URL: https://github.com/luavolk/css2lit
- Owner: luaVolk
- License: mit
- Created: 2019-10-12T18:20:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-31T02:54:57.000Z (almost 4 years ago)
- Last Synced: 2023-03-11T07:23:40.592Z (almost 2 years ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CSS2Lit
Executable that converts css file to a lit-element css export
## Instalation
```bash
$ npm install css2lit
```## Usage
```bash
$ npx css2lit path/to/file
```## Example
```css
.body { color: blue }
```Output:
```js
import {css} from 'lit-element';
export const style = css`.body { color: blue }`;
```