gristlabs_grist-core/app/common/themes
Dmitry S b0aa17c932 (core) Detect when a page initial is an emoji, avoid repeating it, and style it better
Summary:
- Detecting emoji is surprisingly tricky; we use a fancy regex as a decent heuristic.
- Icons are a little larger than before.
- Styling tweaked for light and dark modes
- In case the OS doesn't render the emoji as one character, truncate what's
  shown in the icon box.

Test Plan: Added a test case.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D3904
2023-06-30 16:57:35 -04:00
..
GristDark.ts (core) Detect when a page initial is an emoji, avoid repeating it, and style it better 2023-06-30 16:57:35 -04:00
GristLight.ts (core) Detect when a page initial is an emoji, avoid repeating it, and style it better 2023-06-30 16:57:35 -04:00