@jaredpdesigns/pasta
Version:
Pasta provides a great starting place for web projects. It combines light styling for common web elements, yummy!
64 lines (47 loc) • 1.62 kB
Markdown
# Pasta
Pasta provides a great starting place for web projects. It combines light styling for common web elements, yummy!
Check out the docs: [https://pasta.jaredpendergraft.com](https://pasta.jaredpendergraft.com)
***
## Get Started
```bash
npm add /pasta
```
Import the `css` files into your main CSS file
```css
// Import from node_modules
"@jaredpdesigns/pasta/pasta.css";
// Or optionally load from unpkg
"https://unpkg.com/@jaredpdesigns/pasta";
```
Or pick and choose which elements you want to import
```css
// Global reset
"@jaredpdesigns/pasta/reset.css";
// Individual areas of focus
"@jaredpdesigns/pasta/colors.css";
"@jaredpdesigns/pasta/focus.css";
"@jaredpdesigns/pasta/shadows.css";
"@jaredpdesigns/pasta/spacing.css";
"@jaredpdesigns/pasta/type.css";
"@jaredpdesigns/pasta/widths.css";
// Option class-based utilities
"@jaredpdesigns/pasta/utilities.css";
// Optional extensions for styling other types of content
"@jaredpdesigns/pasta/backdrop.css";
"@jaredpdesigns/pasta/code.css";
"@jaredpdesigns/pasta/controls.css";
"@jaredpdesigns/pasta/table.css";
```
Don’t want to fuss with compiling? Use our pre-configured build for a quick project set-up
```html
<link rel="stylesheet" href="https://unpkg.com/@jaredpdesigns/pasta" />
```
Add your own flavors
```css
:root {
--color__hue--base: 0deg 0% 0%;
--color__hue--highlight: 0deg 90% 64%;
--type__family--primary: "Satoshi", sans-serif;
--type__family--secondary: "Cabinet Grotesk", sans-serif;
}
```