properly sort, properly do icon colors, some initial attachment buttons work

This commit is contained in:
Henry Jameson 2024-02-19 00:00:43 +02:00
commit f0bbb75df5
4 changed files with 49 additions and 11 deletions

View file

@ -0,0 +1,23 @@
export default {
name: 'Attachment',
selector: '.Attachment',
validInnerComponents: [
'Border',
'ButtonUnstyled'
],
defaultRules: [
{
directives: {
roundness: 3
}
},
{
component: 'ButtonUnstyled',
parent: { component: 'Attachment' },
directives: {
background: '#FFFFFF',
opacity: 0.9
}
}
]
}

View file

@ -16,6 +16,8 @@ export default {
defaultRules: [
{
directives: {
background: '#ffffff',
opacity: 0,
shadow: []
}
},

View file

@ -6,7 +6,7 @@ export default {
{
component: 'Icon',
directives: {
textColor: '$blend(--parent, 0.5, --parent--text)',
textColor: '$blend(--stack, 0.5, --parent--text)',
textAuto: 'no-auto'
}
}