https://github.com/taniarascia/primitive
⛏️ A front-end design toolkit for developing web apps.
https://github.com/taniarascia/primitive
boilerplate css css-framework custom framework frontend sass scss starter-kit template workflow
Last synced: 5 months ago
JSON representation
⛏️ A front-end design toolkit for developing web apps.
- Host: GitHub
- URL: https://github.com/taniarascia/primitive
- Owner: taniarascia
- License: mit
- Created: 2015-12-15T03:15:37.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-11-26T15:57:36.000Z (almost 5 years ago)
- Last Synced: 2025-04-08T11:11:39.100Z (7 months ago)
- Topics: boilerplate, css, css-framework, custom, framework, frontend, sass, scss, starter-kit, template, workflow
- Language: SCSS
- Homepage: https://taniarascia.github.io/primitive
- Size: 1020 KB
- Stars: 924
- Watchers: 27
- Forks: 81
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- Awesome-CSS-Resources - primitive: - end design toolkit for developing web apps. (Frameworks / Resources / P)
README
# Primitive UI
[](https://opensource.org/licenses/MIT) [](https://www.npmjs.com/package/primitive-ui)
A front-end design toolkit built with Sass for developing responsive web apps. Primitive also provides helpful, browser-consistent styling for default HTML elements - buttons, forms, tables, lists, and typography.
### [View documentation](https://taniarascia.github.io/primitive)
## Installation
### CSS quick start (easy)
- [Download the stylesheet](https://taniarascia.github.io/primitive/css/main.css) or use the CDN URL: [https://unpkg.com/primitive-ui/dist/css/main.css](https://unpkg.com/primitive-ui/dist/css/main.css).
- Save the stylesheet and link to it in the head of your project.```html
```
It's all set to go and your HTML elements will be given sensible default styling.
### Sass integration (recommended)
The beauty of Primitive is the ease with which you can create unique designs in a beautiful, simple system.
```bash
# Clone the repo
git clone https://github.com/taniarascia/primitive.git# Watch for file changes
npm run sass:watch# Build a minified production build
npm run sass:build
```Now you can begin modifying variables in `variables.scss`. This file will define your colors, typography, sizes, breakpoints, buttons, borders, and more. Define all your variables here to keep your project organized.
You can view `dist/test.html` or `docs/template.html` to see some example elements as you make changes.
### Gulp usage
If you use would prefer to use Gulp for compiling, the option is available.
- Watch modifications and recompile: `yarn gulp-watch` / `npm run gulp-watch`
- Build CSS: `yarn gulp-css` / `npm run gulp-css`## Acknowledgements
- Dave Gamache for building [Skeleton CSS](http://getskeleton.com/), the original inspiration for building Primitive and understanding responsive CSS.
## Contributing
Please feel free to fork, comment, critique, or submit a pull request.
## Author
- [Tania Rascia](https://www.taniarascia.com)
## License
This project is open source and available under the [MIT License](LICENSE.md).