initialisation on the doormile express console with astryx
This commit is contained in:
17
src/themes/astryx.js
Normal file
17
src/themes/astryx.js
Normal 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` } }
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user