add: slightly better default themes
This commit is contained in:
parent
c9983b8dcb
commit
d44004e86b
5 changed files with 14 additions and 8 deletions
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
|
@ -9,3 +9,5 @@ When creating an issue, please follow the given templates as best you can. Befor
|
||||||
## Merge Requests
|
## Merge Requests
|
||||||
|
|
||||||
When creating a merge request, please ensure that your code actually compiles and runs without unexpected bugs.
|
When creating a merge request, please ensure that your code actually compiles and runs without unexpected bugs.
|
||||||
|
|
||||||
|
Merge requests can be submitted to me@trisua.com, where they will be reviewed and merged. Please include a link to your remote repository.
|
||||||
|
|
1
CODEOWNERS
Normal file
1
CODEOWNERS
Normal file
|
@ -0,0 +1 @@
|
||||||
|
* me@trisua.com
|
|
@ -3,9 +3,9 @@
|
||||||
--hue: 16;
|
--hue: 16;
|
||||||
--sat: 6%;
|
--sat: 6%;
|
||||||
--lit: 0%;
|
--lit: 0%;
|
||||||
--color-surface: hsl(var(--hue), var(--sat), calc(95% - var(--lit)));
|
--color-surface: hsl(var(--hue), var(--sat), calc(97% - var(--lit)));
|
||||||
--color-lowered: hsl(var(--hue), var(--sat), calc(93% - var(--lit)));
|
--color-lowered: hsl(var(--hue), var(--sat), calc(94% - var(--lit)));
|
||||||
--color-raised: hsl(var(--hue), var(--sat), calc(98% - var(--lit)));
|
--color-raised: hsl(var(--hue), var(--sat), calc(99% - var(--lit)));
|
||||||
--color-super-lowered: hsl(var(--hue), var(--sat), calc(85% - var(--lit)));
|
--color-super-lowered: hsl(var(--hue), var(--sat), calc(85% - var(--lit)));
|
||||||
--color-super-raised: hsl(var(--hue), var(--sat), calc(100% - var(--lit)));
|
--color-super-raised: hsl(var(--hue), var(--sat), calc(100% - var(--lit)));
|
||||||
--color-text: hsl(0, 0%, 0%);
|
--color-text: hsl(0, 0%, 0%);
|
||||||
|
@ -35,8 +35,8 @@
|
||||||
.dark,
|
.dark,
|
||||||
.dark * {
|
.dark * {
|
||||||
--hue: 266;
|
--hue: 266;
|
||||||
--sat: 8%;
|
--sat: 14%;
|
||||||
--lit: 10%;
|
--lit: 12%;
|
||||||
--color-surface: hsl(var(--hue), var(--sat), calc(0% + var(--lit)));
|
--color-surface: hsl(var(--hue), var(--sat), calc(0% + var(--lit)));
|
||||||
--color-lowered: hsl(var(--hue), var(--sat), calc(6% + var(--lit)));
|
--color-lowered: hsl(var(--hue), var(--sat), calc(6% + var(--lit)));
|
||||||
--color-raised: hsl(var(--hue), var(--sat), calc(2% + var(--lit)));
|
--color-raised: hsl(var(--hue), var(--sat), calc(2% + var(--lit)));
|
||||||
|
|
|
@ -617,9 +617,7 @@
|
||||||
(icon (text "shield"))
|
(icon (text "shield"))
|
||||||
(span (text "View IP")))
|
(span (text "View IP")))
|
||||||
|
|
||||||
(div
|
(pre (code (text "{{ question.ip }}"))))
|
||||||
("class" "card secondary")
|
|
||||||
(pre (code (text "{{ question.ip }}")))))
|
|
||||||
(text "{% endif %}")
|
(text "{% endif %}")
|
||||||
; ...
|
; ...
|
||||||
(div
|
(div
|
||||||
|
|
|
@ -83,6 +83,11 @@
|
||||||
document.documentElement.addEventListener(\"turbo:load\", () => {
|
document.documentElement.addEventListener(\"turbo:load\", () => {
|
||||||
const atto = ns(\"atto\");
|
const atto = ns(\"atto\");
|
||||||
|
|
||||||
|
if (!atto) {
|
||||||
|
window.location.reload();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
atto.disconnect_observers();
|
atto.disconnect_observers();
|
||||||
atto.remove_false_options();
|
atto.remove_false_options();
|
||||||
atto.clean_date_codes();
|
atto.clean_date_codes();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue