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

phi-css

v0.7.0

Published

a CSS framework based on golden ratio

Downloads

108

Readme

phi-css

a CSS framework based on golden raito.

Desciption

This project is still in the alpha phase. This framework is built using the SASS (a css preprocessor).


Installation and Usage

Use below installation steps to use the css files in your project / to test it out.

You can use either of the following cdn links to use the css file in your project Full version: <link href="https://unpkg.com/[email protected]/dist/phi.css" rel="stylesheet">

or Minified version:

<link href="https://unpkg.com/[email protected]/dist/phi.min.css" rel="stylesheet">

If you don't need the cdn links and you want to utilize the npm package, then run following command in your project directory: npm i phi-css

And then, in your js file you can use it as:

import 'phi-css/dist/phi.css'

or import 'phi-css/dist/phi.min.css'

The framework is divided into different files, so if you don't want to use specific feature you can just exclude the file while importing or while linking it to the html file.

Segregated file list:

  1. base.css/base.min.css: This framework is based on the normalized css, which acts as browser default setting resetter, it is optimized to reduce the file size, also contains some other basic features.
  2. grid.css/grid.min.css: This file contains the grid structure for the framework.
  3. typography.css/typography.min.css: This file contains typography features.
  4. components.css/components.min.css: This contians styling for UI components such as text fields, buttons, etc.
  5. dark.css/dark.min.css: This file contains styling for enabling the dark mode in your website.
  6. utilities.css/utilities.min.css: This framework has some utility features which you can use on the go, which might come in handy while developing the website.

All above files are combined into one as phi.css/phi.min.css,


Contribution

Want to collaborate with me on this project? Slide into my DMs.

If you want to contribute into the project then please clone this github repo, do not use the npm package as it doen't contain the sass files. Package only contains dist folder.

Follow these steps to setup this repo in your machine:

  1. Clone this repo.

  2. While in the project folder, run npm installation npm install

  3. Now run gulp in the termainal after npm installs necessary packages. You'll have compiled css files in the 'dist' folder. Test it out and see how it works for you!

  4. If you find any bugs in the project, you can create a pull request.