{"id":26915925,"url":"https://github.com/composablehorizons/materialcolors","last_synced_at":"2025-10-10T15:41:53.582Z","repository":{"id":166054431,"uuid":"641437558","full_name":"composablehorizons/materialcolors","owner":"composablehorizons","description":"All Material Colors easily accessible from Jetpack Compose","archived":false,"fork":false,"pushed_at":"2023-09-11T02:57:10.000Z","size":69,"stargazers_count":46,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T18:52:25.962Z","etag":null,"topics":["jetpack-android","jetpack-compose","material-color-palette","material-colors","material-design"],"latest_commit_sha":null,"homepage":"https://composables.com/colors","language":"Kotlin","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/composablehorizons.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-05-16T13:18:31.000Z","updated_at":"2024-12-04T10:19:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"57da5816-f4ed-4c94-b4bb-213c45c2690d","html_url":"https://github.com/composablehorizons/materialcolors","commit_stats":null,"previous_names":["composablehorizons/materialcolors"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/composablehorizons/materialcolors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/composablehorizons%2Fmaterialcolors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/composablehorizons%2Fmaterialcolors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/composablehorizons%2Fmaterialcolors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/composablehorizons%2Fmaterialcolors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/composablehorizons","download_url":"https://codeload.github.com/composablehorizons/materialcolors/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/composablehorizons%2Fmaterialcolors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004571,"owners_count":26083736,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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":["jetpack-android","jetpack-compose","material-color-palette","material-colors","material-design"],"created_at":"2025-04-01T18:40:16.177Z","updated_at":"2025-10-10T15:41:53.553Z","avatar_url":"https://github.com/composablehorizons.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Material Colors\n\n![og-colors](https://github.com/Composables-co/materialcolors/assets/1665273/a15a0cef-7534-4db4-81da-2ab39d9528b7)\n\n\nA little utility that brings all Material Colors from the 2014 pallet to your Jetpack Compose project.\n\n## A richer selection of colors\n\nThe `Colors` class that comes with Jetpack Compose provides a few default colors but they are limited and not very exciting.\n\n`MaterialColors` provides a richer set of colors that you can use in your project. The colors come from the Material Design 2014 pallete.\n\n## Installation\n\n```groovy\nrepositories {\n    mavenCentral()\n}\ndependencies {\n    implementation \"com.composables:materialcolors:1.0.0\"\n}\n```\n\n## Quick start\n\nUse the `MaterialColors` object, along with the color and shade you need:\n\n```kotlin\nText(\"Hello world!\", color = MaterialColors.Gray[900])\n```\n```kotlin\nBox(modifier = Modifier.background(MaterialColors.Amber[400]).clip(CircleShape))\n```\n\n## Should I use this to create my color scheme? \n\nIn modern versions of Android, the system can generate the colors for you, [using Material You](https://www.composables.com/tutorials/theming). \n\nThose colors are picked automatically from the user's set wallpaper and it is the recommended way to create your color scheme.\n\nIf you still want to create a color scheme with fixed colors you can do it like this:\n\n```kotlin\n@Composable\nfun AppTheme(\n    content: @Composable () -\u003e Unit\n) {\n    MaterialTheme(\n        colors = lightColorScheme(\n            surfaceVariant = MaterialColors.Amber[100],\n            primary = MaterialColors.Amber[800],\n            onSurfaceVariant = MaterialColors.Brown[900],\n            onSurface = MaterialColors.Amber[900]\n        ),\n        content = content\n    )\n}\n```\n\n## Author\n\nMade by Alex Styl ([@alexstyl](https://twitter.com/alexstyl)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomposablehorizons%2Fmaterialcolors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomposablehorizons%2Fmaterialcolors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomposablehorizons%2Fmaterialcolors/lists"}