logo

pleroma-fe

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

top_bar.style.js (936B)


  1. export default {
  2. name: 'TopBar',
  3. selector: 'nav',
  4. validInnerComponents: [
  5. 'Link',
  6. 'Text',
  7. 'Icon',
  8. 'Button',
  9. 'ButtonUnstyled',
  10. 'Input',
  11. 'Badge'
  12. ],
  13. defaultRules: [
  14. {
  15. directives: {
  16. background: '--fg',
  17. shadow: [{
  18. x: 0,
  19. y: 1,
  20. blur: 4,
  21. spread: 0,
  22. color: '#000000',
  23. alpha: 0.4
  24. },
  25. {
  26. x: 0,
  27. y: 2,
  28. blur: 7,
  29. spread: 0,
  30. color: '#000000',
  31. alpha: 0.3
  32. }]
  33. }
  34. },
  35. {
  36. component: 'Link',
  37. parent: {
  38. component: 'TopBar'
  39. },
  40. directives: {
  41. textColor: '--text'
  42. }
  43. },
  44. {
  45. component: 'Icon',
  46. parent: {
  47. component: 'ButtonUnstyled',
  48. parent: {
  49. component: 'TopBar'
  50. }
  51. },
  52. directives: {
  53. textColor: '--parent--text'
  54. }
  55. }
  56. ]
  57. }