@aegisjsproject/styles
Version:
Pre-made and reusable styles for `@aegisjsproject/core`
11 lines (9 loc) • 368 B
JavaScript
import { css } from '@aegisjsproject/parsers/css.js';
import { customProperties } from './consts.js';
export const properties = css`${Object.entries(customProperties).map(
([name, { initialValue, inherits = true, syntax = '*' }]) => `@property --aegis-${name} {
syntax: "${syntax}";
inherits: ${inherits};
initial-value: ${initialValue};
}`
).join('\n\n')}`;