aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/custom.css
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-08 23:55:21 +0000
committersaturneric <[email protected]>2025-04-08 23:55:45 +0000
commiteb6e4d1bc4a4f4e883cd921621a0cebc82d16caa (patch)
treea47f1ea58a8027481455896093815bdcb080ae96 /src/styles/custom.css
parentfix: solve format issues (diff)
downloadManual-eb6e4d1bc4a4f4e883cd921621a0cebc82d16caa.tar.gz
Manual-eb6e4d1bc4a4f4e883cd921621a0cebc82d16caa.zip
feat: adapt manual to v2.1.7
Diffstat (limited to 'src/styles/custom.css')
-rw-r--r--src/styles/custom.css39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/styles/custom.css b/src/styles/custom.css
new file mode 100644
index 0000000..5fbcd07
--- /dev/null
+++ b/src/styles/custom.css
@@ -0,0 +1,39 @@
+/* Dark mode colors. */
+:root {
+ --sl-color-accent-low: #131e4f;
+ --sl-color-accent: #3447ff;
+ --sl-color-accent-high: #b3c7ff;
+ --sl-color-white: #ffffff;
+ --sl-color-gray-1: #eceef2;
+ --sl-color-gray-2: #c0c2c7;
+ --sl-color-gray-3: #888b96;
+ --sl-color-gray-4: #545861;
+ --sl-color-gray-5: #353841;
+ --sl-color-gray-6: #24272f;
+ --sl-color-black: #17181c;
+}
+
+/* Light mode colors. */
+:root[data-theme='light'] {
+ --sl-color-accent-low: #c7d6ff;
+ --sl-color-accent: #364bff;
+ --sl-color-accent-high: #182775;
+ --sl-color-white: #17181c;
+ --sl-color-gray-1: #24272f;
+ --sl-color-gray-2: #353841;
+ --sl-color-gray-3: #545861;
+ --sl-color-gray-4: #888b96;
+ --sl-color-gray-5: #c0c2c7;
+ --sl-color-gray-6: #eceef2;
+ --sl-color-gray-7: #f5f6f8;
+ --sl-color-black: #ffffff;
+}
+
+.main-pane img {
+ max-width: 80%;
+ width: auto;
+ height: auto;
+ display: block;
+ image-rendering: auto;
+ object-fit: contain;
+} \ No newline at end of file