diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2025-05-22 22:56:38 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-22 22:56:38 +0900 |
| commit | e6e8bfa591b28de29709139d4d238205d7a7e171 (patch) | |
| tree | 87091efbe1f4662171deabda8068183f85c1123c /CONTRIBUTING.md | |
| parent | fix(deps): update [backend] update dependencies (#15911) (diff) | |
| download | misskey-e6e8bfa591b28de29709139d4d238205d7a7e171.tar.gz misskey-e6e8bfa591b28de29709139d4d238205d7a7e171.tar.bz2 misskey-e6e8bfa591b28de29709139d4d238205d7a7e171.zip | |
feat(frontend): tabler-iconsのサブセット化 (#15340)
* feat(frontend): tabler-iconsの使用されていないアイコンを削除するように
* fix
* fix
* fix
* fix
* fix
* Update Changelog
* enhance: tablerのCSSを使用されているクラスのみに限定
* 使用するアイコンパッケージをそろえる
* Update CONTRIBUTING.md
* Update CONTRIBUTING.md
* spdx
* typo
* fix: サブセットから除外される書き方をしている部分を修正
* fix: 同じunicodeに複数のアイコンclassが割り当てられている場合に対応
* remove debug code
* Update CHANGELOG.md
* fix merge error
* setup renovate
* fix: woff2ではなくwoffに変換していたのを修正
* update deps
* update changelog
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a3aedfa9eb..8776f8ca24 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -258,6 +258,12 @@ Misskey uses Vue(v3) as its front-end framework. - **When creating a new component, please use the Composition API (with [setup sugar](https://v3.vuejs.org/api/sfc-script-setup.html) and [ref sugar](https://github.com/vuejs/rfcs/discussions/369)) instead of the Options API.** - Some of the existing components are implemented in the Options API, but it is an old implementation. Refactors that migrate those components to the Composition API are also welcome. +## Tabler Icons +アイコンは、Production Build時に使用されていないものが削除されるようになっています。 + +**アイコンを動的に設定する際には、 `ti-${someVal}` のような、アイコン名のみを動的に変化させる実装を行わないでください。** +必ず `ti-xxx` のような完全なクラス名を含めるようにしてください。 + ## nirax niraxは、Misskeyで使用しているオリジナルのフロントエンドルーティングシステムです。 **vue-routerから影響を多大に受けているので、まずはvue-routerについて学ぶことをお勧めします。** |