logo

pleroma-fe

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

fun_text.style.js (660B)


  1. export default {
  2. name: 'FunText',
  3. selector: '/*fun-text*/',
  4. virtual: true,
  5. variants: {
  6. greentext: '.greentext',
  7. cyantext: '.cyantext'
  8. },
  9. states: {
  10. faint: '.faint'
  11. },
  12. defaultRules: [
  13. {
  14. directives: {
  15. textColor: '--text',
  16. textAuto: 'preserve'
  17. }
  18. },
  19. {
  20. state: ['faint'],
  21. directives: {
  22. textOpacity: 0.5
  23. }
  24. },
  25. {
  26. variant: 'greentext',
  27. directives: {
  28. textColor: '--cGreen',
  29. textAuto: 'preserve'
  30. }
  31. },
  32. {
  33. variant: 'cyantext',
  34. directives: {
  35. textColor: '--cBlue',
  36. textAuto: 'preserve'
  37. }
  38. }
  39. ]
  40. }