{"id":21100922,"url":"https://github.com/coingaming/moon_flutter","last_synced_at":"2025-04-12T19:46:20.354Z","repository":{"id":65800329,"uuid":"589755350","full_name":"coingaming/moon_flutter","owner":"coingaming","description":"Moon Design System for Flutter","archived":false,"fork":false,"pushed_at":"2025-03-17T10:31:25.000Z","size":8588,"stargazers_count":244,"open_issues_count":3,"forks_count":28,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-11T21:52:23.225Z","etag":null,"topics":["design-system","flutter"],"latest_commit_sha":null,"homepage":"https://flutter.moon.io","language":"Dart","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/coingaming.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":"2023-01-16T21:26:28.000Z","updated_at":"2025-04-11T08:20:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"98d52aec-a4f5-415f-8fe4-6f5c5ad7a0a9","html_url":"https://github.com/coingaming/moon_flutter","commit_stats":null,"previous_names":[],"tags_count":203,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coingaming%2Fmoon_flutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coingaming%2Fmoon_flutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coingaming%2Fmoon_flutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coingaming%2Fmoon_flutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coingaming","download_url":"https://codeload.github.com/coingaming/moon_flutter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625497,"owners_count":21135513,"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":["design-system","flutter"],"created_at":"2024-11-19T23:35:54.130Z","updated_at":"2025-04-12T19:46:20.327Z","avatar_url":"https://github.com/coingaming.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Moon Design System\n\n[![Version](https://img.shields.io/pub/v/moon_design.svg)](https://pub.dev/packages/moon_design) ![Build](https://github.com/coingaming/moon_flutter/actions/workflows/analyze_and_test.yml/badge.svg) [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits\u0026logoColor=white)](https://conventionalcommits.org)\n\n\u003cimg width=\"644\" alt=\"Moon Design System\" src=\"https://user-images.githubusercontent.com/232199/133601344-e63bd62f-dd0f-47a1-9d1e-b5cb065e5a90.png\"\u003e\n\n_Note: This project uses **[Release Please](https://github.com/googleapis/release-please)** and **[Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)** spec, please follow the conventions or consider using **[Commitizen](https://github.com/commitizen/cz-cli)**\nto write commit messages._\n\n## Disclaimer\n\nThe current major release, v1.0.0, will be maintained as-is and will not receive further updates, except for patches. The v1 theming is based on the soon-to-be deprecated Moon Design Figma v1 and lacks flexibility. For greater control over theming with v1 of moon_flutter, it is recommended to create custom wrapper widgets around the moon_flutter widgets that align with your project's specific theming requirements.\n\nThere is ongoing background work for v2 which aims to be more modular, scalable and themable.\n\n## Resources\n\n- 📱 [Playground](https://flutter.moon.io)\n\n## Applying theming and overrides\n\n- Declare tokens variable and optionally override values:\n\n```dart\nfinal lightTokens = MoonTokens.light.copyWith(\n  colors: MoonColors.light.copyWith(\n    piccolo: Colors.blue,\n    textPrimary: Colors.amber,\n  ),\n  typography: MoonTypography.typography.copyWith(\n    heading: MoonTypography.typography.heading.apply(\n      // Using variable font and bumping down the font weight compared to the\n      // baseline 600 for heading.\n      fontFamily: \"DMSans\",\n      fontWeightDelta: -1,\n      fontVariations: [const FontVariation('wght', 500)],\n    ),\n  ),\n);\n\nfinal lightTheme = ThemeData.light().copyWith(\n    extensions: \u003cThemeExtension\u003cdynamic\u003e\u003e[MoonTheme(tokens: lightTokens)],\n  );\n```\n\n- Or if needed override widget theming:\n\n```dart\nfinal lightTheme = ThemeData.light().copyWith(\n  extensions: \u003cThemeExtension\u003cdynamic\u003e\u003e[\n    MoonTheme(tokens: lightTokens).copyWith(\n      accordionTheme: MoonAccordionTheme(tokens: lightTokens).copyWith(\n        colors: MoonAccordionTheme(tokens: lightTokens).colors.copyWith(\n              backgroundColor: Colors.green,\n            ),\n      ),\n    ),\n  ],\n);\n```\n\n- Apply the declared theme:\n\n```dart\nreturn MaterialApp(\n      title: 'Moon Design System example',\n      theme: lightTheme,\n      home: const HomePage(),\n );\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoingaming%2Fmoon_flutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoingaming%2Fmoon_flutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoingaming%2Fmoon_flutter/lists"}