Skip to content

Commit 87ef64b

Browse files
authored
[docs] Improve wording (#70)
1 parent 9c008b9 commit 87ef64b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HOW_PIGMENT_CSS_WORKS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Pigment CSS is a zero-runtime CSS-in-JS library. This means it does not have ac
1212

1313
Pigment CSS uses the [WyW-in-JS](https://wyw-in-js.dev/) library that also powers [Linaria](https://linaria.dev/). It features a [processor](https://wyw-in-js.dev/how-to/custom-tagged-template#creating-a-processor) which makes it possible to create custom logic that's triggered by the presence of different imports from the library. The processor looks through the source code for `styled()`, `css()`, and other function calls and extracts the arguments to be evaluated. These values are then handed back to Pigment CSS for additional parsing and evaluation.
1414

15-
For example, here's a simple implementation of the `css()` function:
15+
For example, here's a simple usage of the `css()` function:
1616

1717
```js
1818
// app.js

0 commit comments

Comments
 (0)