{"id":13397313,"url":"https://github.com/happycog/templatestarter2016","last_synced_at":"2025-10-27T10:15:18.827Z","repository":{"id":141844328,"uuid":"58401936","full_name":"happycog/templatestarter2016","owner":"happycog","description":"Happy Cog frontend starter files","archived":false,"fork":false,"pushed_at":"2016-06-07T17:54:37.000Z","size":14959,"stargazers_count":325,"open_issues_count":0,"forks_count":24,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-05-07T20:12:25.107Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/happycog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-05-09T19:20:59.000Z","updated_at":"2024-01-08T19:50:33.000Z","dependencies_parsed_at":"2024-01-18T10:17:29.110Z","dependency_job_id":"7dc0b929-9f63-4b10-9365-a12e076fd859","html_url":"https://github.com/happycog/templatestarter2016","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happycog%2Ftemplatestarter2016","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happycog%2Ftemplatestarter2016/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happycog%2Ftemplatestarter2016/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happycog%2Ftemplatestarter2016/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/happycog","download_url":"https://codeload.github.com/happycog/templatestarter2016/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252949285,"owners_count":21830153,"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-07-30T18:01:16.778Z","updated_at":"2025-10-27T10:15:18.733Z","avatar_url":"https://github.com/happycog.png","language":"CSS","funding_links":[],"categories":["CSS"],"sub_categories":[],"readme":"## Happy Cog starter files\n - Does not include [Patternlab](http://patternlab.io/), can be ported over easily\n\n### Coding Style\n\nWe follow Harry Robert's [CSS Guidelines](http://cssguidelin.es/)\n\n\n#### Naming Classes\n\n- Try to extract things you see repeating over and over into classes so you can reuse them for the sake of speed. We use an [Expressive CSS](http://johnpolacek.github.io/expressive-css/ BEM-hybrid) approach: class names should be very descriptive and never abbreviated (ex. `.button` not `.btn`). Follow BEM syntax but map to the property/value if only one style is captured. ex. `.text-align--center`, `.position--relative`. Please review the `_library.tools.scss` partial to see whats written and available for reuse.\n\n\n#### Naming CSS Partials\n\n- `config.` prefix denotes other files have dependencies on them\n- `library.` prefix means file is basic, global styling and tooling\n- `module.` is a small block of code that is indivisible\n- `object.` is a collection of modules or a module and other elements\n\n\n#### Breakpoints\n\n- See `_config.mediaqueries.scss`\n- We're using http://include-media.com/ to handle our media queries. Example usage:\n```\n\n@include media('\u003elarge') {\n\n}\n@include media('\u003e=large') {\n\n}\n@include media('\u003clarge') {\n\n}\n\n```\n\n\n#### Spacing\n\n- See `_library.spacing.scss`\n- We're using the lobotomized owl technique for vertical spacing, meaning you should rarely if ever have to add margin-top/margin-bottom on elements for spacing. Instead, please add a class of `.spacing`, `.spacing--half`, `.spacing--double` etc to the elements parents in order to create space between elements. If you have to add a parent div strictly for spacing, that is completely acceptable.\n- We use the variable `$padding` to keep spacing around objects consistent\n\n\n#### Grid\n\n- Built off Neat grids\n- Starter grid is a 12 column grid with fixed 10px gutters (see `_config.grid.scss`).\n- Columns must be created with a `.layout-NNN` class. Where `NNN` is one of `full`, `split-2`, `split-3`, or `split-4`. Column percentages are expressed as `.layout-split-2--25-75` where on desktop we expect a 2 column layout where the first column is 25% width and the second is 75% width.\n- To avoid `.layout-full \u003e .column` you can just use `.column-full`\n- Gutters are defined at a fixed width per column.\n\n\n#### Units of measure\n\n- Please use the `rem()` function for all units (see `_config.map-fun.scss`), it will print a px fallback ex. `font-size: rem(15);`\n\n\n#### Typography\n\n- See [Expressive CSS for Type](http://cognition.happycog.com/article/expressive-type-for-css) and `_library.type-styles.scss`\n- Text styles should be defined once, captured in classes to be applied directly to the elements in the HTML, classes like `.type-alpha--xxl`\n- Text style classes should _never_ be extended with `@extend` in Sass, in general, please do not use `@extend`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappycog%2Ftemplatestarter2016","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhappycog%2Ftemplatestarter2016","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappycog%2Ftemplatestarter2016/lists"}