-
-
Notifications
You must be signed in to change notification settings - Fork 808
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
Using Global CSS root variables across all files #3014
Using Global CSS root variables across all files #3014
Conversation
WalkthroughThis pull request focuses on enhancing styling consistency across multiple components by replacing hardcoded color values with CSS root variables. The changes span several files in the project, primarily updating border colors, background colors, and other styling properties to use global CSS variables. The modifications aim to improve maintainability and provide a more centralized approach to styling management. Changes
Assessment against linked issues
Possibly related issues
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Our Pull Request Approval ProcessThanks for contributing! Testing Your CodeRemember, your PRs won't be reviewed until these criteria are met:
Our policies make our code better. ReviewersDo not assign reviewers. Our Queue Monitors will review your PR and assign them.
Reviewing Your CodeYour reviewer(s) will have the following roles:
CONTRIBUTING.mdRead our CONTRIBUTING.md file. Most importantly:
Other
|
@palisadoes Since we are still in the transition of making a global css file for all I see many repeated css style which are not used as variable for example: I did a global search and found this style being used 7-8 places in the code But the issue lies that out of these 7-8 files only 1 was refactored with our single global css file. So unless all the other files are not refactored we won't be able to use the style inside them. Although it won't be much time consuming issue once all files are refactored... if I would change them right now it would cause a lot of merge conflicts to the already assigned assignees. So I would request that you may merge this PR upon reviewing but the issue will have to be open for sometime I guess. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop-postgres #3014 +/- ##
=====================================================
+ Coverage 29.13% 88.95% +59.81%
=====================================================
Files 300 321 +21
Lines 7568 8409 +841
Branches 1652 1894 +242
=====================================================
+ Hits 2205 7480 +5275
+ Misses 5177 686 -4491
- Partials 186 243 +57 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment
Please fix the conficting files. |
Done |
Please address the green coloration I mentioned previously. |
I was looking for the alternate color in the PR mentioned
then I used this color for the alternative as most of the borders were using this in the code... is it good to go? |
That should work. It's sufficiently dark |
78699b3
into
PalisadoesFoundation:develop-postgres
…n#3014) * Using Global CSS root variables across all files * Removed green color
What kind of change does this PR introduce?
Feature, more like providing consistency
Issue Number:
Fixes #2983
Did you add tests for your changes?
No
Snapshots/Videos:
The files whose styles are moved to global css module i.e -
src/style/app.module.css
were looked upon and if those files had common standard css styling needed they were replaced by the root css vars. Currently only these files have been refactored with global css yet so these were looked upon:Summary
Does this PR introduce a breaking change?
No
Have you read the contributing guide?
Yes
Summary by CodeRabbit
Style Updates
--primary-border-solid
for standardized border styling.Code Cleanup
Minor Improvements