STYLUS(1)
π STYLUS(1) β like, the manual, but make it make sense β¨
okay bestie, listen up β this is the man page for stylus, and it's filed under User Commands in the manual. It's the compiler for that expressive, robust, feature-rich CSS language you keep hearing about. π
πΈ NAME πΈ
stylus β expressive, robust, feature-rich CSS language compiler π
β¨ DESCRIPTION β¨
π¦ How you actually run it
Usage: stylus [options] [command] [< in [> out]]
[file|dir ...]
No cap, that's the whole vibe: options, then optionally a command, then either pipe stuff in with < and out with >, or just hand it a pile of files and dirs. Easy. π
π Commands
help [<type>:]<prop>
Opens help info at MDN for <prop> in your default browser. Optionally searches other resources of <type>, and the valid types are:
safarioperaw3cmscaniusequirksmode
So you literally just ask and it yeets you straight to the docs. Main character research energy. π₯
π Options
Every single one, bestie. Not skipping a thing. Periodt.
-i,--interactiveβ Start interactive REPL π«Ά-u,--use <path>β Utilize the Stylus plugin at<path>π-U,--inlineβ Utilize image inlining via data URI support πΌοΈ-w,--watchβ Watch file(s) for changes and re-compile π-o,--out <dir>β Output to<dir>when passing files π-C,--css <src> [dest]β Convert CSS input to Stylus π-I,--include <path>β Add<path>to lookup paths πΊοΈ-c,--compressβ Compress CSS output ποΈ-d,--compareβ Display input along with output π―-f,--firebugβ Emits debug infos in the generated CSS that can be used by the FireStylus Firebug plugin π-l,--line-numbersβ Emits comments in the generated CSS indicating the corresponding Stylus line π’-m,--sourcemapβ Generates a sourcemap in sourcemaps v3 format πΊοΈ-q,--quietβ Less noisy output π€«--sourcemap-inlineβ Inlines sourcemap with full source text in base64 format π¦--sourcemap-root <url>β"sourceRoot"property of the generated sourcemap π³--sourcemap-base <path>β Base<path>from which sourcemap and all sources are relative π-P,--prefix [prefix]β prefix all css classes π·οΈ-p,--printβ Print out the compiled CSS π¨οΈ--import <file>β Import stylus<file>π₯--include-cssβ Include regular CSS on@importπ--extβ Specify custom file extension for compiled file, default.cssπ-D,--depsβ Display dependencies of the compiled file πΈοΈ--disable-cacheβ Disable caching π«--hoist-atrulesβ Move@importand@charsetto the top β¬οΈ-r,--resolve-urlβ Resolve relative urls inside imports π--resolve-url-nocheckβ Like--resolve-urlbut without file existence check π-V,--versionβ Display the version of Stylus π·οΈ-h,--helpβ Display help information π
tiny heads-up, bestie: --ext takes its value but the original doesn't wrap it in angle brackets the way the others do β so that's exactly how it's written here too. Fidelity, queen. π
And that's the whole page!! You now know every flag, every command, every path placeholder, and you didn't even have to read boring manpage prose. Iconic behaviour, honestly. π¦β¨
Kisses, and go compile something cute. ππ
This has been stylus version 0.59.0, from December 2022 β that's the source and date, bestie, logged for the archives. πΈ Byeee! π
π¦ where this page comes from
- debian bookworm: node-stylus 0.59.0+~0.48.38-2 Β· MIT
- ubuntu noble: node-stylus 0.59.0+~0.48.38-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms