mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-04-28 17:46:56 +00:00
add simplified ti-emoji regex
This commit is contained in:
parent
7b964799d8
commit
ae52a80b1a
1 changed files with 6 additions and 10 deletions
|
@ -692,16 +692,12 @@ seems to do a decent job)
|
||||||
build` (the `development` tells it to keep some of the original
|
build` (the `development` tells it to keep some of the original
|
||||||
filenames in the built files)
|
filenames in the built files)
|
||||||
* make sure there aren't any new `ti-*` classes (Tabler Icons), and
|
* make sure there aren't any new `ti-*` classes (Tabler Icons), and
|
||||||
replace them with appropriate `ph-*` ones (Phosphor Icons):
|
replace them with appropriate `ph-*` ones (Phosphor Icons) in [`vite.replaceicons.ts`](packages/frontend/vite.replaceIcons.ts).
|
||||||
`grep -rP '["'\'']ti[ -](?!fw)' -- built/` should show you what to change.
|
This command should show you want to change: `grep -ohrP '(?<=["'\'']ti )(ti-(?!fw)[\w\-]+)' --exclude \*.map -- built/ | sort -u`.
|
||||||
NOTE: `ti-fw` is a special class that's defined by Misskey, leave it
|
* NOTE: `ti-fw` is a special class that's defined by Misskey, leave it alone.
|
||||||
alone
|
* After every change, re-build the frontend and check again, until
|
||||||
|
there are no more `ti-*` classes in the built files.
|
||||||
after every change, re-build the frontend and check again, until
|
* Commit!
|
||||||
there are no more `ti-*` classes in the built files (you can ignore
|
|
||||||
the source maps)
|
|
||||||
|
|
||||||
commit!
|
|
||||||
* double-check the new migration, that they won't conflict with our db
|
* double-check the new migration, that they won't conflict with our db
|
||||||
changes: `git diff develop -- packages/backend/migration/`
|
changes: `git diff develop -- packages/backend/migration/`
|
||||||
* `pnpm clean; pnpm build`
|
* `pnpm clean; pnpm build`
|
||||||
|
|
Loading…
Add table
Reference in a new issue