aboutsummaryrefslogtreecommitdiff
path: root/src/components/mobile_drawer.style.js
blob: 398bc186e6930f2d011087470a574963f532d631 (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
35
36
37
38
39
40
41
export default {
  name: 'MobileDrawer',
  selector: '.mobile-drawer',
  validInnerComponents: [
    'Text',
    'Link',
    'Icon',
    'Border',
    'Button',
    'ButtonUnstyled',
    'Input',
    'PanelHeader',
    'MenuItem',
    'Notification',
    'Alert',
    'UserCard'
  ],
  defaultRules: [
    {
      directives: {
        background: '--bg',
        backgroundNoCssColor: 'yes'
      }
    },
    {
      component: 'PanelHeader',
      parent: { component: 'MobileDrawer' },
      directives: {
        background: '--fg',
        shadow: [{
          x: 0,
          y: 0,
          blur: 4,
          spread: 0,
          color: '#000000',
          alpha: 0.6
        }]
      }
    }
  ]
}