Skip to content

Commit bd76df6

Browse files
committed
adjust looks of the sidebar only
1 parent 0e9369a commit bd76df6

2 files changed

Lines changed: 25 additions & 9 deletions

File tree

packages/sidebar/panel.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
<head>
55
<meta charset="UTF-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>NoteKeeper Companion</title>
7+
<title>NoteKeeper Sidebar</title>
88
<meta name="description"
99
content="NoteKeeper Companion is a Firefox extension that transforms the sidebar into a minimalist, auto-saving text editor.">
1010
<link rel="icon" type="image/svg+xml" href="icon.svg" />
1111
<link rel="stylesheet" href="styles.css" />
1212
<script src="preload.js"></script>
1313
</head>
1414

15-
<body>
15+
<body class="sidebar-panel">
1616
<header>
1717
<div style="display: flex; align-items: center; gap: 0.25rem;">
1818
<img src="icon.svg" alt="NoteKeeper Logo" width="24" height="24" />
19-
<span class="brand">NoteKeeper Companion</span>
19+
<span class="brand">NoteKeeper Sidebar</span>
2020
</div>
2121

2222
<button id="theme-toggle" aria-label="Toggle theme">
@@ -44,8 +44,8 @@
4444
</main>
4545

4646
<footer>
47-
<div class="col-left"><span>Made with <a class="heart" href="https://github.com/semanticdata/notekeeper"
48-
target="_blank" rel="noopener"></a> in Minneapolis.</span></div>
47+
<!-- <div class="col-left"><span>Made with <a class="heart" href="https://github.com/semanticdata/notekeeper"
48+
target="_blank" rel="noopener">❤</a> in Minneapolis.</span></div> -->
4949

5050
<div class="col-center">
5151
<span id="word-count">0 words</span>

shared/styles.css

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
--font-ui: ui-monospace, SFMono-Regular, Menlo, monospace;
1010
--font-body: "Georgia", serif;
1111
--measure: 65ch;
12-
--note-size: 1.125rem; /* Dynamic font size variable */
12+
--note-size: 1.125rem;
13+
/* Dynamic font size variable */
1314
}
1415

1516
[data-theme="dark"] {
@@ -70,9 +71,11 @@ footer {
7071
display: flex;
7172
align-items: center;
7273
}
74+
7375
.col-right {
7476
justify-content: flex-end;
7577
}
78+
7679
.col-center {
7780
display: flex;
7881
gap: 0.5rem;
@@ -108,17 +111,24 @@ textarea:focus {
108111
border-color: var(--subtle);
109112
}
110113

114+
.sidebar-panel textarea {
115+
min-height: 80vh;
116+
}
117+
111118
/* Utilities */
112119
.divider {
113120
opacity: 0.3;
114121
}
122+
115123
.heart {
116124
text-decoration: none;
117125
color: inherit;
118126
}
127+
119128
.heart:hover {
120129
color: #e00;
121130
}
131+
122132
.saved {
123133
color: var(--accent);
124134
transition: color 0.3s;
@@ -145,13 +155,19 @@ textarea:focus {
145155
color: var(--fg);
146156
}
147157

158+
#theme-toggle {
159+
color: var(--subtle);
160+
}
161+
148162
/* Theme Icons */
149163
#theme-toggle .icon-moon {
150164
display: none;
151165
}
166+
152167
[data-theme="dark"] #theme-toggle .icon-sun {
153168
display: none;
154169
}
170+
155171
[data-theme="dark"] #theme-toggle .icon-moon {
156172
display: block;
157173
}
@@ -172,7 +188,7 @@ textarea:focus {
172188

173189
display: flex;
174190
flex-direction: column;
175-
gap: 0.5rem;
191+
gap: 1rem;
176192
}
177193

178194
.settings-menu[hidden] {
@@ -202,10 +218,10 @@ textarea:focus {
202218
border-radius: 4px;
203219
cursor: pointer;
204220
font-family: var(--font-ui);
205-
font-size: 0.85rem;
221+
/* font-size: 0.85rem; */
206222
}
207223

208224
#font-family:focus {
209225
outline: none;
210226
border-color: var(--subtle);
211-
}
227+
}

0 commit comments

Comments
 (0)