geo-coop/web/themes/custom/geofresco
2020-02-05 14:15:52 -05:00
..
dist Commit compiled CSS 2019-10-10 01:17:37 -04:00
fonts Remove Pagella fonts from Family & Home entirely 2019-07-31 12:33:00 -04:00
gulp-tasks Just commit all of family home before editing 'cause i just accidentally overwrote gaeastohuaosneuh 2019-07-28 12:25:34 -04:00
images Commit logo and source file 2019-07-31 18:35:34 -04:00
src Ensure empty indicator marks hidden despite tag styling; position visible mark to left 2020-02-05 14:15:52 -05:00
.gitignore Just commit all of family home before editing 'cause i just accidentally overwrote gaeastohuaosneuh 2019-07-28 12:25:34 -04:00
.nvmrc Just commit all of family home before editing 'cause i just accidentally overwrote gaeastohuaosneuh 2019-07-28 12:25:34 -04:00
css Add a better css compile shortcut 2019-07-31 16:31:13 -04:00
favicon-code.txt Just commit all of family home before editing 'cause i just accidentally overwrote gaeastohuaosneuh 2019-07-28 12:25:34 -04:00
favicon.ico Just commit all of family home before editing 'cause i just accidentally overwrote gaeastohuaosneuh 2019-07-28 12:25:34 -04:00
geofresco.info.yml Ditch our empty folders 2019-09-22 19:37:14 -04:00
geofresco.libraries.yml Add responsive ifram javascript to our global (on all pages) library 2019-08-31 08:45:53 -04:00
geofresco.theme Output permalink URLs to allow remix of date as permalink 2020-02-05 14:11:10 -05:00
gulpfile.js Just commit all of family home before editing 'cause i just accidentally overwrote gaeastohuaosneuh 2019-07-28 12:25:34 -04:00
LICENSE.txt Just commit all of family home before editing 'cause i just accidentally overwrote gaeastohuaosneuh 2019-07-28 12:25:34 -04:00
package.json Update to Bulma 0.7.2+ 2019-07-31 10:27:43 -04:00
README.md Update README with CSS compile shortcut 2019-09-22 09:47:09 -04:00

GEO Fresco

A subtheme of Octavia, which is a subtheme of the base theme Bulma for Drupal. It has Bulma CSS framework, Sass, and Font Awesome built in.

@TODO radical new plan for making this theme, and maybe many Drutopia themes like it, way more sane and acceptable:

Everything using the Bulma flexbox approach.

Logo
Word-name
search
user menu
main menu

Getting Started

Browser Support

Autoprefixer & Babel is set to support:

  • IE >= 9
  • Last 3 versions of modern browsers.

These can be updated at any time within the package.json.

Run the following commands from the theme directory

If you haven't yet, install nvm: https://github.com/creationix/nvm

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 gulp, autoprefixer, gulp-sass and others.

Gulp tasks

Provided by default are seven npm scripts that point to Gulp tasks. We run gulp through npm scripts so the build tools can change without the user ever knowing.

  1. Run the default build task (gulp in this instance) and everything in it. This is the equivalent to running gulp on the command line with Gulp installed globally.
npm run build
  1. Compile Sass and JS.
npm run compile

or:

./css
  1. Watch files and run tasks when they change.
npm run watch
  1. Compress png and svg assets.
npm run compress
  1. Lint Sass and JS files.
npm run lint
  1. Delete compiled Sass, JS and style guide files from the /dist directory.
npm run clean