{"id":22164932,"url":"https://github.com/tgdev/generator-inuit","last_synced_at":"2025-07-26T11:31:47.425Z","repository":{"id":12055348,"uuid":"14641598","full_name":"tgdev/generator-inuit","owner":"tgdev","description":"A yeoman generator for the inuit css framework by Harry Roberts","archived":false,"fork":false,"pushed_at":"2014-08-09T03:42:48.000Z","size":364,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-20T00:49:46.520Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tgdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-23T12:02:14.000Z","updated_at":"2021-01-15T09:51:12.000Z","dependencies_parsed_at":"2022-09-26T18:11:59.515Z","dependency_job_id":null,"html_url":"https://github.com/tgdev/generator-inuit","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgdev%2Fgenerator-inuit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgdev%2Fgenerator-inuit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgdev%2Fgenerator-inuit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgdev%2Fgenerator-inuit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tgdev","download_url":"https://codeload.github.com/tgdev/generator-inuit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227674005,"owners_count":17802303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-02T05:11:59.204Z","updated_at":"2024-12-02T05:12:02.345Z","avatar_url":"https://github.com/tgdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generator-inuit\n\nA [Yeoman](http://yeoman.io) generator for Harry Robert's [inuit](http://inuitcss.com) css framework.\n\n**NOTE: Requires Sass 3.3**\n\n## Getting Started\n\n### Installing and running the inuit generator\n\nTo install generator-inuit from npm, run:\n\n```\nnpm install -g generator-inuit\n```\n\nThen, from your projects directory, initiate the generator:\n\n```\nyo inuit\n```\n\n### Helpful articles from [CSS Wizardry](http://csswizardry.com)\nBelow are 3 of the most helpful references to understanding Inuit and OOCSS concepts.\n\n[MindBEMding – getting your head ’round BEM syntax](http://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/)\n\n[The open/closed principle applied to CSS](http://csswizardry.com/2012/06/the-open-closed-principle-applied-to-css/)\n\n[The single responsibility principle applied to CSS](http://csswizardry.com/2012/04/the-single-responsibility-principle-applied-to-css/)\n\n## Features\n\n### Inuit Objects \u0026 Abstractions\nChoose which inuit objects/abstractions you want to use in your project.\n\nTo skip this step, simply press enter as these can be configured manually once your project has been generated via the _vars.scss file.\n\n### SMACSS support\n[Jonathan Snook's](http://snook.ca) SMACSS guide helps organise your site's CSS into flexible, maintainable chunks.\n\nFiles created are;\n- 1-base.scss\n- 2-layout.scss\n- 3-states.scss\n- 4-theme.scss\n\nThese files are placed in the css/src directory and automatically imported into css/style.scss.\n\nTwo more directories are added place your Sass partials into;\n- css/src/modules\n- css/src/plugins\n\nFor more info on SMACSS, visit [SMACSS website](http://smacss.com).\n\n### Grunt support\n[Grunt](http://gruntjs.com) helps automate your workflow.\n\n####Tasks\n\n**Development**\n\n```\ngrunt serve\n```\n\n- activates livereload\n- opens site in browser (http://localhost:9000)\n- watches files for changes\n\n```\ngrunt watch\n```\n\n- watches for changes on all html files and assets (sass \u0026 js)\n\n**Production**\n\n```\ngrunt build\n```\n\n- Generates minified site stylesheet\n- Optimises images\n- Concatinates and minifies js\n- Places all build assets (css, js \u0026 imgs) in dist directory\n- Copies all other build files (.ico, html \u0026 web fonts) to dist directory\n\nThere are way more things you can do with grunt like [Responsive Images](https://github.com/andismith/grunt-responsive-images), [HTML Partials](https://github.com/vanetix/grunt-includes), [Compass](https://github.com/gruntjs/grunt-contrib-compass), and [loads more](http://gruntjs.com/plugins), so feel free to add more to your gruntfile and package.json.\n\n*NOTE: Saying no to grunt option will generate a basic watch file to watch for Sass changes via the command line*\n\n### Sass module sub-generator\n\n```\nyo inuit:sassmod \"module-name\"\n```\n\n#### How it works\n- Creates partial sass file in css/src/modules/_[module-name].scss\n- Adds @import \"src/modules/[module-name]\"; into style.scss\n\n*Note: you will be prompted by the sub-generator to overwrite style.scss with the new changes. Please choose yes and then enter.*\n\n## Yeoman Info\n\n### What is Yeoman?\nYeoman is more than just a tool. It's a workflow; a collection of tools and best practices working in harmony to make developing for the web even better.\n\nFind out more at [yeoman.io](http://yeoman.io)\n\n## License\n\n[MIT License](http://en.wikipedia.org/wiki/MIT_License)\n\n## Changelog\n\nv0.6.5 - Found dependency in quotes sass module using !global (Sass 3.3)\n\nv0.6.4 - Fixed error in gruntfile\n\nv0.6.3 - Added missing grunt tasks to grunt build\n\nv0.6.0 - Restructured scaffolding to separate files into app and dist. Added additional grunt tasks (autoprefixer, cssmin and rigger)\n\nv0.5.2 - Fixed livereload issue and upgraded imagemin grunt package\n\nv0.5.0 - Create partial sass files with sub-generator\n\nv0.4.0 - Activate inuit modules\n\nv0.3.0 - Grunt option/support\n\nv0.2.0 - SMACSS option/support\n\nv0.1.0 - Basic bowser install of inuit.css\n\n## Thank yous\nTwo people deserve a mention for helping me get a couple of the features done in one way or another.\n\n1. [Ritchie Anesco](https://github.com/ritchieanesco) for helping out with the inuit objects \u0026 abstrations feature\n\n2. [Remy Bach](https://github.com/remybach) for [this article](http://remy.bach.me.uk/blog/2013/10/updating-existing-files-with-yeoman/) which enabled me to write content to the _vars.scss and style.scss files via a simple 'find hook and replace' solution.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftgdev%2Fgenerator-inuit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftgdev%2Fgenerator-inuit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftgdev%2Fgenerator-inuit/lists"}