Skip to content
Merged
10 changes: 10 additions & 0 deletions docs/awesome.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,16 @@ Sites and UI kits that ship with reseter.css.
<p>Named under Alternatives.</p>
<p><a href="https://github.com/u1ui/norm.css">u1ui/norm.css</a></p>
</div>
<div class="card impact-adopter">
<h3>Grafana Pyroscope</h3>
<p>Cited in a PR review as an example global reset.</p>
<p><a href="https://github.com/grafana/pyroscope/pull/1097#discussion_r870450211">PR discussion (2022)</a></p>
</div>
<div class="card impact-adopter">
<h3>Eddie Jaoude</h3>
<p>Live OSS review via EddieHub Community.</p>
<p><a href="https://github.com/EddieHubCommunity/support/issues/1448#issuecomment-878191691">Review comment</a> · <a href="https://www.youtube.com/watch?v=w0ELpv3Z4Wk">YouTube</a></p>
</div>
</div>

## Misc
Expand Down
13 changes: 11 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,16 @@ createApp(App).mount("#app");
<summary>Svelte / SvelteKit</summary>

```js
// main.js (Svelte)
// main.js (Svelte 5+)
import "reseter.css";
import { mount } from "svelte";
import App from "./App.svelte";

mount(App, { target: document.getElementById("app") });
```

```js
// main.js (Svelte 4)
import "reseter.css";
import App from "./App.svelte";

Expand Down Expand Up @@ -210,7 +219,7 @@ Copy `dist/index.min.css` from the package into `static/css/index.min.css`, then
<details markdown="1">
<summary>Ruby on Rails</summary>

With import maps or jsbundling/cssbundling, add `import "reseter.css"` in `application.js`.
With a JavaScript bundler that supports CSS imports, add `import "reseter.css"` in `application.js`. Rails import maps cannot import CSS this way; use a stylesheet link or the Sprockets recipe below.

With Sprockets alone, copy `dist/index.min.css` to `app/assets/stylesheets/reseter.css`, then:

Expand Down