Browse Source

themes.json

pull/280/head
github-actions 4 years ago
parent
commit
39c6b99c86
  1. 51
      Resources/apply_theme.js
  2. BIN
      Resources/blur-light-dark.png
  3. BIN
      Resources/blur-light.png
  4. BIN
      Resources/blur-noise.png
  5. BIN
      Resources/deluge/active.png
  6. BIN
      Resources/deluge/add.png
  7. BIN
      Resources/deluge/add_small.png
  8. BIN
      Resources/deluge/all.png
  9. BIN
      Resources/deluge/ascending.png
  10. BIN
      Resources/deluge/bottom.png
  11. BIN
      Resources/deluge/checking.png
  12. BIN
      Resources/deluge/columns.png
  13. BIN
      Resources/deluge/connection.png
  14. BIN
      Resources/deluge/connection_small.png
  15. BIN
      Resources/deluge/connections.png
  16. BIN
      Resources/deluge/deluge.png
  17. BIN
      Resources/deluge/descending.png
  18. BIN
      Resources/deluge/dling.png
  19. BIN
      Resources/deluge/down.png
  20. BIN
      Resources/deluge/down_small.png
  21. BIN
      Resources/deluge/edit.png
  22. BIN
      Resources/deluge/error.png
  23. BIN
      Resources/deluge/file.png
  24. BIN
      Resources/deluge/folder.png
  25. BIN
      Resources/deluge/harddrive.png
  26. BIN
      Resources/deluge/help.png
  27. BIN
      Resources/deluge/logout.png
  28. BIN
      Resources/deluge/move.png
  29. BIN
      Resources/deluge/ok.png
  30. BIN
      Resources/deluge/pause.png
  31. BIN
      Resources/deluge/paused.png
  32. BIN
      Resources/deluge/plugin.png
  33. BIN
      Resources/deluge/queue.png
  34. BIN
      Resources/deluge/queued.png
  35. BIN
      Resources/deluge/remove.png
  36. BIN
      Resources/deluge/remove_small.png
  37. BIN
      Resources/deluge/resume.png
  38. BIN
      Resources/deluge/resume_small.png
  39. BIN
      Resources/deluge/search.png
  40. BIN
      Resources/deluge/settings.png
  41. BIN
      Resources/deluge/settings_small.png
  42. BIN
      Resources/deluge/top.png
  43. BIN
      Resources/deluge/uling.png
  44. BIN
      Resources/deluge/up.png
  45. BIN
      Resources/deluge/up_small.png
  46. BIN
      Resources/deluge/update.png
  47. BIN
      Resources/duplicati/about.png
  48. BIN
      Resources/duplicati/add.png
  49. BIN
      Resources/duplicati/home.png
  50. BIN
      Resources/duplicati/logout.png
  51. BIN
      Resources/duplicati/pause.png
  52. BIN
      Resources/duplicati/restore.png
  53. BIN
      Resources/duplicati/settings.png
  54. BIN
      Resources/duplicati/throttle.png
  55. BIN
      Resources/emby/logowhite.png
  56. BIN
      Resources/guacamole/checkmark.png
  57. BIN
      Resources/guacamole/cog.png
  58. BIN
      Resources/guacamole/down.png
  59. BIN
      Resources/guacamole/guac-config-dark.png
  60. BIN
      Resources/guacamole/guac-first-page.png
  61. BIN
      Resources/guacamole/guac-home-dark.png
  62. BIN
      Resources/guacamole/guac-last-page.png
  63. BIN
      Resources/guacamole/guac-logout-dark.png
  64. BIN
      Resources/guacamole/guac-monitor.png
  65. BIN
      Resources/guacamole/guac-next-page.png
  66. BIN
      Resources/guacamole/guac-prev-page.png
  67. BIN
      Resources/guacamole/guac-text.png
  68. BIN
      Resources/guacamole/guac-user.png
  69. BIN
      Resources/guacamole/lock.png
  70. BIN
      Resources/guacamole/magnifier.png
  71. BIN
      Resources/guacamole/up.png
  72. BIN
      Resources/landing-page/assets/favicon.ico
  73. BIN
      Resources/landing-page/assets/img/aquamarine-small.jpg
  74. BIN
      Resources/landing-page/assets/img/aquamarine.png
  75. BIN
      Resources/landing-page/assets/img/dark-small.jpg
  76. BIN
      Resources/landing-page/assets/img/dark.png
  77. BIN
      Resources/landing-page/assets/img/dracula-small.jpg
  78. BIN
      Resources/landing-page/assets/img/dracula.png
  79. BIN
      Resources/landing-page/assets/img/hotline-small.jpg
  80. BIN
      Resources/landing-page/assets/img/hotline.png
  81. BIN
      Resources/landing-page/assets/img/hotpink-small.jpg
  82. BIN
      Resources/landing-page/assets/img/hotpink.png
  83. BIN
      Resources/landing-page/assets/img/nord-small.jpg
  84. BIN
      Resources/landing-page/assets/img/nord.png
  85. BIN
      Resources/landing-page/assets/img/organizr-small.jpg
  86. BIN
      Resources/landing-page/assets/img/organizr.png
  87. BIN
      Resources/landing-page/assets/img/overseerr-small.jpg
  88. BIN
      Resources/landing-page/assets/img/overseerr.png
  89. BIN
      Resources/landing-page/assets/img/plex-small.jpg
  90. BIN
      Resources/landing-page/assets/img/plex.png
  91. BIN
      Resources/landing-page/assets/img/slides/1.jpg
  92. BIN
      Resources/landing-page/assets/img/slides/10.jpg
  93. BIN
      Resources/landing-page/assets/img/slides/11.jpg
  94. BIN
      Resources/landing-page/assets/img/slides/12.jpg
  95. BIN
      Resources/landing-page/assets/img/slides/13.jpg
  96. BIN
      Resources/landing-page/assets/img/slides/2.jpg
  97. BIN
      Resources/landing-page/assets/img/slides/3.jpg
  98. BIN
      Resources/landing-page/assets/img/slides/4.jpg
  99. BIN
      Resources/landing-page/assets/img/slides/5.jpg
  100. BIN
      Resources/landing-page/assets/img/slides/6.jpg

51
Resources/apply_theme.js

@ -0,0 +1,51 @@
function get_base_sha(app,theme) {
url = `https://api.github.com/repos/gilbn/theme.park/contents/CSS/themes/${app}/${app}-base.css`
const date = new Date().toUTCString();
fetch(url, {
headers: { "If-Modified-Since": date }
})
.then(res => res.json())
.then(data => (injectTheme(app,theme,sha=data.sha || "ratelimited")))
.catch(err => { throw err });
}
function injectTheme(app,theme,sha,container="head") {
if (container === "head") {
html_element = document.head;
} else html_element = document.body;
let link = document.createElement("link");
url = "https://theme-park.dev/CSS/themes/"
link.type = "text/css";
link.rel = "stylesheet";
link.href = `${url}/${app}/${theme}.css?v=${sha}`;
html_element.appendChild(link);
}
function injectAddon(app,addon,container="head") {
if (container === "head") {
html_element = document.head;
} else html_element = document.body;
let link = document.createElement("link");
url = "https://theme-park.dev/CSS/addons/"
link.type = "text/css";
link.rel = "stylesheet";
link.href = `${url}/${app}/${addon}.css`;
html_element.appendChild(link);
}
// {
// if (res.status) {
// res.json()
// .then(data => console.log(data))
// } else {
// res.json()
// .then(data => console.log(data))
// console.info("%c theme.park %c ".concat("ERROR", " "), "color: white; background: #009688; font-weight: 700; font-size: 24px; font-family: Monospace;", "color: red; background: white; font-weight: 700; font-size: 24px; font-family: Monospace;");
// console.info(`%c Error %c Failed to fetch the url, double check the name passed in your subfilter.. `, "color: white; background: red; font-weight: 700;", "color: red; background: white; font-weight: 700;");
// }
// })

BIN
Resources/blur-light-dark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

BIN
Resources/blur-light.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
Resources/blur-noise.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

BIN
Resources/deluge/active.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
Resources/deluge/add.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
Resources/deluge/add_small.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
Resources/deluge/all.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
Resources/deluge/ascending.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
Resources/deluge/bottom.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
Resources/deluge/checking.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
Resources/deluge/columns.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
Resources/deluge/connection.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
Resources/deluge/connection_small.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
Resources/deluge/connections.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
Resources/deluge/deluge.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
Resources/deluge/descending.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
Resources/deluge/dling.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
Resources/deluge/down.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
Resources/deluge/down_small.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
Resources/deluge/edit.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
Resources/deluge/error.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
Resources/deluge/file.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
Resources/deluge/folder.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
Resources/deluge/harddrive.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
Resources/deluge/help.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
Resources/deluge/logout.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
Resources/deluge/move.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
Resources/deluge/ok.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
Resources/deluge/pause.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
Resources/deluge/paused.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
Resources/deluge/plugin.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
Resources/deluge/queue.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
Resources/deluge/queued.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
Resources/deluge/remove.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
Resources/deluge/remove_small.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
Resources/deluge/resume.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
Resources/deluge/resume_small.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
Resources/deluge/search.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
Resources/deluge/settings.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
Resources/deluge/settings_small.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
Resources/deluge/top.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
Resources/deluge/uling.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
Resources/deluge/up.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
Resources/deluge/up_small.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
Resources/deluge/update.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
Resources/duplicati/about.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
Resources/duplicati/add.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
Resources/duplicati/home.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
Resources/duplicati/logout.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
Resources/duplicati/pause.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
Resources/duplicati/restore.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
Resources/duplicati/settings.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
Resources/duplicati/throttle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
Resources/emby/logowhite.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
Resources/guacamole/checkmark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
Resources/guacamole/cog.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

BIN
Resources/guacamole/down.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

BIN
Resources/guacamole/guac-config-dark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 952 B

BIN
Resources/guacamole/guac-first-page.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 583 B

BIN
Resources/guacamole/guac-home-dark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 821 B

BIN
Resources/guacamole/guac-last-page.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 584 B

BIN
Resources/guacamole/guac-logout-dark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
Resources/guacamole/guac-monitor.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

BIN
Resources/guacamole/guac-next-page.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

BIN
Resources/guacamole/guac-prev-page.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

BIN
Resources/guacamole/guac-text.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

BIN
Resources/guacamole/guac-user.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 961 B

BIN
Resources/guacamole/lock.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
Resources/guacamole/magnifier.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 920 B

BIN
Resources/guacamole/up.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B

BIN
Resources/landing-page/assets/favicon.ico

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
Resources/landing-page/assets/img/aquamarine-small.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

BIN
Resources/landing-page/assets/img/aquamarine.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
Resources/landing-page/assets/img/dark-small.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
Resources/landing-page/assets/img/dark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
Resources/landing-page/assets/img/dracula-small.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
Resources/landing-page/assets/img/dracula.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
Resources/landing-page/assets/img/hotline-small.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

BIN
Resources/landing-page/assets/img/hotline.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

BIN
Resources/landing-page/assets/img/hotpink-small.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

BIN
Resources/landing-page/assets/img/hotpink.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 KiB

BIN
Resources/landing-page/assets/img/nord-small.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

BIN
Resources/landing-page/assets/img/nord.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

BIN
Resources/landing-page/assets/img/organizr-small.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
Resources/landing-page/assets/img/organizr.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 841 KiB

BIN
Resources/landing-page/assets/img/overseerr-small.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

BIN
Resources/landing-page/assets/img/overseerr.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

BIN
Resources/landing-page/assets/img/plex-small.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

BIN
Resources/landing-page/assets/img/plex.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

BIN
Resources/landing-page/assets/img/slides/1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 KiB

BIN
Resources/landing-page/assets/img/slides/10.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 KiB

BIN
Resources/landing-page/assets/img/slides/11.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 KiB

BIN
Resources/landing-page/assets/img/slides/12.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 KiB

BIN
Resources/landing-page/assets/img/slides/13.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 KiB

BIN
Resources/landing-page/assets/img/slides/2.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

BIN
Resources/landing-page/assets/img/slides/3.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

BIN
Resources/landing-page/assets/img/slides/4.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 KiB

BIN
Resources/landing-page/assets/img/slides/5.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 KiB

BIN
Resources/landing-page/assets/img/slides/6.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 KiB

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save