Skip to content

Commit

Permalink
Add css override to match theme
Browse files Browse the repository at this point in the history
  • Loading branch information
imnasnainaec committed Aug 12, 2024
1 parent 0c17245 commit 9e33109
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/cookies/cc.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#cc-main {
--cc-btn-primary-bg: #1e88e5; /* primary: blue[600] */
--cc-btn-primary-border-color: var(--cc-btn-primary-bg);
--cc-btn-primary-hover-bg: #0d47a1; /* darkShade: blue[900] */
--cc-btn-primary-hover-border-color: var(--cc-btn-primary-hover-bg);
--cc-font-family: "Noto Sans", "Open Sans", Roboto, Helvetica, Arial, sans-serif;
--cc-primary-color: #1e88e5; /* primary: blue[600] */
--cc-secondary-color: #000000
}
1 change: 1 addition & 0 deletions src/cookies/useCookieConsent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { useTranslation } from "react-i18next";
import { eraseCookies, run } from "vanilla-cookieconsent";

import "vanilla-cookieconsent/dist/cookieconsent.css";
import "cookies/cc.css";

import { useAppDispatch } from "rootRedux/hooks";
import { updateConsent } from "types/Redux/analytics";
Expand Down

0 comments on commit 9e33109

Please sign in to comment.