{"id":19397904,"url":"https://github.com/shgkme/nextcloud-styles-extractor","last_synced_at":"2026-02-09T16:04:33.285Z","repository":{"id":262012485,"uuid":"808790266","full_name":"ShGKme/nextcloud-styles-extractor","owner":"ShGKme","description":"Nextcloud server global styles for testing and development","archived":false,"fork":false,"pushed_at":"2024-11-09T23:09:38.000Z","size":17445,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T05:52:38.839Z","etag":null,"topics":["nextcloud"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ShGKme.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}},"created_at":"2024-05-31T20:31:29.000Z","updated_at":"2024-11-09T23:09:35.000Z","dependencies_parsed_at":"2024-11-09T22:40:55.082Z","dependency_job_id":null,"html_url":"https://github.com/ShGKme/nextcloud-styles-extractor","commit_stats":null,"previous_names":["shgkme/nextcloud-styles-extractor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShGKme%2Fnextcloud-styles-extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShGKme%2Fnextcloud-styles-extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShGKme%2Fnextcloud-styles-extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShGKme%2Fnextcloud-styles-extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShGKme","download_url":"https://codeload.github.com/ShGKme/nextcloud-styles-extractor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248830389,"owners_count":21168272,"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":["nextcloud"],"created_at":"2024-11-10T11:03:28.130Z","updated_at":"2026-02-09T16:04:33.214Z","avatar_url":"https://github.com/ShGKme.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  Nextcloud Server Styles\n\n\u003e Extracted Nextcloud server global styles\n- ⚡ Zero dependencies\n- 🌲 Different branches: `master`, `stable30`, `stable29`\n- ✅ `REUSE.toml` included\n\n## 📥 Install\n\n```sh\nnpm i @shgk/nextcloud-styles\n```\n\n## 🏗️ Prerequisites\n\nRequires a bundler with `.css` import support, such as Webpack with `css-loader` ot Vite. \n\n## 🧑‍💻 Usage\n\nImport all styles and themes:\n\n```js\n// master\nimport '@shgk/nextcloud-styles'\n// or a specific branch\nimport '@shgk/nextcloud-styles/master'\nimport '@shgk/nextcloud-styles/stable30'\nimport '@shgk/nextcloud-styles/stable29'\n```\n\nImporting a specific file:\n\n```js\n// master\nimport '@shgk/nextcloud-styles/apps/theming/theme/dark.css'\nimport '@shgk/nextcloud-styles/core/img/logo/logo.svg'\n// or a specific branch\nimport '@shgk/nextcloud-styles/master/apps/theming/css/default.css'\nimport '@shgk/nextcloud-styles/stable30/core/css/server.css'\n```\n\n## 📦 Details\n\nStyles are close to the original. Changes:\n- Added `light.plain.css` and `light.dark.css` to be used as server's\n  ```html\n  \u003clink rel=\"stylesheet\" media=\"prefers-color-scheme: light\" href=\"/apps/theming/theme/light.css?plain=1\" /\u003e\n  \u003clink rel=\"stylesheet\" media=\"prefers-color-scheme: dark\" href=\"/apps/theming/theme/dark.css?plain=1\" /\u003e\n  ``` \n- Absolute paths in `url()` are changed to relative\n- Added `REUSE.toml` for license information\n- Added `theme.css` for re-export theming styles including plain style on `prefers-color-scheme`\n- Added `index.js` for re-export all styles and `themes.css`\n\nStyles structure:\n\n```\n└───BRANCH\n    ├───apps\n    │   └───theming\n    │       ├───css\n    │       │   └───default.css\n    │       ├───img\n    │       │   └───...\n    │       └───theme\n    │           ├───dark.css\n    │           ├───dark.plain.css\n    │           ├───dark.css\n    │           └───light.plain.css\n    ├───core\n    │   ├───css\n    │   │   ├───apps.css\n    │   │   └───server.css\n    │   └───img\n    │       └───...\n    ├───dist\n    │   └───icons.css\n    ├───REUSE.toml\n    ├───theme.css = apps/theming/css/default.css + apps/theming/theme/* with prefers-color-scheme\n    └───index.js = core/css/server.css + core/css/apps.css + theme.css\n```\n\nBased on awesome [`szaimen/nextcloud-simple-test`](https://github.com/szaimen/nextcloud-easy-test/).\n\n## 👾 Development\n\nUpdate styles:\n```sh\nnode ./build/extract.js \u003cVERSION\u003e\n```\n\n## TODO\n\n- [ ] Add high-contrast theme and dyslexia-friendly font\n- [ ] Add automatic updates\n- [ ] Add custom themes support\n- [ ] Add private servers support\n- [ ] Improve building performance\n- [ ] Remove unneeded images\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshgkme%2Fnextcloud-styles-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshgkme%2Fnextcloud-styles-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshgkme%2Fnextcloud-styles-extractor/lists"}