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

biomatic

v0.3.12

Published

A Flexible Atomic-Focused CSS Toolkit

Downloads

62

Readme

Biomatic CSS is an atomic-focused CSS library with utilities, layout, and basic components classes for faster development.

Biomatic's goal is to be a foundation to create and extend a maintainable CSS for your design systems (You can still easily use the complied css file in /dist).

Biomatic is unopiniated. You can customize atomic classes, colors, font, spacings, and more from the simple SCSS configuration files and use them across your project.

Features

  • Atomic-focused: craft anything you wanted with the collection of atomic classes.
  • Battery included: basic components, layouts and utilities included, for rapid UI development and easy to extend.
  • Clean responsive grid: simple and clean grid systems.
  • Carefully naming: readable and predictable class name.
  • Customizable: customize and create your own design systems.
  • Pure CSS: no javascript required.
  • Fun: very fun to use.

Installation

Install manually

Download the compiled and minified of biomatic.

Unzip and include biomatic.min.css in your website.

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

Install from CDN

Alternatively, you can use the unpkg or jsdelivr CDN to load latest compiled of Biomatic

<link href="https://unpkg.com/biomatic/dist/biomatic.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/biomatic/dist/biomatic.min.css" rel="stylesheet">

install using NPM or Yarn

npm install biomatic --save
yarn add biomatic

Customize and Build

To use Biomatic as a foundation and extend it to create your design system. you can either

  • Clone Biomatic
  • Import Biomatic

Clone and build Biomatic

Clone biomatic

git clone https://github.com/moonrhythm/biomatic.git
cd biomatic

Install dependencies

npm install
yarn

Biomatic uses Gulp for compiling CSS. This will install Gulp and it dependencies.

Then you can play around with the files in /config

Build th new CSS

simply run

gulp build

The CSS output located in /dist directory.

Import Biomatic

It is recommended importing Biomatic SCSS source files to your projects from node_module and then customize it from your project.

In this way, you can keep Biomatic up to date without conflicts, because Biomatic main source and configure files are separated.

  1. Install Biomatic using npm.
  2. Create your main.scss file.
  3. Import Biomatic's source file from node_module but copy /config to your project and import /config from your project instead.
  4. Customize /config.
  5. Build main.scss.

Example of main.scss

/* import config from your project*/
@import 'config/config';
/* import Biomatic's files from node_module */
@import 'biomatic/src/mixins/mixins';
@import 'biomatic/src/layouts/layout';
@import 'biomatic/src/components/components';
@import 'biomatic/src/utilities/utilities';
@import 'biomatic/src/atomics/atomics';

files in /config

config/
├── _breakpoint.scss
├── _color.scss
├── _initial.scss
├── _radius.scss
├── _reset.scss
├── _pacing.scss
├── _typography.scss
└── config.scss

Sites using Biomatic

License

Code copyright 2017 Theerapong Laowrungrat, 2018 Moon Rhythm. Code released under the MIT license.