sugar-high
Advanced tools
Comparing version 0.3.1 to 0.4.0
{ | ||
"name": "sugar-high", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "exports": "./lib/index.mjs", |
@@ -38,23 +38,11 @@ # Sugar High | ||
*/ | ||
.sh__class { | ||
color: #2d5e9d; | ||
:root { | ||
--sh-class: #2d5e9d; | ||
--sh-identifier: #354150; | ||
--sh-sign: #8996a3; | ||
--sh-string: #00a99a; | ||
--sh-keyword: #f47067; | ||
--sh-comment: #a19595; | ||
--sh-jsxliterals: #6266d1; | ||
} | ||
.sh__identifier { | ||
color: #2d333b; | ||
} | ||
.sh__sign { | ||
color: #8996a3; | ||
} | ||
.sh__string { | ||
color: #00a99a; | ||
} | ||
.sh__keyword { | ||
color: #f47067; | ||
} | ||
.sh__comment { | ||
color: #a19595; | ||
} | ||
.sh__jsxliterals { | ||
color: #6266d1; | ||
} | ||
``` | ||
@@ -69,4 +57,9 @@ | ||
```css | ||
pre code { | ||
counter-reset: sh-line-number; | ||
} | ||
.sh__line::before { | ||
content: attr(data-line-number); | ||
counter-increment: sh-line-number 1; | ||
content: counter(sh-line-number); | ||
margin-right: 24px; | ||
@@ -73,0 +66,0 @@ text-align: right; |
Sorry, the diff of this file is not supported yet
11048
388
73