Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/darkthemehub/csstostylefiles
Generates multiple types of style files used for applying custom themes to websites
https://github.com/darkthemehub/csstostylefiles
generator rust stylus stylus-theme themes userscript violentmonkey
Last synced: about 1 month ago
JSON representation
Generates multiple types of style files used for applying custom themes to websites
- Host: GitHub
- URL: https://github.com/darkthemehub/csstostylefiles
- Owner: DarkThemeHub
- License: gpl-3.0
- Created: 2021-05-18T18:16:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-26T14:28:51.000Z (over 3 years ago)
- Last Synced: 2024-12-06T12:07:14.877Z (about 1 month ago)
- Topics: generator, rust, stylus, stylus-theme, themes, userscript, violentmonkey
- Language: Rust
- Homepage:
- Size: 39.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Css-To-StyleFile
[![Rust](https://github.com/Snazzie/CssToStyleFiles/actions/workflows/rust.yml/badge.svg?branch=master)](https://github.com/Snazzie/CssToStyleFiles/actions/workflows/rust.yml)
## Supported file outputs
* stylus
* userscript (tested with ViolentMonkey)## How to build
`cargo run build --release`
## Usage
```
USAGE:
CssToStyleFiles.exe [OPTIONS]FLAGS:
-h, --help Prints help information
-V, --version Prints version informationOPTIONS:
-o, --output Overrides default output path [default: ./Output]
-r, --release-version Overrides the use of version in config fileARGS:
Path to css file
Path to config file
```#### Example config.yaml
```yaml
themeName: "The Theme Name"
namespace: "github.com/user/repo"
version: "1.0.0"
description: "Theme Description"
author: "Author Name"
homepageUrl: "https://github.com/user/repo"
supportUrl: "https://github.com/user/repo/issues"
updateUrl: "https://raw.githubusercontent.com/user/repo/master/Generated/themename.user.extension"
urlRegex: "/^https?.*/"
```