An evening sleep plan that puts the next habit on the timeline
Turn a bedtime goal into an evening sequence, from the last coffee to a fixed wake time. A tinted rail and rounded-lg next-step panel keep the routine clear without another sleep score.
WDiv(
className: '''
flex flex-col gap-6
w-full px-6 py-10
bg-indigo-900 dark:bg-indigo-950
''',
children: [
WDiv(className: 'flex flex-col gap-1', children: [
WText('Tonight, in four steps', className: '''
text-2xl font-bold
text-white dark:text-white
'''),
WText('Tue 1 Dec · Your evening plan', className: '''
text-sm
text-indigo-300 dark:text-indigo-300
'''),
]),
WDiv(className: 'flex flex-col', children: [
WDiv(className: 'flex flex-row items-start gap-4', children: [
WDiv(className: 'flex flex-col items-center', children: [
WDiv(className: '''
size-6 rounded-full border-4
border-indigo-400 dark:border-indigo-400
'''),
WDiv(className: '''
h-11 w-0.5
bg-indigo-600 dark:bg-indigo-600
'''),
]),
WDiv(className: '''
flex flex-col flex-1
px-3 py-2 mb-2 rounded-lg
bg-indigo-400 dark:bg-indigo-400
''', children: [
WText('Switch to decaf', className: '''
text-lg font-semibold
text-indigo-950 dark:text-indigo-950
'''),
WText('16:30 · Your next habit', className: '''
text-xs
text-indigo-950 dark:text-indigo-950
'''),
]),
]),
WDiv(className: 'flex flex-row items-start gap-4', children: [
WDiv(className: 'flex flex-col items-center', children: [
WDiv(className: '''
size-5 rounded-full
bg-indigo-300 dark:bg-indigo-300
'''),
WDiv(className: '''
h-12 w-0.5
bg-indigo-600 dark:bg-indigo-600
'''),
]),
WDiv(className: 'flex flex-col flex-1 pb-6', children: [
WText('Dim the lights', className: '''
text-lg font-semibold
text-indigo-300 dark:text-indigo-300
'''),
WText('21:45 · Begin winding down', className: '''
text-xs
text-indigo-300 dark:text-indigo-300
'''),
]),
]),
WDiv(className: 'flex flex-row items-start gap-4', children: [
WDiv(className: 'flex flex-col items-center', children: [
WDiv(className: '''
size-5 rounded-full
bg-indigo-300 dark:bg-indigo-300
'''),
WDiv(className: '''
h-12 w-0.5
bg-indigo-600 dark:bg-indigo-600
'''),
]),
WDiv(className: 'flex flex-col flex-1 pb-6', children: [
WText('Lights out', className: '''
text-lg font-semibold
text-indigo-300 dark:text-indigo-300
'''),
WText('22:30 · Eight hours set aside', className: '''
text-xs
text-indigo-300 dark:text-indigo-300
'''),
]),
]),
WDiv(className: 'flex flex-row items-start gap-4', children: [
WDiv(className: '''
size-5 rounded-full border-2
border-indigo-500 dark:border-indigo-500
'''),
WDiv(className: 'flex flex-col flex-1', children: [
WText('Wake at your usual time', className: '''
text-lg font-semibold
text-indigo-300 dark:text-indigo-300
'''),
WText('Wed 2 Dec · 06:30', className: '''
text-xs
text-indigo-300 dark:text-indigo-300
'''),
]),
]),
]),
WText('Built around your 06:30 alarm. Your wind-down starts 45 minutes before bed.', className: '''
text-sm
text-indigo-300 dark:text-indigo-300
'''),
],
)
More like this
-
A pantry-aware shopping receipt that removes what you already own
Show exactly what tonight's dinner still needs: four ingredients, a pantry deduction and the remaining shopping total. A paper receipt with an
h-1total rule makes the list easy to check before leaving home. -
A surplus bakery offer that puts the pickup window beside the price
Make an end-of-day bakery bag easy to act on: one price, a clear collection window and a reservation button. The full-colour poster uses
text-6xllines to keep the offer readable at a glance. -
A running interval timer that keeps the next recovery in sight
Keep each running repetition easy to follow with a large countdown, twelve progress ticks and the next recovery visible before it starts. A
rounded-fulldial puts pause and skip within thumb reach.