aboutsummaryrefslogtreecommitdiff
path: root/src/components/popover.style.js
blob: 6a121cae342dbdd68ea9c4056d363c6866d169bf (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
26
27
28
29
30
31
32
33
34
export default {
  name: 'Popover',
  selector: '.popover',
  variants: {
    tooltip: '.tooltip',
    modal: '.modal'
  },
  validInnerComponents: [
    'Text',
    'Link',
    'Icon',
    'Button',
    'ButtonUnstyled',
    'Input',
    'PanelHeader',
    'MenuItem',
    'Post'
  ],
  defaultRules: [
    {
      directives: {
        background: '--bg',
        shadow: [{
          x: 2,
          y: 2,
          blur: 3,
          spread: 0,
          color: '#000000',
          alpha: 0.5
        }]
      }
    }
  ]
}