logo
pub struct TailwindBuilder {
    pub preflight: PreflightSystem,
    pub palettes: PaletteSystem,
    pub screens: BreakPointSystem,
    pub fonts: FontSystem,
    pub effects: EffectSystem,
    /* private fields */
}
Expand description

Fields

preflight: PreflightSystem
palettes: PaletteSystem

All dynamic color properties

Only determined when packing

screens: BreakPointSystem

All dynamic break points

Only determined when packing

fonts: FontSystem

All dynamically registered font properties

Only determined when packing

effects: EffectSystem

All dynamically registered effect properties

Only determined when packing

Implementations

Config for preflight progress

Add custom preflight information

Trace mode
Returns

Not all instructions can be inline, if not, it will fall back to trace mode

  • Anonymous style sheets, which can be placed inside style tags
Example
  • input
<div class="p-auto px-px pt-2 pb-2">Test</div>
  • output
<div class="p-auto px-px pt-2 pb-2">Test</div>
<style> {} </style>
Inline mode
Returns

Not all instructions can be inline, if not, it will fall back to trace mode

  • Anonymous style sheets, which can be placed inside style tags
Example
  • input
<div class="p-auto px-px pt-2 pb-2">Test</div>
  • output
<div class="p-auto px-px pt-2 pb-2">Test</div>
<style> {} </style>
Inline mode
Returns

Not all instructions can be inline, if not, it will fall back to trace mode

  • Anonymous style sheets, which can be placed inside style tags
Example
  • input
<div class="p-auto px-px pt-2 pb-2">Test</div>
  • output
<div class="p-auto px-px pt-2 pb-2">Test</div>
<style> {} </style>
Inline mode
Returns

Not all instructions can be inline, if not, it will fall back to trace mode

  • Anonymous style sheets, which can be placed inside style tags
Example
  • input
<div class="p-auto px-px pt-2 pb-2">Test</div>
  • output
<div class="p-auto px-px pt-2 pb-2">Test</div>
<style> {} </style>
Inline mode
Returns

Not all instructions can be inline, if not, it will fall back to trace mode

  • Anonymous style sheets, which can be placed inside style tags
Example
  • input
<div class="p-auto px-px pt-2 pb-2">Test</div>
  • output
<div class="p-auto px-px pt-2 pb-2">Test</div>
<style> {} </style>

Bundle all used stylesheets

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Deserializes using the given deserializer

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type for metadata in pointers and references to Self.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.