mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-18 10:41:56 +10:00
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.
46 lines
577 B
JavaScript
46 lines
577 B
JavaScript
import {
|
|
MdColorLens,
|
|
MdDashboard,
|
|
MdFontDownload,
|
|
MdImportExport,
|
|
MdInfo,
|
|
MdSettings,
|
|
MdStyle,
|
|
MdFormatSize,
|
|
} from 'react-icons/md';
|
|
|
|
export default [
|
|
{
|
|
id: 'templates',
|
|
icon: MdStyle,
|
|
},
|
|
{
|
|
id: 'layout',
|
|
icon: MdDashboard,
|
|
},
|
|
{
|
|
id: 'colors',
|
|
icon: MdColorLens,
|
|
},
|
|
{
|
|
id: 'fonts',
|
|
icon: MdFontDownload,
|
|
},
|
|
{
|
|
id: 'font-sizes',
|
|
icon: MdFormatSize,
|
|
},
|
|
{
|
|
id: 'actions',
|
|
icon: MdImportExport,
|
|
},
|
|
{
|
|
id: 'settings',
|
|
icon: MdSettings,
|
|
},
|
|
{
|
|
id: 'about',
|
|
icon: MdInfo,
|
|
},
|
|
];
|