-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Description
Please implement these core tokens required to define reusable shadow styles. Use PX for units.
{
"core": {
"ha-shadow-offset-y-md": 4,
"ha-shadow-offset-y-sm": 2,
"ha-shadow-offset-y-lg": 8,
"ha-shadow-blur-sm": 4,
"ha-shadow-blur-md": 8,
"ha-shadow-blur-lg": 12,
"ha-shadow-spread-sm": 0,
"ha-shadow-spread-md": 0,
"ha-shadow-spread-lg": 0,
"ha-shadow-offset-x-lg": 0,
"ha-shadow-offset-x-sm": 0,
"ha-shadow-offset-x-md": 0
},
"semantic": {
"light": {
"ha-color-shadow": "#00000033" // 20% opacity
},
"dark": {
"ha-color-shadow": "#000000b2" // 70% opacity
}
}
}
Compound shadow styles:
ha-shadow-sm
ha-shadow-md
ha-shadow-lr
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In Progress