Skip to content

Commit

Permalink
set base font size to 16px
Browse files Browse the repository at this point in the history
Allows for customers to "opt in" to accessibility compliance by setting this as "1rem" while avoiding the footgun probability that most are hard coding an HTML font size anyway which has the potential to cause sizing issues with fides.js out of the box.
  • Loading branch information
gilluminate committed Jan 15, 2025
1 parent af54d83 commit e6b55e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/fides-js/src/components/fides.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

/* Everything else */
--fides-overlay-font-family: Inter, sans-serif;
--fides-base-font-size: 1rem;
--fides-base-font-size: 16px;
--8px: calc(var(--fides-base-font-size) * 0.5);
--12px: calc(var(--fides-base-font-size) * 0.75);
--14px: calc(var(--fides-base-font-size) * 0.875);
Expand Down

0 comments on commit e6b55e9

Please sign in to comment.