themes 3 initial work
This commit is contained in:
parent
6391a6a4ea
commit
521d308a6c
6 changed files with 110 additions and 0 deletions
18
src/components/button.style.js
Normal file
18
src/components/button.style.js
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
export default {
|
||||
name: 'Button',
|
||||
states: {
|
||||
hover: ':hover',
|
||||
disabled: ':disabled',
|
||||
pressed: ':active',
|
||||
toggled: '.toggled'
|
||||
},
|
||||
variants: {
|
||||
danger: '.danger',
|
||||
unstyled: '.unstyled',
|
||||
sublime: '.sublime'
|
||||
},
|
||||
validInnerComponents: [
|
||||
'Text',
|
||||
'Icon'
|
||||
]
|
||||
}
|
||||
3
src/components/icon.style.js
Normal file
3
src/components/icon.style.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export default {
|
||||
name: 'Icon'
|
||||
}
|
||||
8
src/components/panel.style.js
Normal file
8
src/components/panel.style.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
export default {
|
||||
name: 'Panel',
|
||||
validInnerComponents: [
|
||||
'Text',
|
||||
'Icon',
|
||||
'Button'
|
||||
]
|
||||
}
|
||||
9
src/components/text.style.js
Normal file
9
src/components/text.style.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
export default {
|
||||
name: 'Text',
|
||||
states: {
|
||||
faint: '.faint'
|
||||
},
|
||||
variants: {
|
||||
green: '/.greentext'
|
||||
}
|
||||
}
|
||||
6
src/components/underlay.style.js
Normal file
6
src/components/underlay.style.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
export default {
|
||||
name: 'Panel',
|
||||
validInnerComponents: [
|
||||
'Panel'
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue