-
-
Notifications
You must be signed in to change notification settings - Fork 190
Closed
Description
There's lots of places where our CSS could be given a facelift, but one of the biggest wins is probably to improve the way our breakouts look — I find these a bit too jarring...

...and even more so in dark mode:

And our new 'legacy mode' details don't mesh with them very well:

We also don't have a way to distinguish between different kinds of note. I think it would be nice to have something like this in our system, and I think it would be great if the legacy mode details looked consistent with them (notwithstanding the fact that they're toggleable, unlike other notes).
Speaking of legacy mode details, authoring-wise I think we should replace this...
<details class="legacy">
<summary>Legacy mode</summary>
In Svelte 4, state was implicitly reactive if the variable was declared at the top level
```svelte
<script>
let count = 0;
</script>
<button on:click={() => count++}>
clicks: {count}
</button>
```
</details>
...with this:
> [!LEGACY]
> In Svelte 4, state was implicitly reactive if the variable was declared at the top level
>
> ```svelte
> <script>
> let count = 0;
> </script>
>
> <button on:click={() => count++}>
> clicks: {count}
> </button>
> ```
Metadata
Metadata
Assignees
Labels
No labels