dynamically load .style.js files; move the files closer to related components
This commit is contained in:
parent
7c77809ff9
commit
3e198526e6
12 changed files with 57 additions and 62 deletions
22
src/components/user_avatar/avatar.style.js
Normal file
22
src/components/user_avatar/avatar.style.js
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
export default {
|
||||
name: 'Avatar',
|
||||
selector: '.Avatar',
|
||||
variants: {
|
||||
compact: '.-compact'
|
||||
},
|
||||
defaultRules: [
|
||||
{
|
||||
directives: {
|
||||
roundness: 3,
|
||||
shadow: [{
|
||||
x: 0,
|
||||
y: 1,
|
||||
blur: 8,
|
||||
spread: 0,
|
||||
color: '#000000',
|
||||
alpha: 0.7
|
||||
}]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue