mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.3K
active users

#icons

10 posts7 participants0 posts today

New Kitten feature: Icons!

You can now make use of a subset of the icons in the Phosphor icons set by @minoraxis and @rektdeckard.

kitten.small-web.org/reference

Search through them in your editor by referencing `kitten.icons.categories` and `kitten.icons.tags`.

Add this to a file called index.page.js and run `kitten` to see a large duotone pink cat (because why not?):

export default function () {
return kitten.html`
<${kitten.icons.c.Cat}
size=40%
weight=duotone
colour=deeppink
/>
`
}

(And yes, the set includes icons for the fediverse. This one of the reasons I chose it.) ;)

Enjoy!

:kitten:💕

Continued thread

👆 Sorry, life got in the way; just deployed this but I haven’t had a chance to document it properly yet. I’ll make a proper announcement when I do.

Also, you can now use the `delete` attribute on a DOM node/Kitten component you’re streaming back from the server to have it removed from the DOM on the client. It’s syntactic sugar for hx-swap-oob='delete' in htmx.

kitten.small-web.org

Coming tomorrow to Kitten… Kitten icons!

Kitten will have built-in support for the Phosphor icons set with full authoring-time language intelligence where you can search for icons via category and tag (in addition to the canonical alphabetical categorisation).

Thought this was going to take me a few hours but it took a few days thanks to running into issues with size limits, type inference from JavaScript types in modules, etc., with the TypeScript language server but I believe I’ve finally cracked it :)

:kitten: 💕

Replied in thread

@bitnacht Good point, re: the busy bee.

As for the spinning disc (or "beachball"), it got its start in NEXTSTEP as a greyscale spinning magneto-optical disc rendering indicating the system is busy / data is loading, which was seen quite often on the early NeXT Cube, as it came with no HD but only an MO drive, and it used that drive for _swap_, if you can imagine...

That spinning disc became color when NEXTSTEP gained a color display on later hardware, and from there it evolved into the spinning "beachball" we know today (macOS being structurally based upon and evolved from NEXTSTEP/OPENSTEP).

EDIT: Oh, I think I misread - you are talking about the busy mouse pointer icon in Windows, I think. I'm not sure of its specific history. Apologies.