Add ability to customize font size

Added an ability to customize font sizes. This is set at a new section in the settings.
The controler for this sets a number of css variables which are used in css rules that
override tailwind's text-<size> to use the font size and line spacing contained in the
variable. The control itself is a simple logarithmic slider that controls a "scale
factor" by which all the text sizes in a resume are scaled by.
This commit is contained in:
Ryan Polley
2020-12-26 13:14:33 -06:00
parent c1cc9d0a69
commit abd24e7eb7
17 changed files with 118 additions and 11 deletions

View File

@ -7,7 +7,7 @@ const AwardItem = ({ item, language }) => (
<div>
<div className="flex justify-between items-center">
<div className="flex flex-col text-left mr-2">
<h6 className="font-semibold">{item.title}</h6>
<h6 className="font-semibold text-sm">{item.title}</h6>
<span className="text-xs">{item.awarder}</span>
</div>
{item.date && (