@hackersheet/react-document-content-styles 0.1.0-alpha.1 → 0.1.0-alpha.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,3 +1,4 @@
1
+ @charset "UTF-8";
1
2
  .main :first-child {
2
3
  margin-top: 0;
3
4
  }
@@ -201,6 +202,9 @@
201
202
  width: 100%;
202
203
  padding: 0 16px;
203
204
  }
205
+ .main :global(.shiki) :global(span.line.highlighted) {
206
+ background-color: hsl(var(--hsdc-shiki-highlighted-word)/0.1) !important;
207
+ }
204
208
  .main :global(.shiki) :global(span.line.diff.add) {
205
209
  background-color: hsl(var(--hsdc-shiki-diff-add)/0.1) !important;
206
210
  }
@@ -224,6 +228,20 @@
224
228
  padding: 2px 0;
225
229
  margin: -2px 0;
226
230
  }
231
+ .main :global(.shiki) :global(.tab),
232
+ .main :global(.shiki) :global(.space) {
233
+ position: relative;
234
+ }
235
+ .main :global(.shiki) :global(.tab::before) {
236
+ content: "⇥";
237
+ position: absolute;
238
+ opacity: 0.3;
239
+ }
240
+ .main :global(.shiki) :global(.space::before) {
241
+ content: "·";
242
+ position: absolute;
243
+ opacity: 0.3;
244
+ }
227
245
  .main :global(.link-card) {
228
246
  display: flex;
229
247
  flex-direction: row;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hackersheet/react-document-content-styles",
3
- "version": "0.1.0-alpha.1",
3
+ "version": "0.1.0-alpha.2",
4
4
  "description": "Hacker Sheet document content styles.",
5
5
  "keywords": [],
6
6
  "repository": {