customization

Base style

These are the default styles implemented by FlyonUI.

FlyonUI applies a few essential base styles to your page to ensure consistency and a better user experience.

These base styles are lightweight—less than a kilobyte in total—so they won’t affect your page’s performance.

Below is a breakdown of the styles FlyonUI adds:

Name
Description
propertiesIncludes necessary @rules, such as defining variable types (e.g., --radialprogress).
rootcolorDefines the background-color and text color for :root and [data-theme], setting them to base-100 and base-content respectively.
scrollbarCustomizes scrollbar appearance using scrollbar-color on :root.
svgProvides small inline SVG assets, including noise filters, chat bubble tails, and tooltip tails. This can be disabled if you prefer using custom images.

Opting Out of Specific Base Styles

If you wish to exclude any of these base styles, you can do so by modifying the FlyonUI configuration using the exclude option.

For example, to opt out of both the scrollbar styles (scrollbar, scrollbar-color) and the root color styles, add the following to your FlyonUI plugin settings:

@plugin "flyonui" {
  exclude: scrollbar, rootcolor;
}

You can explore the source code for each base style on GitHub: