Skip to content

implement csp, sty-src with nonce #3394

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

Open
nabilah3455 opened this issue Feb 25, 2025 · 3 comments · May be fixed by #4181
Open

implement csp, sty-src with nonce #3394

nabilah3455 opened this issue Feb 25, 2025 · 3 comments · May be fixed by #4181
Assignees
Labels
question Further information is requested

Comments

@nabilah3455
Copy link

Description

How to configure Nuxt Color Mode in Nuxt UI so that it does not inject color styles for all Nuxt UI components using inline styles

@nabilah3455 nabilah3455 added the question Further information is requested label Feb 25, 2025
@mubaidr
Copy link

mubaidr commented May 3, 2025

This issue also prevents using this library for chrome extensions.

@HugoRCD
Copy link
Member

HugoRCD commented May 5, 2025

@mubaidr I'll have to see what can be done, but I did manage to make a chrome extension starter with WXT 🤔

https://github.com/HugoRCD/wxt-nuxt-ui-starter

@benjamincanac
Copy link
Member

@HugoRCD Reka UI does implement this in their ConfigProvider: https://reka-ui.com/docs/utilities/config-provider#config-provider-1 but we can't rely on it for the injected styles so we might have to make our own system.

@benjamincanac benjamincanac marked this as a duplicate of #3823 May 10, 2025
@benjamincanac benjamincanac marked this as a duplicate of #3395 May 10, 2025
@HugoRCD HugoRCD linked a pull request May 19, 2025 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants