-
Notifications
You must be signed in to change notification settings - Fork 0
Feature Bar Surface
tempus2016 edited this page Jun 24, 2026
·
1 revision
Give the tab bar its own surface — a custom background colour and/or a subtle drop shadow that lifts it off the card.
Config keys: bar_background (CSS colour) · elevation (boolean, default false)
type: custom:tabdeck-card
style: pill
bar_background: "#1f2937"
elevation: true
tabs:
- name: Climate
icon: mdi:thermostat
color: "#ffffff" # readable text on the dark bar
accent: "#f59e0b"
card: { ... }
-
bar_backgroundaccepts any CSS colour (hex,rgb(),var(--…)). -
elevationadds--tabdeck-bar-shadow(default0 2px 6px rgba(0,0,0,.18)) — override it viastyles. - Pair with per-tab
colorso labels stay readable on a dark bar. - Both are in the visual editor (Tab bar background colour, Raise bar with shadow).
Concepts
Features