firefox-kitsune
v1.0.3
Published
A config file system for Mozilla Firefox
Downloads
11
Readme
kitsune (狐)
A config file system for Mozilla Firefox
Features
kitsune can:
- Extract the CSS from a Stylish theme
- Inject a CSS file into an existing Stylish theme. (Note: kitsune can NOT make Stylish themes from CSS files. To do that, see userstyles.org.)
Installation
npm i -g firefox-kitsune
That's it!
Usage and Configuration
So far, kitsune only supports the use of external stylesheets using the Stylish API: After installing the Stylish extension, find a CSS theme you want to implement on a site and install it with Stylish.
Configuration
tasks:
Can be an array ofstyles
, to set styles, orreadStyles
, to read all styles to the specified external files. Order matters!profile:
The folder name of your Firefox profile (found in ~/.mozilla/firefox.)stylish:
Where stylish settings will go.stylish/styles:
Contains thename: path
pairs for the stylesheets. The name signifies which Stylish theme the stylesheet will be applied to, or in the case ofreadStyles
, the path signifies the path to which the style will be saved.
Example configuration
~/.config/kitsune/config.yml
tasks:
- "readStyles"
- "styles"
profile: "gkr0wqkl.default"
stylish:
titles:
"4chan - Midnight Caek": "/home/ebrock/midnight-caek.css"
Once you have the configuration set up, simply run kitsune
and reload pages/restart Firefox.