@riebeckite/theme-gruvbox 0.0.18 → 0.0.19

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/styles/theme.css +24 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/theme-gruvbox",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
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.19"
20
20
  },
21
21
  "publishConfig": {
22
22
  "access": "public"
package/styles/theme.css CHANGED
@@ -225,28 +225,28 @@
225
225
  }
226
226
 
227
227
  /* ---- Long-form rhythm ---- */
228
- :is(:root, .rb-theme-root)[data-theme-name="gruvbox"] .rb-article-body {
228
+ :is(:root, .rb-theme-root)[data-theme-name="gruvbox"] .rb-article-content {
229
229
  font-family: var(--rb-font-body);
230
230
  font-size: 1.0625rem;
231
231
  line-height: 1.75;
232
232
  }
233
233
 
234
- :is(:root, .rb-theme-root)[data-theme-name="gruvbox"] .rb-article-body p {
234
+ :is(:root, .rb-theme-root)[data-theme-name="gruvbox"] .rb-article-content p {
235
235
  margin: 1em 0;
236
236
  }
237
237
 
238
238
  :is(:root, .rb-theme-root)[data-theme-name="gruvbox"]
239
- .rb-article-body
239
+ .rb-article-content
240
240
  :is(ul, ol) {
241
241
  margin: 1.1em 0;
242
242
  }
243
243
 
244
- :is(:root, .rb-theme-root)[data-theme-name="gruvbox"] .rb-article-body li {
244
+ :is(:root, .rb-theme-root)[data-theme-name="gruvbox"] .rb-article-content li {
245
245
  margin: 0.3em 0;
246
246
  }
247
247
 
248
248
  :is(:root, .rb-theme-root)[data-theme-name="gruvbox"]
249
- .rb-article-body
249
+ .rb-article-content
250
250
  li::marker {
251
251
  color: var(--rb-color-muted);
252
252
  }
@@ -268,14 +268,14 @@
268
268
  }
269
269
 
270
270
  :is(:root, .rb-theme-root)[data-theme-name="gruvbox"]
271
- .rb-article-body
271
+ .rb-article-content
272
272
  :is(h2, h3, h4, h5, h6) {
273
273
  color: var(--rb-color-ink);
274
274
  font-family: var(--rb-font-heading);
275
275
  line-height: 1.3;
276
276
  }
277
277
 
278
- :is(:root, .rb-theme-root)[data-theme-name="gruvbox"] .rb-article-body h2 {
278
+ :is(:root, .rb-theme-root)[data-theme-name="gruvbox"] .rb-article-content h2 {
279
279
  margin: 2.2em 0 0.7em;
280
280
  padding-bottom: 0.3em;
281
281
  border-bottom: var(--rb-rule-width) solid var(--rb-color-border);
@@ -283,20 +283,20 @@
283
283
  font-weight: 700;
284
284
  }
285
285
 
286
- :is(:root, .rb-theme-root)[data-theme-name="gruvbox"] .rb-article-body h3 {
286
+ :is(:root, .rb-theme-root)[data-theme-name="gruvbox"] .rb-article-content h3 {
287
287
  margin: 1.8em 0 0.55em;
288
288
  font-size: 1.2rem;
289
289
  font-weight: 600;
290
290
  }
291
291
 
292
- :is(:root, .rb-theme-root)[data-theme-name="gruvbox"] .rb-article-body h4 {
292
+ :is(:root, .rb-theme-root)[data-theme-name="gruvbox"] .rb-article-content h4 {
293
293
  margin: 1.5em 0 0.45em;
294
294
  font-size: 1.02rem;
295
295
  font-weight: 600;
296
296
  }
297
297
 
298
298
  :is(:root, .rb-theme-root)[data-theme-name="gruvbox"]
299
- .rb-article-body
299
+ .rb-article-content
300
300
  :is(h5, h6) {
301
301
  margin: 1.3em 0 0.4em;
302
302
  color: var(--rb-color-muted);
@@ -307,7 +307,7 @@
307
307
 
308
308
  /* ---- Links: Gruvbox blue, underline on hover ---- */
309
309
  :is(:root, .rb-theme-root)[data-theme-name="gruvbox"]
310
- :is(.rb-article-body, .rb-article-footer, .rb-article-meta, .rb-sidebar)
310
+ :is(.rb-article-content, .rb-article-footer, .rb-article-meta, .rb-sidebar)
311
311
  a {
312
312
  color: var(--rb-color-accent);
313
313
  text-decoration: none;
@@ -316,14 +316,14 @@
316
316
  }
317
317
 
318
318
  :is(:root, .rb-theme-root)[data-theme-name="gruvbox"]
319
- :is(.rb-article-body, .rb-article-footer, .rb-article-meta, .rb-sidebar)
319
+ :is(.rb-article-content, .rb-article-footer, .rb-article-meta, .rb-sidebar)
320
320
  a:hover {
321
321
  text-decoration: underline;
322
322
  }
323
323
 
324
324
  /* ---- Blockquote: flat, gray left rule (Gruvbox markdownBlockquote) ---- */
325
325
  :is(:root, .rb-theme-root)[data-theme-name="gruvbox"]
326
- .rb-article-body
326
+ .rb-article-content
327
327
  blockquote {
328
328
  margin: 1.5em 0 0;
329
329
  border-left: 3px solid var(--rb-color-muted);
@@ -334,18 +334,18 @@
334
334
  }
335
335
 
336
336
  :is(:root, .rb-theme-root)[data-theme-name="gruvbox"]
337
- .rb-article-body
337
+ .rb-article-content
338
338
  blockquote
339
339
  p:first-of-type::before,
340
340
  :is(:root, .rb-theme-root)[data-theme-name="gruvbox"]
341
- .rb-article-body
341
+ .rb-article-content
342
342
  blockquote
343
343
  p:last-of-type::after {
344
344
  content: none;
345
345
  }
346
346
 
347
347
  /* ---- Rules ---- */
348
- :is(:root, .rb-theme-root)[data-theme-name="gruvbox"] .rb-article-body hr {
348
+ :is(:root, .rb-theme-root)[data-theme-name="gruvbox"] .rb-article-content hr {
349
349
  margin: 2.6em 0;
350
350
  border: 0;
351
351
  border-top: var(--rb-rule-width) solid var(--rb-color-border);
@@ -353,7 +353,7 @@
353
353
 
354
354
  /* ---- Inline code: chip on the Gruvbox code surface ---- */
355
355
  :is(:root, .rb-theme-root)[data-theme-name="gruvbox"]
356
- .rb-article-body
356
+ .rb-article-content
357
357
  :not(pre)
358
358
  > code {
359
359
  border: var(--rb-rule-width) solid var(--rb-color-border);
@@ -367,7 +367,7 @@
367
367
 
368
368
  /* ---- Bare fenced code (plugin code keeps its own frame/padding) ---- */
369
369
  :is(:root, .rb-theme-root)[data-theme-name="gruvbox"]
370
- .rb-article-body
370
+ .rb-article-content
371
371
  pre:not(:where(.rr-code *)) {
372
372
  margin: 1.5em 0;
373
373
  border: var(--rb-rule-width) solid var(--rb-color-border);
@@ -382,7 +382,7 @@
382
382
  }
383
383
 
384
384
  :is(:root, .rb-theme-root)[data-theme-name="gruvbox"]
385
- .rb-article-body
385
+ .rb-article-content
386
386
  pre:not(:where(.rr-code *))
387
387
  code {
388
388
  border: 0;
@@ -394,7 +394,7 @@
394
394
 
395
395
  /* ---- Tables: hairlines + a tinted header row ---- */
396
396
  :is(:root, .rb-theme-root)[data-theme-name="gruvbox"]
397
- .rb-article-body
397
+ .rb-article-content
398
398
  table:not(:where(.rr-diff-history *)) {
399
399
  margin: 1.6em 0;
400
400
  border: var(--rb-rule-width) solid var(--rb-color-border);
@@ -403,7 +403,7 @@
403
403
  }
404
404
 
405
405
  :is(:root, .rb-theme-root)[data-theme-name="gruvbox"]
406
- .rb-article-body
406
+ .rb-article-content
407
407
  :is(th, td) {
408
408
  border: var(--rb-rule-width) solid var(--rb-color-border);
409
409
  padding: 0.5em 0.75em;
@@ -411,7 +411,7 @@
411
411
  }
412
412
 
413
413
  :is(:root, .rb-theme-root)[data-theme-name="gruvbox"]
414
- .rb-article-body
414
+ .rb-article-content
415
415
  thead
416
416
  th {
417
417
  background: color-mix(
@@ -426,8 +426,8 @@
426
426
  /* ---- Media ---- */
427
427
  :is(:root, .rb-theme-root)[data-theme-name="gruvbox"]
428
428
  :is(
429
- .rb-article-body img,
430
- .rb-article-body video,
429
+ .rb-article-content img,
430
+ .rb-article-content video,
431
431
  .rr-media,
432
432
  .rr-attachment,
433
433
  .rr-lightbox,