@riebeckite/theme-tokyonight 0.0.15 → 0.0.17

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 +9 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/theme-tokyonight",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
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.15"
19
+ "@riebeckite/core": "0.0.17"
20
20
  },
21
21
  "publishConfig": {
22
22
  "access": "public"
package/styles/theme.css CHANGED
@@ -219,7 +219,6 @@
219
219
  .rb-article-body
220
220
  :is(ul, ol) {
221
221
  margin: 1em 0;
222
- padding-left: 1.4em;
223
222
  }
224
223
 
225
224
  :is(:root, .rb-theme-root)[data-theme-name="tokyonight"] .rb-article-body li {
@@ -338,7 +337,7 @@
338
337
  :is(:root, .rb-theme-root)[data-theme-name="tokyonight"]
339
338
  .rb-article-body
340
339
  blockquote {
341
- margin: 1.5em 0;
340
+ margin: 1.5em 0 0;
342
341
  border-left: 3px solid var(--rb-color-accent);
343
342
  background: color-mix(in srgb, var(--rb-color-accent) 6%, transparent);
344
343
  padding: 0.75em 1em;
@@ -407,7 +406,7 @@
407
406
  /* ---- Tables ---- */
408
407
  :is(:root, .rb-theme-root)[data-theme-name="tokyonight"]
409
408
  .rb-article-body
410
- table {
409
+ table:not(:where(.rr-diff-history *)) {
411
410
  margin: 1.5em 0;
412
411
  border: 1px solid var(--rb-color-border);
413
412
  border-collapse: collapse;
@@ -463,7 +462,7 @@
463
462
  /* ---- Plugin roots ---- */
464
463
  :is(:root, .rb-theme-root)[data-theme-name="tokyonight"]
465
464
  :is(.rr-table-of-contents, .rr-backlinks) {
466
- margin: 1.5rem 0;
465
+ margin: 1.5rem 0 0;
467
466
  border: 1px solid var(--rb-color-border);
468
467
  border-radius: 0;
469
468
  background: color-mix(in srgb, var(--rb-color-surface) 50%, transparent);
@@ -497,6 +496,11 @@
497
496
  border: 1px solid var(--rb-color-border);
498
497
  border-left: 3px solid var(--rb-color-accent);
499
498
  border-radius: 0;
499
+ }
500
+
501
+ :is(:root, .rb-theme-root)[data-theme-name="tokyonight"]
502
+ .rr-code:not([data-terminal="true"]),
503
+ :is(:root, .rb-theme-root)[data-theme-name="tokyonight"] .rr-code-tabs {
500
504
  background: var(--rb-color-code-background);
501
505
  }
502
506
 
@@ -507,7 +511,7 @@
507
511
  border: 0;
508
512
  border-radius: 0;
509
513
  background: transparent;
510
- color: var(--rb-color-ink);
514
+ color: var(--rr-code-ink, var(--rb-color-ink));
511
515
  font-family: var(--rb-font-mono);
512
516
  }
513
517