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

Updating to NEW COLOR SCHEME #2984

Merged

Conversation

rahulch07
Copy link
Contributor

@rahulch07 rahulch07 commented Dec 28, 2024

What kind of change does this PR introduce?

Replace green tones with the pre-existing blue / grey tones.

Issue Number:

#2880

If relevant, did you update the documentation?

N/A

Summary

Replaced #31bb6b with #afffe8 and changed text color wherever required.

Does this PR introduce a breaking change?

No

Have you read the contributing guide?

Yes

Summary by CodeRabbit

  • Style
    • Updated multiple component styles to enhance visual consistency.
    • Improved button styles with new hover effects and consistent class naming.
    • Modified progress bar background color for improved visibility.
    • Enhanced search and filter controls layout for better user experience.
    • Updated modal button styles for improved clarity and consistency.
    • Added new classes for buttons and input fields to enhance styling consistency across components.
    • Improved visual feedback for data grid rows with new hover and focus styles.
    • Updated various input fields and buttons to utilize new CSS classes for better styling.
    • Enhanced styling for the "Today" button in the calendar component.
    • Updated class names for form controls and buttons in modals to improve styling consistency.
    • Enhanced styling for the event title and description fields in the event creation modal.
    • Improved layout and organization of the Requests component in the BlockUser screen.

Copy link
Contributor

coderabbitai bot commented Dec 28, 2024

Walkthrough

The pull request introduces extensive modifications to various CSS files, primarily focusing on updating color schemes and class names to enhance visual consistency across the application. Key changes include the adjustment of CSS variables in src/style/app.module.css, the replacement of hardcoded color values with new variables, and the introduction of new classes for buttons and input fields. Additionally, several components have been updated to utilize these new styles, ensuring a cohesive design language throughout the UI.

Changes

File Change Summary
src/style/app.module.css - Updated CSS variables for background colors and text colors.
- Replaced hardcoded colors with new variables in multiple selectors.
- Introduced new classes .removeButton, .regularBtn, and .editButton.
src/assets/css/app.css - Updated active dropdown link background color from #31bb6b to #a8c7fa.
- Updated progress bar background color from #31bb6b to #0056b3.
src/components/OrgListCard/OrgListCard.module.css - Added hover effect for .manageBtn with border style.
src/screens/FundCampaignPledge/FundCampaignPledge.tsx - Updated class names for buttons to use CSS modules for styling.
src/screens/FundCampaignPledge/PledgeModal.tsx - Renamed class for submit button from styles.greenregbtnPledge to styles.addButton.
src/screens/OrgList/OrgList.tsx - Updated class names for search input and button for consistency.
src/screens/OrganizationFundCampaign/CampaignModal.tsx - Renamed class for submit button from styles.greenregbtnOrganizationFundCampaign to styles.addButton.
src/screens/OrganizationFundCampaign/OrganizationFundCampagins.tsx - Updated layout and styling of search and filter controls, including class name changes for buttons and input fields.
src/screens/OrganizationFunds/FundModal.tsx - Updated class names for Form.Switch components to use CSS modules.
src/screens/OrganizationFunds/OrganizationFunds.tsx - Updated class names for DataGrid columns and search input for consistency.
src/components/OrgPeopleListCard/OrgPeopleListCard.tsx - Changed button class from styles.yesButton to styles.regularBtn.
src/screens/OrganizationPeople/AddMember.tsx - Updated modal structure and button class names for consistency.
src/components/AddPeopleToTag/AddPeopleToTag.module.css - Deleted file containing various CSS class definitions.
src/components/TagActions/TagActions.module.css - Deleted file containing several CSS class definitions.

Possibly related issues

Possibly related PRs

Suggested reviewers

  • AVtheking
  • rishav-jha-mech

Poem

🐰 In the garden of styles, a blue hue blooms,
Replacing the greens, as color resumes.
With buttons that shimmer and borders that gleam,
Our CSS dances, a coder's sweet dream!
Let's hop to the future, where colors align,
In a world of design, so vibrant and fine! 🎨

Finishing Touches

  • 📝 Generate Docstrings (Beta)

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?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

Our Pull Request Approval Process

Thanks for contributing!

Testing Your Code

Remember, your PRs won't be reviewed until these criteria are met:

  1. We don't merge PRs with poor code quality.
    1. Follow coding best practices such that CodeRabbit.ai approves your PR.
  2. We don't merge PRs with failed tests.
    1. When tests fail, click on the Details link to learn more.
    2. Write sufficient tests for your changes (CodeCov Patch Test). Your testing level must be better than the target threshold of the repository
    3. Tests may fail if you edit sensitive files. Ask to add the ignore-sensitive-files-pr label if the edits are necessary.
  3. We cannot merge PRs with conflicting files. These must be fixed.

Our policies make our code better.

Reviewers

Do not assign reviewers. Our Queue Monitors will review your PR and assign them.
When your PR has been assigned reviewers contact them to get your code reviewed and approved via:

  1. comments in this PR or
  2. our slack channel

Reviewing Your Code

Your reviewer(s) will have the following roles:

  1. arbitrators of future discussions with other contributors about the validity of your changes
  2. point of contact for evaluating the validity of your work
  3. person who verifies matching issues by others that should be closed.
  4. person who gives general guidance in fixing your tests

CONTRIBUTING.md

Read our CONTRIBUTING.md file. Most importantly:

  1. PRs with issues not assigned to you will be closed by the reviewer
  2. Fix the first comment in the PR so that each issue listed automatically closes

Other

  1. 🎯 Please be considerate of our volunteers' time. Contacting the person who assigned the reviewers is not advised unless they ask for your input. Do not @ the person who did the assignment otherwise.
  2. Read the CONTRIBUTING.md file make

@rahulch07
Copy link
Contributor Author

@AVtheking please suggest if any additional changes.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🔭 Outside diff range comments (2)
src/style/app.module.css (2)

Line range hint 1011-1017: Review table cell styling for consistency

The .customcell class uses var(--bg-blue) for background color but sets white text color. This combination might have poor contrast ratio.

.customcell {
-  background-color: var(--bg-blue) !important;
-  color: var(--bs-white) !important;
+  background-color: var(--bg-blue) !important;
+  color: #2B2B2B !important; /* Darker text for better contrast */
  font-size: medium !important;
  font-weight: 500 !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

Line range hint 1686-1693: Search button styling needs adjustment

The search button background using var(--bg-blue) might be too light for a call-to-action element.

.searchButtonOrgList {
-  background-color: var(--bg-blue);
+  background-color: #2B95B5; /* Darker blue for better visibility */
  position: absolute;
  z-index: 10;
  bottom: 0;
  inset-inline-end: 0px;
  height: 100%;
  display: flex;
}
🧹 Nitpick comments (2)
src/style/app.module.css (2)

1037-1037: Ensure consistent table row styling

The alternating row background color using var(--bg-blue) might be too bright. Consider using an alpha channel for a softer appearance.

.table-body > .table-row:nth-child(2n) {
-  background: var(--bg-blue) !important;
+  background: rgba(175, 255, 232, 0.3) !important; /* Softer background */
}

1473-1473: Consolidate duplicate hover color definitions

The same hover color is defined in two places. Consider consolidating these into a single CSS variable.

+ :root {
+   --hover-blue: var(--bg-blue);
+ }

.toggleBtn:hover {
-  color: var(--bg-blue) !important;
+  color: var(--hover-blue) !important;
}

.toggleBtnPledge:hover {
-  color: var(--bg-blue) !important;
+  color: var(--hover-blue) !important;
}

Also applies to: 860-860

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e73d61d and bc1c534.

📒 Files selected for processing (1)
  • src/style/app.module.css (12 hunks)
🔇 Additional comments (1)
src/style/app.module.css (1)

33-33: New CSS variable definition looks good

The addition of --bg-blue: #afffe8 as a CSS variable follows best practices for maintaining consistent colors across the application.

src/style/app.module.css Outdated Show resolved Hide resolved
src/style/app.module.css Outdated Show resolved Hide resolved
src/style/app.module.css Outdated Show resolved Hide resolved
Copy link

codecov bot commented Dec 28, 2024

Codecov Report

Attention: Patch coverage is 45.00000% with 11 lines in your changes missing coverage. Please review.

Project coverage is 89.93%. Comparing base (e343b0c) to head (b5e6d4f).
Report is 13 commits behind head on develop-postgres.

Files with missing lines Patch % Lines
.../screens/FundCampaignPledge/FundCampaignPledge.tsx 33.33% 2 Missing ⚠️
src/screens/FundCampaignPledge/PledgeModal.tsx 0.00% 2 Missing ⚠️
src/components/AddPeopleToTag/AddPeopleToTag.tsx 50.00% 0 Missing and 1 partial ⚠️
src/components/TagActions/TagActions.tsx 0.00% 0 Missing and 1 partial ⚠️
src/components/TagActions/TagNode.tsx 50.00% 0 Missing and 1 partial ⚠️
src/screens/ManageTag/ManageTag.tsx 0.00% 1 Missing ⚠️
...screens/OrganizationFundCampaign/CampaignModal.tsx 0.00% 1 Missing ⚠️
src/screens/OrganizationTags/OrganizationTags.tsx 0.00% 0 Missing and 1 partial ⚠️
src/screens/SubTags/SubTags.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                  Coverage Diff                  @@
##           develop-postgres    #2984       +/-   ##
=====================================================
+ Coverage              8.52%   89.93%   +81.41%     
=====================================================
  Files                   309      330       +21     
  Lines                  7805     8517      +712     
  Branches               1730     1884      +154     
=====================================================
+ Hits                    665     7660     +6995     
+ Misses                 7066      603     -6463     
- Partials                 74      254      +180     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@palisadoes palisadoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The aim isn't to use another shade of green, which is still difficult for the color blind. It's to change the color match the new aesthetic of the site. The new CSS was based on the default CSS color scheme of Gmail.

src/style/app.module.css Outdated Show resolved Hide resolved
@rahulch07
Copy link
Contributor Author

rahulch07 commented Dec 28, 2024

@palisadoes CSS of components like src/components/Advertisments needed to be added to app.module.css so that its green elements are changed
should I open new issue? or continue in this PR
image

@rahulch07 rahulch07 changed the title changed green to blue Updating to NEW COLOR SCHEME Dec 28, 2024
@AVtheking
Copy link
Contributor

@palisadoes CSS of components like src/components/Advertisments needed to be added to app.module.css so that its green elements are changed should I open new issue? or continue in this PR image

you can continue in this issue.Make sure you use the existing color schemes which are being used in the application

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🔭 Outside diff range comments (2)
src/assets/css/app.css (2)

Line range hint 31-45: Update success-related color variables to use the new blue scheme.

These Bootstrap color variables still use the green color (#31bb6b) that should be replaced with blue (#afffe8):

- --bs-success: #31bb6b;
+ --bs-success: #afffe8;

This change should cascade to other related variables like:

  • --bs-success-rgb
  • --bs-success-text-emphasis
  • --bs-success-bg-subtle
  • --bs-success-border-subtle

Bootstrap color scheme needs comprehensive updates across multiple components

Based on the search results, there are numerous instances of the green color (#31bb6b) that need to be replaced with blue/grey tones across different components and files:

  1. Bootstrap CSS variables in src/assets/css/app.css:
  • Success state colors
  • Form validation colors
  • Button variants (primary, success)
  • Dropdown active states
  • Navigation pills
  • Pagination active states
  1. Component-specific styles:
  • MemberDetail styles
  • UserPortal components
  • Organization related components
  • Event calendar components
  • Advertisement components
  1. SCSS variables in src/assets/scss/_variables.scss:
  • $primary
  • $success
  1. SVG assets in public/images/svg/:
  • Multiple SVG files using the green color

Recommendation:

  1. Update the SCSS variables first since they are the source
  2. Replace Bootstrap CSS variables systematically
  3. Update component-specific styles to use the new theme colors
  4. Modify SVG files to use the new color scheme
🔗 Analysis chain

Line range hint 1-5700: Comprehensive color scheme update needed.

The PR objective is to replace green tones with blue/grey tones, but there are still many components using the green color (#31bb6b). A thorough search and replace is needed for:

  1. Button styles (primary, success)
  2. Alert components
  3. Form validation states
  4. Progress bars
  5. List groups
  6. Other Bootstrap components

Consider using CSS variables to make future color scheme changes easier to manage.

Run this script to find all remaining instances of the green color:

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Find all remaining instances of the green color code
rg -i '31bb6b|rgb\(49, 187, 107\)' 

Length of output: 19161

🧹 Nitpick comments (5)
src/screens/OrganizationFundCampaign/OrganizationFundCampagins.tsx (1)

342-410: Streamline filter and search UI.

The large block of markup effectively implements search and sorting controls. However, consider these improvements:

  1. Use a single, clearly labeled “Search” button to reduce click confusion.
  2. Leverage existing color variables instead of mixing plain “success” variants if those conflict with your new scheme.
  3. Verify that the searchTerm state is properly trimmed or sanitized if user input might contain leading/trailing spaces.
src/screens/FundCampaignPledge/FundCampaignPledge.tsx (1)

479-492: Search field improvements.

  1. Consider debouncing the setSearchTerm handler to prevent excessive re-renders.
  2. Confirm that searchBtn triggers only once (some teams require a separate “enter key” or “click” behavior).
  3. Align the styling with the updated color scheme for better consistency.
src/style/app.module.css (3)

448-449: Review the “active” state color.

Aligning searchButton:active background to #286fe0 might conflict with your newly introduced --bg-blue or other brand blues—double-check design guidelines.


1247-1247: Striped table rows.

Applying var(--bg-blue) !important for even rows ensures new color usage, but confirm you’re not overwriting a darker row color that improved readability.


Line range hint 1268-1290: Check the .greenregbtnOrganizationFundCampaign naming.

Now that you’ve swapped in a blue color (background-color: var(--search-button-bg);), consider renaming or removing “green” references to maintain clarity and avoid confusion.

- .greenregbtnOrganizationFundCampaign {
-   ...
- }
+ .blueRegBtnOrganizationFundCampaign {
+   ...
+ }
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e6ce151 and 771a202.

📒 Files selected for processing (10)
  • src/assets/css/app.css (1 hunks)
  • src/components/OrgListCard/OrgListCard.module.css (1 hunks)
  • src/screens/FundCampaignPledge/FundCampaignPledge.tsx (6 hunks)
  • src/screens/FundCampaignPledge/PledgeModal.tsx (1 hunks)
  • src/screens/OrgList/OrgList.tsx (3 hunks)
  • src/screens/OrganizationFundCampaign/CampaignModal.tsx (1 hunks)
  • src/screens/OrganizationFundCampaign/OrganizationFundCampagins.tsx (3 hunks)
  • src/screens/OrganizationFunds/FundModal.tsx (3 hunks)
  • src/screens/OrganizationFunds/OrganizationFunds.tsx (9 hunks)
  • src/style/app.module.css (22 hunks)
✅ Files skipped from review due to trivial changes (5)
  • src/screens/FundCampaignPledge/PledgeModal.tsx
  • src/screens/OrganizationFundCampaign/CampaignModal.tsx
  • src/screens/OrganizationFunds/FundModal.tsx
  • src/screens/OrgList/OrgList.tsx
  • src/screens/OrganizationFunds/OrganizationFunds.tsx
🔇 Additional comments (18)
src/screens/OrganizationFundCampaign/OrganizationFundCampagins.tsx (2)

286-286: Use consistent styling for edit button variant.

Here, the Bootstrap variant="success" suggests a green theme, but the newly added class styles.editButton may override it with a different color or hover effect. Ensure both approaches align or remove one for visual consistency.


315-315: Apply consistent button variant for “view pledges” action.

Similarly, variant="outline-success" combined with styles.editButton might create conflicting or confusing styles. Confirm that the final appearance reflects your updated color scheme and user experience.

src/screens/FundCampaignPledge/FundCampaignPledge.tsx (4)

359-359: Align edit button styles with your new color system.

You’ve replaced a generic Bootstrap class with styles.editButton. Make sure it’s consistent throughout the pledge flow, especially if a different color or hover effect is expected post-PR.


446-449: Confirm correct styling of radio buttons.

This block updates the class for the “raised” indicator input. Ensure the final design matches your intended color transitions and there’s enough contrast for readability in both states.


468-469: Ensure consistent theming for the progress bar.

By applying className={${styles.progressBar}}, you rely on your .bg-info override. Confirm that the color references align with your new blue scheme rather than leftover green or conflicting shading.
[approve]


541-541: Confirm add pledge button’s color and disabled logic.

You're disabling it if endDate < new Date(). That’s great for preventing new pledges to expired campaigns. Just verify that your new color scheme (with className={styles.dropdown}) communicates the disabled state clearly (e.g., greyed out).

src/components/OrgListCard/OrgListCard.module.css (1)

63-65: Maintain consistent hover feedback.

The .manageBtn:hover rule sets a border style, which can be subtle on lighter backgrounds. Ensure it’s sufficiently visible against the new or existing color scheme.

src/style/app.module.css (11)

100-100: Validate the new --bg-blue color.

Using #a8c7fa is a significant departure from the old green. Ensure contrast across all components where it’s applied, especially text on or near this background.


188-188: Check contrast for bottom border.

Replacing --light-green with --bg-blue for .logintitle might reduce visual emphasis. Confirm that it remains clearly visible on lighter backgrounds.


198-198: Consistent bottom border color in .searchtitle.

Same caution as .logintitle. Ensure it’s not too faint against typical background colors.


458-459: Consolidate hover, active, focus states for .addButton.

Ensure this block doesn’t conflict with other button states. If your design standard is to remove outlines or rely on color changes, keep it consistent here.


513-528: New .editButton block.

Nicely done defining background, hover, and focus styles. Confirm that text color remains legible on hover (var(--subtle-blue-grey)) if it’s a lighter tone.


682-693: Confirm toggle styling.

Commented code suggests you previously tested box shadows or highlight states with var(--bg-blue). If removing them was intentional, ensure no regressions in your toggle UI experience.


719-719: Color contrast for “Page Not Found” heading.
This closely mirrors a past comment regarding the heading color being too light, so re-check the final contrast ratio to maintain accessibility.


1221-1221: Beware of color saturation in .customcell.

Using --bg-blue for cell backgrounds can appear harsh if the text within is also lighter. Double-check that your foreground color stays legible.


1689-1689: Hover styling for .toggleBtn.

Switching to color: var(--bg-blue) might reduce readability if the default background is also light. Evaluate final contrast on hover.


1902-1902: Adjust .searchButtonOrgList “blue” background.

This uses var(--bg-blue). Validate the final contrast for text and icons, especially if your designs typically rely on a darker or bolder accent color for buttons.
[approve]


3440-3440: Avoid overly light text color.
This update from green to var(--bg-blue) was flagged before as potentially having low contrast in text contexts. If you must keep it, ensure accessible color contrast.

src/screens/FundCampaignPledge/FundCampaignPledge.tsx Outdated Show resolved Hide resolved
src/style/app.module.css Outdated Show resolved Hide resolved
src/assets/css/app.css Outdated Show resolved Hide resolved
@rahulch07
Copy link
Contributor Author

rahulch07 commented Jan 2, 2025

@palisadoes @AVtheking updated color scheme for funds section. working on other sections ...

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🔭 Outside diff range comments (1)
src/assets/css/app.css (1)

Multiple components still use green color tones that need to be updated

The verification confirms that green color (#31bb6b) is extensively used throughout the codebase in various Bootstrap components and utilities:

  • Base color variables: --bs-success, --bs-success-rgb
  • Form validation: --bs-form-valid-color, --bs-form-valid-border-color
  • Components:
    • Buttons: .btn-success, .btn-outline-success
    • Tables: .table-success
    • Alerts: .alert-success
    • List groups: .list-group-item-success
    • Dropdowns, nav pills, and pagination active states
  • Utility classes:
    • .text-success, .bg-success
    • .border-success, .link-success

These green color usages should be updated to blue/grey tones to maintain consistency with the PR objectives.

🔗 Analysis chain

Line range hint 11-42: Replace remaining green color variables with blue/grey tones.

Several color variables are still using the green color (#31bb6b) which should be replaced with blue/grey tones according to the PR objectives:

  • --bs-success
  • --bs-success-rgb
  • --bs-form-valid-color
  • --bs-form-valid-border-color
  • --bs-focus-ring-color

Run the following script to verify all color variables:

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Find all color variables that still use green tones
rg -i '31bb6b|success' src/assets/css/app.css

Length of output: 4042

♻️ Duplicate comments (1)
src/style/app.module.css (1)

188-188: 🛠️ Refactor suggestion

Border visibility needs improvement

The light blue border (var(--bg-blue)) used for .logintitle and .searchtitle might be too subtle against light backgrounds, reducing the visual hierarchy. Consider using a darker blue shade for better visibility.

Also applies to: 198-198

🧹 Nitpick comments (2)
src/style/app.module.css (1)

732-739: Improve switch state visibility

The switch styles have two issues:

  1. The box shadow using var(--bg-blue) might be too subtle
  2. The checked state uses a hardcoded blue (#286fe0) instead of the CSS variable
.switch input:checked {
- background-color: #286fe0;
- border: var(--bs-primary);
- box-shadow: 0 0 0.1rem 0.2rem var(--bg-blue);
+ background-color: var(--bs-primary);
+ border: var(--bs-primary);
+ box-shadow: 0 0 0.1rem 0.2rem var(--bs-primary);
}
src/assets/css/app.css (1)

Line range hint 1-6000: Consider a systematic approach to color scheme updates.

The current changes are focused on individual components, but a more systematic approach would ensure better consistency:

  1. Define new color variables for the blue/grey scheme in the root section
  2. Replace all success/green color references with the new variables
  3. Update component-specific colors to use the new variables
  4. Document the new color scheme for future reference

This would make the color scheme more maintainable and consistent across the application.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 771a202 and fa19b90.

📒 Files selected for processing (5)
  • src/assets/css/app.css (2 hunks)
  • src/components/OrgPeopleListCard/OrgPeopleListCard.tsx (1 hunks)
  • src/screens/FundCampaignPledge/FundCampaignPledge.tsx (6 hunks)
  • src/screens/OrganizationPeople/AddMember.tsx (1 hunks)
  • src/style/app.module.css (23 hunks)
✅ Files skipped from review due to trivial changes (1)
  • src/components/OrgPeopleListCard/OrgPeopleListCard.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/screens/FundCampaignPledge/FundCampaignPledge.tsx
🔇 Additional comments (7)
src/screens/OrganizationPeople/AddMember.tsx (5)

547-547: No functional code changes here.
This is simply the closing tag for the Modal body, so there's nothing to revise.


548-548: Good introduction of a dedicated footer block.
Using <Modal.Footer> clarifies the structure of the modal and separates concerns properly.


551-551: Consistent naming convention for removal actions.
Renaming these classes from borderNone to removeButton highlights intent more clearly.


560-560: Proper shift to a unifying add button style.
Great job removing inline styles in favor of CSS classes to enhance maintainability.


569-569: No functional code changes here.
Just the closing tag for the Modal footer.

src/style/app.module.css (1)

3487-3487: ⚠️ Potential issue

Critical: Text color contrast issue

Using the light blue color (var(--bg-blue)) for text will fail WCAG accessibility guidelines for color contrast. This needs to be changed to a darker color.

.entryaction {
- color: var(--bg-blue);
+ color: var(--bs-primary); /* Use the primary blue for better contrast */
}

Likely invalid or redundant comment.

src/assets/css/app.css (1)

3903-3903: Ensure consistent blue color shades across components.

While the color changes align with the PR objective:

  • Dropdown active background: #a8c7fa (light blue)
  • Progress bar background: #0056b3 (dark blue)

Consider using consistent shades of blue for better visual harmony.

Also applies to: 5647-5647

src/style/app.module.css Outdated Show resolved Hide resolved
@palisadoes
Copy link
Contributor

Please fix the conflicting file

@AVtheking
Copy link
Contributor

PTAL at coderabbit's comments, fix the failing tests, remove commented code .

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (11)
src/screens/ManageTag/RemoveUserTagModal.tsx (1)

59-59: Ensure color consistency for success actions.
Using styles.addButton helps unify the styling for positive actions. If intended for success-themed coloring, consider blending or harmonizing with Bootstrap’s green tone or newly introduced color variables.

src/screens/ManageTag/UnassignUserTagModal.tsx (1)

59-59: Positive action styling.
Using styles.addButton clarifies button behavior. Keep an eye on ensuring differences between remove vs. add actions are visually distinct.

src/screens/ManageTag/EditUserTagModal.tsx (1)

81-86: Submit/Edit button styling.
Applying styles.addButton for editing differs semantically from “add,” but it may be acceptable if your style guide merges both “positive action” states. Consider clarifying naming for better semantic alignment (e.g., .confirmButton).

src/utils/organizationTagsUtils.ts (1)

41-44: Focused cell outline for accessibility.
Adding a 2px outline helps keyboard users see focused cells clearly. Consider also providing a high-contrast outline color for improved accessibility.

src/style/app.module.css (7)

283-291: Dropdown pseudo-classes grouping.
Using the :is() pseudo-class for multiple states is a neat approach. Consider verifying older browser support.


299-300: Focus outline clarity.
Ensuring a 2px outline color that differs from the button color can improve focus visibility.


308-312: Commented-out dropdown styles.
Keeping them commented may cause confusion; remove the unused code or explain why it’s retained.


441-442: Commented-out box-shadow.
If no longer in use, consider removing it or describing the rationale for keeping it.


494-497: Redundant style block for .addButton?
.addButton:not(:hover, :active, :focus) sets the same color as line 490. Check if it conflicts or is needed.


522-525: Active states on .regularBtn.
Ensuring the hover color remains distinct from .addButton or .removeButton is a good practice.


1359-1360: Commented-out border.
Consider removing it if no longer relevant. Minimizing commented code helps keep CSS clean.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between fa19b90 and 8090392.

📒 Files selected for processing (15)
  • src/components/AddPeopleToTag/AddPeopleToTag.module.css (0 hunks)
  • src/components/AddPeopleToTag/AddPeopleToTag.tsx (6 hunks)
  • src/components/TagActions/TagActions.module.css (0 hunks)
  • src/components/TagActions/TagActions.tsx (4 hunks)
  • src/components/TagActions/TagNode.tsx (1 hunks)
  • src/screens/ManageTag/EditUserTagModal.tsx (4 hunks)
  • src/screens/ManageTag/ManageTag.tsx (6 hunks)
  • src/screens/ManageTag/RemoveUserTagModal.tsx (4 hunks)
  • src/screens/ManageTag/UnassignUserTagModal.tsx (4 hunks)
  • src/screens/OrganizationFunds/OrganizationFunds.tsx (9 hunks)
  • src/screens/OrganizationPeople/AddMember.tsx (1 hunks)
  • src/screens/OrganizationTags/OrganizationTags.tsx (5 hunks)
  • src/screens/SubTags/SubTags.tsx (4 hunks)
  • src/style/app.module.css (25 hunks)
  • src/utils/organizationTagsUtils.ts (2 hunks)
💤 Files with no reviewable changes (2)
  • src/components/AddPeopleToTag/AddPeopleToTag.module.css
  • src/components/TagActions/TagActions.module.css
✅ Files skipped from review due to trivial changes (3)
  • src/components/TagActions/TagNode.tsx
  • src/screens/ManageTag/ManageTag.tsx
  • src/components/TagActions/TagActions.tsx
🚧 Files skipped from review as they are similar to previous changes (2)
  • src/screens/OrganizationPeople/AddMember.tsx
  • src/screens/OrganizationFunds/OrganizationFunds.tsx
🧰 Additional context used
📓 Learnings (1)
src/components/AddPeopleToTag/AddPeopleToTag.tsx (1)
Learnt from: meetulr
PR: PalisadoesFoundation/talawa-admin#2355
File: src/components/AddPeopleToTag/AddPeopleToTag.tsx:50-83
Timestamp: 2024-11-12T10:40:58.655Z
Learning: The project currently does not have a GraphQL type generator, so manually typing the result of the `useQuery` hook is acceptable.
🪛 Biome (1.9.4)
src/style/app.module.css

[error] 1691-1691: Unexpected shorthand property padding after padding-bottom

(lint/suspicious/noShorthandPropertyOverrides)

🔇 Additional comments (49)
src/screens/ManageTag/RemoveUserTagModal.tsx (3)

4-4: Modular CSS import looks good.
Importing the styles module is appropriate for ensuring consistent styling across the component.


37-37: Consistent modal header styling.
Using styles.modalHeader aligns with the broader shift to a custom color scheme, removing direct references to Bootstrap’s bg-primary.


48-48: Button styling approach is consistent.
Appending styles.removeButton to btn btn-danger provides a cohesive look. Confirm that the removeButton class does not conflict with btn-danger styles.

src/screens/ManageTag/UnassignUserTagModal.tsx (3)

4-4: CSS module import is properly referenced.
Importing styles allows for modular class usage without polluting global CSS.


38-38: Good practice for modal header customization.
Replacing static classes with styles.modalHeader ensures consistent theming across modals.


49-49: Removal button styling is consistent with design updates.
Make sure .removeButton transitions or hover effects are tested for user experience.

src/screens/ManageTag/EditUserTagModal.tsx (4)

5-5: CSS modules import is correct.
Consolidating styling into app.module.css helps maintain consistency.


41-41: Modal header style.
Adopting styles.modalHeader avoids reliance on stock Bootstrap background classes.


60-60: Input field styling.
Using styles.inputField ensures a consistent user experience across different modals.


77-77: Cancel/Remove button synergy.
styles.removeButton for the cancel action is consistent with the negative action approach.

src/utils/organizationTagsUtils.ts (1)

21-25: Consistent hover boxShadow.
Applying the same box shadow for row hover and .Mui-hovered state maintains uniform visual feedback in the DataGrid.

src/components/AddPeopleToTag/AddPeopleToTag.tsx (7)

10-10: Good modular approach for shared styles.
By importing from ../../style/app.module.css, you're ensuring consistent styling across the application.


247-250: Consistent usage of conditional classes.
Replacing the Bootstrap variant with conditional classes is a sound approach for modular CSS. Good job!


269-269: Modal header style consistency check.
You extended the background with bg-primary plus styles.modalHeader. Confirm that bg-primary doesn't conflict with your custom styling in modalHeader.


307-307: Improved input field styling.
Using styles.inputField offers better control and consistency. Good move!


321-321: Consistent usage of .inputField class.
Aligns with your modular approach. Nicely done!


402-404: Improved button design choice.
Using .removeButton for a destructive or cancel action is intuitive and consistent with the new design.


412-412: Button style alignment.
.addButton class helps unify CTA styling. Ensure contrast is sufficient on all devices.

src/screens/SubTags/SubTags.tsx (4)

271-271: Clear call to action for "Manage Tag".
Applying styles.editButton for consistency with your new design system. Good usage.


448-448: Modal header update.
className={styles.modalHeader} ensures consistent header styling across modals. Nice centralization.


460-460: Input field with consistent style.
Applying styles.inputField for the tag name field indicates a uniform approach to form inputs.


477-477: Cancellation button styling.
Using .removeButton visually distinguishes the cancel action. Good consistency with the new classes.

src/screens/OrganizationTags/OrganizationTags.tsx (5)

288-288: Button style for manageTagBtn.
Assigning .editButton instead of a success or primary variant streamlines your design language.


410-410: Focus outline for row selection.
outline: '2px solid #000' ensures an accessible focus indicator. Confirm color meets accessibility guidelines.


423-423: Focus outline for cells.
Again, outline: '2px solid #000' is good for keyboard navigation accessibility.


465-465: Input field styling.
Including mb-3 ${styles.inputField} looks consistent with the rest of the UI.


482-482: Non-destructive action visually distinguished.
Using .removeButton for the cancel intent in your modal is consistent with newly introduced styles.

src/style/app.module.css (22)

101-101: Addition of --bg-blue.
Defining a custom variable for blue promotes maintainability. Verify it’s used consistently across all components requiring blue tones.


195-195: Border color update.
Replacing --light-green with var(--bg-blue) ensures consistent color scheme alignment. Good step!


205-205: Search title border color changed.
Again, the switch to var(--bg-blue) unifies your new color palette.


401-404: Destructive button hover states.
.deleteButton:is(:hover, :active) is consistent. Good job preserving text color contrast by forcing white text.


444-445: Accessible focus state.
A subtle box-shadow for focused input fields improves the user’s clarity while tabbing.


479-480: Search button active styling.
Shrinking the button (transform: scale(0.95)) is a nice microinteraction. Ensure final border color is noticeable.


489-490: Hover & active states on .addButton.
Darkening background color on interaction helps confirm button activity.


499-504: .removeButton introduction.
Visually clarifying destructive or negative actions is key to usability. Good job.


506-510: Hover states for .removeButton.
Darkening the background color conveys the destructive action more clearly.


517-520: .regularBtn for neutral actions.
This approach helps differentiate from .addButton or .removeButton.


566-570: Scrollable container style.
A fixed height plus overflow-y: auto can enhance usability. Check large content scenarios.


572-579: .memberBadge improvements.
Box shadow and other attributes create a neat little badge. Verify it looks good in dark mode (if applicable).


581-586: Loading div styling.
Centering a spinner or loader can be beneficial. This is consistent with typical UI patterns.


588-595: Tag badge style.
Similar approach to .memberBadge for consistency. Good practice.


603-608: New .editButton class.
Makes sense for an edit or primary action. Good introduction.


609-613: Hover style for .editButton.
Shifting background to var(--subtle-blue-grey) is a subtle yet effective highlight.


614-617: Focus states for .editButton.
Reverting to var(--bs-primary) on focus is consistent. Good for keyboard navigation.


1312-1312: .customcell color change.
Switching to var(--bg-blue) is in line with the new color scheme. Verify contrast on lighter backgrounds.


1338-1338: Even-row background color.
Applying var(--bg-blue) to the nth-child(2n) row can create a pleasing striped table. Confirm readability of text.


1364-1364: Fund Campaign background color.
Using var(--search-button-bg) extends the newly established palette. Good alignment.


1377-1380: Hover effect for .greenregbtnOrganizationFundCampaign.
Darkening to #286fe0 gives a clear interactive signal. Ensure consistent color transitions across similar classes.


3533-3533: Color usage for .entryaction.
Using var(--bg-blue) for text might reduce readability if the background is light. Check color contrast.

src/style/app.module.css Outdated Show resolved Hide resolved
@palisadoes
Copy link
Contributor

Please fix the failing tests

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🔭 Outside diff range comments (2)
src/assets/css/app.css (1)

Line range hint 1-5800: Update remaining green color values for consistency.

There are still several Bootstrap components using green color values that should be updated to maintain consistency with the new blue/grey color scheme:

  1. Success colors (--bs-success)
  2. Primary colors (--bs-primary)
  3. Button states
  4. Form validation states

This creates visual inconsistency across the UI. Consider updating these color values to align with the new color scheme.

Apply this diff to update the remaining green colors:

  :root,
  [data-bs-theme='light'] {
-   --bs-success: #31bb6b;
-   --bs-primary: #31bb6b;
+   --bs-success: #0056b3;
+   --bs-primary: #0056b3;
    ...
-   --bs-primary-rgb: 49, 187, 107;
-   --bs-success-rgb: 49, 187, 107;
+   --bs-primary-rgb: 0, 86, 179;
+   --bs-success-rgb: 0, 86, 179;
    ...
-   --bs-primary-text-emphasis: #144b2b;
-   --bs-success-text-emphasis: #144b2b;
+   --bs-primary-text-emphasis: #002b59;
+   --bs-success-text-emphasis: #002b59;
    ...
-   --bs-primary-bg-subtle: #d6f1e1;
-   --bs-success-bg-subtle: #d6f1e1;
+   --bs-primary-bg-subtle: #cce5ff;
+   --bs-success-bg-subtle: #cce5ff;
    ...
-   --bs-primary-border-subtle: #ade4c4;
-   --bs-success-border-subtle: #ade4c4;
+   --bs-primary-border-subtle: #99caff;
+   --bs-success-border-subtle: #99caff;
}
src/components/OrgPostCard/OrgPostCard.tsx (1)

Line range hint 41-41: Update PushPin icon color to match new color scheme.

The PushPin icons still use color="success" which typically represents green tones. This should be updated to match the new blue color scheme.

-<PushPin color="success" fontSize="large" className="fs-5" />
+<PushPin color="primary" fontSize="large" className="fs-5" />

Also applies to: 141-141, 250-250

🧹 Nitpick comments (3)
src/components/Advertisements/core/AdvertisementEntry/AdvertisementEntry.tsx (1)

102-102: LGTM! Consistent styling updates across components

The styling changes maintain consistency across the card, buttons, and modal components.

Consider simplifying the view button's className by consolidating styles.entryaction and styles.addButton into a single class if they share similar styles:

-className={`${styles.entryaction} ${styles.addButton}`}
+className={styles.addButton}

Also applies to: 166-166, 192-194, 200-200

src/style/app.module.css (2)

58-58: Use CSS variables for better maintainability.

The hardcoded color values reduce maintainability. Consider using CSS variables:

-  --tablerow-bg-color: #ffffff;
+  --tablerow-bg-color: var(--white-color);
-  --table-head-bg: #eaebef;
+  --table-head-bg: var(--grey-bg-color);
-  --table-header-color: #000000;
+  --table-header-color: var(--black-color);

Also applies to: 94-94, 96-96


482-483: Use CSS variables for hover states.

Hardcoded color values in hover states make maintenance difficult:

-  background-color: var(--search-button-hover-bg, #286fe0) !important;
+  background-color: var(--dark-blue) !important;
   border-color: transparent !important;
   .addButton:is(:hover, :active) {
-    background-color: var(--dark-blue) !important;
+    background-color: var(--hover-blue, var(--dark-blue)) !important;
     border-color: var(--search-button-border);
   }

Also applies to: 492-494

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8090392 and 851e246.

📒 Files selected for processing (26)
  • src/assets/css/app.css (2 hunks)
  • src/components/AddOn/core/AddOnEntry/AddOnEntry.tsx (1 hunks)
  • src/components/Advertisements/core/AdvertisementEntry/AdvertisementEntry.module.css (0 hunks)
  • src/components/Advertisements/core/AdvertisementEntry/AdvertisementEntry.tsx (4 hunks)
  • src/components/Advertisements/core/AdvertisementRegister/AdvertisementRegister.tsx (8 hunks)
  • src/components/EventCalendar/EventCalendar.tsx (1 hunks)
  • src/components/EventCalendar/EventHeader.tsx (1 hunks)
  • src/components/EventListCard/EventListCardModals.tsx (19 hunks)
  • src/components/OrgPeopleListCard/OrgPeopleListCard.tsx (1 hunks)
  • src/components/OrgPostCard/DeletePostModal.tsx (2 hunks)
  • src/components/OrgPostCard/OrgPostCard.tsx (5 hunks)
  • src/components/Venues/VenueCard.tsx (1 hunks)
  • src/components/Venues/VenueModal.tsx (4 hunks)
  • src/screens/BlockUser/BlockUser.tsx (4 hunks)
  • src/screens/FundCampaignPledge/FundCampaignPledge.tsx (6 hunks)
  • src/screens/ManageTag/ManageTag.tsx (6 hunks)
  • src/screens/OrgList/OrgList.tsx (2 hunks)
  • src/screens/OrgPost/OrgPost.tsx (5 hunks)
  • src/screens/OrganizationActionItems/ItemUpdateStatusModal.tsx (1 hunks)
  • src/screens/OrganizationEvents/OrganizationEvents.tsx (8 hunks)
  • src/screens/OrganizationFundCampaign/OrganizationFundCampagins.tsx (6 hunks)
  • src/screens/OrganizationFunds/OrganizationFunds.tsx (8 hunks)
  • src/screens/OrganizationPeople/AddMember.tsx (1 hunks)
  • src/screens/OrganizationTags/OrganizationTags.tsx (5 hunks)
  • src/screens/SubTags/SubTags.tsx (4 hunks)
  • src/style/app.module.css (27 hunks)
💤 Files with no reviewable changes (1)
  • src/components/Advertisements/core/AdvertisementEntry/AdvertisementEntry.module.css
✅ Files skipped from review due to trivial changes (6)
  • src/components/Venues/VenueCard.tsx
  • src/components/EventCalendar/EventHeader.tsx
  • src/components/Venues/VenueModal.tsx
  • src/components/EventCalendar/EventCalendar.tsx
  • src/screens/OrgPost/OrgPost.tsx
  • src/components/EventListCard/EventListCardModals.tsx
🚧 Files skipped from review as they are similar to previous changes (9)
  • src/components/OrgPeopleListCard/OrgPeopleListCard.tsx
  • src/screens/ManageTag/ManageTag.tsx
  • src/screens/OrgList/OrgList.tsx
  • src/screens/OrganizationPeople/AddMember.tsx
  • src/screens/FundCampaignPledge/FundCampaignPledge.tsx
  • src/screens/OrganizationFunds/OrganizationFunds.tsx
  • src/screens/OrganizationTags/OrganizationTags.tsx
  • src/screens/OrganizationFundCampaign/OrganizationFundCampagins.tsx
  • src/screens/SubTags/SubTags.tsx
🧰 Additional context used
📓 Learnings (1)
src/screens/OrganizationActionItems/ItemUpdateStatusModal.tsx (1)
Learnt from: Chaitanya1672
PR: PalisadoesFoundation/talawa-admin#2049
File: src/screens/OrganizationActionItems/ActionItemUpdateModal.tsx:112-138
Timestamp: 2024-11-12T10:40:58.654Z
Learning: The `istanbul ignore next` comments in the `ActionItemUpdateModal.tsx` file were added as part of a commit that introduced tests for the `ActionItemUpdateModal` component. Removing these comments and writing tests to cover the previously ignored lines is recommended to ensure code integrity and improve test coverage.
🪛 Biome (1.9.4)
src/style/app.module.css

[error] 1712-1712: Unexpected shorthand property padding after padding-bottom

(lint/suspicious/noShorthandPropertyOverrides)

🔇 Additional comments (15)
src/screens/OrganizationEvents/OrganizationEvents.tsx (3)

305-305: LGTM! Consistent styling applied to input fields.

The addition of styles.inputField class to Form.Control components maintains consistency with the new color scheme.

Also applies to: 321-321


429-429: LGTM! Consistent styling pattern for form switches.

Good use of template literals to combine the Bootstrap margin class me-4 with the new styles.switch class, maintaining both spacing and the updated color scheme.

Also applies to: 440-440, 453-453, 466-466, 481-481


505-505: LGTM! Button styling standardized.

The change from component-specific createButtonOrganizationEvents to the generic addButton class promotes better reusability and consistency across the application.

src/components/OrgPostCard/DeletePostModal.tsx (1)

50-50: LGTM! Button styling changes align with new color scheme

The modal's button styling has been updated consistently, using removeButton for the negative action and addButton for the positive action, maintaining clear visual hierarchy.

Also applies to: 56-56

src/components/AddOn/core/AddOnEntry/AddOnEntry.tsx (1)

116-120: LGTM! Conditional styling provides clear visual feedback

The button styling intelligently switches between addButton and removeButton based on installation status, providing clear visual feedback to users.

src/components/Advertisements/core/AdvertisementRegister/AdvertisementRegister.tsx (1)

252-252: LGTM! Comprehensive styling updates maintain consistency

The changes thoroughly update all form inputs with inputField class and apply consistent button styling throughout the component.

Also applies to: 289-289, 316-316, 372-372, 391-391, 407-407, 416-416, 433-433

src/style/app.module.css (1)

1711-1714: ⚠️ Potential issue

Fix conflicting padding properties in modal header.

The padding properties conflict with each other:

   .modalHeader {
     border: none;
-    padding-bottom: 0;
     background-color: var(--white-color) !important;
-    padding: 1rem 1rem;
+    padding: 1rem;
     color: #000000;
   }

Likely invalid or redundant comment.

🧰 Tools
🪛 Biome (1.9.4)

[error] 1712-1712: Unexpected shorthand property padding after padding-bottom

(lint/suspicious/noShorthandPropertyOverrides)

src/assets/css/app.css (2)

3904-3904: Color change aligns with PR objective.

The dropdown active background color has been updated from green to light blue (#a8c7fa), which aligns with the PR objective of replacing green tones with blue/grey tones.


5648-5648: Color change aligns with PR objective.

The progress bar background color has been updated from green to blue (#0056b3), which aligns with the PR objective of replacing green tones with blue/grey tones.

src/screens/BlockUser/BlockUser.tsx (2)

188-194: LGTM! CSS class changes align with the new color scheme

The changes appropriately utilize the centralized styles from app.module.css, maintaining consistency with the new color scheme across the application.

Also applies to: 209-209


Line range hint 313-334: Verify button variant colors match the new scheme

The buttons still use Bootstrap's variant="success" which typically has green styling. Consider updating these variants to align with the new blue/grey color scheme.

src/components/OrgPostCard/OrgPostCard.tsx (2)

Line range hint 448-465: LGTM! Modal and input field styling changes align with the new color scheme.

The changes to use styles.modalHeader and styles.inputField classes maintain consistency with the updated styling system.


583-595: LGTM! Button styling updates maintain visual consistency.

The changes to use styles.removeButton and styles.addButton classes align with the new color scheme.

src/screens/OrganizationActionItems/ItemUpdateStatusModal.tsx (2)

116-126: LGTM! Button styling updates maintain consistency.

The changes to use styles.addButton and styles.removeButton classes align with the new color scheme and maintain visual consistency across the application.


133-136: LGTM! Consistent button styling.

The use of styles.addButton class maintains consistency with other action buttons across the application.

src/style/app.module.css Show resolved Hide resolved
src/screens/BlockUser/BlockUser.tsx Show resolved Hide resolved
This was referenced Jan 18, 2025
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.

4 participants