Commit
Author: Howard Chiam [hchiam@users.noreply.github.com]
Committer: GitHub [noreply@github.com] Thu, 14 Dec 2023 18:58:09 +0000
Hash: 11bb2dd967f60877d65a231d9eb8d2cf2f7334fd
Timestamp: Thu, 14 Dec 2023 18:58:09 +0000 (1 year ago)

+9 -0 +/-1 browse
bookmarklet suggestion (#447)
bookmarklet suggestion (#447)

1diff --git a/readme.md b/readme.md
2index 020205e..260742c 100644
3--- a/readme.md
4+++ b/readme.md
5 @@ -26,6 +26,15 @@
6 - [https://unpkg.com/open-props/open-props.figma-tokens.sync.json](https://unpkg.com/open-props/open-props.figma-tokens.sync.json) - Figma Design Tokens
7 - [https://unpkg.com/open-props/open-props.style-dictionary-tokens.json](https://unpkg.com/open-props/open-props.style-dictionary-tokens.json) - Style Dictionary Tokens
8
9+ #### Bookmarklet
10+
11+ ```js
12+ javascript: (() => {
13+ const href = "https://unpkg.com/open-props";
14+ document.head.append(Object.assign(document.createElement("link"),{rel:"stylesheet",href}));
15+ })();
16+ ```
17+
18 #### CLI
19 - `npm run gen:op` - runs through `src/` js files and creates the PostCSS files in `src/`
20 - `npm run gen:nowhere` - creates a version of Open Props without the use of `:where()`