readonly ["center", "start", "end", "baseline", "stretch"] api #
Declarations #
CSS framework and design system
451 declarations
alignment_values #
AlignmentValue #
"center" | "start" | "end" | "baseline" | "stretch" bg #
StyleVariable bg_0 #
StyleVariable bg_1 #
StyleVariable bg_10 #
StyleVariable bg_2 #
StyleVariable bg_3 #
StyleVariable bg_4 #
StyleVariable bg_5 #
StyleVariable bg_6 #
StyleVariable bg_7 #
StyleVariable bg_8 #
StyleVariable bg_9 #
StyleVariable border_color #
StyleVariable border_color_1 #
StyleVariable border_color_2 #
StyleVariable border_color_3 #
StyleVariable border_color_4 #
StyleVariable border_color_5 #
StyleVariable border_color_a #
StyleVariable border_color_b #
StyleVariable border_color_c #
StyleVariable border_color_d #
StyleVariable border_color_e #
StyleVariable border_color_f #
StyleVariable border_color_g #
StyleVariable border_color_h #
StyleVariable border_color_i #
StyleVariable border_color_j #
StyleVariable border_radius_corners_interpreter #
css_class_interpreters.ts view source
CssClassDeclarationInterpreter Interpreter for border radius corner percentage classes,
handles all four corners: top-left, top-right, bottom-left, bottom-right.
Examples: border_top_left_radius_50, border_bottom_right_radius_100.
border_radius_interpreter #
css_class_interpreters.ts view source
CssClassDeclarationInterpreter Interpreter for border-radius percentage classes,
border_radius_0 through border_radius_100.
border_radius_lg #
StyleVariable border_radius_md #
StyleVariable border_radius_sm #
StyleVariable border_radius_variants #
readonly ["xs3", "xs2", "xs", "sm", "md", "lg", "xl"] border_radius_xl #
StyleVariable border_radius_xs #
StyleVariable border_radius_xs2 #
StyleVariable border_radius_xs3 #
StyleVariable border_style #
StyleVariable border_style_values #
readonly ["none", "hidden", "dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset"] border_width #
StyleVariable border_width_1 #
StyleVariable border_width_2 #
StyleVariable border_width_3 #
StyleVariable border_width_4 #
StyleVariable border_width_5 #
StyleVariable border_width_6 #
StyleVariable border_width_7 #
StyleVariable border_width_8 #
StyleVariable border_width_9 #
StyleVariable border_width_variants #
readonly [1, 2, 3, 4, 5, 6, 7, 8, 9] BorderRadiusVariant #
"xs" | "sm" | "md" | "lg" | "xl" | "xs3" | "xs2" BorderStyleValue #
"hidden" | "none" | "dotted" | "dashed" | "solid" | "double" | "groove" | "ridge" | "inset" | "outset" BorderWidthVariant #
5 | 4 | 9 | 3 | 1 | 2 | 6 | 7 | 8 button_shadow #
StyleVariable button_shadow_active #
StyleVariable button_shadow_hover #
StyleVariable ClassTemplateFn #
css_class_generators.ts view source
ClassTemplateFn<T1, T2, T3> generics
T1
stringT2
stringT3
stringClassTemplateResult #
css_class_generators.ts view source
ClassTemplateResult collect_css_classes #
css_class_helpers.ts view source
(contents: string, extractors?: CssExtractor[]): Set<string> Returns a Set of CSS classes from a string of HTML/Svelte/JS/TS content. Handles class attributes, directives, and various forms of CSS class declarations.
contents
stringextractors
CssExtractor[]CSS_CLASS_EXTRACTORSreturns
Set<string> color_a_1 #
StyleVariable color_a_2 #
StyleVariable color_a_3 #
StyleVariable color_a_4 #
StyleVariable color_a_5 #
StyleVariable color_a_6 #
StyleVariable color_a_7 #
StyleVariable color_a_8 #
StyleVariable color_a_9 #
StyleVariable color_b_1 #
StyleVariable color_b_2 #
StyleVariable color_b_3 #
StyleVariable color_b_4 #
StyleVariable color_b_5 #
StyleVariable color_b_6 #
StyleVariable color_b_7 #
StyleVariable color_b_8 #
StyleVariable color_b_9 #
StyleVariable color_c_1 #
StyleVariable color_c_2 #
StyleVariable color_c_3 #
StyleVariable color_c_4 #
StyleVariable color_c_5 #
StyleVariable color_c_6 #
StyleVariable color_c_7 #
StyleVariable color_c_8 #
StyleVariable color_c_9 #
StyleVariable color_d_1 #
StyleVariable color_d_2 #
StyleVariable color_d_3 #
StyleVariable color_d_4 #
StyleVariable color_d_5 #
StyleVariable color_d_6 #
StyleVariable color_d_7 #
StyleVariable color_d_8 #
StyleVariable color_d_9 #
StyleVariable color_e_1 #
StyleVariable color_e_2 #
StyleVariable color_e_3 #
StyleVariable color_e_4 #
StyleVariable color_e_5 #
StyleVariable color_e_6 #
StyleVariable color_e_7 #
StyleVariable color_e_8 #
StyleVariable color_e_9 #
StyleVariable color_f_1 #
StyleVariable color_f_2 #
StyleVariable color_f_3 #
StyleVariable color_f_4 #
StyleVariable color_f_5 #
StyleVariable color_f_6 #
StyleVariable color_f_7 #
StyleVariable color_f_8 #
StyleVariable color_f_9 #
StyleVariable color_g_1 #
StyleVariable color_g_2 #
StyleVariable color_g_3 #
StyleVariable color_g_4 #
StyleVariable color_g_5 #
StyleVariable color_g_6 #
StyleVariable color_g_7 #
StyleVariable color_g_8 #
StyleVariable color_g_9 #
StyleVariable color_h_1 #
StyleVariable color_h_2 #
StyleVariable color_h_3 #
StyleVariable color_h_4 #
StyleVariable color_h_5 #
StyleVariable color_h_6 #
StyleVariable color_h_7 #
StyleVariable color_h_8 #
StyleVariable color_h_9 #
StyleVariable color_i_1 #
StyleVariable color_i_2 #
StyleVariable color_i_3 #
StyleVariable color_i_4 #
StyleVariable color_i_5 #
StyleVariable color_i_6 #
StyleVariable color_i_7 #
StyleVariable color_i_8 #
StyleVariable color_i_9 #
StyleVariable COLOR_INTENSITIES #
css_class_generators.ts view source
readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9"] color_j_1 #
StyleVariable color_j_2 #
StyleVariable color_j_3 #
StyleVariable color_j_4 #
StyleVariable color_j_5 #
StyleVariable color_j_6 #
StyleVariable color_j_7 #
StyleVariable color_j_8 #
StyleVariable color_j_9 #
StyleVariable color_schemes #
ColorScheme[] color_variants #
readonly ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"] ColorIntensity #
css_class_generators.ts view source
"1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ColorScheme #
ColorScheme see also
ColorVariant #
"a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" css_class_composites #
css_class_composites.ts view source
Record<string, CssClassDeclaration | undefined> css_class_interpreters #
css_class_interpreters.ts view source
CssClassDeclarationInterpreter[] Collection of all builtin interpreters for dynamic CSS class generation.
css_classes_by_name #
Record<string, CssClassDeclaration | undefined> see also
``generate_classes_css``
CSS_DIRECTIONS #
css_class_generators.ts view source
readonly ["top", "right", "bottom", "left"] CSS_GLOBALS #
css_class_generators.ts view source
readonly ["inherit", "initial", "revert", "revert_layer", "unset"] CssClassDeclaration #
css_class_helpers.ts view source
CssClassDeclaration CssClassDeclarationBase #
css_class_helpers.ts view source
CssClassDeclarationBase comment
stringCssClassDeclarationGroup #
css_class_helpers.ts view source
CssClassDeclarationGroup inheritance
ruleset
stringCssClassDeclarationInterpreter #
css_class_helpers.ts view source
CssClassDeclarationInterpreter inheritance
pattern
RegExpinterpret
(matched: RegExpMatchArray, log?: Logger) => string | nullCssClassDeclarationItem #
css_class_helpers.ts view source
CssClassDeclarationItem inheritance
declaration
stringCssClasses #
css_class_helpers.ts view source
include_classes
type Set<string> | null
constructor
type new (include_classes?: Set<string> | null): CssClasses
include_classes
Set<string> | nullnulladd
type (id: string, classes: Set<string>): void
id
stringclasses
Set<string>voiddelete
type (id: string): void
id
stringvoidget
type (): Set<string>
Set<string>CssDirection #
css_class_generators.ts view source
"top" | "right" | "bottom" | "left" CssExtractor #
css_class_helpers.ts view source
CssExtractor matcher
RegExpmapper
(matched: RegExpExecArray) => Array<string>CssGlobal #
css_class_generators.ts view source
"inherit" | "initial" | "revert" | "revert_layer" | "unset" darken_1 #
StyleVariable darken_2 #
StyleVariable darken_3 #
StyleVariable darken_4 #
StyleVariable darken_5 #
StyleVariable darken_6 #
StyleVariable darken_7 #
StyleVariable darken_8 #
StyleVariable darken_9 #
StyleVariable DEFAULT_THEME #
Theme default_themes #
Theme[] These are super basic proof-of-concept themes.
default_variables #
StyleVariable[] These are implicitly the variables for the base theme.
See also the empty variables array of the base theme above.
disabled_opacity #
StyleVariable display_values #
readonly ["none", "contents", "block", "flow-root", "inline", "inline-block", "run-in", "list-item", "inline list-item", "flex", "inline-flex", "grid", "inline-grid", "ruby", "block ruby", "table", "inline-table"] DisplayValue #
"none" | "contents" | "block" | "flow-root" | "inline" | "inline-block" | "run-in" | "list-item" | "inline list-item" | "flex" | "inline-flex" | "grid" | "inline-grid" | "ruby" | "block ruby" | "table" | "inline-table" distance_lg #
StyleVariable distance_md #
StyleVariable distance_sm #
StyleVariable distance_variants #
readonly ["xs", "sm", "md", "lg", "xl"] distance_xl #
StyleVariable distance_xs #
StyleVariable DistanceVariant #
"xs" | "sm" | "md" | "lg" | "xl" duration_1 #
StyleVariable duration_2 #
StyleVariable duration_3 #
StyleVariable duration_4 #
StyleVariable duration_5 #
StyleVariable duration_6 #
StyleVariable fg #
StyleVariable fg_0 #
StyleVariable fg_1 #
StyleVariable fg_10 #
StyleVariable fg_2 #
StyleVariable fg_3 #
StyleVariable fg_4 #
StyleVariable fg_5 #
StyleVariable fg_6 #
StyleVariable fg_7 #
StyleVariable fg_8 #
StyleVariable fg_9 #
StyleVariable fill #
StyleVariable fill_a #
StyleVariable fill_b #
StyleVariable fill_c #
StyleVariable fill_d #
StyleVariable fill_e #
StyleVariable fill_f #
StyleVariable fill_g #
StyleVariable fill_h #
StyleVariable fill_i #
StyleVariable fill_j #
StyleVariable flex_direction_values #
readonly ["row", "row-reverse", "column", "column-reverse"] flex_wrap_values #
readonly ["nowrap", "wrap", "wrap-reverse"] FlexDirectionValue #
"row" | "row-reverse" | "column" | "column-reverse" FlexWrapValue #
"nowrap" | "wrap" | "wrap-reverse" float_values #
readonly ["none", "left", "right", "inline-start"] FloatValue #
"right" | "left" | "none" | "inline-start" font_family_mono #
StyleVariable font_family_sans #
StyleVariable font_family_serif #
StyleVariable font_family_variants #
readonly ["font_family_sans", "font_family_serif", "font_family_mono"] font_size_lg #
StyleVariable font_size_md #
StyleVariable font_size_names #
string[] font_size_sm #
StyleVariable font_size_variants #
readonly ["xs", "sm", "md", "lg", "xl", "xl2", "xl3", "xl4", "xl5", "xl6", "xl7", "xl8", "xl9"] font_size_xl #
StyleVariable font_size_xl2 #
StyleVariable font_size_xl3 #
StyleVariable font_size_xl4 #
StyleVariable font_size_xl5 #
StyleVariable font_size_xl6 #
StyleVariable font_size_xl7 #
StyleVariable font_size_xl8 #
StyleVariable font_size_xl9 #
StyleVariable font_size_xs #
StyleVariable font_weight_interpreter #
css_class_interpreters.ts view source
CssClassDeclarationInterpreter Interpreter for font-weight classes,
font_weight_1 through font_weight_1000 following the CSS spec.
FontFamilyVariant #
"font_family_sans" | "font_family_serif" | "font_family_mono" format_dimension_value #
css_class_generators.ts view source
(value: string): string Format width/height values for CSS (handles 0, auto, percentages, pixels, content values, and CSS variables). Used by width and height properties.
value
stringreturns
string format_spacing_value #
css_class_generators.ts view source
(value: string): string Format spacing values for CSS (handles 0, auto, percentages, pixels, and CSS variables). Used by margin, padding, gap, inset, top/right/bottom/left, etc.
value
stringreturns
string gen_moss_css #
(options?: GenMossCssOptions): Gen options
{}returns
Gen generate_border_radius_corners #
css_class_generators.ts view source
(values: Iterable<string>, formatter?: ((value: string) => string) | undefined): Record<string, CssClassDeclaration> Generate border radius corner classes for all four corners. Creates classes for top-left, top-right, bottom-left, bottom-right corners.
values
- The values to generate classes for
Iterable<string>formatter?
- Optional function to format values
((value: string) => string) | undefinedreturns
Record<string, CssClassDeclaration> generate_classes #
css_class_generators.ts view source
<T1 = string, T2 = string, T3 = string>(template: ClassTemplateFn<T1, T2, T3>, values: Iterable<T1>, secondary?: Iterable<T2> | undefined, tertiary?: Iterable<...> | undefined): Record<...> Generates CSS class declarations from templates. Supports up to 3 dimensions of multiplicative combinations.
template
- Function that generates CSS from values, can return null to skip
ClassTemplateFn<T1, T2, T3>values
- Primary iterable of values
Iterable<T1>secondary?
- Optional second dimension (makes it multiplicative)
Iterable<T2> | undefinedtertiary?
- Optional third dimension for even more combinations
Iterable<T3> | undefinedreturns
Record<string, CssClassDeclaration> examples
Example 1
Example 2
generate_classes_css #
css_class_helpers.ts view source
(classes: Iterable<string>, classes_by_name: Record<string, CssClassDeclaration | undefined>, interpreters: CssClassDeclarationInterpreter[], log?: Logger | undefined): string classes
Iterable<string>classes_by_name
Record<string, CssClassDeclaration | undefined>interpreters
CssClassDeclarationInterpreter[]log?
Logger | undefinedreturns
string generate_directional_classes #
css_class_generators.ts view source
(property: string, values: Iterable<string>, formatter?: ((v: string) => string) | undefined): Record<string, CssClassDeclaration> Generate directional classes for properties like margin and padding. Creates classes for all directions: base, top, right, bottom, left, x (horizontal), y (vertical).
property
- The base CSS property name (e.g. 'margin', 'padding')
stringvalues
- The values to generate classes for
Iterable<string>formatter?
- Optional function to format values (defaults to identity)
((v: string) => string) | undefinedreturns
Record<string, CssClassDeclaration> generate_global_classes #
css_class_generators.ts view source
(property: string): Record<string, CssClassDeclaration> property
stringreturns
Record<string, CssClassDeclaration> generate_property_classes #
css_class_generators.ts view source
(property: string, values: Iterable<string>, formatter?: ((value: string) => string) | undefined, prefix?: string): Record<string, CssClassDeclaration> Generate classes for a single CSS property with various values. This is the most common pattern, used by display, visibility, float, etc.
property
- The CSS property name (e.g. 'display', 'gap')
stringvalues
- The values to generate classes for
Iterable<string>formatter?
- Optional function to format values (e.g. v => var(--space_${v}))
((value: string) => string) | undefinedprefix
- Optional class name prefix (defaults to property with dashes replaced by underscores)
stringto_variable_name(property)returns
Record<string, CssClassDeclaration> generate_property_with_axes #
css_class_generators.ts view source
(property: string, values: Iterable<string>): Record<string, CssClassDeclaration> Generate classes for properties with axis variants (e.g. overflow, overflow-x, overflow-y).
property
- The base CSS property name (e.g. 'overflow')
stringvalues
- The values to generate classes for
Iterable<string>returns
Record<string, CssClassDeclaration> generate_shadow_classes #
css_class_generators.ts view source
(sizes: Iterable<string>, alpha_mapping: Record<string, string>): Record<string, CssClassDeclaration> Generate shadow classes for various shadow types and sizes. Creates classes for regular, top, bottom, inset, inset-top, and inset-bottom shadows. Each shadow uses color-mix with alpha values for transparency.
sizes
- The shadow size variants (xs, sm, md, lg, xl)
Iterable<string>alpha_mapping
- Mapping of sizes to alpha numbers (1-5)
Record<string, string>returns
Record<string, CssClassDeclaration> GenMossCssOptions #
GenMossCssOptions filter_file
FileFilter | nullinclude_stats
booleanclasses_by_name
Record<string, CssClassDeclaration | undefined>class_interpreters
Array<CssClassDeclarationInterpreter>hue_a #
StyleVariable hue_b #
StyleVariable hue_c #
StyleVariable hue_d #
StyleVariable hue_e #
StyleVariable hue_f #
StyleVariable hue_g #
StyleVariable hue_h #
StyleVariable hue_i #
StyleVariable hue_j #
StyleVariable icon_size_lg #
StyleVariable icon_size_md #
StyleVariable icon_size_sm #
StyleVariable icon_size_variants #
readonly ["xs", "sm", "md", "lg", "xl", "xl2", "xl3"] icon_size_xl #
StyleVariable icon_size_xl2 #
StyleVariable icon_size_xl3 #
StyleVariable icon_size_xs #
StyleVariable icon_sizes #
{ icon_size_xs: string; icon_size_sm: string; icon_size_md: string; icon_size_lg: string; icon_size_xl: string; icon_size_xl2: string; icon_size_xl3: string; } IconSizeVariant #
"xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" input_fill #
StyleVariable input_height #
StyleVariable input_height_inner #
StyleVariable input_height_sm #
StyleVariable input_padding_x #
StyleVariable input_padding_y #
StyleVariable input_width_min #
StyleVariable is_style_variable_name #
(name: string): name is StyleVariableName name
stringreturns
boolean justify_values #
readonly ["center", "start", "end", "left", "right", "space-between", "space-around", "space-evenly", "stretch"] JustifyValue #
"right" | "left" | "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" lighten_1 #
StyleVariable lighten_2 #
StyleVariable lighten_3 #
StyleVariable lighten_4 #
StyleVariable lighten_5 #
StyleVariable lighten_6 #
StyleVariable lighten_7 #
StyleVariable lighten_8 #
StyleVariable lighten_9 #
StyleVariable line_height_lg #
StyleVariable line_height_md #
StyleVariable line_height_names #
string[] line_height_sm #
StyleVariable line_height_variants #
readonly ["xs", "sm", "md", "lg", "xl"] line_height_xl #
StyleVariable line_height_xs #
StyleVariable LineHeightVariant #
"xs" | "sm" | "md" | "lg" | "xl" link_color #
StyleVariable link_color_selected #
StyleVariable opacity_interpreter #
css_class_interpreters.ts view source
CssClassDeclarationInterpreter Interpreter for opacity classes (opacity_0 through opacity_100).
outline_color #
StyleVariable outline_style #
StyleVariable outline_width #
StyleVariable outline_width_active #
StyleVariable outline_width_focus #
StyleVariable outline_width_variants #
readonly ["focus", "active"] OutlineWidthVariant #
"focus" | "active" overflow_values #
readonly ["auto", "hidden", "scroll", "clip", "visible"] overflow_wrap_values #
readonly ["normal", "anywhere", "break-word"] OverflowValue #
"auto" | "hidden" | "scroll" | "clip" | "visible" OverflowWrapValue #
"normal" | "anywhere" | "break-word" position_values #
readonly ["static", "relative", "absolute", "fixed", "sticky"] PositionValue #
"static" | "relative" | "absolute" | "fixed" | "sticky" render_theme_style #
(theme: Theme, options?: RenderThemeStyleOptions): string theme
options
{}returns
string render_theme_variable #
(variable: StyleVariable, dark?: boolean, comments?: boolean): string variable
dark
booleanfalsecomments
booleantruereturns
string RenderThemeStyleOptions #
RenderThemeStyleOptions comments
booleanid
string | nullempty_default_theme
booleanspecificity
Repeats the theme selector to handle unpredictable head content insertion order. Accepts any integer >= 1, defaults to 2.
numberscrollbar_gutter_values #
readonly ["auto", "stable", "stable both-edges"] scrollbar_width_values #
readonly ["auto", "thin", "none"] ScrollbarGutterValue #
"auto" | "stable" | "stable both-edges" ScrollbarWidthValue #
"auto" | "none" | "thin" shadow_alpha_1 #
StyleVariable shadow_alpha_2 #
StyleVariable shadow_alpha_3 #
StyleVariable shadow_alpha_4 #
StyleVariable shadow_alpha_5 #
StyleVariable shadow_alpha_variants #
readonly [1, 2, 3, 4, 5] shadow_bottom_lg #
StyleVariable shadow_bottom_md #
StyleVariable shadow_bottom_sm #
StyleVariable shadow_bottom_xl #
StyleVariable shadow_bottom_xs #
StyleVariable shadow_color #
StyleVariable shadow_color_a #
StyleVariable shadow_color_b #
StyleVariable shadow_color_c #
StyleVariable shadow_color_d #
StyleVariable shadow_color_e #
StyleVariable shadow_color_f #
StyleVariable shadow_color_g #
StyleVariable shadow_color_glow #
StyleVariable shadow_color_h #
StyleVariable shadow_color_highlight #
StyleVariable shadow_color_i #
StyleVariable shadow_color_j #
StyleVariable shadow_color_shroud #
StyleVariable shadow_font_size_variants #
readonly ["xs", "sm", "md", "lg", "xl"] shadow_inset_bottom_lg #
StyleVariable shadow_inset_bottom_md #
StyleVariable shadow_inset_bottom_sm #
StyleVariable shadow_inset_bottom_xl #
StyleVariable shadow_inset_bottom_xs #
StyleVariable shadow_inset_lg #
StyleVariable shadow_inset_md #
StyleVariable shadow_inset_sm #
StyleVariable shadow_inset_top_lg #
StyleVariable shadow_inset_top_md #
StyleVariable shadow_inset_top_sm #
StyleVariable shadow_inset_top_xl #
StyleVariable shadow_inset_top_xs #
StyleVariable shadow_inset_xl #
StyleVariable shadow_inset_xs #
StyleVariable shadow_lg #
StyleVariable shadow_md #
StyleVariable shadow_semantic_values #
readonly ["highlight", "glow", "shroud"] shadow_sm #
StyleVariable shadow_top_lg #
StyleVariable shadow_top_md #
StyleVariable shadow_top_sm #
StyleVariable shadow_top_xl #
StyleVariable shadow_top_xs #
StyleVariable shadow_variant_prefixes #
readonly ["shadow_", "shadow_top_", "shadow_bottom_", "shadow_inset_", "shadow_inset_top_", "shadow_inset_bottom_"] shadow_xl #
StyleVariable shadow_xs #
StyleVariable ShadowAlphaVariant #
5 | 4 | 3 | 1 | 2 ShadowSemanticValue #
"highlight" | "glow" | "shroud" ShadowSizeVariant #
"xs" | "sm" | "md" | "lg" | "xl" SizeVariant #
"xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6" | "xl7" | "xl8" | "xl9" space_lg #
StyleVariable space_md #
StyleVariable space_sm #
StyleVariable space_variants #
readonly ["xs5", "xs4", "xs3", "xs2", "xs", "sm", "md", "lg", "xl", "xl2", "xl3", "xl4", "xl5", "xl6", "xl7", "xl8", "xl9", "xl10", "xl11", "xl12", "xl13", "xl14", "xl15"] space_xl #
StyleVariable space_xl10 #
StyleVariable space_xl11 #
StyleVariable space_xl12 #
StyleVariable space_xl13 #
StyleVariable space_xl14 #
StyleVariable space_xl15 #
StyleVariable space_xl2 #
StyleVariable space_xl3 #
StyleVariable space_xl4 #
StyleVariable space_xl5 #
StyleVariable space_xl6 #
StyleVariable space_xl7 #
StyleVariable space_xl8 #
StyleVariable space_xl9 #
StyleVariable space_xs #
StyleVariable space_xs2 #
StyleVariable space_xs3 #
StyleVariable space_xs4 #
StyleVariable space_xs5 #
StyleVariable SpaceVariant #
"xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6" | "xl7" | "xl8" | "xl9" | "xs5" | "xs4" | "xs3" | "xs2" | "xl10" | "xl11" | "xl12" | "xl13" | "xl14" | "xl15" STYLE_VARIABLE_NAME_MATCHER #
RegExp StyleVariable #
StyleVariable name
light
stringdark
stringsummary
stringStyleVariableName #
StyleVariableName text_active #
StyleVariable text_align_values #
readonly ["start", "end", "left", "right", "center", "justify", "justify-all", "match-parent"] text_color #
StyleVariable text_color_0 #
StyleVariable text_color_1 #
StyleVariable text_color_10 #
StyleVariable text_color_2 #
StyleVariable text_color_3 #
StyleVariable text_color_4 #
StyleVariable text_color_5 #
StyleVariable text_color_6 #
StyleVariable text_color_7 #
StyleVariable text_color_8 #
StyleVariable text_color_9 #
StyleVariable text_color_disabled #
StyleVariable text_color_variants #
readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] text_decoration #
StyleVariable text_decoration_hover #
StyleVariable text_decoration_selected #
StyleVariable TextAlignValue #
"right" | "left" | "center" | "start" | "end" | "justify" | "justify-all" | "match-parent" TextColorVariant #
0 | 5 | 4 | 9 | 3 | 1 | 2 | 6 | 7 | 8 | 10 Theme #
Theme name
stringvariables
Array<StyleVariable>tint_hue #
StyleVariable tint_saturation #
StyleVariable to_kebab #
css_class_generators.ts view source
(str: string): string str
stringreturns
string to_variable_name #
css_class_generators.ts view source
(str: string): string str
stringreturns
string vertical_align_values #
readonly ["baseline", "sub", "super", "text-top", "text-bottom", "middle", "top", "bottom"] VerticalAlignValue #
"top" | "bottom" | "baseline" | "sub" | "super" | "text-top" | "text-bottom" | "middle" visibility_values #
readonly ["visible", "hidden", "collapse"] VisibilityValue #
"hidden" | "visible" | "collapse" word_break_values #
readonly ["normal", "break-all", "keep-all"] WordBreakValue #
"normal" | "break-all" | "keep-all" z_index_interpreter #
css_class_interpreters.ts view source
CssClassDeclarationInterpreter Interpreter for z-index classes,
z_index_0 through z_index_${Z_INDEX_MAX} (max CSS z-index).
Z_INDEX_MAX #
2147483647 Maximum value for CSS z-index property (32-bit signed integer max).