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

@spectre-org/spectre-css

v1.2.0

Published

Spectre CSS: A lightweight, responsive and modern CSS framework

Downloads

795

Readme

Spectre CSS

Reviewed by Hound

This version of Spectre CSS has been forked from the original repo; see the organisation readme for rationale.

Spectre is a lightweight, responsive and modern CSS framework.

  • Lightweight (~10KB gzipped) starting point for your projects
  • Flexbox-based, responsive and mobile-friendly layout
  • Elegantly designed and developed elements and components

Spectre is a side project based on years of CSS development work on a large web service project.

Spectre only includes modern base styles, responsive layout system, CSS components and utilities, and it can be modified for your project using standard build tools.

Documentation

New documentation is available at:

Getting started:

Content:

Related content:

Roadmap

The plan for Spectre CSS is to merge outstanding PRs, then look to add much-needed features.

All issues will be added to projects as appropriate:

Contributing

Build

Clone this repo locally with:

git clone https://github.com/spectre-org/spectre-css.git

Spectre uses Gulp to compile CSS:

# watch file changes and re-compile
npm run dev    

# compile SCSS to CSS and minify files
npm run build

Testing

To work with Spectre CSS source files live in another project, you can use NPM link.

In the Spectre CSS repo, create the global reference:

npm link

In your project repo, create the link:

npm link @spectre-org/spectre-css

The existing node_modules/@spectre-org/spectre-css folder will be replaced with a symlink to the local repository, and any changes there will be reflected immediately in your project.

Releasing

Releasing is only available to maintainers

Approach

Spectre CSS is published to NPM, and is made automatically available on CDN thanks to unpkg.com.

Note that local /src files are compiled to /dist but are not committed to the repository.

Checklist

Before publishing, check:

  • you're on the main branch
  • there are no outstanding commits
  • you bumped package.json version correctly
  • you updated CHANGELOG.md with all changes since the last version
  • you have tested the built files in an NPM-linked project (such as the docs)

Release

To build and publish directly to NPM, run:

npm run release

To dry-run the release, run:

npm run release:dry

Once published, Spectre will be available at:

  • NPM: https://www.npmjs.com/package/@spectre-org/spectre-css
  • CDN: https://unpkg.com/browse/@spectre-org/spectre-css@latest/