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