Skip to content

A theme manager for Radiant Community Script (RCS) on Plug.dj

License

Notifications You must be signed in to change notification settings

ImExiled/Radiant-Theme-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Radiant-Theme-Manager

A theme manager for Radiant Community Script (RCS) on Plug.dj.

To load, run RCS, then run this alongside it after it fully loads. (Via copy-paste or running through rawgit with a $.getScript etc) Then in the chrome console, run rtm.on();

To load your own theme list, run rtm.getThemeList('https://example.com/YourThemeListHere.json')

Theme json files work simply. Make a theme file, put it somewhere where CORS wont get in the way and load it with the above command. Format below.

{
  "theme-name-here":"theme-link-here.css",
  "theme-name2-here":"theme-link2-here.css"
}

Theme Saving

To save themes, you must use JSON content. View sample-saved-theme-list.json for examples on this. There is an option in the RTM list for saving, you just have to use json for it right now as I'm not quite sure how I should go about saving all the possible variables.

Also, if you'd like your theme added to my built-in list, submit a pull request on themes.json

That should be it. Themes are written in CSS. Obviously.

Edit: Theme saving is now relatively complete. Themes can be loaded and saved on the fly using json files. Individual component saving soon(TM)

About

A theme manager for Radiant Community Script (RCS) on Plug.dj

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published