logo

pleroma-fe

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

post.style.js (642B)


  1. export default {
  2. name: 'Post',
  3. selector: '.Status',
  4. states: {
  5. selected: '.-focused'
  6. },
  7. validInnerComponents: [
  8. 'Text',
  9. 'Link',
  10. 'Icon',
  11. 'Border',
  12. 'Button',
  13. 'ButtonUnstyled',
  14. 'RichContent',
  15. 'Input',
  16. 'Avatar',
  17. 'Attachment',
  18. 'PollGraph'
  19. ],
  20. validInnerComponentsLite: [
  21. 'Text',
  22. 'Link',
  23. 'Icon',
  24. 'Border',
  25. 'ButtonUnstyled',
  26. 'RichContent',
  27. 'Avatar'
  28. ],
  29. defaultRules: [
  30. {
  31. directives: {
  32. background: '--bg'
  33. }
  34. },
  35. {
  36. state: ['selected'],
  37. directives: {
  38. background: '--inheritedBackground, 10'
  39. }
  40. }
  41. ]
  42. }