UNPKG

@porsche-design-system/components-js

Version:

Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.

15 lines (12 loc) 640 B
import { fontSizeText } from './fontSizeText.mjs'; import { fontSizeHeading } from './fontSizeHeading.mjs'; import { fontSizeDisplay } from './fontSizeDisplay.mjs'; // Fluid Type Scale Calculator (https://fluid-type-scale.com) was used to generate a type scale set based on the "golden ratio". // "Text/Heading": min - base: 16px, screen: 320px, ratio: 1,2 / max - base: 16px, screen: 1760px, ratio: 1,309 // "Display": min - base: 16px, screen: 320px, ratio: 1,2 / max - base: 16px, screen: 1760px, ratio: 1,5 const fontSize = { text: fontSizeText, heading: fontSizeHeading, display: fontSizeDisplay, }; export { fontSize };