-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Milestone
Description
URL: https://firefoxcss-store.github.io/
The registry for FirefoxCSS Store is located in a JSON file, themes.json
Maybe add a theme browser in the CLI that pulls from that?
Either way, add a command ffcss pull that:
- reads themes from that JSON file (using the URL)
- checks if
slug.Slug(theme["title"]) + ".yaml"is already in the registry. - if it isn't:
-
ffcss useit withtheme["link"]Note: links that have/tree/master/... need to be handled: if there's multiple themes with links that only differ after/tree/, it means that they are variants of each other
-
- If it is: warn the user that a theme wasn't added because it conflicts with an installed theme (and name it)
Maybe contact Neikon to talk about it: An optional ffcss_name entry in the JSON could be added to show sth. like
$ ffcss use <ffcss_name> (?)
below the themes' cards
(and when you hover over the (?) icon, it tells sth like “This theme can be installed on the command line using ffcss”)
- Make a PR for that!
- Parse
\nCompatibility: V89+intheme["description"]into a FirefoxVersionConstraint
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels