logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git

root.style.js (1150B)


  1. export default {
  2. name: 'Root',
  3. selector: ':root',
  4. validInnerComponents: [
  5. 'Underlay',
  6. 'Modals',
  7. 'Popover',
  8. 'TopBar',
  9. 'Scrollbar',
  10. 'ScrollbarElement',
  11. 'MobileDrawer',
  12. 'Alert',
  13. 'Button' // mobile post button
  14. ],
  15. defaultRules: [
  16. {
  17. directives: {
  18. // These are here just to establish order,
  19. // themes should override those
  20. '--bg': 'color | #121a24',
  21. '--fg': 'color | #182230',
  22. '--text': 'color | #b9b9ba',
  23. '--link': 'color | #d8a070',
  24. '--accent': 'color | #d8a070',
  25. '--cRed': 'color | #FF0000',
  26. '--cBlue': 'color | #0095ff',
  27. '--cGreen': 'color | #0fa00f',
  28. '--cOrange': 'color | #ffa500',
  29. // Fonts
  30. '--font': 'generic | sans-serif',
  31. '--monoFont': 'generic | monospace',
  32. // Fallback no-background-image color
  33. // (also useful in some other places like scrollbars)
  34. '--wallpaper': 'color | --bg, -2',
  35. // Selection colors
  36. '--selectionBackground': 'color | --accent',
  37. '--selectionText': 'color | $textColor(--accent, --text)'
  38. }
  39. }
  40. ]
  41. }