variables work + i18n cleanup

This commit is contained in:
Henry Jameson 2024-10-09 09:59:37 +03:00
commit 5a2080570f
4 changed files with 73 additions and 20 deletions

View file

@ -1,6 +1,6 @@
import { unroll } from './iss_utils.js'
const serializeShadow = s => {
export const serializeShadow = s => {
if (typeof s === 'object') {
return `${s.inset ? 'inset ' : ''}${s.x} ${s.y} ${s.blur} ${s.spread} ${s.color} / ${s.alpha}`
} else {