npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

magick.css

v1.0.6

Published

magically playful, yet simple styling. all in one file.

Downloads

738

Readme

magick.css

magically playful, yet simple styling. all in one file.

Translations

Feel free to contribute a translation to your language!

What is magick.css?

magick.css is a minimalistic, (mostly) classless CSS framework that is designed to be easy to use and easy to understand. It is contained in a single file, and every choice is commented. The goal is to achieve an elegant, but magically playful look, while maximizing readability and the ability to convey information; somewhat akin to the notes of a wizard.

The framework retains its beauty and functionality across all devices and screen sizes, and works entirely without JavaScript. It is inspired by LaTeX, old school TTRPG rulebooks, CSS frameworks like concrete.css and Tufte CSS and the "usability as design" ethic of brutalism.

What does it look like?

You can find a live example of magick.css being used on my website!

How do I use magick.css?

magick.css is built with normalize.css. While it will look 90% correct without, it is recommended to use normalize.css.

CDN

The easiest way to check out magick.css for your own project is to add it from a CDN. Just add these two lines to your html <head>:

<link rel="stylesheet" href="https://unpkg.com/normalize.css">
<link rel="stylesheet" href="https://unpkg.com/magick.css">

Or for the minified variants:

<link rel="stylesheet" href="https://unpkg.com/normalize.min.css">
<link rel="stylesheet" href="https://unpkg.com/magick.min.css">

Local File

You could also just download the magick.css file from this repo, and include it into your html <head> as you normally would:

<link rel="stylesheet" href="path/to/magick.css">

JS/NPM

You could also add magick.css to your JS project like this:

npm install normalize.css magick.css

And import them in your code:

import 'normalize.css'
import 'magick.css'

Ports

magick.css currently also available as...

Obsidian.md Theme

I don't like the hoops theme developers have to jump through to publish their work on the official theme gallery of a proprietary, monetized product. There is no compensation for their hard work beyond the donations of generous users; all the while Obsidian.md benefits greatly from them. That's why the Obsidian.md theme version of magick.css is not available in the official gallery.

Still, Obsidian.md is a useful tool for a lot of people. That's why I've made the effort to port this CSS framework to Obsidian.md. You can install it by...

  1. Downloading ports/obsidian.md/magick.css.zip from this repo.
  2. Unpacking it into the Obsidian.md theme directory. You can find this directory by pressing the folder icon next to the Appearance > Themes setting inside of Obsidian.md
  3. If the theme is not immediately selectable, try restarting Obsidian.md to refresh.