logo

pleroma-fe

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

user_card.style.js (724B)


  1. export default {
  2. name: 'UserCard',
  3. selector: '.user-card',
  4. notEditable: true,
  5. validInnerComponents: [
  6. 'Text',
  7. 'Link',
  8. 'Icon',
  9. 'Button',
  10. 'ButtonUnstyled',
  11. 'Input',
  12. 'RichContent',
  13. 'Alert'
  14. ],
  15. defaultRules: [
  16. {
  17. directives: {
  18. background: '--bg',
  19. opacity: 0,
  20. roundness: 3,
  21. shadow: [{
  22. x: 1,
  23. y: 1,
  24. blur: 4,
  25. spread: 0,
  26. color: '#000000',
  27. alpha: 0.6
  28. }],
  29. '--profileTint': 'color | $alpha(--background 0.5)'
  30. }
  31. },
  32. {
  33. parent: {
  34. component: 'UserCard'
  35. },
  36. component: 'RichContent',
  37. directives: {
  38. opacity: 0
  39. }
  40. }
  41. ]
  42. }