logo

pleroma-fe

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

text.style.js (326B)


  1. export default {
  2. name: 'Text',
  3. selector: '/*text*/',
  4. virtual: true,
  5. states: {
  6. faint: '.faint'
  7. },
  8. defaultRules: [
  9. {
  10. directives: {
  11. textColor: '--text',
  12. textAuto: 'no-preserve'
  13. }
  14. },
  15. {
  16. state: ['faint'],
  17. directives: {
  18. textOpacity: 0.5
  19. }
  20. }
  21. ]
  22. }