{"id":21878258,"url":"https://github.com/pepabo/inhouse-tokens","last_synced_at":"2026-05-06T22:32:08.446Z","repository":{"id":191361299,"uuid":"680105816","full_name":"pepabo/inhouse-tokens","owner":"pepabo","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-17T00:41:32.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":23,"default_branch":"main","last_synced_at":"2025-01-26T18:17:30.936Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/pepabo.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-08-18T11:00:22.000Z","updated_at":"2025-01-17T00:41:21.000Z","dependencies_parsed_at":"2023-12-07T10:25:49.474Z","dependency_job_id":"8db9ebc4-3790-404e-82e3-af6973f7fe8b","html_url":"https://github.com/pepabo/inhouse-tokens","commit_stats":null,"previous_names":["pepabo/inhouse-tokens"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepabo%2Finhouse-tokens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepabo%2Finhouse-tokens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepabo%2Finhouse-tokens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepabo%2Finhouse-tokens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pepabo","download_url":"https://codeload.github.com/pepabo/inhouse-tokens/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244885532,"owners_count":20526293,"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":[],"created_at":"2024-11-28T08:12:06.710Z","updated_at":"2026-05-06T22:32:08.415Z","avatar_url":"https://github.com/pepabo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inhouse Tokens\n\nInhouseを使用しているすべてのサービスのデザイントークンをプラットフォームごとに最適な形でビルドします。\n\n## Getting Started\n\n1. 新しいデザイントークンを作成します。`tokens/pepper`ディレクトリを複製・編集すると楽です。\n2. Color、Size、Typographyなどのトークンの値をブランド独自の値に編集します。\n    - 書き方は[Style DictionaryのTokensのドキュメント](https://amzn.github.io/style-dictionary/#/tokens)を参照してください。\n3. `config/pepper.js`をコピーして新しいデザイントークンの設定ファイルを作成します。\n    - プラットフォームごとにビルドの設定を記述します。\n    - 書き方は[Style Dictionaryのドキュメント](https://amzn.github.io/style-dictionary/)を参照してください。\n4. `$ npm run build`を実行します。プラットフォームごとに最適化されたデザイントークンが`/build/{custom-flavor}`に正しくビルドされたか確認してください。\n\n## Documentation\n\n### Sass\n\n作成・ビルドしたデザイントークンは[Inhouse Components Web](https://github.com/pepabo/inhouse-components-web)から使用できます。\n\n1. [inhouse/flavor](https://github.com/pepabo/inhouse-components-web/tree/main/packages/flavor)に`@pepabo-inhouse/tokens`をinstallします。\n\n2. installした`@pepabo-inhouse/tokens`のSassのvariablesを、`_tokens.scss`にて再エクスポートします。\n\n```scss\n@forward \"@pepabo-inhouse/tokens/build/{custom-flavor}/scss/variables\";\n```\n\n3. 各サービスのアプリケーションなどの使う側で、`@pepabo-inhouse/flavor`としてinstallします。\n\n```json\n\"dependencies\": {\n    \"@pepabo-inhouse/flavor\": \"npm:{custom-flavor}@x.y.z\",\n}\n```\n\n### Figma (Variables)\n\nWIP\n\n### iOS\n\nWIP\n\n### Android\n\nWIP\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpepabo%2Finhouse-tokens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpepabo%2Finhouse-tokens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpepabo%2Finhouse-tokens/lists"}