@myst-theme/styles 0.13.0 → 0.13.2

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.
@@ -1,8 +1,8 @@
1
1
 
2
- > @myst-theme/styles@0.13.0 build
2
+ > @myst-theme/styles@0.13.2 build
3
3
  > tailwindcss -m -i ./app.css -o ../docs/public/tailwind.css
4
4
 
5
5
 
6
6
  Rebuilding...
7
7
 
8
- Done in 3667ms.
8
+ Done in 3843ms.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @myst-theme/styles
2
2
 
3
+ ## 0.13.2
4
+
5
+ ## 0.13.1
6
+
7
+ ### Patch Changes
8
+
9
+ - 348bf3b: Add styling for code-blocks
10
+
3
11
  ## 0.13.0
4
12
 
5
13
  ## 0.12.0
package/app.css CHANGED
@@ -5,6 +5,8 @@
5
5
  @import './figures.css';
6
6
  @import './text-spacers.css';
7
7
  @import './code-highlight.css';
8
+ @import './code-highlight-dark.css';
9
+ @import './code-highlight-light.css';
8
10
  @import './math.css';
9
11
  @import './cross-references.css';
10
12
  @import './block-styles.css';
@@ -0,0 +1,146 @@
1
+ /*
2
+ BSD 3-Clause License
3
+
4
+ Copyright (c) 2006, Ivan Sagalaev.
5
+ All rights reserved.
6
+
7
+ Redistribution and use in source and binary forms, with or without
8
+ modification, are permitted provided that the following conditions are met:
9
+
10
+ * Redistributions of source code must retain the above copyright notice, this
11
+ list of conditions and the following disclaimer.
12
+
13
+ * Redistributions in binary form must reproduce the above copyright notice,
14
+ this list of conditions and the following disclaimer in the documentation
15
+ and/or other materials provided with the distribution.
16
+
17
+ * Neither the name of the copyright holder nor the names of its
18
+ contributors may be used to endorse or promote products derived from
19
+ this software without specific prior written permission.
20
+
21
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
25
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
+
32
+
33
+ Visual Studio 2015 dark style
34
+ Author: Nicolas LLOBERA <nllobera@gmail.com>
35
+ */
36
+
37
+ .dark .hljs {
38
+ background: #1e1e1e !important;
39
+ color: #dcdcdc;
40
+ }
41
+
42
+ .dark .hljs-keyword,
43
+ .dark .hljs-literal,
44
+ .dark .hljs-symbol,
45
+ .dark .hljs-name {
46
+ color: #569cd6;
47
+ }
48
+ .dark .hljs-link {
49
+ color: #569cd6;
50
+ text-decoration: underline;
51
+ }
52
+
53
+ .dark .hljs-built_in,
54
+ .dark .hljs-type {
55
+ color: #4ec9b0;
56
+ }
57
+
58
+ .dark .hljs-number,
59
+ .dark .hljs-class {
60
+ color: #b8d7a3;
61
+ }
62
+
63
+ .dark .hljs-string,
64
+ .dark .hljs-meta .hljs-string {
65
+ color: #d69d85;
66
+ }
67
+
68
+ .dark .hljs-regexp,
69
+ .dark .hljs-template-tag {
70
+ color: #9a5334;
71
+ }
72
+
73
+ .dark .hljs-subst,
74
+ .dark .hljs-function,
75
+ .dark .hljs-title,
76
+ .dark .hljs-params,
77
+ .dark .hljs-formula {
78
+ color: #dcdcdc;
79
+ }
80
+
81
+ .dark .hljs-comment,
82
+ .dark .hljs-quote {
83
+ color: #57a64a;
84
+ font-style: italic;
85
+ }
86
+
87
+ .dark .hljs-doctag {
88
+ color: #608b4e;
89
+ }
90
+
91
+ .dark .hljs-meta,
92
+ .dark .hljs-meta .hljs-keyword,
93
+ .dark .hljs-tag {
94
+ color: #9b9b9b;
95
+ }
96
+
97
+ .dark .hljs-variable,
98
+ .dark .hljs-template-variable {
99
+ color: #bd63c5;
100
+ }
101
+
102
+ .dark .hljs-attr,
103
+ .dark .hljs-attribute {
104
+ color: #9cdcfe;
105
+ }
106
+
107
+ .dark .hljs-section {
108
+ color: gold;
109
+ }
110
+
111
+ .dark .hljs-emphasis {
112
+ font-style: italic;
113
+ }
114
+
115
+ .dark .hljs-strong {
116
+ font-weight: bold;
117
+ }
118
+
119
+ /*.hljs-code {
120
+ font-family:'Monospace';
121
+ }*/
122
+
123
+ .dark .hljs-bullet,
124
+ .dark .hljs-selector-tag,
125
+ .dark .hljs-selector-id,
126
+ .dark .hljs-selector-class,
127
+ .dark .hljs-selector-attr,
128
+ .dark .hljs-selector-pseudo {
129
+ color: #d7ba7d;
130
+ }
131
+
132
+ .dark .hljs-addition {
133
+ background-color: #144212;
134
+ display: inline-block;
135
+ width: 100%;
136
+ }
137
+
138
+ .dark .hljs-deletion {
139
+ background-color: #600;
140
+ display: inline-block;
141
+ width: 100%;
142
+ }
143
+
144
+ .dark .hljs-code {
145
+ color: unset;
146
+ }
@@ -0,0 +1,124 @@
1
+ /*
2
+ BSD 3-Clause License
3
+
4
+ Copyright (c) 2006, Ivan Sagalaev.
5
+ All rights reserved.
6
+
7
+ Redistribution and use in source and binary forms, with or without
8
+ modification, are permitted provided that the following conditions are met:
9
+
10
+ * Redistributions of source code must retain the above copyright notice, this
11
+ list of conditions and the following disclaimer.
12
+
13
+ * Redistributions in binary form must reproduce the above copyright notice,
14
+ this list of conditions and the following disclaimer in the documentation
15
+ and/or other materials provided with the distribution.
16
+
17
+ * Neither the name of the copyright holder nor the names of its
18
+ contributors may be used to endorse or promote products derived from
19
+ this software without specific prior written permission.
20
+
21
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
25
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
+
32
+ XCode style (c) Angel Garcia <angelgarcia.mail@gmail.com>
33
+ */
34
+
35
+ /* Gray DOCTYPE selectors like WebKit */
36
+ .xml .hljs-meta {
37
+ color: #c0c0c0;
38
+ background: transparent;
39
+ }
40
+
41
+ .hljs-comment,
42
+ .hljs-quote {
43
+ color: #007400;
44
+ }
45
+
46
+ .hljs-tag,
47
+ .hljs-attribute,
48
+ .hljs-keyword,
49
+ .hljs-selector-tag,
50
+ .hljs-literal,
51
+ .hljs-name {
52
+ color: #aa0d91;
53
+ }
54
+
55
+ .hljs-variable,
56
+ .hljs-template-variable {
57
+ color: #3f6e74;
58
+ }
59
+
60
+ .hljs-code,
61
+ .hljs-string,
62
+ .hljs-meta .hljs-string {
63
+ color: #c41a16;
64
+ }
65
+
66
+ .hljs-regexp,
67
+ .hljs-link {
68
+ color: #0e0eff;
69
+ }
70
+
71
+ .hljs-title,
72
+ .hljs-symbol,
73
+ .hljs-bullet,
74
+ .hljs-number {
75
+ color: #1c00cf;
76
+ }
77
+
78
+ .hljs-section,
79
+ .hljs-meta {
80
+ color: #643820;
81
+ }
82
+
83
+ .hljs-title.class_,
84
+ .hljs-class .hljs-title,
85
+ .hljs-type,
86
+ .hljs-built_in,
87
+ .hljs-params {
88
+ color: #5c2699;
89
+ }
90
+
91
+ .hljs-attr {
92
+ color: #836c28;
93
+ }
94
+
95
+ .hljs-subst {
96
+ color: #000;
97
+ }
98
+
99
+ .hljs-formula {
100
+ background-color: #eee;
101
+ font-style: italic;
102
+ }
103
+
104
+ .hljs-addition {
105
+ background-color: #baeeba;
106
+ }
107
+
108
+ .hljs-deletion {
109
+ background-color: #ffc8bd;
110
+ }
111
+
112
+ .hljs-selector-id,
113
+ .hljs-selector-class {
114
+ color: #9b703f;
115
+ }
116
+
117
+ .hljs-doctag,
118
+ .hljs-strong {
119
+ font-weight: bold;
120
+ }
121
+
122
+ .hljs-emphasis {
123
+ font-style: italic;
124
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myst-theme/styles",
3
- "version": "0.13.0",
3
+ "version": "0.13.2",
4
4
  "main": "index.js",
5
5
  "style": "app.css",
6
6
  "scripts": {