Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AppFullTitle component #2757

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add AppFullTitle component #2757

wants to merge 2 commits into from

Conversation

zatteo
Copy link
Member

@zatteo zatteo commented Mar 21, 2025

zatteo added 2 commits March 21, 2025 11:31
Twake apps text icons use linear gradients and a new font called Cal
Sans. Font is 100KB so it's lighter to use svg icons that adds only
23KB.

To manage dark mode, we can change the fill attribute of TwakeText.
Other icons are dark mode friendly.
Display the full title of an app with icon, brand name and app name. Support Twake theme only.

It fallbacks on AppTitle with AppTitle API if app is not supported.

It is a new component so that AppTitle stays light. AppFullTitle adds all Twake apps text icons so 23KB.
@zatteo zatteo requested review from JF-Cozy and Ldoppea as code owners March 21, 2025 10:35
Copy link

bundlemon bot commented Mar 21, 2025

BundleMon

Unchanged files (3)
Status Path Size Limits
dist/cozy-ui.min.css
21.47KB +10%
transpiled/react/stylesheet.css
17.18KB -
dist/cozy-ui.utils.min.css
12KB +10%

No change in files bundle size

Groups updated (1)
Status Path Size Limits
transpiled/react/**
929.34KB (+11.64KB +1.27%) -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant