tiny, simple, classless CSS framework inspired by new.css devcss.devins.page
framework lightweight css classless stylesheet

docs: add npm to readme

+15 -1
+15 -1
README.md
··· 25 25 26 26 dev.css was not meant for very complex websites. Although, if you need something more complex, you could build from/modify this stylesheet for your website. An example of a site that uses dev.css is [SkywardMC's wiki](https://skywardmc.org). 27 27 28 - ## Importing 28 + ## Installing 29 + 30 + ### HTML import 29 31 30 32 To use dev.css in your HTML, simply add the following line to the `<head>` section of your HTML file: 31 33 ··· 35 37 href="https://cdn.jsdelivr.net/npm/@intergrav/dev.css@4" 36 38 /> 37 39 ``` 40 + 41 + ### `npm`, `pnpm`, etc 42 + 43 + Another way to install dev.css is to add the npm package to your project through your preferred package manager. This command adds the latest version to your project. 44 + 45 + ```sh 46 + npm add @intergrav/dev.css 47 + # or 48 + pnpm add @intergrav/dev.css 49 + ``` 50 + 51 + ### Importing fonts 38 52 39 53 You can also load a font from [intergrav/fonts](https://github.com/intergrav/fonts#readme) (or anywhere else) if you'd like a consistent font. Geist and Inter fonts work with dev.css out of the box, other fonts will require a theme to be used. If these fonts are not available, the default system/browser sans-serif and monospace fonts will be used, such as Microsoft's Segoe UI or Apple's San Francisco. 40 54