Customizing Widget Appearance
Firesky widgets render inside Shadow DOM by default, which means your site's CSS cannot accidentally break the widget, and the widget's CSS cannot affect your page. This makes them safe to drop onto any website.
You have two clean ways to customize how widgets look:
- Dashboard → Design for your widgets' colors, fonts, corners, and buttons.
- Host element styles for layout and sizing on your website.
Note: Widget colors and fonts come from Design, not from your site's CSS. Setting
--fs-*CSS variables on a widget's tag has no effect. To give one page or site a different look, use a theme.
1. Dashboard design settings
The recommended starting point is Dashboard → Design. These settings are saved to your church profile and automatically apply to widgets that load through the Firesky script.
Design settings include:
| Section | What you can change |
|---|---|
| Colors | Primary, on-primary, accent, background, text, muted, border, success, warning, and destructive colors |
| Typography | Heading font, body font, base font size, heading weight, and letter spacing |
| Corners & spacing | Base corner radius and density (compact, cozy, or comfortable) |
| Shadows | Card depth (none, subtle, soft, or elevated) |
| Buttons | Default button style (solid, outline, or soft) and optional button-specific radius |
Pick a look under Start from a style, then adjust it. Use Derive from primary after choosing your main brand color to fill the supporting palette automatically. Use Reset to defaults to return all widget styling to Firesky defaults.
For a dashboard-focused walkthrough, see Widget Design Settings.
Themes
Churches with the Extra themes add-on can give a widget a different look with the theme attribute. Use the theme's embed name, shown in Design and in each widget's embed code builder:
<fs-prayer-wall theme="youth-ministry"></fs-prayer-wall>
Each widget picks its look in this order:
- The
themeattribute, if it names one of your themes (theme="default"always uses Default) - The theme assigned to the site under Settings → Allowed origins
- Your Default theme
An unknown theme name falls back to the next step and logs one warning in the browser console. The page never shows an error. Changing the attribute restyles the widget without a reload.
2. Host element styles
You can always set CSS on the custom element tag itself. This controls the widget's position, size, and surrounding layout:
fs-prayer-wall {
display: block;
max-width: 600px;
margin: 2rem auto;
}
This works regardless of Shadow DOM mode.
3. Disable Shadow DOM
If you need your site's existing CSS to apply to widgets (or you need to target widget internals), add data-firesky-shadow="false" to the script tag:
<script
id="FireSkyWidgets"
src="https://www.thefiresky.com/widgets.js"
async
data-firesky-shadow="false"
></script>
With Shadow DOM disabled:
- Widgets render in the light DOM (your page's regular DOM)
- Your site's CSS can style widget internals
- Widget CSS may affect other elements on your page
You can then target widget internals:
fs-prayer-wall .fs-widget {
background: #f9fafb;
}
[data-firesky-widget] h2 {
color: #1a3a5c;
}
Warning: Shadow DOM is strongly recommended. Disabling it makes widgets more fragile: your site's global styles (resets, typography, form styles) can break widget layout. Use it only if you have a specific reason.