{"id":19740143,"url":"https://github.com/nceas/metacatui-themes","last_synced_at":"2025-02-27T22:33:15.038Z","repository":{"id":148058740,"uuid":"591397977","full_name":"NCEAS/metacatui-themes","owner":"NCEAS","description":"Themes for MetacatUI repositories","archived":false,"fork":false,"pushed_at":"2025-02-25T19:05:43.000Z","size":24652,"stargazers_count":1,"open_issues_count":6,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-25T20:20:16.762Z","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/NCEAS.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":"2023-01-20T16:55:38.000Z","updated_at":"2025-02-25T19:05:46.000Z","dependencies_parsed_at":"2023-09-22T01:51:34.619Z","dependency_job_id":"cf9e57c6-d1ec-4257-946c-882e60ced23f","html_url":"https://github.com/NCEAS/metacatui-themes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NCEAS%2Fmetacatui-themes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NCEAS%2Fmetacatui-themes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NCEAS%2Fmetacatui-themes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NCEAS%2Fmetacatui-themes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NCEAS","download_url":"https://codeload.github.com/NCEAS/metacatui-themes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241068775,"owners_count":19904084,"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-11-12T01:19:44.171Z","updated_at":"2025-02-27T22:33:15.020Z","avatar_url":"https://github.com/NCEAS.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MetacatUI themes\n\nThis repository contains files for public themes for [MetacatUI](https://nceas.github.io/metacatui/), mainly themes created for [DataONE Plus Hosted Repositories](https://www.dataone.org/hosted-repo/).\n\nThemes distributed with MetacatUI can be found [here](https://github.com/NCEAS/metacatui/tree/main/src/js/themes).\n\nFor detailed instructions on how to create a custom theme, see the [MetacatUI Themes docs](https://nceas.github.io/metacatui/install/configuration/index.html)\n\n\n## Adding a new theme to this repo\n\n1. Use the `mk-theme.sh` script to copy of the `src/theme-boilerplate` directory and rename it for your new theme:\n \n```bash\nbash scripts/mk-theme.sh YOUR-THEME-NAME-HERE\n```\n\n2. Edit the repo `src/new-theme/js/themes/new-theme/config.js` file to reflect the MetacatUI behavior that the new repo wants (access policy default, editing controls, admin group id, repository name, etc.)\n\n3. Edit the HTML templates in `src/new-theme/js/themes/new-theme/templates` and CSS in `src/new-theme/js/themes/new-theme/css` to create the look and feel for the repo.\n\n4. For hosted repositories: Add the new repo's `urn:node` identifier to the `dataoneHostedRepos` list in the source MetacatUI AppModel. For example, this is what it will look like in `metacatui/src/js/models/AppModel.js`:\n```js\n      dataoneHostedRepos: [\"urn:node:KNB\", \"urn:node:ARCTIC\", \"urn:node:CA_OPC\", \"urn:node:ESS_DIVE\", \"urn:node:CERP_SFWMD\", \"urn:node:Your-New-Theme\"],\n```\n\nMake sure that change is pushed to the MetacatUI code base and deployed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnceas%2Fmetacatui-themes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnceas%2Fmetacatui-themes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnceas%2Fmetacatui-themes/lists"}