{"id":18372433,"url":"https://github.com/biko2/front","last_synced_at":"2025-10-14T09:17:47.662Z","repository":{"id":44478383,"uuid":"158701623","full_name":"biko2/front","owner":"biko2","description":"Drupal 8 base theme","archived":false,"fork":false,"pushed_at":"2022-11-22T10:54:51.000Z","size":21758,"stargazers_count":0,"open_issues_count":13,"forks_count":3,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-06-22T16:56:10.298Z","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":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":"2018-11-22T13:14:11.000Z","updated_at":"2019-11-18T08:55:14.000Z","dependencies_parsed_at":"2022-09-12T07:10:27.821Z","dependency_job_id":null,"html_url":"https://github.com/biko2/front","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/biko2/front","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biko2%2Ffront","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biko2%2Ffront/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biko2%2Ffront/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biko2%2Ffront/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/biko2","download_url":"https://codeload.github.com/biko2/front/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biko2%2Ffront/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018499,"owners_count":26086383,"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-14T02:00:06.444Z","response_time":60,"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:44.623Z","updated_at":"2025-10-14T09:17:47.644Z","avatar_url":"https://github.com/biko2.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Front: Biko2 D8 Theme (based on COG)\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/front.svg?style=plastic)\n![GitHub release](https://img.shields.io/github/release/biko2/front.svg)\n![node](https://img.shields.io/node/v/gulp.svg)\n![Maintenance](https://img.shields.io/maintenance/yes/2020.svg)\n\n- [Front: Biko2 D8 Theme (based on COG)](#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\nInstalar el tema principal.\n```\ncomposer require 'drupal/cog'\n```\nDescargar este theme e incluirlo en el proyecto.\n\n\n### Setup Local Development\n\nHay que instalar nodejs para preparar las herramientas. TODO: poner notas para hacerlo.\nDesde la carpeta del theme (theme/custom/front) instalar los modulos de cada herramienta.\n```\nnpm install\n```\n\n## Ejecutar herramientas\nPara compilar todo.\n```\ngulp\n```\nPara tenerlo lanzado y que recompile cuando cambiamos los archivos.\n```\ngulp watch\n\n```\nPara lanzar el entorno de desarrollo con live reload.\n```\ngulp serve\n```\n\nPara compilar solo SASS, JS y las páginas.\n```\ngulp build:dev\n```\n\n## Tasks\n\u003e Based on [gulp-tasks-front](https://github.com/biko2/gulp-tasks-front)\n\n## Theme Overview\n\nStarter theme for Biko2 proyects.\n\n```\ncontrib/ (theme folder)\n|-- cog/\n\ncustom/ (theme folder)\n|-- front/ (cloned from cog starterkit)\n```\n\n### Folder Structure\n\n```\n|-- assets/css/  (generated css)\n|-- assets/images/  (theme images)\n|-- assets/js/  (compiled js)\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|-- install-node.sh (bash script to install nvm and node)\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|-- front.info.yml (theme config file)\n|-- front.breakpoints.yml (theme breakpoints file)\n|-- front.libraries.yml (starter libraries file to load theme assets)\n|-- front.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### Sass Structure\n\nBEM \u0026 Atomic design structure.\n```\nsass/\n  |-- 01_tools/\n  |-- 02_settings/\n  |-- 03_generic/\n  |-- 04_elements/\n  |-- 05_objects/\n  |-- 06_components/\n  |-- 07_pages/\n  |-- 08_utilities/\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%2Ffront","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiko2%2Ffront","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiko2%2Ffront/lists"}