Go to file
Rob Garrison 7ea0200234
Validate UserCSS meta colors. Fixes #554 (#559)
* Validate UserCSS meta colors. Fixes #554

* Add suggestions & optimize code

* Fix parsePercentage return value

* cleanup

* Fix: remove unused variable

* Fix: validate function should return a boolean

* Revert indent

* Fix: cleaner validateRGB

* Fix: validateHSL

* Fix: validateAlpha

* Cleanup

* Fix: remove invalid comment

* Limit color channels to integers
2018-11-18 22:05:38 -06:00
_locales Update usercss-meta (#540) 2018-11-07 23:33:56 +08:00
.github Chore: include stylus version in the issue template (#549) 2018-11-08 07:35:40 -06:00
.tx Locales (#532) 2018-11-03 09:37:25 -05:00
background Fix USO update button (#555) 2018-11-18 07:30:47 -06:00
content Fix USO update button (#555) 2018-11-18 07:30:47 -06:00
edit Remove text-decoration-skip:ink; Closes #229 2018-11-11 15:42:36 -06:00
images/icon remove what-input, use own implementation, rebase on master 2017-12-13 03:27:10 +03:00
install-usercss Remove text-decoration-skip:ink; Closes #229 2018-11-11 15:42:36 -06:00
js Change: simplify msg.js (#544) 2018-11-11 07:07:30 -06:00
manage Adjust style on backup button & dropdown 2018-11-11 21:02:13 -06:00
msgbox Refactor the entire storage system and the section editor (#518) 2018-11-07 14:09:29 +08:00
options Remove text-decoration-skip:ink; Closes #229 2018-11-11 15:42:36 -06:00
popup Fix USO update button (#555) 2018-11-18 07:30:47 -06:00
sync Refactor the entire storage system and the section editor (#518) 2018-11-07 14:09:29 +08:00
tools Change: drop less, switch to less-bundle (#542) 2018-11-11 14:06:25 +08:00
vendor Change: drop less, switch to less-bundle (#542) 2018-11-11 14:06:25 +08:00
vendor-overwrites Validate UserCSS meta colors. Fixes #554 (#559) 2018-11-18 22:05:38 -06:00
.editorconfig Don't enforce non-native end_of_line in editorconfig 2017-04-18 12:43:30 +03:00
.eslintignore refactor CSSLint 2018-01-07 12:31:23 +03:00
.eslintrc Refactor the entire storage system and the section editor (#518) 2018-11-07 14:09:29 +08:00
.gitattributes Locales (#532) 2018-11-03 09:37:25 -05:00
.gitignore Locales (#532) 2018-11-03 09:37:25 -05:00
edit.html Fix: output codemirror themes to a separated file (#538) 2018-11-07 05:33:14 -06:00
global.css simplified font CSS 2018-08-20 13:11:02 +03:00
install-usercss.html Refactor the entire storage system and the section editor (#518) 2018-11-07 14:09:29 +08:00
LICENSE Adding external licenses (#424) 2018-07-09 16:39:31 +03:00
manage.html Refactor the entire storage system and the section editor (#518) 2018-11-07 14:09:29 +08:00
manifest.json Refactor the entire storage system and the section editor (#518) 2018-11-07 14:09:29 +08:00
options.html Refactor the entire storage system and the section editor (#518) 2018-11-07 14:09:29 +08:00
package.json Change: drop less, switch to less-bundle (#542) 2018-11-11 14:06:25 +08:00
popup.html Refactor the entire storage system and the section editor (#518) 2018-11-07 14:09:29 +08:00
README.md no need to open issues that notify about transifex 2018-08-16 13:59:46 +03:00

Stylus is a fork of Stylish for Chrome, also compatible with Firefox as a WebExtension

Highlights

  • In addition to the userstyles.org site, styles with customizable parameters can also be installed from .user.css or .user.styl URLs (see Usercss format wiki).
  • Site styles can be discovered and previewed in the popup using inline search with screenshot thumbnails.
  • A backup feature which is compatible with other userstyles managers.
  • Configurable automatic update function for installed styles.
  • Customizable UI, optional layouts, and tweaks.
  • Two different optional code validators with user-configurable rules: CSSLint and Stylelint.
    • Both validators use Web Worker API to run in a separate background thread inside the editor tab without blocking your interaction with the code.
    • CSSLint is heavily modified compared to the effectively frozen original one and supports various CSS3 features as well as CSS4 Color and CSS Grid syntax.

Releases

  1. Chrome Web Store (or beta)
  2. Firefox add-ons
  3. Opera add-ons (see wiki for more recent version)

Screenshots

Style manager Style editor Popup config for usercss Popup inline search Style manager config for usercss Options

Help

Contributing

The source is hosted on GitHub and pull requests are welcome.

You can help us translate the extension on Transifex.

See our contributing page for more details.

License

Inherited code from the original Stylish:
Copyright © 2005-2014 Jason Barnabe

Current Stylus:
Copyright © 2017-2018 Stylus Team

GNU GPLv3
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

External libraries

The licenses of external libraries used in this project or modified versions of external libraries can be found in their respective directory.