{"id":16458146,"url":"https://github.com/akalongman/slack","last_synced_at":"2026-05-15T02:43:19.577Z","repository":{"id":145456896,"uuid":"122466653","full_name":"akalongman/slack","owner":"akalongman","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-22T11:06:14.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T18:07:37.248Z","etag":null,"topics":["dark-theme","slack"],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/akalongman.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-02-22T10:55:23.000Z","updated_at":"2018-02-25T16:55:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"bafb5012-42b7-4d36-90fb-47454f8a556e","html_url":"https://github.com/akalongman/slack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akalongman/slack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akalongman%2Fslack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akalongman%2Fslack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akalongman%2Fslack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akalongman%2Fslack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akalongman","download_url":"https://codeload.github.com/akalongman/slack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akalongman%2Fslack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33051773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"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":["dark-theme","slack"],"created_at":"2024-10-11T10:44:23.019Z","updated_at":"2026-05-15T02:43:19.541Z","avatar_url":"https://github.com/akalongman.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slack dark theme\n\nIn the file `/usr/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js` add \n\n```js\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n\n   // Then get its webviews\n   let webviews = document.querySelectorAll(\".TeamView webview\");\n\n   // Fetch our CSS in parallel ahead of time\n   const cssPath = 'https://raw.githubusercontent.com/akalongman/slack/master/dark.css';\n   let cssPromise = fetch(cssPath).then(response =\u003e response.text());\n\n   // Insert a style tag into the wrapper view\n   cssPromise.then(css =\u003e {\n      let s = document.createElement('style');\n      s.type = 'text/css';\n      s.innerHTML = css;\n      document.head.appendChild(s);\n   });\n\n   // Wait for each webview to load\n   webviews.forEach(webview =\u003e {\n      webview.addEventListener('ipc-message', message =\u003e {\n         if (message.channel == 'didFinishLoading')\n            // Finally add the CSS into the webview\n            cssPromise.then(css =\u003e {\n               let script = `\n                     let s = document.createElement('style');\n                     s.type = 'text/css';\n                     s.id = 'slack-custom-css';\n                     s.innerHTML = \\`${css}\\`;\n                     document.head.appendChild(s);\n                     `\n               webview.executeJavaScript(script);\n            })\n      });\n   });\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakalongman%2Fslack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakalongman%2Fslack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakalongman%2Fslack/lists"}