commit: dee3cf7883fa41986d1de2248801ca415d59ee3f
parent ab295c588d66f7e53dc9433c61836a88a9b8979a
Author: Henry Jameson <me@hjkos.com>
Date: Thu, 3 Oct 2024 00:44:16 +0300
migrate all other function calls to new format
Diffstat:
8 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/components/border.style.js b/src/components/border.style.js
@@ -5,7 +5,7 @@ export default {
defaultRules: [
{
directives: {
- textColor: '$mod(--parent, 10)',
+ textColor: '$mod(--parent 10)',
textAuto: 'no-auto'
}
}
diff --git a/src/components/button.style.js b/src/components/button.style.js
@@ -92,7 +92,7 @@ export default {
{
state: ['disabled'],
directives: {
- background: '$blend(--inheritedBackground, 0.25, --parent)',
+ background: '$blend(--inheritedBackground 0.25 --parent)',
shadow: ['--defaultButtonBevel']
}
},
diff --git a/src/components/icon.style.js b/src/components/icon.style.js
@@ -6,7 +6,7 @@ export default {
{
component: 'Icon',
directives: {
- textColor: '$blend(--stack, 0.5, --parent--text)',
+ textColor: '$blend(--stack 0.5 --parent--text)',
textAuto: 'no-auto'
}
}
diff --git a/src/components/menu_item.style.js b/src/components/menu_item.style.js
@@ -24,21 +24,21 @@ export default {
{
state: ['hover'],
directives: {
- background: '$mod(--bg, 5)',
+ background: '$mod(--bg 5)',
opacity: 1
}
},
{
state: ['active'],
directives: {
- background: '$mod(--bg, 10)',
+ background: '$mod(--bg 10)',
opacity: 1
}
},
{
state: ['active', 'hover'],
directives: {
- background: '$mod(--bg, 15)',
+ background: '$mod(--bg 15)',
opacity: 1
}
},
diff --git a/src/components/root.style.js b/src/components/root.style.js
@@ -43,7 +43,7 @@ export default {
// Selection colors
'--selectionBackground': 'color | --accent',
- '--selectionText': 'color | $textColor(--accent, --text, no-preserve)'
+ '--selectionText': 'color | $textColor(--accent --text no-preserve)'
}
}
]
diff --git a/src/components/scrollbar_element.style.js b/src/components/scrollbar_element.style.js
@@ -83,7 +83,7 @@ export default {
{
state: ['disabled'],
directives: {
- background: '$blend(--inheritedBackground, 0.25, --parent)',
+ background: '$blend(--inheritedBackground 0.25 --parent)',
shadow: [...buttonInsetFakeBorders]
}
},
diff --git a/src/components/tab_switcher/tab.style.js b/src/components/tab_switcher/tab.style.js
@@ -39,7 +39,7 @@ export default {
{
state: ['disabled'],
directives: {
- background: '$blend(--inheritedBackground, 0.25, --parent)',
+ background: '$blend(--inheritedBackground 0.25 --parent)',
shadow: ['--defaultButtonBevel']
}
},
diff --git a/src/components/user_card/user_card.style.js b/src/components/user_card/user_card.style.js
@@ -25,7 +25,7 @@ export default {
color: '#000000',
alpha: 0.6
}],
- '--profileTint': 'color | $alpha(--background, 0.5)'
+ '--profileTint': 'color | $alpha(--background 0.5)'
}
},
{