Skip to content

Commit e6b55e9

Browse files
committed
set base font size to 16px
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.
1 parent af54d83 commit e6b55e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/fides-js/src/components/fides.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
/* Everything else */
5858
--fides-overlay-font-family: Inter, sans-serif;
59-
--fides-base-font-size: 1rem;
59+
--fides-base-font-size: 16px;
6060
--8px: calc(var(--fides-base-font-size) * 0.5);
6161
--12px: calc(var(--fides-base-font-size) * 0.75);
6262
--14px: calc(var(--fides-base-font-size) * 0.875);

0 commit comments

Comments
 (0)