\begin{quote}
Minify font declarations with Post\+CSS. \end{quote}
This module will try to minimise the {\ttfamily font-\/family}, {\ttfamily font-\/weight} and {\ttfamily font} shorthand properties; it can unquote font families where necessary, detect \& remove duplicates, and cut short a declaration after it finds a keyword. For more examples, see the \mbox{[}tests\mbox{]}(test).


\begin{DoxyCode}{0}
\DoxyCodeLine{h1 \{}
\DoxyCodeLine{  font:bold 2.2rem/.9 "{}Open Sans Condensed"{}, sans-\/serif;}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{p \{}
\DoxyCodeLine{  font-\/family: "{}Helvetica Neue"{}, Arial, sans-\/serif, Helvetica;}
\DoxyCodeLine{  font-\/weight: normal;}
\DoxyCodeLine{\} }

\end{DoxyCode}



\begin{DoxyCode}{0}
\DoxyCodeLine{h1 \{}
\DoxyCodeLine{  font:700 2.2rem/.9 Open Sans Condensed,sans-\/serif}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{p \{}
\DoxyCodeLine{  font-\/family: Helvetica Neue,Arial,sans-\/serif;}
\DoxyCodeLine{  font-\/weight: 400;}
\DoxyCodeLine{\} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21520}{}\doxysection{API}\label{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21520}
\hypertarget{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21521}{}\doxysubsection{minify\+Font\+Values(\mbox{[}options\mbox{]})}\label{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21521}
\hypertarget{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21522}{}\doxysubsubsection{options}\label{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21522}
\hypertarget{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21523}{}\doxyparagraph{remove\+After\+Keyword}\label{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21523}
Type\+: {\ttfamily boolean} Default\+: {\ttfamily false}

Pass {\ttfamily true} to remove font families after the module encounters a font keyword, for example {\ttfamily sans-\/serif}.\hypertarget{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21524}{}\doxyparagraph{remove\+Duplicates}\label{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21524}
Type\+: {\ttfamily boolean} Default\+: {\ttfamily true}

Pass {\ttfamily false} to disable the module from removing duplicated font families.\hypertarget{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21525}{}\doxyparagraph{remove\+Quotes}\label{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21525}
Type\+: {\ttfamily boolean} Default\+: {\ttfamily true}

Pass {\ttfamily false} to disable the module from removing quotes from font families. Note that oftentimes, this is a {\itshape safe optimisation} \& is done safely. For more details, see \href{https://mathiasbynens.be/notes/unquoted-font-family}{\texttt{ Mathias Bynens\textquotesingle{} article}}.\hypertarget{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21526}{}\doxysection{Usage}\label{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21526}

\begin{DoxyCode}{0}
\DoxyCodeLine{postcss([ require('postcss-\/minify-\/font-\/values') ]) }

\end{DoxyCode}


See \href{https://github.com/postcss/postcss}{\texttt{ Post\+CSS}} docs for examples for your environment.\hypertarget{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21527}{}\doxysection{Contributors}\label{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21527}
See \href{https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md}{\texttt{ CONTRIBUTORS.\+md}}.\hypertarget{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21528}{}\doxysection{License}\label{md_sfcode_node_modules_postcss_minify_font_values_README_autotoc_md21528}
MIT © \href{mailto:trysound@yandex.ru}{\texttt{ Bogdan Chadkin}} 