feat: add hdr filtering (#86)

* feat: filter hdr content

* feat: check filter hdr

* feat: improve hdr parse and filter and tests
This commit is contained in:
Ludvig Lundgren 2022-01-16 13:50:21 +01:00 committed by GitHub
parent 67c6bd7b53
commit 284a2f9590
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 284 additions and 22 deletions

View file

@ -4,46 +4,58 @@
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}
@keyframes enter {
0% {
transform: scale(.9);
opacity: 0
transform: scale(0.9);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1
transform: scale(1);
opacity: 1;
}
}
.animate-enter {
animation: enter .2s ease-out
animation: enter 0.2s ease-out;
}
@keyframes leave {
0% {
transform: scale(1);
opacity: 1
transform: scale(1);
opacity: 1;
}
to {
transform: scale(.9);
opacity: 0
transform: scale(0.9);
opacity: 0;
}
}
.animate-leave {
animation: leave .15s ease-in forwards
}
animation: leave 0.15s ease-in forwards;
}
@media (prefers-color-scheme: dark) {
.rmsc.dark {
--rmsc-main: #4285f4;
--rmsc-hover: #0e0c0a;
--rmsc-selected: #1d1915;
--rmsc-border: #35353a;
--rmsc-gray: #555555;
--rmsc-bg: #27272a;
color: #fff;
}
}