postcss-lit icon indicating copy to clipboard operation
postcss-lit copied to clipboard

PostCSS syntax for extracting CSS from template literals inside JS/TS files

Results 21 postcss-lit issues
Sort by recently updated
recently updated
newest added

I try to integrate `stylelint` with `postcss-lit` lit in a lit-element project with typescript files, but currently i am facing issues. When i am trying to run the lint command...

Ive been trying to get tailwindcss working with lit and postcss-lit seems to offer a way to be able to do this but the examples on the internet fail for...

Thanks for all the work on this! We just added it to our project and it's working great so far. There are some situations where we use Lit-style templates without...

References: https://babeljs.io/docs/babel-plugin-syntax-import-attributes https://www.npmjs.com/package/rollup-plugin-css-modules https://www.npmjs.com/package/vite-plugin-standard-css-modules Usage: `import myElementStyles from './my-element.css' with { type: 'css' };`

Work in progress of the extraction of the core. It works, tests pass, i just need to move all the tests around a bit and actually publish the repo/package. then...

Could you help me with Vite build? [https://stackblitz.com/edit/vitejs-vite-nw1aqw?file=vite.config.js](https://stackblitz.com/edit/vitejs-vite-nw1aqw?file=vite.config.js) ``` Uncaught TypeError: styleInject is not a function ```

It appears the output of a postcss lit component is not as expected when using the postcss CLI. Replication available here: https://github.com/adrianbruntonsagecom/postcss-lit-preset-env-issue Clone repo: `git clone https://github.com/adrianbruntonsagecom/postcss-lit-preset-env-issue.git` Install dependencies: `npm...

I'm still learning the set of technologies here (e.g. lit, typescript, tailwind, and postcss) and I'm having trouble using this postcss plugin. I checked in my sample code here -...

Now, the plugin works with css places inside `css` tag. However, css may often be stored near html Example 1 (`html` tag): ```js import {styles} from 'somewhere'; //... html` ${styles}...

I think, currently, your tool is only one on github which allows to integrate `stylelint` in lit-related project (except maybe some potentially existing custom local plugins in some repos). Are...