biome format --write

This commit is contained in:
Henry Jameson 2026-01-06 16:22:52 +02:00
commit 9262e803ec
415 changed files with 54076 additions and 17419 deletions

View file

@ -11,7 +11,7 @@ const highlightStyle = (prefs) => {
const customProps = {
'--____highlight-solidColor': solidColor,
'--____highlight-tintColor': tintColor,
'--____highlight-tintColor2': tintColor2
'--____highlight-tintColor2': tintColor2,
}
if (type === 'striped') {
return {
@ -20,15 +20,15 @@ const highlightStyle = (prefs) => {
`${tintColor} ,`,
`${tintColor} 20px,`,
`${tintColor2} 20px,`,
`${tintColor2} 40px`
`${tintColor2} 40px`,
].join(' '),
backgroundPosition: '0 0',
...customProps
...customProps,
}
} else if (type === 'solid') {
return {
backgroundColor: tintColor2,
...customProps
...customProps,
}
} else if (type === 'side') {
return {
@ -36,21 +36,18 @@ const highlightStyle = (prefs) => {
'linear-gradient(to right,',
`${solidColor} ,`,
`${solidColor} 2px,`,
'transparent 6px'
'transparent 6px',
].join(' '),
backgroundPosition: '0 0',
...customProps
...customProps,
}
}
}
const highlightClass = (user) => {
return 'USER____' + user.screen_name
?.replace(/\./g, '_')
.replace(/@/g, '_AT_')
return (
'USER____' + user.screen_name?.replace(/\./g, '_').replace(/@/g, '_AT_')
)
}
export {
highlightClass,
highlightStyle
}
export { highlightClass, highlightStyle }