CodexStylesheet class
Codex stylesheet - premium dark design language.
Implements a dark-first visual system:
- High-contrast surfaces with restrained accent emphasis
- Configurable accent themes (Green/Red/Blue/Purple/Rainbow)
- Premium typography with clear hierarchy
- Focused interaction states and subtle atmosphere effects
- ITCAvantGardeStd font for headings and titles
- Akzidenz-GroteskPro font for body text
- Hack font for code
- Inheritance
-
- Object
- ArcaneStylesheet
- CodexStylesheet
Constructors
- CodexStylesheet({CodexTheme theme = CodexTheme.green})
-
const
Properties
- baseCss → String
-
Complete CSS output including all variables and base styles.
no setterinherited
- bodyClass → String
-
Returns the CSS class to apply to the body element for this theme.
Returns 'codex-{theme}' (e.g., 'codex-orange', 'codex-rainbow') to enable
theme-specific styling in CSS.
no setteroverride
- componentCss → String
-
Component-specific CSS (scrollbars, tree lines, animations, etc.)
no setteroverride
- darkModeCss → String?
-
@deprecated Use componentCss instead.
no setterinherited
- darkSeed → ThemeSeed
-
Dark mode seed colors.
no setteroverride
-
externalCssUrls
→ List<
String> -
External CSS URLs to load (Google Fonts, CDN stylesheets, etc.)
no setterinherited
- fontFaces → String
-
Font face declarations (@font-face rules).
no setteroverride
- fonts → FontConfig
-
Font configuration.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique identifier for this stylesheet.
no setteroverride
- lightModeCss → String?
-
@deprecated Use componentCss instead.
no setterinherited
- lightSeed → ThemeSeed
-
Light mode seed colors.
no setteroverride
- name → String
-
Human-readable display name.
no setteroverride
- radius → RadiusConfig
-
Border radius configuration.
no setteroverride
- renderers → ComponentRenderers
-
Component renderers for this stylesheet.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- theme → CodexTheme
-
The color theme to use. Defaults to green.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited