{"id":19401237,"url":"https://github.com/mishamyrt/go-syscolor","last_synced_at":"2026-04-16T01:32:24.192Z","repository":{"id":233170024,"uuid":"786215402","full_name":"mishamyrt/go-syscolor","owner":"mishamyrt","description":"🎨 The library that allows you to get system colors","archived":false,"fork":false,"pushed_at":"2024-04-21T12:02:37.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T07:30:18.049Z","etag":null,"topics":["golang","ui","wails"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mishamyrt.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-04-13T19:08:23.000Z","updated_at":"2024-04-22T14:15:28.000Z","dependencies_parsed_at":"2024-06-19T12:35:38.155Z","dependency_job_id":"00271a4c-3b20-4889-8a60-8b7d8fb741b9","html_url":"https://github.com/mishamyrt/go-syscolor","commit_stats":null,"previous_names":["mishamyrt/go-syscolor"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mishamyrt/go-syscolor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishamyrt%2Fgo-syscolor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishamyrt%2Fgo-syscolor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishamyrt%2Fgo-syscolor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishamyrt%2Fgo-syscolor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mishamyrt","download_url":"https://codeload.github.com/mishamyrt/go-syscolor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishamyrt%2Fgo-syscolor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31867710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["golang","ui","wails"],"created_at":"2024-11-10T11:17:39.603Z","updated_at":"2026-04-16T01:32:24.170Z","avatar_url":"https://github.com/mishamyrt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎨 syscolor [![Quality assurance](https://github.com/mishamyrt/go-syscolor/actions/workflows/quality-assurance.yaml/badge.svg)](https://github.com/mishamyrt/go-syscolor/actions/workflows/quality-assurance.yaml) [![GitHub release](https://img.shields.io/github/v/tag/mishamyrt/go-syscolor)](https://GitHub.com/mishamyrt/go-syscolor/releases/)\n\nA library that allows you to get system colors to build interfaces that look native.\n\nThe library implements support for:\n\n- macOS\n- Linux\n    - GTK\n    - ~~KDE~~\n- ~~Windows~~\n\n## Installation\n\n```bash\ngo get -u github.com/mishamyrt/syscolor\n```\n\n## Usage\n\nIf your application is planned to run in Linux, first check if Unity or GNOME is used. I haven't found any stable methods of getting color in Plasma.\n\n```go\nfunc GetAccent() color.RGBA {\n    var systemColor color.RGBA\n    if runtime.GOOS == \"darwin\" || syscolor.IsGNOME() {\n        systemColor, _ = syscolor.SelectedBackground()\n    }\n    return systemColor\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmishamyrt%2Fgo-syscolor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmishamyrt%2Fgo-syscolor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmishamyrt%2Fgo-syscolor/lists"}