{"id":18372437,"url":"https://github.com/biko2/soda","last_synced_at":"2025-10-06T23:46:08.717Z","repository":{"id":56162704,"uuid":"222989168","full_name":"biko2/soda","owner":"biko2","description":"Drupal 8 Theme, component based.","archived":false,"fork":false,"pushed_at":"2020-11-23T11:52:13.000Z","size":510,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-06T19:38:16.234Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/biko2.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}},"created_at":"2019-11-20T17:15:17.000Z","updated_at":"2020-10-14T15:21:15.000Z","dependencies_parsed_at":"2022-08-15T13:50:48.809Z","dependency_job_id":null,"html_url":"https://github.com/biko2/soda","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/biko2/soda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biko2%2Fsoda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biko2%2Fsoda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biko2%2Fsoda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biko2%2Fsoda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/biko2","download_url":"https://codeload.github.com/biko2/soda/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biko2%2Fsoda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278698808,"owners_count":26030398,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-06T00:05:45.059Z","updated_at":"2025-10-06T23:46:08.699Z","avatar_url":"https://github.com/biko2.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SODA: Biko2 D8 Theme (component based)\n![by Biko2](https://raw.githubusercontent.com/biko2/biko-repo-bagdes/master/png/biko-bagge-pill.png)\n![GitHub last commit](https://img.shields.io/github/last-commit/biko2/soda.svg?style=plastic)\n![GitHub release](https://img.shields.io/github/release/biko2/soda.svg)\n![node](https://img.shields.io/node/v/gulp.svg)\n![Maintenance](https://img.shields.io/maintenance/yes/2020.svg)\n\n- [Soda: Biko2 D8 Theme (component based)](#front-biko2-d8-theme-based-on-cog)\n  - [Installation](#installation)\n    - [Setup Local Development](#setup-local-development)\n  - [Ejecutar herramientas](#ejecutar-herramientas)\n  - [Tasks](#tasks)\n  - [Theme Overview](#theme-overview)\n    - [Folder Structure](#folder-structure)\n    - [Sass Structure](#sass-structure)\n    - [Gulp](#gulp)\n    - [JavaScript](#javascript)\n    - [Images](#images)\n  - [Further Documentation](#further-documentation)\n  - [Build Notes](#build-notes)\n\n---\n\n## Installation\n\nAñadir repo de packagist al `composer.json` del proyecto\n```\n{\n            \"type\": \"composer\",\n            \"url\": \"https://packagist.org/\"\n        }\n```\n\nInstalar modulo biko_svgsprites\n```\ncomposer require 'biko2/biko_svgsprites'\n```\nInstalar modulo components!\n```\ncomposer require 'drupal/components'\n```\nDescargar este theme e incluirlo en el proyecto en `themes/custom`.\nMuy recomendable cambiarle el nombre al theme en los siguientes archivos:\n```\nsoda.breakpoints.yml\nsoda.info.yml\nsoda.libraries.yml\nsoda.theme\n```\n\n\n### Setup Local Development\n\nHay que instalar nodejs para preparar las herramientas.\n```\nnpm install\n```\ndesde la carpeta del theme `themes/custom/NOMBRE_DEL_THEME`\n\n## Ejecutar herramientas\nPara compilar todo.\n```\nnpm run build\n```\nPara tenerlo lanzado y que recompile cuando cambiamos los archivos.\n```\nnpm start\n\n```\n\n## Theme Overview\n\nStarter theme for Biko2 proyects component based.\n\n```\ncustom/ (theme folder)\n|-- soda/ \n```\n\n### Folder Structure\n\n```\n|-- assets/css/  (generated css)\n|-- assets/images/  (theme images)\n|-- assets/js/  (compiled js)\n|-- assets/pages/  (compiled style guide)\n|-- src/assets/js/  (js sources)\n|-- src/assets/images/  (image sources)\n|-- src/assets/fonts/  (font sources)\n|-- src/assets/scss/  (SMACSS based sass setup)\n|-- src/assets/twigPages/  (Twig based pages)\n|-- gulpfile.js  (configured gulp file)\n|-- *logo.png (placeholder logo png file)\n|-- *logo.svg (placeholder logo svg file)\n|-- node_modules/  (modules generated by npm)\n|-- package.json  (configured to load dependencies by npm)\n|-- README.md (Documentation)\n|-- screenshot.png (placeholder theme screenshot file)\n|-- soda.info.yml (theme config file)\n|-- soda.breakpoints.yml (theme breakpoints file)\n|-- soda.libraries.yml (starter libraries file to load theme assets)\n|-- soda.theme (file to use for preprocess functions)\n|-- theme-settings.php (file to use for making theme settings available in the GUI)\n```\n\n### Components Structure\n\nBEM \u0026 Atomic design structure.\n```\nsass/\n  |-- 00-base/\n  |-- 01-components/\n  |-- 02-component-blocks/\n  |-- 03-pages/\n  |-- style.scss\n```\n\n[BEM - Atomic documentation] (https://www.lullabot.com/articles/bem-atomic-design-a-css-architecture-worth-loving)\n\n* **styles.scss**  the manifest file that imports all the partials or folders with globbing\n\n### Gulp\n\nThe Gulp installation and tasks are setup to work on install, but are still intended to be easily updated based on project needs. The tasks are declared in `gulpfile.js` and broken out within the `gulp-tasks/` subfolder. You can list the available Gulp tasks with `gulp --tasks`. The most common gulp task is `gulp watch` when developing locally, which covers Sass compiling, JS linting, and building dynamic styleguides.  \n\n### JavaScript\n\nAn example JS file `app.js` is added by default in the `js/` folder. This file contains sample code wrapped in the `Drupal.behaviors` code standard. This JS file is added to the theme with the following portion of the code from `[theme-name].libraries.yml`. Cog does not have compression enabled for Gulp since it is relying on Drupal's caching system.\n\n```\nlib:\n  js:\n    js/app.js: {}\n    js/vendors.js: {}\n```\n\n### Images\n\n## Further Documentation\n\n\n## Build Notes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiko2%2Fsoda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiko2%2Fsoda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiko2%2Fsoda/lists"}