Separate shared utilities and main styles for better modularity#12
Merged
itsmartashub merged 3 commits intomainfrom Jun 9, 2025
Merged
Separate shared utilities and main styles for better modularity#12itsmartashub merged 3 commits intomainfrom
itsmartashub merged 3 commits intomainfrom
Conversation
- Organize shared SCSS (variables, mixins, functions, extends, etc.) into Vite's `additionalData` for global availability - Import the main `index.scss` directly into `content.js` for better modularity - Improve the structure and maintainability of SCSS files by clearly separating shared utilities from component-specific styles Changes summary: Properly separated shared SCSS into Vite's `additionalData` and imported the main `index.scss` into `content.js`, enhancing modularity and maintainability of the styling architecture.
scss files- Remove unused SCSS related to animations to declutter the codebase - Refactor remaining animation-related SCSS for better readability and maintainability - Ensure the changes do not impact existing functionality or visual consistency Changes summary: Removed unused animation-related SCSS and refactored the remaining styles, improving the cleanliness and maintainability of the codebase.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
additionalDatafor global availabilityindex.scssdirectly intocontent.jsfor better modularityChanges summary:
Properly separated
shared.scssinto Vite'sadditionalDataand imported the mainindex.scssintocontent.js, enhancing modularity and maintainability of the styling architecture.This also decreise the extension size.