Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 4, 2023
1 parent 50f327e commit bde94cb
Show file tree
Hide file tree
Showing 9 changed files with 88 additions and 54 deletions.
32 changes: 24 additions & 8 deletions src/home_journal/site/css/beer.min.css
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,9 @@ button {
background-color: var(--primary);
margin: 0 0.5rem;
border-radius: 0.5rem;
transition: var(--speed3) transform, var(--speed3) border-radius,
transition:
var(--speed3) transform,
var(--speed3) border-radius,
var(--speed3) padding;
user-select: none;
gap: 1rem;
Expand Down Expand Up @@ -1849,7 +1851,9 @@ article {
padding: 1rem;
border-radius: 0.75rem;
display: block;
transition: var(--speed3) transform, var(--speed3) border-radius,
transition:
var(--speed3) transform,
var(--speed3) border-radius,
var(--speed3) padding;
}
* + article {
Expand Down Expand Up @@ -1879,7 +1883,9 @@ article.large {
margin: 0 0.5rem;
text-transform: none;
border-radius: 0.5rem;
transition: var(--speed3) transform, var(--speed3) border-radius,
transition:
var(--speed3) transform,
var(--speed3) border-radius,
var(--speed3) padding;
user-select: none;
gap: 1rem;
Expand Down Expand Up @@ -2004,7 +2010,9 @@ nav.right:not(.s, .m, .l) ~ .responsive {
text-align: left;
border-radius: 0.25rem;
transform: scale(0.8) translateY(120%);
transition: var(--speed2) all, 0s background-color;
transition:
var(--speed2) all,
0s background-color;
}
.dropdown.no-wrap {
width: auto;
Expand Down Expand Up @@ -2356,7 +2364,9 @@ input[type="file"] {
left: 1rem;
font-size: 1rem;
transform: translateY(-50%);
transition: var(--speed2) all, 0s background-color;
transition:
var(--speed2) all,
0s background-color;
z-index: 0;
}
.field.label.textarea.small > label {
Expand Down Expand Up @@ -2969,7 +2979,9 @@ video.circle,
video.responsive {
object-fit: cover;
object-position: center;
transition: var(--speed3) transform, var(--speed3) border-radius,
transition:
var(--speed3) transform,
var(--speed3) border-radius,
var(--speed3) padding;
height: 3rem;
width: 3rem;
Expand Down Expand Up @@ -3136,7 +3148,9 @@ button > span + img.responsive {
max-height: 80%;
overflow-x: hidden;
overflow-y: auto;
transition: var(--speed3) all, 0s background-color;
transition:
var(--speed3) all,
0s background-color;
transform: translate(-50%, -4rem);
}
.modal:not(.left, .right, .top, .bottom) {
Expand Down Expand Up @@ -3504,7 +3518,9 @@ nav:not(.left, .right) > .large-space {
color: var(--on-background);
background-color: var(--overlay);
z-index: 100;
transition: var(--speed3) all, 0s background-color;
transition:
var(--speed3) all,
0s background-color;
}
nav > .overlay {
z-index: 0;
Expand Down
30 changes: 24 additions & 6 deletions src/home_journal/site/css/github-markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,14 @@
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font: 11px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas,
Liberation Mono, monospace;
font:
11px ui-monospace,
SFMono-Regular,
SF Mono,
Menlo,
Consolas,
Liberation Mono,
monospace;
line-height: 10px;
color: var(--color-fg-default);
vertical-align: middle;
Expand Down Expand Up @@ -436,16 +442,28 @@
.markdown-body tt,
.markdown-body code,
.markdown-body samp {
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas,
Liberation Mono, monospace;
font-family:
ui-monospace,
SFMono-Regular,
SF Mono,
Menlo,
Consolas,
Liberation Mono,
monospace;
font-size: 12px;
}

.markdown-body pre {
margin-top: 0;
margin-bottom: 0;
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas,
Liberation Mono, monospace;
font-family:
ui-monospace,
SFMono-Regular,
SF Mono,
Menlo,
Consolas,
Liberation Mono,
monospace;
font-size: 12px;
word-wrap: normal;
}
Expand Down
2 changes: 1 addition & 1 deletion src/home_journal/site/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
Expand Down
6 changes: 3 additions & 3 deletions src/home_journal/site/js/beer.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default (() => {
const t = r.currentTarget,
e = u(
"input:not([type=file]):not([type=checkbox]):not([type=radio]), select, textarea",
h(t)
h(t),
);
e && e.focus();
},
Expand Down Expand Up @@ -186,7 +186,7 @@ export default (() => {
() => {
l(t, "active");
},
e && e ? e : 6e3
e && e ? e : 6e3,
));
},
V = (r, t) => {
Expand Down Expand Up @@ -299,7 +299,7 @@ export default (() => {
m("[data-ui]").forEach((a) => f(a, "click", j)),
m(".field > label").forEach((a) => f(a, "click", q)),
m(
".field > input:not([type=file]):not([type=checkbox]):not([type=radio]), .field > select, .field > textarea"
".field > input:not([type=file]):not([type=checkbox]):not([type=radio]), .field > select, .field > textarea",
).forEach((a) => {
f(a, "focus", L), f(a, "blur", S), w(a);
}),
Expand Down
22 changes: 11 additions & 11 deletions src/home_journal/site/js/lightense.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
Object.defineProperty(
e,
t,
Object.getOwnPropertyDescriptor(i, t)
Object.getOwnPropertyDescriptor(i, t),
);
});
}
Expand Down Expand Up @@ -201,17 +201,17 @@
var e = {
cubicBezier:
r.target.getAttribute(
"data-lightense-cubic-bezier"
"data-lightense-cubic-bezier",
) || r.cubicBezier,
background:
r.target.getAttribute(
"data-lightense-background"
"data-lightense-background",
) ||
r.target.getAttribute("data-background") ||
r.background,
zIndex:
r.target.getAttribute(
"data-lightense-z-index"
"data-lightense-z-index",
) || r.zIndex,
},
t = n(n({}, r), e);
Expand All @@ -220,17 +220,17 @@
"\n :root {\n --lightense-z-index: "
.concat(
t.zIndex - 1,
";\n --lightense-backdrop: "
";\n --lightense-backdrop: ",
)
.concat(
t.background,
";\n --lightense-duration: "
";\n --lightense-duration: ",
)
.concat(
t.time,
"ms;\n --lightense-timing-func: "
"ms;\n --lightense-timing-func: ",
)
.concat(t.cubicBezier, ";\n }")
.concat(t.cubicBezier, ";\n }"),
),
(r.container.style.visibility = "visible"),
setTimeout(function () {
Expand All @@ -244,7 +244,7 @@
(i.src = r.target.src);
})(this);
},
!1
!1,
));
}
function d(e, t) {
Expand All @@ -267,8 +267,8 @@
.concat(r.time, "ms;\n --lightense-timing-func: ")
.concat(
r.cubicBezier,
";\n}\n\n.lightense-backdrop {\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n position: fixed;\n top: 0;\n left: 0;\n overflow: hidden;\n z-index: calc(var(--lightense-z-index) - 1);\n padding: 0;\n margin: 0;\n transition: opacity var(--lightense-duration) ease;\n cursor: zoom-out;\n opacity: 0;\n background-color: var(--lightense-backdrop);\n visibility: hidden;\n}\n\n@supports (-webkit-backdrop-filter: blur(30px)) {\n .lightense-backdrop {\n background-color: var(--lightense-backdrop);\n -webkit-backdrop-filter: var(--lightense-backdrop-filter);\n }\n}\n\n@supports (backdrop-filter: blur(30px)) {\n .lightense-backdrop {\n background-color: var(--lightense-backdrop);\n backdrop-filter: var(--lightense-backdrop-filter);\n }\n}\n\n.lightense-wrap {\n position: relative;\n transition: transform var(--lightense-duration) var(--lightense-timing-func);\n z-index: var(--lightense-z-index);\n pointer-events: none;\n}\n\n.lightense-target {\n cursor: zoom-in;\n transition: transform var(--lightense-duration) var(--lightense-timing-func);\n pointer-events: auto;\n}\n\n.lightense-open {\n cursor: zoom-out;\n}\n\n.lightense-transitioning {\n pointer-events: none;\n}"
)
";\n}\n\n.lightense-backdrop {\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n position: fixed;\n top: 0;\n left: 0;\n overflow: hidden;\n z-index: calc(var(--lightense-z-index) - 1);\n padding: 0;\n margin: 0;\n transition: opacity var(--lightense-duration) ease;\n cursor: zoom-out;\n opacity: 0;\n background-color: var(--lightense-backdrop);\n visibility: hidden;\n}\n\n@supports (-webkit-backdrop-filter: blur(30px)) {\n .lightense-backdrop {\n background-color: var(--lightense-backdrop);\n -webkit-backdrop-filter: var(--lightense-backdrop-filter);\n }\n}\n\n@supports (backdrop-filter: blur(30px)) {\n .lightense-backdrop {\n background-color: var(--lightense-backdrop);\n backdrop-filter: var(--lightense-backdrop-filter);\n }\n}\n\n.lightense-wrap {\n position: relative;\n transition: transform var(--lightense-duration) var(--lightense-timing-func);\n z-index: var(--lightense-z-index);\n pointer-events: none;\n}\n\n.lightense-target {\n cursor: zoom-in;\n transition: transform var(--lightense-duration) var(--lightense-timing-func);\n pointer-events: auto;\n}\n\n.lightense-open {\n cursor: zoom-out;\n}\n\n.lightense-transitioning {\n pointer-events: none;\n}",
),
);
}
function u() {
Expand Down
34 changes: 17 additions & 17 deletions src/home_journal/site/js/material-dynamic-colors.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -620,14 +620,14 @@ export default (() => {
50 * Math.sqrt(((e / Math.sqrt(n / 100)) * M.c) / (M.aw + 4)),
((1 + 100 * 0.007) * n) / (1 + 0.007 * n),
l * Math.cos(o),
l * Math.sin(o)
l * Math.sin(o),
);
},
h = function (n) {
const e = Math.pow(
(0 === n.chroma || 0 === n.j ? 0 : n.chroma / Math.sqrt(n.j / 100)) /
Math.pow(1.64 - Math.pow(0.29, M.n), 0.73),
1 / 0.9
1 / 0.9,
),
t = (n.hue * Math.PI) / 180,
o = (M.aw * Math.pow(n.j / 100, 1 / M.c / M.z)) / M.nbb,
Expand All @@ -648,29 +648,29 @@ export default (() => {
C(c) *
Math.pow(
Math.max(0, (27.13 * Math.abs(c)) / (400 - Math.abs(c))),
1 / 0.42
1 / 0.42,
)) /
M.rgbD[0],
h =
((100 / M.fl) *
C(s) *
Math.pow(
Math.max(0, (27.13 * Math.abs(s)) / (400 - Math.abs(s))),
1 / 0.42
1 / 0.42,
)) /
M.rgbD[1],
v =
((100 / M.fl) *
C(m) *
Math.pow(
Math.max(0, (27.13 * Math.abs(m)) / (400 - Math.abs(m))),
1 / 0.42
1 / 0.42,
)) /
M.rgbD[2];
return d(
1.86206786 * g - 1.01125463 * h + 0.14918677 * v,
0.38752654 * g + 0.62144744 * h - 0.00897398 * v,
-0.0158415 * g - 0.03412294 * h + 1.04996444 * v
-0.0158415 * g - 0.03412294 * h + 1.04996444 * v,
);
},
v = function (n, e) {
Expand Down Expand Up @@ -747,7 +747,7 @@ export default (() => {
return f(
p(this.internalHue),
this.internalChroma,
v(100, this.internalTone)
v(100, this.internalTone),
);
}
get hue() {
Expand Down Expand Up @@ -796,7 +796,7 @@ export default (() => {
e = ((200 / Math.PI) * 100 * Math.pow(66 / 116, 3)) / 100,
t = 50,
o = 2,
l = !1
l = !1,
) {
const i = 0.401288 * n[0] + 0.650173 * n[1] + -0.051461 * n[2],
a = -0.250268 * n[0] + 1.204414 * n[1] + 0.045854 * n[2],
Expand Down Expand Up @@ -858,7 +858,7 @@ export default (() => {
g,
f,
Math.pow(f, 0.25),
1.48 + Math.sqrt(F)
1.48 + Math.sqrt(F),
);
})(),
w = (n) => (0.04045 >= n ? n / 12.92 : Math.pow((n + 0.055) / 1.055, 2.4)),
Expand Down Expand Up @@ -896,7 +896,7 @@ export default (() => {
M.ncb *
Math.sqrt(p * p + f * f)) /
((20 * g + 20 * h + 21 * v) / 20 + 0.305),
0.9
0.9,
) * Math.pow(1.64 - Math.pow(0.29, M.n), 0.73),
N = A * Math.sqrt(E / 100),
B = (1 / 0.0228) * Math.log(1 + 0.0228 * N * M.fLRoot);
Expand All @@ -908,7 +908,7 @@ export default (() => {
50 * Math.sqrt((A * M.c) / (M.aw + 4)),
((1 + 100 * 0.007) * E) / (1 + 0.007 * E),
B * Math.cos(S),
B * Math.sin(S)
B * Math.sin(S),
);
};
const N = new (class {
Expand Down Expand Up @@ -983,7 +983,7 @@ export default (() => {
(-16777216 | ((255 & l) << 16) | ((255 & i) << 8) | (255 & a)) >>>
0
);
})(n)
})(n),
);
return new (class extends class {
constructor(n) {
Expand Down Expand Up @@ -2001,7 +2001,7 @@ export default (() => {
neutralVariant: this.neutralVariantGroup,
error: this.errorGroup,
},
this.props.overrides.tonalGroups
this.props.overrides.tonalGroups,
);
}
get primaryGroup() {
Expand Down Expand Up @@ -2343,13 +2343,13 @@ export default (() => {
2 !== (null == e ? void 0 : e.length) ||
!(
/^image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)$/i.test(
e[1]
e[1],
) ||
/^video\/(?:mpeg|mp4|ogg|webm|x-matroska|quicktime|x-ms-wmv)$/i.test(
e[1]
e[1],
) ||
/^audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)$/i.test(
e[1]
e[1],
)
)
)
Expand Down Expand Up @@ -2386,7 +2386,7 @@ export default (() => {
0,
0,
o.canvas.width,
o.canvas.height
o.canvas.height,
),
o.getImageData(0, 0, t.width, t.height)
);
Expand Down
Loading

0 comments on commit bde94cb

Please sign in to comment.