@sequencemedia/css-purge
Version:
A CSS tool written in Node JS as a command line app or library for the purging, burning, reducing, shortening, compressing, cleaning, trimming and formatting of duplicate, extra, excess or bloated CSS.
13 lines (12 loc) • 335 B
JavaScript
export default function hasPropertyFont ({ property }) {
return (
property === 'font-style' ||
property === 'font-variant' ||
property === 'font-weight' ||
property === 'font-stretch' ||
property === 'font-size' ||
property === 'line-height' ||
property === 'font-family' ||
property === 'font'
)
}