From 78699b300c05c794b0b9590873baf080d6cce279 Mon Sep 17 00:00:00 2001 From: Mehul Aggarwal <88583647+AceHunterr@users.noreply.github.com> Date: Sun, 29 Dec 2024 21:21:03 +0530 Subject: [PATCH] Using Global CSS root variables across all files (#3014) * Using Global CSS root variables across all files * Removed green color --- .../AddOn/core/AddOnEntry/AddOnEntry.tsx | 13 +------------ .../EventAttendance/EventAttendance.tsx | 4 ++-- .../EventRegistrant/EventRegistrants.tsx | 18 +++++++++--------- .../VolunteerGroupViewModal.tsx | 2 +- src/screens/ManageTag/ManageTag.tsx | 2 +- src/screens/OrgList/OrgList.tsx | 1 - .../OrganizationTags/OrganizationTags.tsx | 12 +++++------- src/screens/Requests/Requests.tsx | 1 - src/style/app.module.css | 1 + 9 files changed, 20 insertions(+), 34 deletions(-) diff --git a/src/components/AddOn/core/AddOnEntry/AddOnEntry.tsx b/src/components/AddOn/core/AddOnEntry/AddOnEntry.tsx index e2971fee14..0d317266d9 100644 --- a/src/components/AddOn/core/AddOnEntry/AddOnEntry.tsx +++ b/src/components/AddOn/core/AddOnEntry/AddOnEntry.tsx @@ -104,19 +104,8 @@ function addOnEntry({ <> - {/* {uninstalledOrgs.includes(currentOrg) && ( - {}} - disabled={switchInProgress} - checked={enabled} - /> - )} */} {title} diff --git a/src/components/EventManagement/EventAttendance/EventAttendance.tsx b/src/components/EventManagement/EventAttendance/EventAttendance.tsx index 06b047a973..57ce357835 100644 --- a/src/components/EventManagement/EventAttendance/EventAttendance.tsx +++ b/src/components/EventManagement/EventAttendance/EventAttendance.tsx @@ -312,12 +312,12 @@ function EventAttendance(): JSX.Element { componentsProps={{ tooltip: { sx: { - backgroundColor: 'white', + backgroundColor: 'var(--bs-white)', fontSize: '2em', maxHeight: '170px', overflowY: 'scroll', scrollbarColor: 'white', - border: '1px solid green', + border: 'var(--primary-border-solid)', borderRadius: '6px', boxShadow: '0 0 5px rgba(0,0,0,0.1)', }, diff --git a/src/components/EventManagement/EventRegistrant/EventRegistrants.tsx b/src/components/EventManagement/EventRegistrant/EventRegistrants.tsx index efcc2e91f7..d6488025ac 100644 --- a/src/components/EventManagement/EventRegistrant/EventRegistrants.tsx +++ b/src/components/EventManagement/EventRegistrant/EventRegistrants.tsx @@ -9,7 +9,7 @@ import { } from '@mui/material'; import { Button, Table } from 'react-bootstrap'; import { useTranslation } from 'react-i18next'; -import style from '../../../style/app.module.css'; +import styles from '../../../style/app.module.css'; import { useLazyQuery } from '@apollo/client'; import { EVENT_ATTENDEES, EVENT_REGISTRANTS } from 'GraphQl/Queries/Queries'; import { useParams } from 'react-router-dom'; @@ -112,7 +112,7 @@ function EventRegistrants(): JSX.Element { )}