{"id":13397569,"url":"https://github.com/ilrWebServices/union","last_synced_at":"2025-03-14T00:32:28.811Z","repository":{"id":35123207,"uuid":"172766989","full_name":"ilrWebServices/union","owner":"ilrWebServices","description":"A web component library for the ILR School","archived":false,"fork":false,"pushed_at":"2024-09-11T15:06:48.000Z","size":3656,"stargazers_count":6,"open_issues_count":14,"forks_count":0,"subscribers_count":6,"default_branch":"union_ng","last_synced_at":"2024-10-12T04:23:53.230Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ilrwebservices.github.io/union/","language":"Twig","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/ilrWebServices.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-26T18:29:55.000Z","updated_at":"2024-09-11T15:07:10.000Z","dependencies_parsed_at":"2023-02-15T11:45:50.295Z","dependency_job_id":"74ef46e9-c944-4675-96b8-0195d383710a","html_url":"https://github.com/ilrWebServices/union","commit_stats":{"total_commits":470,"total_committers":3,"mean_commits":"156.66666666666666","dds":"0.40638297872340423","last_synced_commit":"548a858d45257ae4d10d4862cdea88646760dc0a"},"previous_names":[],"tags_count":68,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilrWebServices%2Funion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilrWebServices%2Funion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilrWebServices%2Funion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilrWebServices%2Funion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilrWebServices","download_url":"https://codeload.github.com/ilrWebServices/union/tar.gz/refs/heads/union_ng","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243504822,"owners_count":20301510,"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:31.778Z","updated_at":"2025-03-14T00:32:28.183Z","avatar_url":"https://github.com/ilrWebServices.png","language":"Twig","funding_links":[],"categories":["HTML","Drupal themes and design systems with Drupal integration"],"sub_categories":[],"readme":"# Union - Cornell University ILR School Design System\n\nA simple, Twig-based component builder and styleguide compatible with Drupal.\n\n## Setup\n\n```\n$ composer install\n```\n\n## Usage\n\n### Creating components\n\n```\n$ composer run union:new\n```\n\nComponent example:\n\n```\ncomponents/button/\n├── buttons.data.yml\n├── button.twig\n├── button.css\n└── button.libraries.yml\n```\n\nLibrary example:\n\n```\n# button.libraries.yml\n\ncss:\n  button.css: {}\njs:\n  button.js: {}\ndependencies:\n  - base\n```\n\n### Connect to Drupal\n\n[Union Organizer](https://github.com/ilrWebServices/union_organizer/) is a custom Drupal 8 module configures Twig namespacing and adds components and skins as Drupal libraries. See the [Union Organizer readme](https://github.com/ilrWebServices/union_organizer/blob/master/README.md) for installation and documentation.\n\n### Helper functions\n\n#### union_attributes().\n\nAbstracts Drupal Attribute functionality so that attributes can be dynamically created or added to from within a template. See the `form` component.\n\n## Publishing a new Release\n\nThis package is published to Packagist. To create a new release:\n\n```\n# TBD\n```\n\n## Roadmap\n\n- Refactor colors. Define names in global but actual colors in skins.\n- Actually use libraries to build css rather than single union.css and union.js files.\n- In all cases, skin CSS should be loaded after component CSS.\n- Cleaner separation of component and skin typography.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FilrWebServices%2Funion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FilrWebServices%2Funion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FilrWebServices%2Funion/lists"}