-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 1.0.0 (2022-09-04) ### Features * add `Compression` ([0147449](0147449)) ### Performance Improvements * drop Node `<18.8.0` support ([6a979d2](6a979d2)) * remove `x-gzip` from supported options ([0605dab](0605dab))
- Loading branch information
1 parent
64de526
commit 41a174f
Showing
15 changed files
with
7,483 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Changelog | ||
|
||
## 1.0.0 (2022-09-04) | ||
|
||
### Features | ||
|
||
- add `Compression` ([0147449](https://github.com/binden-js/compression/commit/0147449d1ea8f5ad3f6cf54b953c78efa8c40b65)) | ||
|
||
### Performance Improvements | ||
|
||
- drop Node `<18.8.0` support ([6a979d2](https://github.com/binden-js/compression/commit/6a979d27309b61a931f475ed84fe04ccd33b9ca9)) | ||
- remove `x-gzip` from supported options ([0605dab](https://github.com/binden-js/compression/commit/0605dab10a449124617b7cc80838c1c32fe99418)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
:root { | ||
--light-hl-0: #000000; | ||
--dark-hl-0: #d4d4d4; | ||
--light-hl-1: #af00db; | ||
--dark-hl-1: #c586c0; | ||
--light-hl-2: #001080; | ||
--dark-hl-2: #9cdcfe; | ||
--light-hl-3: #a31515; | ||
--dark-hl-3: #ce9178; | ||
--light-hl-4: #795e26; | ||
--dark-hl-4: #dcdcaa; | ||
--light-code-background: #ffffff; | ||
--dark-code-background: #1e1e1e; | ||
} | ||
|
||
@media (prefers-color-scheme: light) { | ||
:root { | ||
--hl-0: var(--light-hl-0); | ||
--hl-1: var(--light-hl-1); | ||
--hl-2: var(--light-hl-2); | ||
--hl-3: var(--light-hl-3); | ||
--hl-4: var(--light-hl-4); | ||
--code-background: var(--light-code-background); | ||
} | ||
} | ||
|
||
@media (prefers-color-scheme: dark) { | ||
:root { | ||
--hl-0: var(--dark-hl-0); | ||
--hl-1: var(--dark-hl-1); | ||
--hl-2: var(--dark-hl-2); | ||
--hl-3: var(--dark-hl-3); | ||
--hl-4: var(--dark-hl-4); | ||
--code-background: var(--dark-code-background); | ||
} | ||
} | ||
|
||
:root[data-theme="light"] { | ||
--hl-0: var(--light-hl-0); | ||
--hl-1: var(--light-hl-1); | ||
--hl-2: var(--light-hl-2); | ||
--hl-3: var(--light-hl-3); | ||
--hl-4: var(--light-hl-4); | ||
--code-background: var(--light-code-background); | ||
} | ||
|
||
:root[data-theme="dark"] { | ||
--hl-0: var(--dark-hl-0); | ||
--hl-1: var(--dark-hl-1); | ||
--hl-2: var(--dark-hl-2); | ||
--hl-3: var(--dark-hl-3); | ||
--hl-4: var(--dark-hl-4); | ||
--code-background: var(--dark-code-background); | ||
} | ||
|
||
.hl-0 { | ||
color: var(--hl-0); | ||
} | ||
.hl-1 { | ||
color: var(--hl-1); | ||
} | ||
.hl-2 { | ||
color: var(--hl-2); | ||
} | ||
.hl-3 { | ||
color: var(--hl-3); | ||
} | ||
.hl-4 { | ||
color: var(--hl-4); | ||
} | ||
pre, | ||
code { | ||
background: var(--code-background); | ||
} |
Oops, something went wrong.