|
51 | 51 | <section class="section" aria-labelledby="why"> |
52 | 52 | <h2 id="why">Why 4bit Exists</h2> |
53 | 53 | <div class="grid"> |
54 | | - <article class="card"> |
| 54 | + <article class="card terminal-card terminal-card--red"> |
55 | 55 | <h3>Terminal Colors</h3> |
56 | 56 | <p> |
57 | 57 | A useful terminal theme needs more than a few nice hex values. The foreground, background, |
58 | 58 | normal colors, and bright colors should work together when real command output fills the screen. |
59 | 59 | </p> |
60 | 60 | </article> |
61 | | - <article class="card"> |
| 61 | + <article class="card terminal-card terminal-card--blue"> |
62 | 62 | <h3>Terminal Schemes</h3> |
63 | 63 | <p> |
64 | 64 | 4bit turns a small set of controls into a complete terminal scheme. It is useful when you want |
65 | 65 | your own palette instead of another downloaded theme. |
66 | 66 | </p> |
67 | 67 | </article> |
68 | | - <article class="card"> |
| 68 | + <article class="card terminal-card terminal-card--green"> |
69 | 69 | <h3>Terminal Themes</h3> |
70 | 70 | <p> |
71 | 71 | The same palette can be exported for several terminal apps. That matters if you move between |
@@ -296,8 +296,37 @@ export default { |
296 | 296 | background: var(--paper); |
297 | 297 | } |
298 | 298 |
|
299 | | -.card p, |
300 | | -li { |
| 299 | +.terminal-card { |
| 300 | + border-color: var(--color-bright-black); |
| 301 | + background: var(--color-background); |
| 302 | + box-shadow: |
| 303 | + inset 0 0 0 1px rgb(255 255 255 / 6%), |
| 304 | + 0 18px 36px rgb(0 0 0 / 18%); |
| 305 | +} |
| 306 | +
|
| 307 | +.terminal-card h3 { |
| 308 | + color: var(--terminal-card-heading-color); |
| 309 | +} |
| 310 | +
|
| 311 | +.terminal-card p { |
| 312 | + color: var(--color-foreground); |
| 313 | + font-family: Inconsolata, monospace; |
| 314 | +} |
| 315 | +
|
| 316 | +.terminal-card--red { |
| 317 | + --terminal-card-heading-color: var(--color-red); |
| 318 | +} |
| 319 | +
|
| 320 | +.terminal-card--blue { |
| 321 | + --terminal-card-heading-color: var(--color-blue); |
| 322 | +} |
| 323 | +
|
| 324 | +.terminal-card--green { |
| 325 | + --terminal-card-heading-color: var(--color-green); |
| 326 | +} |
| 327 | +
|
| 328 | +.card:not(.terminal-card) p, |
| 329 | +.about-content li { |
301 | 330 | color: var(--muted); |
302 | 331 | } |
303 | 332 |
|
|
0 commit comments