griffel icon indicating copy to clipboard operation
griffel copied to clipboard

CSS-in-JS with ahead-of-time compilation ⚡️

Results 66 griffel issues
Sort by recently updated
recently updated
newest added

I see that the `@griffel/babel-preset` depends on `@linaria`, which in turn [has mechanisms](https://github.com/callstack/linaria/blob/master/docs/LINTING.md) to run [`stylelint`](https://stylelint.io/) over the resulting CSS. However, I cannot seem to get it working with Griffel....

❓question

```ts const useStyles = makeStyles({ root: { [` & .item:hover, & .item-selected `]: { backgroundColor: '#fff', } } }); ```

🐞 bug

# TODO Update PR to reflect removal of `@griffel/babel-preset`. ## Summary This PR upgrades `@griffel/babel-preset` and `@griffel/webpack-loader` to use [wyw-in-js](https://wyw-in-js.dev/). wyw-in-js introduces a concept of processors to handle different CSS-in-JS...

When an invalid CSS rule is found during runtime, Griffel does not inject the rule and logs an error to console: ![image](https://github.com/microsoft/griffel/assets/9615899/4f0a669c-a1c2-431d-ad89-70688a224bcf) When the same rule is found during build...

💅 enhancement

React devtools (https://www.npmjs.com/package/react-devtools) can be used in headless mode to debug Electron & Webview2 apps. We need to explore the same approach for devtools in Griffel.

💅 enhancement

When using nested attribute selectors that contains commas, they generate incorrect styles, inserting ampersands after the comma. For example: ``` '& [style*="color: rgb(245, 240, 241);"]': { color: 'black !important' },...

🐞 bug

If a component is already setting the font-family, there is no way to completely remove the font-family property. The only option is to set the font-family to a new, valid...

💅 enhancement

Implements a stylelint config for griffel that uses the postcss syntax. Also adds tests for stylelint integration.

One thing I feel would really make Griffel complete would be to add docs for other frameworks, and remove the "for React.js" from the homepage. Make React support a "batteries...

📃 documentation
💅 enhancement

When creating a new try-it-out playground for new features, it always breaks because the playground uses the latest released version of Griffel. Would be a nice enhancement for local DX...

📃 documentation