Skip to content

Commit 5dc95fa

Browse files
committed
Comments
1 parent 28447b1 commit 5dc95fa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/resources/styles.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export const haStyleViewTransitions = css`
228228
animation: none;
229229
}
230230
231-
/* Layout fade out transition */
231+
/* Elements leaving the view (loading screen) */
232232
::view-transition-group(layout-fade-out) {
233233
animation-duration: var(--ha-animation-layout-duration);
234234
animation-timing-function: ease-out;
@@ -240,7 +240,8 @@ export const haStyleViewTransitions = css`
240240
animation: none;
241241
}
242242
243-
/* Layout fade in transition */
243+
/* New content entering (panels, subpages)
244+
Uses base delay to be less abrupt and allow for elements to render */
244245
::view-transition-group(layout-fade-in) {
245246
animation-duration: var(--ha-animation-layout-duration);
246247
animation-timing-function: ease-out;

0 commit comments

Comments
 (0)