@riebeckite/theme-minimal 0.0.18 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -134,7 +134,7 @@ is distributed here under the license stated in the package `LICENSE` file.
134
134
 
135
135
  ## See also
136
136
 
137
- - [Theme authoring contract](../../../docs/docs/reference/theme-api.en.md)
137
+ - [Theme authoring contract](../../../docs/docs/reference/theme-api.md)
138
138
  - [`@riebeckite/theme-default`](../default/README.md)
139
139
  - [`@riebeckite/theme-sakura`](../sakura/README.md)
140
140
  - [`@riebeckite/theme-tokyonight`](../tokyonight/README.md)
package/README_ja.md CHANGED
@@ -88,7 +88,7 @@ Riebeckite theme based on the design principles of Minimal for Obsidian by Steph
88
88
 
89
89
  ## 関連資料
90
90
 
91
- - [テーマシステム](../../../docs/docs/reference/theme-api.md)
91
+ - [テーマシステム](../../../docs/docs/reference/theme-api.ja.md)
92
92
  - [`@riebeckite/theme-default`](../default/README_ja.md)
93
93
  - [`@riebeckite/theme-sakura`](../sakura/README_ja.md)
94
94
  - [`@riebeckite/theme-tokyonight`](../tokyonight/README_ja.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/theme-minimal",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/src/index.js",
@@ -16,7 +16,7 @@
16
16
  "./styles/theme.css": "./styles/theme.css"
17
17
  },
18
18
  "dependencies": {
19
- "@riebeckite/core": "0.0.18"
19
+ "@riebeckite/core": "0.0.20"
20
20
  },
21
21
  "publishConfig": {
22
22
  "access": "public"
package/styles/theme.css CHANGED
@@ -124,38 +124,38 @@
124
124
  }
125
125
 
126
126
  /* ---- Body rhythm: open leading, generous paragraphs. ---- */
127
- :is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-body {
127
+ :is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-content {
128
128
  font-family: var(--rb-font-body);
129
129
  font-size: 1.0625rem;
130
130
  line-height: 1.85;
131
131
  }
132
132
 
133
- :is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-body p {
133
+ :is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-content p {
134
134
  margin: 1.2em 0;
135
135
  text-wrap: pretty;
136
136
  }
137
137
 
138
138
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
139
- .rb-article-body
139
+ .rb-article-content
140
140
  :is(ul, ol) {
141
141
  margin: 1.35em 0;
142
142
  padding-left: 1.5em;
143
143
  }
144
144
 
145
145
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
146
- .rb-article-body
146
+ .rb-article-content
147
147
  :is(ul, ol)
148
148
  :is(ul, ol) {
149
149
  margin: 0.5em 0;
150
150
  }
151
151
 
152
- :is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-body li {
152
+ :is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-content li {
153
153
  margin: 0.5em 0;
154
154
  padding-left: 0.15em;
155
155
  }
156
156
 
157
157
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
158
- .rb-article-body
158
+ .rb-article-content
159
159
  li::marker {
160
160
  color: var(--rb-color-muted);
161
161
  }
@@ -174,7 +174,7 @@
174
174
  text-wrap: balance;
175
175
  }
176
176
 
177
- :is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-body h2 {
177
+ :is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-content h2 {
178
178
  margin: 3.25rem 0 1rem;
179
179
  padding-top: 1.75rem;
180
180
  border-top: 1px solid var(--rb-color-border);
@@ -186,7 +186,7 @@
186
186
  text-wrap: balance;
187
187
  }
188
188
 
189
- :is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-body h3 {
189
+ :is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-content h3 {
190
190
  margin: 2.25rem 0 0.75rem;
191
191
  font-family: var(--rb-font-heading);
192
192
  font-size: 1.125rem;
@@ -195,7 +195,7 @@
195
195
  letter-spacing: -0.005em;
196
196
  }
197
197
 
198
- :is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-body h4 {
198
+ :is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-content h4 {
199
199
  margin: 1.9rem 0 0.6rem;
200
200
  font-family: var(--rb-font-heading);
201
201
  font-size: 1rem;
@@ -205,7 +205,7 @@
205
205
  }
206
206
 
207
207
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
208
- .rb-article-body
208
+ .rb-article-content
209
209
  :is(h5, h6) {
210
210
  margin: 1.6rem 0 0.5rem;
211
211
  font-family: var(--rb-font-heading);
@@ -218,7 +218,7 @@
218
218
 
219
219
  /* ---- Links: ink, with a quiet underline that firms up on hover. ---- */
220
220
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
221
- :is(.rb-article-body, .rb-article-footer, .rb-article-meta)
221
+ :is(.rb-article-content, .rb-article-footer, .rb-article-meta)
222
222
  a {
223
223
  color: var(--rb-color-ink);
224
224
  text-decoration: underline;
@@ -232,14 +232,14 @@
232
232
  }
233
233
 
234
234
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
235
- :is(.rb-article-body, .rb-article-footer, .rb-article-meta)
235
+ :is(.rb-article-content, .rb-article-footer, .rb-article-meta)
236
236
  a:hover {
237
237
  text-decoration-color: var(--rb-color-ink);
238
238
  }
239
239
 
240
240
  /* ---- Blockquote: a single hairline, muted ink, no fill. ---- */
241
241
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
242
- .rb-article-body
242
+ .rb-article-content
243
243
  blockquote {
244
244
  margin: 2rem 0 0;
245
245
  padding: 0.1rem 0 0.1rem 1.25rem;
@@ -251,18 +251,18 @@
251
251
  }
252
252
 
253
253
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
254
- .rb-article-body
254
+ .rb-article-content
255
255
  blockquote
256
256
  p:first-of-type::before,
257
257
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
258
- .rb-article-body
258
+ .rb-article-content
259
259
  blockquote
260
260
  p:last-of-type::after {
261
261
  content: none;
262
262
  }
263
263
 
264
264
  /* ---- Rules: a low-contrast hairline. ---- */
265
- :is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-body hr {
265
+ :is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-content hr {
266
266
  width: 100%;
267
267
  height: 1px;
268
268
  margin: 3.5rem 0;
@@ -272,7 +272,7 @@
272
272
 
273
273
  /* ---- Inline code: a monochrome chip. ---- */
274
274
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
275
- .rb-article-body
275
+ .rb-article-content
276
276
  :not(pre)
277
277
  > code {
278
278
  padding: 0.1em 0.35em;
@@ -286,7 +286,7 @@
286
286
 
287
287
  /* ---- Bare code blocks: flat, hairline border, bare tint. ---- */
288
288
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
289
- .rb-article-body
289
+ .rb-article-content
290
290
  pre:not(:where(.rr-code *)) {
291
291
  margin: 2rem 0 0;
292
292
  padding: 1rem 1.1rem;
@@ -301,13 +301,13 @@
301
301
  }
302
302
 
303
303
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
304
- .rb-article-body
304
+ .rb-article-content
305
305
  pre:not(:where(.rr-code *)):has(+ :is(h1, h2)) {
306
306
  margin-bottom: 2rem;
307
307
  }
308
308
 
309
309
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
310
- .rb-article-body
310
+ .rb-article-content
311
311
  pre:not(:where(.rr-code *))
312
312
  code {
313
313
  padding: 0;
@@ -319,7 +319,7 @@
319
319
 
320
320
  /* ---- Tables: hairlines and a quiet, weighted header. ---- */
321
321
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
322
- .rb-article-body
322
+ .rb-article-content
323
323
  table:not(:where(.rr-diff-history *)) {
324
324
  margin: 2rem 0;
325
325
  border: 0;
@@ -327,7 +327,7 @@
327
327
  }
328
328
 
329
329
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
330
- .rb-article-body
330
+ .rb-article-content
331
331
  :is(th, td) {
332
332
  padding: 0.55em 0.85em;
333
333
  border-bottom: 1px solid var(--rb-color-border);
@@ -336,7 +336,7 @@
336
336
  }
337
337
 
338
338
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
339
- .rb-article-body
339
+ .rb-article-content
340
340
  thead
341
341
  th {
342
342
  border-bottom: 1px solid var(--rb-color-border-strong);
@@ -346,7 +346,7 @@
346
346
  }
347
347
 
348
348
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
349
- .rb-article-body
349
+ .rb-article-content
350
350
  tbody
351
351
  tr:last-child
352
352
  :is(th, td) {
@@ -356,8 +356,8 @@
356
356
  /* ---- Media and embedded plugin frames: square corners. ---- */
357
357
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
358
358
  :is(
359
- .rb-article-body img,
360
- .rb-article-body video,
359
+ .rb-article-content img,
360
+ .rb-article-content video,
361
361
  .rr-media,
362
362
  .rr-attachment,
363
363
  .rr-excalidraw,
@@ -508,7 +508,7 @@
508
508
 
509
509
  :is(:root, .rb-theme-root)[data-theme-name="minimal"]
510
510
  .rr-search
511
- [role="dialog"] {
511
+ .rr-search-modal__panel {
512
512
  border-radius: 0;
513
513
  box-shadow: none;
514
514
  }