logo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
use super::*;

impl TailwindBuilder {
    /// Config for preflight progress
    pub fn preflight(&mut self) -> &mut PreflightSystem {
        &mut self.preflight
    }
    /// Add custom preflight information
    pub fn preflight_addition(&mut self, custom: impl Into<String>) {
        self.preflight.custom = custom.into()
    }
}

impl Default for TailwindBuilder {
    fn default() -> Self {
        Self {
            objects: Default::default(),
            bundles: Default::default(),
            screens: BreakPointSystem::builtin(),
            palettes: PaletteSystem::builtin(),
            fonts: FontSystem::builtin(),
            preflight: PreflightSystem::default(),
            effects: EffectSystem::builtin(),
        }
    }
}