even more weight loss

This commit is contained in:
Henry Jameson 2025-08-10 22:49:09 +03:00
commit 9440d35266
7 changed files with 6 additions and 118 deletions

View file

@ -1,42 +0,0 @@
export default {
name: 'UserCard',
selector: '.user-card',
notEditable: true,
validInnerComponents: [
'Text',
'Link',
'Icon',
// Optimization: don't put heavy components unless needed
// 'Button',
// 'ButtonUnstyled',
// 'Input',
'Alert'
],
defaultRules: [
{
directives: {
background: '--bg',
opacity: 0,
roundness: 3,
shadow: [{
x: 1,
y: 1,
blur: 4,
spread: 0,
color: '#000000',
alpha: 0.6
}],
'--profileTint': 'color | $alpha(--background 0.5)'
}
},
{
parent: {
component: 'UserCard'
},
component: 'RichContent',
directives: {
opacity: 0
}
}
]
}