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
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

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 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.