aboutsummaryrefslogtreecommitdiff
path: root/src/components/link.style.js
blob: 0128fd91ac15a0ba2fe0bee914cfe4d2a7dc80b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
export default {
  name: 'Link',
  selector: 'a',
  virtual: true,
  states: {
    faint: '.faint'
  },
  defaultRules: [
    {
      component: 'Link',
      directives: {
        textColor: '--link'
      }
    },
    {
      component: 'Link',
      state: ['faint'],
      directives: {
        textColor: '--link',
        textOpacity: 0.5,
        textOpacityMode: 'fake'
      }
    }
  ]
}