\href{https://travis-ci.org/stylus/stylus}{\texttt{ }} \href{https://badge.fury.io/js/stylus}{\texttt{ }} \href{https://www.npmjs.com/package/stylus}{\texttt{ }} \href{https://spectrum.chat/stylus}{\texttt{ }}

Stylus is a revolutionary new language, providing an efficient, dynamic, and expressive way to generate CSS. Supporting both an indented syntax and regular CSS style.\hypertarget{md_sfcode_node_modules_stylus_Readme_autotoc_md29656}{}\doxysection{Installation}\label{md_sfcode_node_modules_stylus_Readme_autotoc_md29656}

\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install stylus -\/g }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_stylus_Readme_autotoc_md29657}{}\doxysection{Basic Usage}\label{md_sfcode_node_modules_stylus_Readme_autotoc_md29657}
Watch and compile a stylus file from command line with 
\begin{DoxyCode}{0}
\DoxyCodeLine{stylus -\/w style.styl -\/o style.css }

\end{DoxyCode}
 You can also \href{http://stylus-lang.com/try.html}{\texttt{ try all stylus features on stylus-\/lang.\+com}}, build something with stylus on \href{http://codepen.io}{\texttt{ codepen}} or integrate stylus with \href{http://gulpjs.com/}{\texttt{ gulp}} using \href{https://www.npmjs.com/package/gulp-stylus}{\texttt{ gulp-\/stylus}} or \href{https://www.npmjs.com/package/gulp-accord}{\texttt{ gulp-\/accord}}.\hypertarget{md_sfcode_node_modules_stylus_Readme_autotoc_md29658}{}\doxysubsection{Example}\label{md_sfcode_node_modules_stylus_Readme_autotoc_md29658}

\begin{DoxyCode}{0}
\DoxyCodeLine{border-\/radius()}
\DoxyCodeLine{  -\/webkit-\/border-\/radius: arguments}
\DoxyCodeLine{  -\/moz-\/border-\/radius: arguments}
\DoxyCodeLine{  border-\/radius: arguments}
\DoxyCodeLine{}
\DoxyCodeLine{body a}
\DoxyCodeLine{  font: 12px/1.4 "{}Lucida Grande"{}, Arial, sans-\/serif}
\DoxyCodeLine{  background: black}
\DoxyCodeLine{  color: \#ccc}
\DoxyCodeLine{}
\DoxyCodeLine{form input}
\DoxyCodeLine{  padding: 5px}
\DoxyCodeLine{  border: 1px solid}
\DoxyCodeLine{  border-\/radius: 5px }

\end{DoxyCode}


compiles to\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{body a \{}
\DoxyCodeLine{  font: 12px/1.4 "{}Lucida Grande"{}, Arial, sans-\/serif;}
\DoxyCodeLine{  background: \#000;}
\DoxyCodeLine{  color: \#ccc;}
\DoxyCodeLine{\}}
\DoxyCodeLine{form input \{}
\DoxyCodeLine{  padding: 5px;}
\DoxyCodeLine{  border: 1px solid;}
\DoxyCodeLine{  -\/webkit-\/border-\/radius: 5px;}
\DoxyCodeLine{  -\/moz-\/border-\/radius: 5px;}
\DoxyCodeLine{  border-\/radius: 5px;}
\DoxyCodeLine{\} }

\end{DoxyCode}


the following is equivalent to the indented version of Stylus source, using the CSS syntax instead\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{border-\/radius() \{}
\DoxyCodeLine{  -\/webkit-\/border-\/radius: arguments}
\DoxyCodeLine{  -\/moz-\/border-\/radius: arguments}
\DoxyCodeLine{  border-\/radius: arguments}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{body a \{}
\DoxyCodeLine{  font: 12px/1.4 "{}Lucida Grande"{}, Arial, sans-\/serif;}
\DoxyCodeLine{  background: black;}
\DoxyCodeLine{  color: \#ccc;}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{form input \{}
\DoxyCodeLine{  padding: 5px;}
\DoxyCodeLine{  border: 1px solid;}
\DoxyCodeLine{  border-\/radius: 5px;}
\DoxyCodeLine{\} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_stylus_Readme_autotoc_md29659}{}\doxysubsection{Features}\label{md_sfcode_node_modules_stylus_Readme_autotoc_md29659}
Stylus has {\itshape many} features. Detailed documentation links follow\+:


\begin{DoxyItemize}
\item css syntax support
\item mixins
\item keyword arguments
\item variables
\item interpolation
\item arithmetic, logical, and equality operators
\item importing of other stylus sheets
\item introspection api
\item type coercion
\item @extend
\item conditionals
\item iteration
\item nested selectors
\item parent reference
\item in-\/language functions
\item variable arguments
\item built-\/in functions (over 60)
\item optional image inlining
\item optional compression
\item Java\+Script API
\item extremely terse syntax
\item stylus executable
\item error reporting
\item single-\/line and multi-\/line comments
\item css literal
\item character escaping
\item @keyframes support \& expansion
\item @font-\/face support
\item @media support
\item Connect Middleware
\item Text\+Mate bundle
\item Coda/\+Sub\+Etha Edit \href{https://github.com/atljeremy/Stylus.mode}{\texttt{ Syntax mode}}
\item gedit language-\/spec
\item VIM \href{https://github.com/iloginow/vim-stylus}{\texttt{ Syntax}}
\item Espresso \href{https://github.com/aljs/Stylus.sugar}{\texttt{ Sugar}}
\item Firebug extension
\item heroku \href{http://styl.herokuapp.com/}{\texttt{ web service}} for compiling stylus
\item \href{https://github.com/lepture/ganam}{\texttt{ style guide}} parser and generator
\item transparent vendor-\/specific function expansion
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_stylus_Readme_autotoc_md29660}{}\doxysubsection{Community modules}\label{md_sfcode_node_modules_stylus_Readme_autotoc_md29660}

\begin{DoxyItemize}
\item \href{https://github.com/stylus/stylus/wiki}{\texttt{ https\+://github.\+com/stylus/stylus/wiki}}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_stylus_Readme_autotoc_md29661}{}\doxysubsection{Framework Support}\label{md_sfcode_node_modules_stylus_Readme_autotoc_md29661}

\begin{DoxyItemize}
\item Connect
\item \href{https://github.com/patiencelabs/play-stylus}{\texttt{ Play! 2.\+0}}
\item \href{https://github.com/forgecrafted/ruby-stylus-source}{\texttt{ Ruby On Rails}}
\item \href{http://docs.meteor.com/\#stylus}{\texttt{ Meteor}}
\item \href{http://grails.org/plugin/stylus-asset-pipeline}{\texttt{ Grails}}
\item \href{https://github.com/derbyjs/derby-stylus}{\texttt{ Derby}}
\item \href{https://laravel.com/docs/5.5/mix\#stylus}{\texttt{ Laravel}}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_stylus_Readme_autotoc_md29662}{}\doxysubsection{CMS Support}\label{md_sfcode_node_modules_stylus_Readme_autotoc_md29662}

\begin{DoxyItemize}
\item \href{https://github.com/docpad/docpad}{\texttt{ Doc\+Pad}}
\item \href{https://github.com/laktek/punch-stylus-compiler}{\texttt{ Punch}}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_stylus_Readme_autotoc_md29663}{}\doxysubsection{Screencasts}\label{md_sfcode_node_modules_stylus_Readme_autotoc_md29663}

\begin{DoxyItemize}
\item \href{http://www.screenr.com/A8v}{\texttt{ CSS Syntax \& Postfix Conditionals}}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_stylus_Readme_autotoc_md29664}{}\doxysubsection{Authors}\label{md_sfcode_node_modules_stylus_Readme_autotoc_md29664}

\begin{DoxyItemize}
\item \href{https://github.com/tj}{\texttt{ TJ Holowaychuk (tj)}}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_stylus_Readme_autotoc_md29665}{}\doxysubsection{More Information}\label{md_sfcode_node_modules_stylus_Readme_autotoc_md29665}

\begin{DoxyItemize}
\item Language comparisons
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_stylus_Readme_autotoc_md29666}{}\doxysection{Code of Conduct}\label{md_sfcode_node_modules_stylus_Readme_autotoc_md29666}
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.\hypertarget{md_sfcode_node_modules_stylus_Readme_autotoc_md29667}{}\doxysection{License}\label{md_sfcode_node_modules_stylus_Readme_autotoc_md29667}
(The MIT License)

Copyright (c) Automattic $<$developer.\+wordpress.\+com$>$

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \textquotesingle{}Software\textquotesingle{}), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions\+:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED \textquotesingle{}AS IS\textquotesingle{}, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 