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

Deprecated warnings for CSS #1357

Open
stanleylhs opened this issue Sep 17, 2024 · 0 comments
Open

Deprecated warnings for CSS #1357

stanleylhs opened this issue Sep 17, 2024 · 0 comments

Comments

@stanleylhs
Copy link
Member

stanleylhs commented Sep 17, 2024

When running the features test, we see the following warnings:

autoprefixer: ~/fat_free_crm/app/assets/stylesheets/application.css.erb:2056:3: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.
autoprefixer: ~/fat_free_crm/app/assets/stylesheets/application.css.erb:11913:3: Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.
autoprefixer: ~/fat_free_crm/app/assets/stylesheets/bootstrap-custom.scss:2056:3: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.
autoprefixer: ~/fat_free_crm/app/assets/stylesheets/common.scss:1058:3: Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.

These can be fixed by upgrading to Boostrap 5.3, but doing so break some UI elements, so we leave it as is for now.

On v5.3, rails server will fail to start as variable not found, add

@import "bootstrap/variables";
@import "bootstrap/maps";

at the top of bootstrap-custom.scss to fix it.

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