aboutsummaryrefslogtreecommitdiff
path: root/src/components/link.style.js
blob: d13cef33805f55bd92d7c581664cbc0ba2424e42 (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
export default {
  name: 'Link',
  selector: 'a',
  virtual: true,
  states: {
    faint: '.faint'
  },
  defaultRules: [
    {
      component: 'Link',
      directives: {
        textColor: '--link'
      }
    },
    {
      component: 'Link',
      state: ['faint'],
      directives: {
        textOpacity: 0.5,
        textOpacityMode: 'fake'
      }
    }
  ]
}