Skip to content

Conversation

@JF-Cozy
Copy link
Collaborator

@JF-Cozy JF-Cozy commented Nov 13, 2025

We don't want to create a link to cozy-ui-plus in cozy-ui so we don't use CozyTheme from there. The result is, here, we only have DumbCozyTheme, so we don't have the type from database automatically anymore. We have to get it by useCozyTheme first if we want to set a specific CozyTheme.

As reminder, the type is the light/dark mode.

BREAKING CHANGE: If you use `import CozyTheme from 'cozy-ui/transpiled/react/providers/CozyTheme'` you must replace `settingsThemeType` prop by `type`. Expl: `<CozyTheme settingsThemeType={}>` becomes `<CozyTheme type={}>`
@bundlemon
Copy link

bundlemon bot commented Nov 13, 2025

BundleMon

Unchanged files (3)
Status Path Size Limits
dist/cozy-ui.min.css
20.02KB -
transpiled/react/stylesheet.css
14.88KB -
dist/cozy-ui.utils.min.css
10.97KB -

No change in files bundle size

Groups updated (1)
Status Path Size Limits
transpiled/react/**
876.96KB (-25B 0%) -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@JF-Cozy JF-Cozy merged commit f397f65 into master Nov 13, 2025
12 checks passed
@JF-Cozy JF-Cozy deleted the fix/BottomSheet branch November 13, 2025 09:55
@cozy-bot
Copy link

🎉 This PR is included in version 134.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants