{"id":15111805,"url":"https://github.com/ui-d/goel","last_synced_at":"2026-02-20T18:31:31.131Z","repository":{"id":143761309,"uuid":"223020358","full_name":"ui-d/Goel","owner":"ui-d","description":"⚔️ GOEL is an SCSS library, which consists of multiple placeholders, build in utility/functional/atomic style.","archived":false,"fork":false,"pushed_at":"2019-12-28T16:46:59.000Z","size":1052,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-30T06:58:56.435Z","etag":null,"topics":["atomic-css","css","css3","functional-css","placeholder","sass","sass-framework","sass-library","utility-classes","utility-library","utility-placeholder"],"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/ui-d.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}},"created_at":"2019-11-20T20:21:26.000Z","updated_at":"2020-04-25T11:36:47.000Z","dependencies_parsed_at":"2023-07-18T01:22:52.603Z","dependency_job_id":null,"html_url":"https://github.com/ui-d/Goel","commit_stats":null,"previous_names":["michu1234/goel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ui-d%2FGoel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ui-d%2FGoel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ui-d%2FGoel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ui-d%2FGoel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ui-d","download_url":"https://codeload.github.com/ui-d/Goel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378092,"owners_count":20929293,"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":["atomic-css","css","css3","functional-css","placeholder","sass","sass-framework","sass-library","utility-classes","utility-library","utility-placeholder"],"created_at":"2024-09-26T00:23:41.623Z","updated_at":"2025-10-20T10:48:20.888Z","avatar_url":"https://github.com/ui-d.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/michu1234/Goel/master/src/img/goel_background.jpg\" width=\"100%\" alt=\"Goel logo\"\u003e\n\u003c/p\u003e\n\n\u0026nbsp; \u0026nbsp;\n\u003cp align=center\u003e\u003cimg src=\"https://raw.githubusercontent.com/michu1234/Goel/master/src/img/mit.png\"\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/michu1234/Goel/blob/master/src/img/goel_logo.jpg?raw=true\" width=\"50px\" alt=\"Goel logo\"\u003e \u003c/p\u003e\n\u003ch1 style=\"margin-top: -25px\" align=center\u003eGOEL \u003c/h1\u003e\n\u003ch3 style=\"margin-top: -25px\" align=center\u003eUtility SASS Placeholders\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003eGOEL is an SCSS library, which consists of multiple placeholders, build in utility/functional/atomic style.\u003c/p\u003e\n\n## Contents\n\n- [Description](#description)\n- [Highlights](#highlights)\n- [Install](#intsall)\n- [Placeholder](#placeholder)\n- [Code comparison](#comparison)\n- [Utility placeholder implementation](#implementation)\n- [Usage](#usage)\n- [Output](#output)\n- [License](#license)\n\n\n## Description\n\nGoel is a sass placeholder library, allowing to marry functional and semantic approach in css. It will help you write clean, easy to read code, with DRY output.\n\n## Highlights\n\nThis approach comes with multiple benefits for front-end / ui developers.\n\n- match semantic and functional CSS\n- create developer-friendly class names using well-known methodologies like BEM, OOCSS\n- use a functional approach to CSS\n- use well-known architecture like ITCSS\n- write clean CSS without unnecessary repetition\n- write clean HTML without cluttering it with unnecessary classes\n- stop wasting time to set up additional dependencies\n- placeholders are not included in output = DRY code\n- Tailwind CSS naming convention\n- easy to set up and compose as you like\n- easy to control how things look\n- easy to extend (new placeholders, mixins, variables, etc.)\n- clean and beautiful output, configure as you wish\n- simple and minimal syntax\n\n\n## Install\n\n```\nnpm install @michu1234/goel\n```\nImport GOEL.scss from  @import 'node_modules/@michu1234/goel/GOEL/GOEL' to your SASS file\n\n## PLACEHOLDER\n\n\u003e Sass has a special kind of selector known as a “placeholder”. It looks and acts a lot like a class selector, but **it starts with a % and it's not included in the CSS output**. In fact, any complex selector (the ones between the commas) that even contains a placeholder selector isn't included in the CSS, nor is any style rule whose selectors all contain placeholders,\n\u003cbr /\u003e\n\n\n```scss\n// placeholders\n%purple {\n  color: purple;\n}\n%red {\n color: red;\n}\n\np {\n  @extend %purple;\n}\n\nspan {\n  @extend %purple;\n}\n\nh2 {\n  @extend %purple;\n}\n\nh1 {\n  @extend %purple;\n}\n\n```\n\u003cp style=\"font-size: 55px\" align=\"center\"\u003e👇\u003c/p\u003e\n\u0026nbsp;\u0026nbsp;\n\n```scss\nh1, h2, span, p {\n  color: purple;\n}\n\n```\n\n## Comparison\nLet's compare functional and semantic approach\n\n\u003cp align=\"center\"\u003e\u003cimg width=\"100%\" src=\"https://raw.githubusercontent.com/michu1234/Goel/master/src/img/goel.png\" alt=\"goel comparison\" border=\"0\"\u003e\u003c/p\u003e\n\n## Implementation\n\n##### 1 GOEL placeholder consists of 1 CSS declaration\n\n```scss\n%flex-row {\n  flex-direction: row;\n}\n%flex-row-reverse {\n  flex-direction: row-reverse;\n}\n%flex-col {\n  flex-direction: column;\n}\n%visible {\n  visibility: visible;\n}\n%invisible {\n  visibility: hidden;\n}\n\n```\n\n## Usage\n\n```html\n\u003cdiv class=\"menu\"\u003e\n\n\t\u003cdiv class=\"menu__item menu__item--green\"\u003e\u003c/div\u003e\n\t\u003cdiv class=\"menu__item menu__item--green\"\u003e\u003c/div\u003e\n\n\u003c/div\u003e\n\n```\n\n```scss\n.menu {\n  width: 500px;\n  padding: 20px 40px 20px 40px;\n\n  @extend %flex;\n  @extend %flex-col;\n  @extend %font-bold;\n  @extend %text-center;\n  @extend %bg-black;\n  @extend %c-white;\n\n  \u0026__item {\n    @extend %underline;\n    @extend %flex;\n  }\n\n  \u0026--green {\n    @extend %c-green;\n  }\n}\n\n```\n\n## Output\n\n```scss\n.menu {\n  @extend %flex;\n}\n.menu__block {\n  @extend %flex;\n}\n.menu__wrapper {\n@extend %flex;\n}\n.menu__list {\n  @extend %flex;\n}\n.menu__list-item {\n  @extend %flex;\n}\n\n```\n\u003cp style=\"font-size: 55px\" align=\"center\"\u003e👇\u003c/h\u003e\n\n\n```css\n.menu, .menu__block, .menu__wrapper, .menu__list, .menu__list-item {\n  display: flex;\n}\n\n```\n\n\n## License\n\n[MIT](https://github.com/wolfulus/zoya/blob/master/license.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fui-d%2Fgoel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fui-d%2Fgoel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fui-d%2Fgoel/lists"}