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

Bad CSS Layer Management #35

Open
The-Real-1 opened this issue Nov 30, 2023 · 0 comments
Open

Bad CSS Layer Management #35

The-Real-1 opened this issue Nov 30, 2023 · 0 comments

Comments

@The-Real-1
Copy link

Hi,

We are using sakai-ng to develop our PrimeNg application theme, as it's now the new way to do.

Sakai comes with a bunch of scss files (visible in src\assets\layout\styles\layout*), and this is ok.

The problem is those file are considered as anonymous layers and they have a bigger priority in the rendering process.
For example, using css custom layers while templating the h1 tag will never be rendered as expected because the applied rule will be the one specified in _typography.scss.

Adding a '@layer sakai' for all the files in src\assets\layout\styles\layout will be, I think, a good idea to prevent this behavior and let teams render has expected their styles.

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

No branches or pull requests

1 participant