yomidevs / yomitan

Pop-up dictionary browser extension. Successor to Yomichan.
https://yomitan.wiki
GNU General Public License v3.0
1.3k stars 101 forks source link

Support configurable custom CSS #1362

Open jamesmaa opened 2 months ago

jamesmaa commented 2 months ago

Right now custom CSS is two large text-areas

image

The custom CSS landscape is very vibrant and useful, but also it is pretty unregulated and unruly, this could help with the current ecosystem

I suggest we have an interface similar to what we do with dicts, which folks can create new custom css's separated by a label and a toggleable button. We could create a schema for the CSS schema if we want a whitelist of which classes and tags we support.

This could expand into being able to export and import custom css's, but that'll be out of the scope of this issue.

jamesmaa commented 2 months ago

Related: #597