Skip to content

Refactored scss files into new dart syntax#6701

Open
araujosemacento wants to merge 1 commit intoDogfalo:v1-devfrom
araujosemacento:v1-dev
Open

Refactored scss files into new dart syntax#6701
araujosemacento wants to merge 1 commit intoDogfalo:v1-devfrom
araujosemacento:v1-dev

Conversation

@araujosemacento
Copy link

Proposed changes

Refactoring SCSS files to use modern Dart Sass syntax. This change modernizes the codebase to be compatible with current Sass versions by replacing @import with @use, updating mathematical functions, and adjusting color syntax to follow current Sass best practices.

Key changes include:

  • Replacement of @import with @use and proper namespacing
  • Migration of math operations to use sass:math module
  • Update of color functions to use sass:color module
  • Fix @extend syntax with !optional flag
  • Code formatting and structure standardization

Screenshots (if appropriate) or codepen:

Types of changes

[X] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to change).

Checklist:

[X] All new and existing tests passed.
[ ] I have added tests to cover my changes.
[ ] I have updated the documentation accordingly.
[ ] My change requires a change to the documentation.
[X] I have read the CONTRIBUTING document.

Note: This refactoring primarily modernizes SCSS code for Dart Sass compatibility while maintaining existing functionality. I consider it a bug fix as it resolves compatibility issues with newer Sass versions.

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