migrate all other function calls to new format

This commit is contained in:
Henry Jameson 2024-10-03 00:44:16 +03:00
parent ab295c588d
commit dee3cf7883
8 changed files with 10 additions and 10 deletions

View file

@ -5,7 +5,7 @@ export default {
defaultRules: [ defaultRules: [
{ {
directives: { directives: {
textColor: '$mod(--parent, 10)', textColor: '$mod(--parent 10)',
textAuto: 'no-auto' textAuto: 'no-auto'
} }
} }

View file

@ -92,7 +92,7 @@ export default {
{ {
state: ['disabled'], state: ['disabled'],
directives: { directives: {
background: '$blend(--inheritedBackground, 0.25, --parent)', background: '$blend(--inheritedBackground 0.25 --parent)',
shadow: ['--defaultButtonBevel'] shadow: ['--defaultButtonBevel']
} }
}, },

View file

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

View file

@ -24,21 +24,21 @@ export default {
{ {
state: ['hover'], state: ['hover'],
directives: { directives: {
background: '$mod(--bg, 5)', background: '$mod(--bg 5)',
opacity: 1 opacity: 1
} }
}, },
{ {
state: ['active'], state: ['active'],
directives: { directives: {
background: '$mod(--bg, 10)', background: '$mod(--bg 10)',
opacity: 1 opacity: 1
} }
}, },
{ {
state: ['active', 'hover'], state: ['active', 'hover'],
directives: { directives: {
background: '$mod(--bg, 15)', background: '$mod(--bg 15)',
opacity: 1 opacity: 1
} }
}, },

View file

@ -43,7 +43,7 @@ export default {
// Selection colors // Selection colors
'--selectionBackground': 'color | --accent', '--selectionBackground': 'color | --accent',
'--selectionText': 'color | $textColor(--accent, --text, no-preserve)' '--selectionText': 'color | $textColor(--accent --text no-preserve)'
} }
} }
] ]

View file

@ -83,7 +83,7 @@ export default {
{ {
state: ['disabled'], state: ['disabled'],
directives: { directives: {
background: '$blend(--inheritedBackground, 0.25, --parent)', background: '$blend(--inheritedBackground 0.25 --parent)',
shadow: [...buttonInsetFakeBorders] shadow: [...buttonInsetFakeBorders]
} }
}, },

View file

@ -39,7 +39,7 @@ export default {
{ {
state: ['disabled'], state: ['disabled'],
directives: { directives: {
background: '$blend(--inheritedBackground, 0.25, --parent)', background: '$blend(--inheritedBackground 0.25 --parent)',
shadow: ['--defaultButtonBevel'] shadow: ['--defaultButtonBevel']
} }
}, },

View file

@ -25,7 +25,7 @@ export default {
color: '#000000', color: '#000000',
alpha: 0.6 alpha: 0.6
}], }],
'--profileTint': 'color | $alpha(--background, 0.5)' '--profileTint': 'color | $alpha(--background 0.5)'
} }
}, },
{ {