Files
ISA-Frontend/tailwind-plugins/typography.plugin.js
Nino Righi 266358f0cc Merged PR 1528: Responsive Design Article Search
Responsive Design Article Search
2023-05-24 16:33:56 +00:00

14 lines
565 B
JavaScript

const plugin = require('tailwindcss/plugin');
module.exports = plugin(function ({ addBase }) {
addBase({
'.text-h1': { fontSize: '3.375rem', lineHeight: '4.5rem' },
'.text-h2': { fontSize: '1.625rem', lineHeight: '2.25rem' },
'.text-h3': { fontSize: '1.375rem', lineHeight: '1.75rem' },
'.text-p1': { fontSize: '1.125rem', lineHeight: '1.5rem' },
'.text-p2': { fontSize: '1rem', lineHeight: '1.313rem' },
'.text-p3': { fontSize: '0.875rem', lineHeight: '1.188rem' },
'.text-p4': { fontSize: '0.75rem', lineHeight: '1rem' },
});
});