{"id":42223573,"url":"https://github.com/mage-os-lab/module-theme-uikit","last_synced_at":"2026-01-27T02:16:57.344Z","repository":{"id":305291308,"uuid":"1020220144","full_name":"mage-os-lab/module-theme-uikit","owner":"mage-os-lab","description":"Utilities for the Mage-OS/Magento UIkit theme","archived":false,"fork":false,"pushed_at":"2025-09-15T06:35:23.000Z","size":46,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T15:59:08.680Z","etag":null,"topics":["mage-os","mage-os-extension","magento","magento2","magento2-extension","magento2-module","uikit","uikit-framework","uikit3"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mage-os-lab.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-07-15T14:23:03.000Z","updated_at":"2025-09-15T06:35:19.000Z","dependencies_parsed_at":"2025-07-19T12:10:15.988Z","dependency_job_id":null,"html_url":"https://github.com/mage-os-lab/module-theme-uikit","commit_stats":null,"previous_names":["mage-os-lab/module-theme-uikit"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mage-os-lab/module-theme-uikit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mage-os-lab%2Fmodule-theme-uikit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mage-os-lab%2Fmodule-theme-uikit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mage-os-lab%2Fmodule-theme-uikit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mage-os-lab%2Fmodule-theme-uikit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mage-os-lab","download_url":"https://codeload.github.com/mage-os-lab/module-theme-uikit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mage-os-lab%2Fmodule-theme-uikit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28796965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T01:07:07.743Z","status":"online","status_checked_at":"2026-01-27T02:00:07.755Z","response_time":168,"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":["mage-os","mage-os-extension","magento","magento2","magento2-extension","magento2-module","uikit","uikit-framework","uikit3"],"created_at":"2026-01-27T02:16:57.269Z","updated_at":"2026-01-27T02:16:57.336Z","avatar_url":"https://github.com/mage-os-lab.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MageOS UIkit Theme Module\n\n**Set of utilities for the Mage-OS/Magento UIkit theme**\n\nSee also [mage-os-lab/theme-frontend-uikit](https://github.com/mage-os-lab/theme-frontend-uikit)\n\n---\n\n## Overview\n\nThe **UIkit Theme** module allows svg assets compilation inside static contents, removes unused css UIkit3 classes ( \"uk-\" prefixed classes) and preload fonts.\n\n## How it works\n\n### Fonts preload\n\nUse \"head.asset.preload\" layout block to preload fonts and assets inside default_head_blocks.xml files\n```\n...\n\u003cbody\u003e\n    \u003creferenceBlock name=\"head.asset.preload\"\u003e\n        \u003carguments\u003e\n            \u003cargument name=\"assets\" xsi:type=\"array\"\u003e\n                \u003citem name=\"uikit-icons\" xsi:type=\"array\"\u003e\n                    \u003citem name=\"path\" xsi:type=\"string\"\u003ejs/uikit/uikit-icons.min.js\u003c/item\u003e\n                    \u003citem name=\"type\" xsi:type=\"array\"\u003e\n                        \u003citem name=\"name\" xsi:type=\"string\"\u003etype\u003c/item\u003e\n                        \u003citem name=\"value\" xsi:type=\"string\"\u003escript\u003c/item\u003e\n                    \u003c/item\u003e\n                    \u003citem name=\"crossorigin\" xsi:type=\"array\"\u003e\n                        \u003citem name=\"name\" xsi:type=\"string\"\u003ecrossorigin\u003c/item\u003e\n                        \u003citem name=\"value\" xsi:type=\"string\"\u003efalse\u003c/item\u003e\n                    \u003c/item\u003e\n                \u003c/item\u003e\n                \u003citem name=\"montserrat-light\" xsi:type=\"array\"\u003e\n                    \u003citem name=\"path\" xsi:type=\"string\"\u003efonts/Montserrat/Montserrat-Light.woff2\u003c/item\u003e\n                    \u003citem name=\"type\" xsi:type=\"array\"\u003e\n                        \u003citem name=\"name\" xsi:type=\"string\"\u003etype\u003c/item\u003e\n                        \u003citem name=\"value\" xsi:type=\"string\"\u003efont/woff2\u003c/item\u003e\n                    \u003c/item\u003e\n                    \u003citem name=\"crossorigin\" xsi:type=\"array\"\u003e\n                        \u003citem name=\"name\" xsi:type=\"string\"\u003ecrossorigin\u003c/item\u003e\n                        \u003citem name=\"value\" xsi:type=\"string\"\u003efalse\u003c/item\u003e\n                    \u003c/item\u003e\n                \u003c/item\u003e\n                ...\n            \u003c/argument\u003e\n        \u003c/arguments\u003e\n    \u003c/referenceBlock\u003e\n\u003c/body\u003e\n```\n\n### UIkit CSS classes safelist\n\nTo compile UIkit css classes inside the css files you need to specify file paths to scan into uikit_whitelist.xml files:\n```\n\u003c?xml version=\"1.0\"?\u003e\n\u003cconfig xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:module:MageOS_UIkitTheme:etc/uikit_whitelist.xsd\"\u003e\n    \u003cpaths\u003e\n        \u003cpath name=\"mage-os_app\" xsi:type=\"string\" \u003eapp/design/frontend/Mage-OS/UIkit\u003c/path\u003e\n        \u003cpath name=\"mage-os_vendor\" xsi:type=\"string\" \u003evendor/mage-os/theme-frontend-uikit\u003c/path\u003e\n    \u003c/paths\u003e\n\u003c/config\u003e\n```\nOr compile a safelist of classes if any phtml/html/xml file expose them\n```\n\u003c?xml version=\"1.0\"?\u003e\n\u003cconfig xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:module:MageOS_UIkitTheme:etc/uikit_whitelist.xsd\"\u003e\n    \u003cterms\u003e\n        \u003cterm name=\"button\" xsi:type=\"string\" \u003euk-button\u003c/term\u003e\n        \u003cterm name=\"button-primary\" xsi:type=\"string\" \u003euk-button-primary\u003c/term\u003e\n    \u003c/terms\u003e\n\u003c/config\u003e\n```\n\n## Installation\n\n1. Install it into your Mage-OS/Magento 2 project with composer:\n```\ncomposer require mage-os/module-theme-uikit\n```\n\n2. Enable module\n```\nbin/magento setup:upgrade\n```\n\nMake sure to also install [mage-os-lab/theme-frontend-uikit](https://github.com/mage-os-lab/theme-frontend-uikit)\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmage-os-lab%2Fmodule-theme-uikit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmage-os-lab%2Fmodule-theme-uikit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmage-os-lab%2Fmodule-theme-uikit/lists"}