pantsdown 1.9.0 → 1.10.1

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 +1 -1
  2. package/src/css/styles.css +54 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pantsdown",
3
- "version": "1.9.0",
3
+ "version": "1.10.1",
4
4
  "author": "wallpants",
5
5
  "description": "Markdown to 'GitHub HTML' parser",
6
6
  "license": "MIT",
@@ -19,10 +19,11 @@
19
19
  --color-neutral-muted: rgba(110, 118, 129, 0.4);
20
20
  --color-accent-fg: #2f81f7;
21
21
  --color-accent-emphasis: #1f6feb;
22
- --color-fg-attention: #d29922;
22
+ --color-attention-fg: #d29922;
23
23
  --color-attention-subtle: rgba(187, 128, 9, 0.15);
24
24
  --color-attention-muted: rgba(187, 128, 9, 0.4);
25
25
  --color-danger-fg: #f85149;
26
+ --color-success-fg: #3fb950;
26
27
  --color-done-fg: #a371f7;
27
28
  --color-icon-directory: #7d8590;
28
29
  --color-icon-file: #7d8590;
@@ -31,6 +32,31 @@
31
32
  --color-btn-hover-bg: #30363d;
32
33
  }
33
34
 
35
+ .pantsdown.dark.high-contrast {
36
+ color-scheme: dark-high-contrast;
37
+ --color-fg-default: #f0f3f6;
38
+ --color-fg-muted: #f0f3f6;
39
+ --color-fg-subtle: #9ea7b3;
40
+ --color-canvas-default: #0a0c10;
41
+ --color-canvas-subtle: #272b33;
42
+ --color-border-default: #7a828e;
43
+ --color-border-muted: #7a828e;
44
+ --color-neutral-muted: rgba(158, 167, 179, 0.4);
45
+ --color-accent-fg: #71b7ff;
46
+ --color-accent-emphasis: #409eff;
47
+ --color-attention-fg: #f0b72f;
48
+ --color-attention-subtle: rgba(224, 155, 19, 0.15);
49
+ --color-attention-muted: #e09b13;
50
+ --color-danger-fg: #ff6a69;
51
+ --color-success-fg: #26cd4d;
52
+ --color-done-fg: #b780ff;
53
+ --color-icon-directory: #f0f3f6;
54
+ --color-icon-file: #7d8590;
55
+ --color-btn-bg: #7d8590;
56
+ --color-btn-border: #7a828e;
57
+ --color-btn-hover-bg: #525964;
58
+ }
59
+
34
60
  .pantsdown.light {
35
61
  color-scheme: light;
36
62
  --color-fg-default: #1f2328;
@@ -43,10 +69,11 @@
43
69
  --color-neutral-muted: rgba(175, 184, 193, 0.2);
44
70
  --color-accent-fg: #0969da;
45
71
  --color-accent-emphasis: #0969da;
46
- --color-fg-attention: #9a6700;
72
+ --color-attention-fg: #9a6700;
47
73
  --color-attention-subtle: #fff8c5;
48
74
  --color-attention-muted: rgba(212, 167, 44, 0.4);
49
75
  --color-danger-fg: #d1242f;
76
+ --color-success-fg: #1a7f37;
50
77
  --color-done-fg: #8250df;
51
78
  --color-icon-directory: #54aeff;
52
79
  --color-icon-file: #656d76;
@@ -55,6 +82,31 @@
55
82
  --color-btn-hover-bg: #f3f4f6;
56
83
  }
57
84
 
85
+ .pantsdown.light.high-contrast {
86
+ color-scheme: light-high-contrast;
87
+ --color-fg-default: #0e1116;
88
+ --color-fg-muted: #0e1116;
89
+ --color-fg-subtle: #66707b;
90
+ --color-canvas-default: #ffffff;
91
+ --color-canvas-subtle: #e7ecf0;
92
+ --color-border-default: #20252c;
93
+ --color-border-muted: #88929d;
94
+ --color-neutral-muted: rgba(172, 182, 192, 0.2);
95
+ --color-accent-fg: #0349b4;
96
+ --color-accent-emphasis: #0349b4;
97
+ --color-attention-fg: #744500;
98
+ --color-attention-subtle: #fcf7be;
99
+ --color-attention-muted: #b58407;
100
+ --color-danger-fg: #d1242f;
101
+ --color-success-fg: #055d20;
102
+ --color-done-fg: #622cbc;
103
+ --color-icon-directory: #368cf9;
104
+ --color-icon-file: #368cf9;
105
+ --color-btn-bg: #e7ecf0;
106
+ --color-btn-border: rgba(1, 4, 9, 0.8);
107
+ --color-btn-hover-bg: #ced5dc;
108
+ }
109
+
58
110
  .pantsdown {
59
111
  -ms-text-size-adjust: 100%;
60
112
  -webkit-text-size-adjust: 100%;