The Agaric pattern library & style guide, originally developed for agaric.com by Todd Linkner.
Find a file
2023-10-24 14:02:53 -04:00
agaric Add container class to fix indenting on webform confirmation pages 2023-10-24 14:02:53 -04:00
static-layouts Add blog post 2018-09-14 23:10:26 -04:00
styleguide Commit updated styleguide (only line number references changed) 2019-01-28 21:41:58 -05:00
.gitignore Ignore node modules 2018-06-20 21:39:31 -04:00
.nvmrc Add node version file 2018-08-20 09:54:00 -04:00
apple-touch-icon-72.png initial import 2018-06-20 21:38:13 -04:00
apple-touch-icon-114.png initial import 2018-06-20 21:38:13 -04:00
apple-touch-icon-144.png initial import 2018-06-20 21:38:13 -04:00
apple-touch-icon.png initial import 2018-06-20 21:38:13 -04:00
css Add shortcut for compiling CSS from Sass 2019-08-01 11:37:54 -04:00
favicon.ico Use standard spelling for Favicon 2018-08-20 07:03:51 -04:00
Gruntfile.js Place CSS exactly parallel to the SCSS for easier relations to fonts etc 2018-08-20 13:03:44 -04:00
logo.png initial import 2018-06-20 21:38:13 -04:00
package.json Update NPM packages, including updating Bulma to what we actually have compiled 2019-11-18 04:49:17 -05:00
README.md Update README 2020-06-12 11:05:02 -04:00

About the Agaric Pattern Library & Style Guide

This living styleguide is powered by the same styles as power the Agaric site itself. Changes in agaric/sass/agaric/ will be reflected both in the styleguide and ultimately on the live sites, so be cautious!

Set up

Use the right version of node with:

nvm use

This command will look at your .nvmrc file and use the version node.js specified in it. This ensures all developers use the same version of node for consistency.

If that version of node isn't installed, install it with:

nvm install

Install npm dependencies with

npm install

This command looks at package.json and installs all the npm dependencies specified in it. Some of the dependencies include grunt and grunt-sass.

Usage

Compile CSS

grunt sass

See more available Grunt commands:

grunt --help

Stuff we're not using

Rebuild the style guide

grunt kss

Run the static design layouts

grunt

This will open the static layouts in your browser. At the bottom you can click between them and to the style guide.

Contents

The agaric folder contains the styles, as Sass .scss files, that we expect to be applicable to all Agaric-branded web applications.

Markup examples and static layouts

See styleguide/index.html for project info.