@homefile/components-v2 2.59.0 → 2.59.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -76,7 +76,14 @@ export const CloudsAnimation = ({ children }) => {
|
|
|
76
76
|
};
|
|
77
77
|
// clouds are pushed back (faint) by day; at night they are not rendered at all (clear night sky)
|
|
78
78
|
// clouds are faint by day, and very transparent at dusk (evening sky is richer); hidden at night
|
|
79
|
-
|
|
79
|
+
// clouds: punched up in full DAY so they read; faint at morning, very faint at dusk, hidden at night
|
|
80
|
+
const cloudOpacity = timeOfDay === 'night'
|
|
81
|
+
? 0
|
|
82
|
+
: timeOfDay === 'evening'
|
|
83
|
+
? 0.08
|
|
84
|
+
: timeOfDay === 'day'
|
|
85
|
+
? 0.75
|
|
86
|
+
: 0.4;
|
|
80
87
|
const showClouds = timeOfDay !== 'night';
|
|
81
88
|
// each corner stacks the time-of-day tree variants and crossfades between them:
|
|
82
89
|
// morning = yellow, day = green, evening = pink (bespoke art); night reuses the day
|