|
1 | 1 | /* |
2 | 2 | * Waypoint landing page. |
3 | 3 | * |
4 | | - * Structure lives in index.mdx: Grid, Flex, SectionHeader, BtnLink, Badge, and |
5 | | - * Icon with utility classes. This file adds only what the theme cannot know: |
6 | | - * the Waypoint brand, the display type, the fluid rhythm, and the illustrated |
7 | | - * product views. |
| 4 | + * Structure and color live in index.mdx: Grid, Flex, Panel, SectionHeader, |
| 5 | + * BtnLink, Badge, and Icon with tone and utility classes, so the page follows |
| 6 | + * the site theme and its presets. This file adds only sizes and rhythm the |
| 7 | + * utility scale does not cover yet. |
8 | 8 | * |
9 | | - * Brand colors are tone scopes. Each one sets the same --ps-current-* variables |
10 | | - * a tone--* class sets, so utilities such as tone-text, text-subtle, b-subtle, |
11 | | - * and the BtnLink variants render in Waypoint colors. |
| 9 | + * Rules nest under .waypoint-home for specificity rather than @scope, so they |
| 10 | + * still apply inside theme--light and theme--dark regions. |
12 | 11 | */ |
13 | 12 |
|
14 | 13 | .waypoint-home { |
15 | | - /* Night: the dark product views, the same in both themes. */ |
16 | | - .wp-night { |
17 | | - --ps-current-tone: #8fd7df; |
18 | | - --ps-current-text-default: #fff; |
19 | | - --ps-current-text-subtle: #c4dbe5; |
20 | | - --ps-current-border-subtle: rgba(210, 236, 248, 0.14); |
21 | | - --ps-current-border-default: rgba(195, 225, 240, 0.22); |
22 | | - color: var(--ps-current-text-default); |
23 | | - } |
24 | | - |
25 | | - /* Paper: light cards laid over the night views. */ |
26 | | - .wp-paper { |
27 | | - --ps-current-text-default: #183449; |
28 | | - --ps-current-text-subtle: #637b8a; |
29 | | - --ps-current-border-subtle: #e1e9ef; |
30 | | - --ps-current-border-default: #dce6ed; |
31 | | - background: #f5f9fb; |
32 | | - color: var(--ps-current-text-default); |
33 | | - } |
34 | | - |
35 | 14 | :where(h1, h2, h3, p) { |
36 | 15 | margin: 0; |
37 | 16 | } |
|
359 | 338 |
|
360 | 339 | /* Weekly brief. */ |
361 | 340 | .wp-brief { |
362 | | - gap: clamp(2rem, 6vw, 6rem); |
363 | 341 | padding: 1.5rem; |
364 | | - border-radius: 1.35rem; |
365 | | - background: |
366 | | - radial-gradient( |
367 | | - circle at 8% 0%, |
368 | | - rgba(94, 170, 196, 0.23), |
369 | | - transparent 37% |
370 | | - ), |
371 | | - linear-gradient(135deg, #173d54, #0c2a3e 75%); |
| 342 | + } |
| 343 | + .wp-brief-grid { |
| 344 | + gap: clamp(2rem, 6vw, 6rem); |
372 | 345 | } |
373 | 346 | .wp-brief-title { |
374 | 347 | max-width: 12ch; |
|
387 | 360 | .wp-brief-link { |
388 | 361 | gap: 1rem; |
389 | 362 | margin-top: 2rem; |
390 | | - color: #a8e6e7; |
391 | 363 | font-size: 0.9rem; |
392 | 364 | font-weight: 750; |
393 | 365 | } |
394 | 366 | .wp-brief-paper { |
395 | 367 | padding: clamp(1.4rem, 3vw, 2.5rem); |
396 | | - border-radius: 0.95rem; |
397 | | - box-shadow: 0 25px 50px rgba(0, 17, 30, 0.25); |
398 | | - } |
399 | | - .wp-paper-label { |
400 | | - color: #6a8697; |
401 | 368 | } |
402 | 369 | .wp-paper-top { |
403 | 370 | gap: 0.4rem; |
|
431 | 398 | height: 0.55rem; |
432 | 399 | margin-top: 0.28rem; |
433 | 400 | } |
434 | | - .wp-dot-done { |
435 | | - background: #33a582; |
436 | | - } |
437 | | - .wp-dot-open { |
438 | | - background: #d2a460; |
439 | | - } |
440 | 401 | .wp-paper-footer { |
441 | 402 | gap: 0.5rem; |
442 | 403 | margin-top: 0.4rem; |
443 | 404 | padding-top: 1rem; |
444 | 405 | letter-spacing: 0.1em; |
445 | 406 | font-size: 0.59rem; |
446 | 407 | } |
447 | | - .wp-paper-footer strong { |
448 | | - color: #2a6171; |
449 | | - } |
450 | 408 |
|
451 | 409 | /* Page destinations and closing action. */ |
452 | 410 | .wp-explore { |
|
0 commit comments