first commit
This commit is contained in:
16
resources/css/presets/aura/skeleton/index.js
Normal file
16
resources/css/presets/aura/skeleton/index.js
Normal file
@ -0,0 +1,16 @@
|
||||
export default {
|
||||
root: ({ props }) => ({
|
||||
class: [
|
||||
'overflow-hidden',
|
||||
{
|
||||
'animate-pulse': props.animation !== 'none'
|
||||
},
|
||||
|
||||
// Round
|
||||
{ 'rounded-full': props.shape === 'circle', 'rounded-md': props.shape !== 'circle' },
|
||||
|
||||
// Colors
|
||||
'bg-surface-200 dark:bg-surface-700'
|
||||
]
|
||||
})
|
||||
};
|
Reference in New Issue
Block a user