Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

Commit ef092f6

Browse files
authored
Monochrome terminal chrome (#117)
1 parent 036071d commit ef092f6

File tree

2 files changed

+11
-20
lines changed

2 files changed

+11
-20
lines changed

packages/site-kit/src/lib/components/Blurb.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
5151
@media (min-width: 900px) {
5252
.grid :global(h2) {
53-
font-size: var(--sk-text-xxl);
53+
font-size: var(--sk-text-xl);
5454
}
5555
5656
.grid {

packages/site-kit/src/lib/components/TryTerminal.svelte

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div class="terminal">
22
<div class="chrome">
3-
<span class="red dot" />
4-
<span class="yellow dot" />
5-
<span class="green dot" />
3+
<span class="dot" />
4+
<span class="dot" />
5+
<span class="dot" />
66
<span class="title">terminal</span>
77
</div>
88
<pre><code
@@ -17,39 +17,29 @@
1717

1818
<style>
1919
.terminal {
20-
background: rgba(0, 0, 0, 0.7);
20+
background: #212121;
2121
margin: 0;
2222
border-radius: var(--sk-border-radius);
2323
overflow: hidden;
2424
}
2525
2626
.terminal .chrome {
2727
position: relative;
28-
background: var(--sk-back-3);
29-
color: var(--sk-text-3);
28+
background: #666;
29+
color: #999;
3030
display: flex;
3131
align-items: center;
32-
font-size: var(--sk-text-s);
32+
font-size: 1.8rem;
3333
padding: 1rem;
3434
gap: 1rem;
35+
border-bottom: 1px #29252a solid;
3536
}
3637
3738
.terminal .dot {
3839
width: 1rem;
3940
height: 1rem;
4041
border-radius: 50%;
41-
}
42-
43-
.red {
44-
background-color: hsl(15, 100%, 65%);
45-
}
46-
47-
.yellow {
48-
background-color: hsl(48, 100%, 67%);
49-
}
50-
51-
.green {
52-
background-color: hsl(141, 53%, 53%);
42+
background-color: #999;
5343
}
5444
5545
.title {
@@ -59,6 +49,7 @@
5949
top: 0;
6050
width: 100%;
6151
height: 100%;
52+
padding-top: 0.4rem;
6253
align-items: center;
6354
justify-content: center;
6455
}

0 commit comments

Comments
 (0)