{"id":13937935,"url":"https://github.com/mand-mobile/palette","last_synced_at":"2025-07-20T00:31:26.245Z","repository":{"id":33711160,"uuid":"134797941","full_name":"mand-mobile/palette","owner":"mand-mobile","description":"🎨 A visual theme editing tool for Mand Mobile ","archived":false,"fork":false,"pushed_at":"2022-12-10T17:16:14.000Z","size":11124,"stargazers_count":83,"open_issues_count":18,"forks_count":16,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-27T06:36:54.930Z","etag":null,"topics":["mand-mobile","theme","vue"],"latest_commit_sha":null,"homepage":"https://mand-mobile.github.io/palette","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mand-mobile.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}},"created_at":"2018-05-25T03:20:39.000Z","updated_at":"2024-08-31T14:09:59.000Z","dependencies_parsed_at":"2023-01-15T02:15:24.847Z","dependency_job_id":null,"html_url":"https://github.com/mand-mobile/palette","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mand-mobile/palette","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mand-mobile%2Fpalette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mand-mobile%2Fpalette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mand-mobile%2Fpalette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mand-mobile%2Fpalette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mand-mobile","download_url":"https://codeload.github.com/mand-mobile/palette/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mand-mobile%2Fpalette/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266048500,"owners_count":23868738,"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":["mand-mobile","theme","vue"],"created_at":"2024-08-07T23:04:07.088Z","updated_at":"2025-07-20T00:31:21.232Z","avatar_url":"https://github.com/mand-mobile.png","language":"Vue","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"#\"\u003e\n    \u003cimg width=\"80\" src=\"https://manhattan.didistatic.com/static/manhattan/do1_KC5q8Qqsz8BnUPAsJY5i\" alt=\"LOGO\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"http://forthebadge.com\"\u003e\n\t   \u003cimg src=\"http://forthebadge.com/images/badges/made-with-vue.svg\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"http://forthebadge.com\"\u003e\n\t   \u003cimg src=\"http://forthebadge.com/images/badges/built-with-love.svg\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"http://forthebadge.com\"\u003e\n\t   \u003cimg src=\"http://forthebadge.com/images/badges/makes-people-smile.svg\"\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch2 align=\"center\"\u003eMand Mobile Palette\u003c/h2\u003e\n\n\u003e 🎨 A visual theme editing tool for Mand Mobile\n\nUsing `Palette`, you can modify the style of [Mand Mobile](https://didi.github.io/mand-mobile) components and eventually generate `.styl` and `.css` files and then import the custom theme style file to your project.\n\n- [Start Making Theme](https://mand-mobile.github.io/palette)\n\nNote: `Palette` is based on [Css Variable](https://developer.mozilla.org/zh-CN/docs/Web/CSS/Using_CSS_variables), please use it in the following [browsers](https://caniuse.com/#search=css%20variable).\n\n\n### Mand Mobile Style\n\n#### Stylus\n\n* Configure `.babelrc`\n\n```javascript\n{\n    // ...\n    \"plugins\": [\n        [\"import\", { \"libraryName\": \"mand-mobile\", \"libraryDirectory\": \"src\" }]\n    ]\n}\n```\n\n* Import\n\n```javascript\nimport { button, dialog } from 'mand-mobile'\n```\n\nFind more details in [Mand Mobile - Custom Theme](https://didi.github.io/mand-mobile/#/en-US/docs/theme).\n\n#### Css\n\n```javascript\nimport Vue from 'vue'\nimport mandMobile from 'mand-mobile'\nimport 'mand-mobile/lib/mand-mobile.css'\n\nVue.use(mandMobile)\n```\n\n\n### How Palette Works \n\n\u003cimg src=\"https://img-hxy02.didistatic.com/static/manhattan/mand/palette-structure.jpg\" width=\"800\"/\u003e\n\n\n### Development\n\n```\ngit clone git@github.com:mand-mobile/palette.git\ncd palette\nnpm install\nnpm run dev\n```\nOpen your browser and visit http://127.0.0.1:4000.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmand-mobile%2Fpalette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmand-mobile%2Fpalette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmand-mobile%2Fpalette/lists"}