Go to file
2017-12-28 14:22:20 +06:00
docs add sidebar 2017-12-28 14:22:20 +06:00
img/screenshots add sidebar 2017-12-28 14:22:20 +06:00
src clean up accordion.less 2017-12-27 11:46:02 -05:00
tests Tests for colors 2017-12-05 20:00:06 +00:00
.editorconfig Added a basic .editorconfig 2017-11-23 16:33:08 +01:00
.gitignore update ignore list 2017-12-28 10:23:12 +06:00
.npmignore update ignore list 2017-12-28 10:23:12 +06:00
.travis.yml Remove laucher from travis setup 2017-12-11 19:51:14 +00:00
CODE_OF_CONDUCT.md Update contact person email 2017-11-24 10:34:44 -05:00
CONTRIBUTING.md Fix little typo 2017-11-24 10:33:37 -05:00
gulpfile.js shiny new docs 2017-12-28 12:09:53 +06:00
jake.bat try again 2017-12-02 17:51:17 +00:00
jake.sh try again 2017-12-02 17:51:17 +00:00
Jakefile.js needs build in there 2017-12-02 20:16:05 +00:00
license Adds the license file 2017-11-04 12:36:17 -03:00
netlify.toml shiny new docs 2017-12-28 12:09:53 +06:00
package-lock.json updated for 1.4.0 2017-12-23 11:59:57 +01:00
package.json initial Hugo conversion 2017-12-28 10:23:10 +06:00
PULL_REQUEST_TEMPLATE.md Add PULL_REQUEST_TEMPLATE.md 2017-11-07 10:39:39 -05:00
README.md updated for 1.4.0 2017-12-23 11:13:14 +01:00
yarn.lock shiny new docs 2017-12-28 12:09:53 +06:00

PaperCSS logo

PaperCSS

The less formal CSS framework, with a quick and easy integration.

Table of contents

Quick-start

There are several options available:

  • You can download the latest release.
  • Clone the repo: git clone https://github.com/papercss/papercss.git
  • Install with npm: npm install papercss
  • Install with yarn: yarn install papercss
  • Import it using a CDN (it will automatically download the latest version):
    • https://unpkg.com/papercss/dist/paper.min.css
    • https://unpkg.com/papercss/dist/paper.css

Status

Build status Dependencies Peer dependencies Dev dependencies

Content of the framework

We provide compiled CSS (paper.css) as well as minified CSS (paper.min.css).

You can choose which components you may want to use. Only the components that get imported in src/styles.scss will be compoiled into dist/paper.css.

You can also play with original, source files, written in SCSS, in src/.

Documentation

You can view the docs at getpapercss.com. Those are directly from the master branch, this means thoses features are stable and ready to be used in your project.

You can also view the develop branch at develop.getpapercss.com, this include new features that are coming soon in master branch. Be warned, a feature in develop can be removed without any prevention.

Customizing

You can customize PaperCSS easily, clone the repo, run npm install and make any changes to .scss files in src/.

The main place you might want to make changes would be core/_config.scss, where you can specify new colors or fonts for your CSS build.

After you make changes, be sure to build the new CSS files. Do so by running gulp build and get them from the dist/ folder.

Contributing

This project is open source and contributions are very welcomed. It is also as beginner friendly as possible, so don't be afraid to jump in if you've never contributed to any Git project before! Feel free to reach out if you are new and need help with the process.

Please before sending a PR, make sure you are properly using the .editorconfig file with your IDE. If your IDE doesn't natively support editorconfig files, you can use an extension/package/module. For example in Atom there is the editorconfig package, as well for Sublime Text, VS Code, Vim, ...

Once you are ready to contribute, here the workflow you should follow:

  • Fork the repo then clone it: git clone git@github.com:[your_username]/papercss.git
  • cd papercss then install dependencies: npm install
  • Change your current branch to develop: git checkout develop
  • Create your new branch where you will write your code: git checkout -b feature-thing develop. Please be sure to prepend your new feature branch with "feature-"
  • Start the local web-server: gulp or npm start
  • Once done commit and push your changes to your fork.
  • Open a pull request on the origin papercss repo. Be sure to include any picture and/or details on what you have done, it will helps reviewers a lot!
  • When your changes are approved, they will be merged into the develop branch, which will finally be merged into the master branch when we reach a milestone in terms of features and bug fixes. Check out Vincent Driessen's blog post, GitFlow, or #27 for more details on how this works.

Note: If you have a hotfix (usually typos and minor documentation tweaks), create your hotfix branch off of the master branch instead of develop: git checkout -b hotfix-thing master. The changes will be merged into both master and develop to keep the branches consistent.

About

I got tired of mODerN STylEs and clean pages on the internet. I also wanted to learn more about Flexbox and Less. So I made PaperCSS to solve these two challenges of mine :)

The goal of PaperCSS is to be as minimal as possible when adding classes. For example, a button should just look like a paper button. There shouldn't be a need to add a class such as paper-button. Because of this, adding PaperCSS to a markdown generated page should instantly paper-ize it.

While I'm proud of how it's turned out so far, I think there's a lot that can still be done to make it better. Such things as refactoring, adding more utility classes and more border types (like dashed/dotted) could really polish off this framework. That's why it's open sourced and available for pull requests!

If you are new to Git or Less, this would be a great project to get your feet wet with. I'd be happy to help walk you through the pull request process.

Credits and license

Code and documentation under ISC license.

Shout out to Tiffany Rayside for creating Imperfect Buttons, which was an inspiration for this project. https://codepen.io/tmrDevelops/pen/VeRvKX