Browse Source

Theming (#624)

* Theming

- Custom CSS for blogs
- Custom themes for instance
- New dark theme
- UI to choose your instance theme
- Option to disable blog themes if you prefer to only have the instance theme
- UI to choose a blog theme
mobile-margins
Ana Gelez 2 years ago
committed by GitHub
parent
commit
a6c84daa1a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .gitignore
  2. 2
      Cargo.lock
  3. 0
      assets/icons/trwnh/README.md
  4. 0
      assets/icons/trwnh/avatar.png
  5. 0
      assets/icons/trwnh/avatar.svg
  6. 0
      assets/icons/trwnh/avatar2.png
  7. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack.svg
  8. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack128.png
  9. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack144.png
  10. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack16.png
  11. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack160.png
  12. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack192.png
  13. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack24.png
  14. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack256.png
  15. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack32.png
  16. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack36.png
  17. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack44.png
  18. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack48.png
  19. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack512.png
  20. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack64.png
  21. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack72.png
  22. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack80.png
  23. 0
      assets/icons/trwnh/feather-black/plumeFeatherBlack96.png
  24. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled.svg
  25. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled128.png
  26. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled144.png
  27. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled16.png
  28. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled160.png
  29. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled192.png
  30. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled24.png
  31. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled256.png
  32. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled32.png
  33. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled36.png
  34. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled44.png
  35. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled48.png
  36. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled512.png
  37. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled64.png
  38. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled72.png
  39. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled80.png
  40. 0
      assets/icons/trwnh/feather-filled/plumeFeatherFilled96.png
  41. 0
      assets/icons/trwnh/feather/plumeFeather.svg
  42. 0
      assets/icons/trwnh/feather/plumeFeather128.png
  43. 0
      assets/icons/trwnh/feather/plumeFeather144.png
  44. 0
      assets/icons/trwnh/feather/plumeFeather16.png
  45. 0
      assets/icons/trwnh/feather/plumeFeather160.png
  46. 0
      assets/icons/trwnh/feather/plumeFeather192.png
  47. 0
      assets/icons/trwnh/feather/plumeFeather24.png
  48. 0
      assets/icons/trwnh/feather/plumeFeather256.png
  49. 0
      assets/icons/trwnh/feather/plumeFeather32.png
  50. 0
      assets/icons/trwnh/feather/plumeFeather36.png
  51. 0
      assets/icons/trwnh/feather/plumeFeather44.png
  52. 0
      assets/icons/trwnh/feather/plumeFeather48.png
  53. 0
      assets/icons/trwnh/feather/plumeFeather512.png
  54. 0
      assets/icons/trwnh/feather/plumeFeather64.png
  55. 0
      assets/icons/trwnh/feather/plumeFeather72.png
  56. 0
      assets/icons/trwnh/feather/plumeFeather80.png
  57. 0
      assets/icons/trwnh/feather/plumeFeather96.png
  58. 0
      assets/icons/trwnh/ideas.svg
  59. 0
      assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack.svg
  60. 0
      assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack128.png
  61. 0
      assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack144.png
  62. 0
      assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack16.png
  63. 0
      assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack160.png
  64. 0
      assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack192.png
  65. 0
      assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack24.png
  66. 0
      assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack256.png
  67. 0
      assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack32.png
  68. 0
      assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack36.png
  69. 0
      assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack44.png
  70. 0
      assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack512.png
  71. 0
      assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack64.png
  72. 0
      assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack72.png
  73. 0
      assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack80.png
  74. 0
      assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack96.png
  75. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs.svg
  76. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs128.png
  77. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs144.png
  78. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs16.png
  79. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs160.png
  80. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs192.png
  81. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs24.png
  82. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs256.png
  83. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs32.png
  84. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs36.png
  85. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs44.png
  86. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs48.png
  87. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs512.png
  88. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs64.png
  89. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs72.png
  90. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs80.png
  91. 0
      assets/icons/trwnh/paragraphs/plumeParagraphs96.png
  92. 0
      assets/images/audio-file.svg
  93. 0
      assets/images/default-avatar.png
  94. 0
      assets/images/feather-sprite.svg
  95. 0
      assets/images/unknown-file.svg
  96. 0
      assets/images/video-file.svg
  97. 3
      assets/themes/blog-monospace/theme.scss
  98. 48
      assets/themes/default/_article.scss
  99. 19
      assets/themes/default/_dark_variables.scss
  100. 18
      assets/themes/default/_forms.scss

5
.gitignore

@ -7,7 +7,7 @@ translations
.env
Rocket.toml
!.gitkeep
static/media
static
docker-compose.yml
*.db
*.sqlite
@ -16,8 +16,5 @@ docker-compose.yml
tags.*
!tags.rs
search_index
main.css
*.wasm
*.js
.buildconfig
__pycache__

2
Cargo.lock

@ -2084,8 +2084,10 @@ dependencies = [
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
"shrinkwraprs 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"tantivy 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
"url 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
"webfinger 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
"whatlang 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
]

0
static/icons/trwnh/README.md → assets/icons/trwnh/README.md

0
static/icons/trwnh/avatar.png → assets/icons/trwnh/avatar.png

Before

Width: 512  |  Height: 512  |  Size: 18 KiB

After

Width: 512  |  Height: 512  |  Size: 18 KiB

0
static/icons/trwnh/avatar.svg → assets/icons/trwnh/avatar.svg

0
static/icons/trwnh/avatar2.png → assets/icons/trwnh/avatar2.png

Before

Width: 512  |  Height: 512  |  Size: 17 KiB

After

Width: 512  |  Height: 512  |  Size: 17 KiB

0
static/icons/trwnh/feather-black/plumeFeatherBlack.svg → assets/icons/trwnh/feather-black/plumeFeatherBlack.svg

0
static/icons/trwnh/feather-black/plumeFeatherBlack128.png → assets/icons/trwnh/feather-black/plumeFeatherBlack128.png

Before

Width: 128  |  Height: 128  |  Size: 2.1 KiB

After

Width: 128  |  Height: 128  |  Size: 2.1 KiB

0
static/icons/trwnh/feather-black/plumeFeatherBlack144.png → assets/icons/trwnh/feather-black/plumeFeatherBlack144.png

Before

Width: 144  |  Height: 144  |  Size: 2.5 KiB

After

Width: 144  |  Height: 144  |  Size: 2.5 KiB

0
static/icons/trwnh/feather-black/plumeFeatherBlack16.png → assets/icons/trwnh/feather-black/plumeFeatherBlack16.png

Before

Width: 16  |  Height: 16  |  Size: 352 B

After

Width: 16  |  Height: 16  |  Size: 352 B

0
static/icons/trwnh/feather-black/plumeFeatherBlack160.png → assets/icons/trwnh/feather-black/plumeFeatherBlack160.png

Before

Width: 160  |  Height: 160  |  Size: 2.7 KiB

After

Width: 160  |  Height: 160  |  Size: 2.7 KiB

0
static/icons/trwnh/feather-black/plumeFeatherBlack192.png → assets/icons/trwnh/feather-black/plumeFeatherBlack192.png

Before

Width: 192  |  Height: 192  |  Size: 3.3 KiB

After

Width: 192  |  Height: 192  |  Size: 3.3 KiB

0
static/icons/trwnh/feather-black/plumeFeatherBlack24.png → assets/icons/trwnh/feather-black/plumeFeatherBlack24.png

Before

Width: 24  |  Height: 24  |  Size: 462 B

After

Width: 24  |  Height: 24  |  Size: 462 B

0
static/icons/trwnh/feather-black/plumeFeatherBlack256.png → assets/icons/trwnh/feather-black/plumeFeatherBlack256.png

Before

Width: 256  |  Height: 256  |  Size: 4.7 KiB

After

Width: 256  |  Height: 256  |  Size: 4.7 KiB

0
static/icons/trwnh/feather-black/plumeFeatherBlack32.png → assets/icons/trwnh/feather-black/plumeFeatherBlack32.png

Before

Width: 32  |  Height: 32  |  Size: 571 B

After

Width: 32  |  Height: 32  |  Size: 571 B

0
static/icons/trwnh/feather-black/plumeFeatherBlack36.png → assets/icons/trwnh/feather-black/plumeFeatherBlack36.png

Before

Width: 36  |  Height: 36  |  Size: 612 B

After

Width: 36  |  Height: 36  |  Size: 612 B

0
static/icons/trwnh/feather-black/plumeFeatherBlack44.png → assets/icons/trwnh/feather-black/plumeFeatherBlack44.png

Before

Width: 44  |  Height: 44  |  Size: 711 B

After

Width: 44  |  Height: 44  |  Size: 711 B

0
static/icons/trwnh/feather-black/plumeFeatherBlack48.png → assets/icons/trwnh/feather-black/plumeFeatherBlack48.png

Before

Width: 48  |  Height: 48  |  Size: 820 B

After

Width: 48  |  Height: 48  |  Size: 820 B

0
static/icons/trwnh/feather-black/plumeFeatherBlack512.png → assets/icons/trwnh/feather-black/plumeFeatherBlack512.png

Before

Width: 512  |  Height: 512  |  Size: 11 KiB

After

Width: 512  |  Height: 512  |  Size: 11 KiB

0
static/icons/trwnh/feather-black/plumeFeatherBlack64.png → assets/icons/trwnh/feather-black/plumeFeatherBlack64.png

Before

Width: 64  |  Height: 64  |  Size: 1.0 KiB

After

Width: 64  |  Height: 64  |  Size: 1.0 KiB

0
static/icons/trwnh/feather-black/plumeFeatherBlack72.png → assets/icons/trwnh/feather-black/plumeFeatherBlack72.png

Before

Width: 72  |  Height: 72  |  Size: 1.2 KiB

After

Width: 72  |  Height: 72  |  Size: 1.2 KiB

0
static/icons/trwnh/feather-black/plumeFeatherBlack80.png → assets/icons/trwnh/feather-black/plumeFeatherBlack80.png

Before

Width: 80  |  Height: 80  |  Size: 1.3 KiB

After

Width: 80  |  Height: 80  |  Size: 1.3 KiB

0
static/icons/trwnh/feather-black/plumeFeatherBlack96.png → assets/icons/trwnh/feather-black/plumeFeatherBlack96.png

Before

Width: 96  |  Height: 96  |  Size: 1.6 KiB

After

Width: 96  |  Height: 96  |  Size: 1.6 KiB

0
static/icons/trwnh/feather-filled/plumeFeatherFilled.svg → assets/icons/trwnh/feather-filled/plumeFeatherFilled.svg

0
static/icons/trwnh/feather-filled/plumeFeatherFilled128.png → assets/icons/trwnh/feather-filled/plumeFeatherFilled128.png

Before

Width: 128  |  Height: 128  |  Size: 5.5 KiB

After

Width: 128  |  Height: 128  |  Size: 5.5 KiB

0
static/icons/trwnh/feather-filled/plumeFeatherFilled144.png → assets/icons/trwnh/feather-filled/plumeFeatherFilled144.png

Before

Width: 144  |  Height: 144  |  Size: 6.2 KiB

After

Width: 144  |  Height: 144  |  Size: 6.2 KiB

0
static/icons/trwnh/feather-filled/plumeFeatherFilled16.png → assets/icons/trwnh/feather-filled/plumeFeatherFilled16.png

Before

Width: 16  |  Height: 16  |  Size: 618 B

After

Width: 16  |  Height: 16  |  Size: 618 B

0
static/icons/trwnh/feather-filled/plumeFeatherFilled160.png → assets/icons/trwnh/feather-filled/plumeFeatherFilled160.png

Before

Width: 160  |  Height: 160  |  Size: 7.0 KiB

After

Width: 160  |  Height: 160  |  Size: 7.0 KiB

0
static/icons/trwnh/feather-filled/plumeFeatherFilled192.png → assets/icons/trwnh/feather-filled/plumeFeatherFilled192.png

Before

Width: 192  |  Height: 192  |  Size: 8.4 KiB

After

Width: 192  |  Height: 192  |  Size: 8.4 KiB

0
static/icons/trwnh/feather-filled/plumeFeatherFilled24.png → assets/icons/trwnh/feather-filled/plumeFeatherFilled24.png

Before

Width: 24  |  Height: 24  |  Size: 942 B

After

Width: 24  |  Height: 24  |  Size: 942 B

0
static/icons/trwnh/feather-filled/plumeFeatherFilled256.png → assets/icons/trwnh/feather-filled/plumeFeatherFilled256.png

Before

Width: 256  |  Height: 256  |  Size: 12 KiB

After

Width: 256  |  Height: 256  |  Size: 12 KiB

0
static/icons/trwnh/feather-filled/plumeFeatherFilled32.png → assets/icons/trwnh/feather-filled/plumeFeatherFilled32.png

Before

Width: 32  |  Height: 32  |  Size: 1.2 KiB

After

Width: 32  |  Height: 32  |  Size: 1.2 KiB

0
static/icons/trwnh/feather-filled/plumeFeatherFilled36.png → assets/icons/trwnh/feather-filled/plumeFeatherFilled36.png

Before

Width: 36  |  Height: 36  |  Size: 1.4 KiB

After

Width: 36  |  Height: 36  |  Size: 1.4 KiB

0
static/icons/trwnh/feather-filled/plumeFeatherFilled44.png → assets/icons/trwnh/feather-filled/plumeFeatherFilled44.png

Before

Width: 44  |  Height: 44  |  Size: 1.8 KiB

After

Width: 44  |  Height: 44  |  Size: 1.8 KiB

0
static/icons/trwnh/feather-filled/plumeFeatherFilled48.png → assets/icons/trwnh/feather-filled/plumeFeatherFilled48.png

Before

Width: 48  |  Height: 48  |  Size: 2.0 KiB

After

Width: 48  |  Height: 48  |  Size: 2.0 KiB

0
static/icons/trwnh/feather-filled/plumeFeatherFilled512.png → assets/icons/trwnh/feather-filled/plumeFeatherFilled512.png

Before

Width: 512  |  Height: 512  |  Size: 24 KiB

After

Width: 512  |  Height: 512  |  Size: 24 KiB

0
static/icons/trwnh/feather-filled/plumeFeatherFilled64.png → assets/icons/trwnh/feather-filled/plumeFeatherFilled64.png

Before

Width: 64  |  Height: 64  |  Size: 2.6 KiB

After

Width: 64  |  Height: 64  |  Size: 2.6 KiB

0
static/icons/trwnh/feather-filled/plumeFeatherFilled72.png → assets/icons/trwnh/feather-filled/plumeFeatherFilled72.png

Before

Width: 72  |  Height: 72  |  Size: 3.0 KiB

After

Width: 72  |  Height: 72  |  Size: 3.0 KiB

0
static/icons/trwnh/feather-filled/plumeFeatherFilled80.png → assets/icons/trwnh/feather-filled/plumeFeatherFilled80.png

Before

Width: 80  |  Height: 80  |  Size: 3.4 KiB

After

Width: 80  |  Height: 80  |  Size: 3.4 KiB

0
static/icons/trwnh/feather-filled/plumeFeatherFilled96.png → assets/icons/trwnh/feather-filled/plumeFeatherFilled96.png

Before

Width: 96  |  Height: 96  |  Size: 4.1 KiB

After

Width: 96  |  Height: 96  |  Size: 4.1 KiB

0
static/icons/trwnh/feather/plumeFeather.svg → assets/icons/trwnh/feather/plumeFeather.svg

0
static/icons/trwnh/feather/plumeFeather128.png → assets/icons/trwnh/feather/plumeFeather128.png

Before

Width: 128  |  Height: 128  |  Size: 5.7 KiB

After

Width: 128  |  Height: 128  |  Size: 5.7 KiB

0
static/icons/trwnh/feather/plumeFeather144.png → assets/icons/trwnh/feather/plumeFeather144.png

Before

Width: 144  |  Height: 144  |  Size: 6.4 KiB

After

Width: 144  |  Height: 144  |  Size: 6.4 KiB

0
static/icons/trwnh/feather/plumeFeather16.png → assets/icons/trwnh/feather/plumeFeather16.png

Before

Width: 16  |  Height: 16  |  Size: 562 B

After

Width: 16  |  Height: 16  |  Size: 562 B

0
static/icons/trwnh/feather/plumeFeather160.png → assets/icons/trwnh/feather/plumeFeather160.png

Before

Width: 160  |  Height: 160  |  Size: 7.2 KiB

After

Width: 160  |  Height: 160  |  Size: 7.2 KiB

0
static/icons/trwnh/feather/plumeFeather192.png → assets/icons/trwnh/feather/plumeFeather192.png

Before

Width: 192  |  Height: 192  |  Size: 8.8 KiB

After

Width: 192  |  Height: 192  |  Size: 8.8 KiB

0
static/icons/trwnh/feather/plumeFeather24.png → assets/icons/trwnh/feather/plumeFeather24.png

Before

Width: 24  |  Height: 24  |  Size: 905 B

After

Width: 24  |  Height: 24  |  Size: 905 B

0
static/icons/trwnh/feather/plumeFeather256.png → assets/icons/trwnh/feather/plumeFeather256.png

Before

Width: 256  |  Height: 256  |  Size: 12 KiB

After

Width: 256  |  Height: 256  |  Size: 12 KiB

0
static/icons/trwnh/feather/plumeFeather32.png → assets/icons/trwnh/feather/plumeFeather32.png

Before

Width: 32  |  Height: 32  |  Size: 1.2 KiB

After

Width: 32  |  Height: 32  |  Size: 1.2 KiB

0
static/icons/trwnh/feather/plumeFeather36.png → assets/icons/trwnh/feather/plumeFeather36.png

Before

Width: 36  |  Height: 36  |  Size: 1.4 KiB

After

Width: 36  |  Height: 36  |  Size: 1.4 KiB

0
static/icons/trwnh/feather/plumeFeather44.png → assets/icons/trwnh/feather/plumeFeather44.png

Before

Width: 44  |  Height: 44  |  Size: 1.8 KiB

After

Width: 44  |  Height: 44  |  Size: 1.8 KiB

0
static/icons/trwnh/feather/plumeFeather48.png → assets/icons/trwnh/feather/plumeFeather48.png

Before

Width: 48  |  Height: 48  |  Size: 2.0 KiB

After

Width: 48  |  Height: 48  |  Size: 2.0 KiB

0
static/icons/trwnh/feather/plumeFeather512.png → assets/icons/trwnh/feather/plumeFeather512.png

Before

Width: 512  |  Height: 512  |  Size: 26 KiB

After

Width: 512  |  Height: 512  |  Size: 26 KiB

0
static/icons/trwnh/feather/plumeFeather64.png → assets/icons/trwnh/feather/plumeFeather64.png

Before

Width: 64  |  Height: 64  |  Size: 2.7 KiB

After

Width: 64  |  Height: 64  |  Size: 2.7 KiB

0
static/icons/trwnh/feather/plumeFeather72.png → assets/icons/trwnh/feather/plumeFeather72.png

Before

Width: 72  |  Height: 72  |  Size: 3.1 KiB

After

Width: 72  |  Height: 72  |  Size: 3.1 KiB

0
static/icons/trwnh/feather/plumeFeather80.png → assets/icons/trwnh/feather/plumeFeather80.png

Before

Width: 80  |  Height: 80  |  Size: 3.5 KiB

After

Width: 80  |  Height: 80  |  Size: 3.5 KiB

0
static/icons/trwnh/feather/plumeFeather96.png → assets/icons/trwnh/feather/plumeFeather96.png

Before

Width: 96  |  Height: 96  |  Size: 4.2 KiB

After

Width: 96  |  Height: 96  |  Size: 4.2 KiB

0
static/icons/trwnh/ideas.svg → assets/icons/trwnh/ideas.svg

0
static/icons/trwnh/paragraphs-black/plumeParagraphsBlack.svg → assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack.svg

0
static/icons/trwnh/paragraphs-black/plumeParagraphsBlack128.png → assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack128.png

Before

Width: 128  |  Height: 128  |  Size: 1.2 KiB

After

Width: 128  |  Height: 128  |  Size: 1.2 KiB

0
static/icons/trwnh/paragraphs-black/plumeParagraphsBlack144.png → assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack144.png

Before

Width: 144  |  Height: 144  |  Size: 1.4 KiB

After

Width: 144  |  Height: 144  |  Size: 1.4 KiB

0
static/icons/trwnh/paragraphs-black/plumeParagraphsBlack16.png → assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack16.png

Before

Width: 16  |  Height: 16  |  Size: 358 B

After

Width: 16  |  Height: 16  |  Size: 358 B

0
static/icons/trwnh/paragraphs-black/plumeParagraphsBlack160.png → assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack160.png

Before

Width: 160  |  Height: 160  |  Size: 1.5 KiB

After

Width: 160  |  Height: 160  |  Size: 1.5 KiB

0
static/icons/trwnh/paragraphs-black/plumeParagraphsBlack192.png → assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack192.png

Before

Width: 192  |  Height: 192  |  Size: 1.7 KiB

After

Width: 192  |  Height: 192  |  Size: 1.7 KiB

0
static/icons/trwnh/paragraphs-black/plumeParagraphsBlack24.png → assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack24.png

Before

Width: 24  |  Height: 24  |  Size: 432 B

After

Width: 24  |  Height: 24  |  Size: 432 B

0
static/icons/trwnh/paragraphs-black/plumeParagraphsBlack256.png → assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack256.png

Before

Width: 256  |  Height: 256  |  Size: 2.8 KiB

After

Width: 256  |  Height: 256  |  Size: 2.8 KiB

0
static/icons/trwnh/paragraphs-black/plumeParagraphsBlack32.png → assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack32.png

Before

Width: 32  |  Height: 32  |  Size: 501 B

After

Width: 32  |  Height: 32  |  Size: 501 B

0
static/icons/trwnh/paragraphs-black/plumeParagraphsBlack36.png → assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack36.png

Before

Width: 36  |  Height: 36  |  Size: 516 B

After

Width: 36  |  Height: 36  |  Size: 516 B

0
static/icons/trwnh/paragraphs-black/plumeParagraphsBlack44.png → assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack44.png

Before

Width: 44  |  Height: 44  |  Size: 575 B

After

Width: 44  |  Height: 44  |  Size: 575 B

0
static/icons/trwnh/paragraphs-black/plumeParagraphsBlack512.png → assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack512.png

Before

Width: 512  |  Height: 512  |  Size: 5.8 KiB

After

Width: 512  |  Height: 512  |  Size: 5.8 KiB

0
static/icons/trwnh/paragraphs-black/plumeParagraphsBlack64.png → assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack64.png

Before

Width: 64  |  Height: 64  |  Size: 728 B

After

Width: 64  |  Height: 64  |  Size: 728 B

0
static/icons/trwnh/paragraphs-black/plumeParagraphsBlack72.png → assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack72.png

Before

Width: 72  |  Height: 72  |  Size: 797 B

After

Width: 72  |  Height: 72  |  Size: 797 B

0
static/icons/trwnh/paragraphs-black/plumeParagraphsBlack80.png → assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack80.png

Before

Width: 80  |  Height: 80  |  Size: 851 B

After

Width: 80  |  Height: 80  |  Size: 851 B

0
static/icons/trwnh/paragraphs-black/plumeParagraphsBlack96.png → assets/icons/trwnh/paragraphs-black/plumeParagraphsBlack96.png

Before

Width: 96  |  Height: 96  |  Size: 916 B

After

Width: 96  |  Height: 96  |  Size: 916 B

0
static/icons/trwnh/paragraphs/plumeParagraphs.svg → assets/icons/trwnh/paragraphs/plumeParagraphs.svg

0
static/icons/trwnh/paragraphs/plumeParagraphs128.png → assets/icons/trwnh/paragraphs/plumeParagraphs128.png

Before

Width: 128  |  Height: 128  |  Size: 1.6 KiB

After

Width: 128  |  Height: 128  |  Size: 1.6 KiB

0
static/icons/trwnh/paragraphs/plumeParagraphs144.png → assets/icons/trwnh/paragraphs/plumeParagraphs144.png

Before

Width: 144  |  Height: 144  |  Size: 1.9 KiB

After

Width: 144  |  Height: 144  |  Size: 1.9 KiB

0
static/icons/trwnh/paragraphs/plumeParagraphs16.png → assets/icons/trwnh/paragraphs/plumeParagraphs16.png

Before

Width: 16  |  Height: 16  |  Size: 485 B

After

Width: 16  |  Height: 16  |  Size: 485 B

0
static/icons/trwnh/paragraphs/plumeParagraphs160.png → assets/icons/trwnh/paragraphs/plumeParagraphs160.png

Before

Width: 160  |  Height: 160  |  Size: 2.1 KiB

After

Width: 160  |  Height: 160  |  Size: 2.1 KiB

0
static/icons/trwnh/paragraphs/plumeParagraphs192.png → assets/icons/trwnh/paragraphs/plumeParagraphs192.png

Before

Width: 192  |  Height: 192  |  Size: 2.3 KiB

After

Width: 192  |  Height: 192  |  Size: 2.3 KiB

0
static/icons/trwnh/paragraphs/plumeParagraphs24.png → assets/icons/trwnh/paragraphs/plumeParagraphs24.png

Before

Width: 24  |  Height: 24  |  Size: 595 B

After

Width: 24  |  Height: 24  |  Size: 595 B

0
static/icons/trwnh/paragraphs/plumeParagraphs256.png → assets/icons/trwnh/paragraphs/plumeParagraphs256.png

Before

Width: 256  |  Height: 256  |  Size: 3.1 KiB

After

Width: 256  |  Height: 256  |  Size: 3.1 KiB

0
static/icons/trwnh/paragraphs/plumeParagraphs32.png → assets/icons/trwnh/paragraphs/plumeParagraphs32.png

Before

Width: 32  |  Height: 32  |  Size: 648 B

After

Width: 32  |  Height: 32  |  Size: 648 B

0
static/icons/trwnh/paragraphs/plumeParagraphs36.png → assets/icons/trwnh/paragraphs/plumeParagraphs36.png

Before

Width: 36  |  Height: 36  |  Size: 737 B

After

Width: 36  |  Height: 36  |  Size: 737 B

0
static/icons/trwnh/paragraphs/plumeParagraphs44.png → assets/icons/trwnh/paragraphs/plumeParagraphs44.png

Before

Width: 44  |  Height: 44  |  Size: 828 B

After

Width: 44  |  Height: 44  |  Size: 828 B

0
static/icons/trwnh/paragraphs/plumeParagraphs48.png → assets/icons/trwnh/paragraphs/plumeParagraphs48.png

Before

Width: 48  |  Height: 48  |  Size: 839 B

After

Width: 48  |  Height: 48  |  Size: 839 B

0
static/icons/trwnh/paragraphs/plumeParagraphs512.png → assets/icons/trwnh/paragraphs/plumeParagraphs512.png

Before

Width: 512  |  Height: 512  |  Size: 6.7 KiB

After

Width: 512  |  Height: 512  |  Size: 6.7 KiB

0
static/icons/trwnh/paragraphs/plumeParagraphs64.png → assets/icons/trwnh/paragraphs/plumeParagraphs64.png

Before

Width: 64  |  Height: 64  |  Size: 938 B

After

Width: 64  |  Height: 64  |  Size: 938 B

0
static/icons/trwnh/paragraphs/plumeParagraphs72.png → assets/icons/trwnh/paragraphs/plumeParagraphs72.png

Before

Width: 72  |  Height: 72  |  Size: 1.0 KiB

After

Width: 72  |  Height: 72  |  Size: 1.0 KiB

0
static/icons/trwnh/paragraphs/plumeParagraphs80.png → assets/icons/trwnh/paragraphs/plumeParagraphs80.png

Before

Width: 80  |  Height: 80  |  Size: 1.1 KiB

After

Width: 80  |  Height: 80  |  Size: 1.1 KiB

0
static/icons/trwnh/paragraphs/plumeParagraphs96.png → assets/icons/trwnh/paragraphs/plumeParagraphs96.png

Before

Width: 96  |  Height: 96  |  Size: 1.3 KiB

After

Width: 96  |  Height: 96  |  Size: 1.3 KiB

0
static/images/audio-file.svg → assets/images/audio-file.svg

0
static/default-avatar.png → assets/images/default-avatar.png

Before

Width: 512  |  Height: 512  |  Size: 18 KiB

After

Width: 512  |  Height: 512  |  Size: 18 KiB

0
static/images/feather-sprite.svg → assets/images/feather-sprite.svg

0
static/images/unknown-file.svg → assets/images/unknown-file.svg

0
static/images/video-file.svg → assets/images/video-file.svg

3
assets/themes/blog-monospace/theme.scss

@ -0,0 +1,3 @@
* {
font-family: monospace;
}

48
static/css/_article.scss → assets/themes/default/_article.scss

@ -1,8 +1,8 @@
// Heading
main header.article {
overflow: hidden;
background: $white;
color: $black;
background: $background;
color: $text-color;
display: grid;
background-size: cover;
background-position: center;
@ -52,14 +52,14 @@ main header.article {
height: 100%;
width: 100%;
background: linear-gradient(180deg, transparent 20vh, black 80vh);
background: linear-gradient(180deg, transparent 20vh, $black 80vh);
}
& > img {
z-index: 1;
min-width: 100%;
min-height: 100%;
background: $purple;
background: $primary;
}
}
@ -141,7 +141,7 @@ main .article-meta {
padding: 0px;
margin: 0px 10px 10px 0px;
transition: all 0.2s ease-in;
border: 1px solid $purple;
border: 1px solid $primary;
a {
display: inline-block;
@ -149,7 +149,7 @@ main .article-meta {
}
&:hover {
background: transparentize($purple, 0.9);
background: transparentize($primary, 0.9);
}
}
}
@ -181,7 +181,7 @@ main .article-meta {
margin: 0;
padding: 0;
background: none;
color: $black;
color: $text-color;
border: none;
font-size: 1.1em;
cursor: pointer;
@ -201,7 +201,7 @@ main .article-meta {
&.reshared, &.liked {
svg.feather {
color: $white;
color: $background;
font-weight: 900;
}
}
@ -234,26 +234,26 @@ main .article-meta {
}
.reshares {
p, .action:hover { color: $purple; }
p, .action:hover { color: $primary; }
.action svg.feather {
padding: 0.7em;
box-sizing: border-box;
color: $purple;
border: solid $purple thin;
color: $primary;
border: solid $primary thin;
font-weight: 600;
}
.action:hover svg.feather {
background: transparentize($purple, 0.85);
background: transparentize($primary, 0.85);
}
.action.reshared svg.feather {
background: $purple;
background: $primary;
}
.action.reshared:hover svg.feather {
background: transparentize($purple, 0.75)
color: $purple;
background: transparentize($primary, 0.75)
color: $primary;
}
}
@ -262,7 +262,7 @@ main .article-meta {
margin: 0 $horizontal-margin;
h2 {
color: $purple;
color: $primary;
font-size: 1.5em;
font-weight: 600;
}
@ -281,17 +281,17 @@ main .article-meta {
a.button, form.inline, form.inline input {
padding: 0;
background: none;
color: $black;
color: $text-color;
margin-right: 2em;
font-family: $route159;
font-weight: normal;
&::before {
color: $purple;
color: $primary;
padding-right: 0.5em;
}
&:hover { color: $purple; }
&:hover { color: $primary; }
}
.comment {
@ -325,7 +325,7 @@ main .article-meta {
}
.dt-published a {
color: transparentize($black, 0.6);
color: transparentize($text-color, 0.6);
}
.author {
@ -339,11 +339,11 @@ main .article-meta {
}
.display-name {
color: $black;
color: $text-color;
}
&:hover {
.display-name { color: $purple; }
.display-name { color: $primary; }
small { opacity: 1; }
}
}
@ -384,7 +384,7 @@ main .article-meta {
}
.placeholder {
color: transparentize($black, 0.6);
color: transparentize($text-color, 0.6);
}
article {
@ -400,7 +400,7 @@ main .article-meta {
left: 20vw;
right: 20vw;
background: $gray;
border: 1px solid $purple;
border: 1px solid $primary;
z-index: 2;
padding: 2em;
overflow-y: auto;

19
assets/themes/default/_dark_variables.scss

@ -0,0 +1,19 @@
@import '_variables';
// Color Scheme
$gray: #1a3854;
$black: #102e4a;
$white: #F8F8F8;
$purple: #7765E3;
$lightpurple: #c2bbee;
$red: #d16666;
$yellow: #ff934f;
$blue: #7f96ff;
$background: $black;
$form-input-background: $gray;
$form-input-border: $white;
$text-color: $white;
$primary: $purple;
$primary-text-color: $white; // text color on primary background (buttons for instance)
$success-color: $blue;

18
static/css/_forms.scss → assets/themes/default/_forms.scss

@ -13,14 +13,14 @@ input, textarea, select {
-webkit-appearance: textarea;
background: $form-input-background;
color: $black;
border: solid $black thin;
color: $text-color;
border: solid $form-input-border thin;
font-size: 1.2em;
font-weight: 400;
&:focus {
border-color: $purple;
border-color: $primary;
}
}
form input[type="submit"] {
@ -64,7 +64,7 @@ form.inline {
padding: 0;
border: none;
background: transparent;
color: $purple;
color: $primary;
font-weight: normal;
}
}
@ -78,15 +78,15 @@ form.inline {
margin: 0.5em auto;
padding: 0.75em 1em;
background: $purple;
color: $white;
background: $primary;
color: $primary-text-color;
font-weight: bold;
border: none;
cursor: pointer;
&:hover {
background: transparentize($purple, 0.1);
background: transparentize($primary, 0.1);
}
&.destructive {
@ -99,10 +99,10 @@ form.inline {
&.secondary {
background: $gray;
color: $black;
color: $text-color;
&:hover {
background: transparentize($black, 0.9);
background: transparentize($text-color, 0.9);
}
}
}

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

Loading…
Cancel
Save