initialisation on the doormile express console with astryx

This commit is contained in:
2026-07-29 18:16:25 +05:30
parent d5bde7d1ac
commit 7d672139b5
108 changed files with 12536 additions and 21351 deletions

17
src/themes/astryx.js Normal file
View File

@@ -0,0 +1,17 @@
// Astryx brand theme — extends the stock "neutral" theme with Doormile's
// brand red so migrated surfaces match the existing DT token palette
// (see themes/dt/tokens.js). Runtime-injected (not `astryx theme build`)
// since this repo doesn't do SSR — see `astryx docs theme`.
import { defineTheme } from '@astryxdesign/core/theme';
import { neutralTheme } from '@astryxdesign/theme-neutral';
import { DT } from 'themes/dt/tokens';
export const doormileTheme = defineTheme({
name: 'doormile',
extends: neutralTheme,
color: { accent: DT.brand, neutralStyle: 'cool' },
components: {
card: { base: { borderRadius: `${DT.radiusCard}px` } },
'text-input': { base: { borderRadius: `${DT.radiusInner}px` } }
}
});