feat: add system-aware dark theme

This commit is contained in:
Ayan Khan
2026-08-16 10:06:24 +05:30
committed by p2r3
parent 3236e6e53d
commit 7a5f333f48
2 changed files with 12 additions and 4 deletions
+5 -1
View File
@@ -6,6 +6,11 @@
<title>ha.mr - link compressor</title> <title>ha.mr - link compressor</title>
<style> <style>
@import url('https://fonts.googleapis.com/css2?family=Hammersmith+One&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Hammersmith+One&display=swap');
:root {
color-scheme: light dark;
}
html, body { html, body {
margin: 0; margin: 0;
width: 100%; width: 100%;
@@ -78,7 +83,6 @@
border-radius: 10px; border-radius: 10px;
margin: 10px 0; margin: 10px 0;
font-size: 16px; font-size: 16px;
background-color: rgb(230, 230, 230);
} }
#output-link-container { #output-link-container {
margin: 10px 0 0 0; margin: 10px 0 0 0;
+5 -1
View File
@@ -6,6 +6,11 @@
<title>ha.mr - link compressor</title> <title>ha.mr - link compressor</title>
<style> <style>
@import url('https://fonts.googleapis.com/css2?family=Hammersmith+One&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Hammersmith+One&display=swap');
:root {
color-scheme: light dark;
}
html, body { html, body {
margin: 0; margin: 0;
width: 100%; width: 100%;
@@ -78,7 +83,6 @@
border-radius: 10px; border-radius: 10px;
margin: 10px 0; margin: 10px 0;
font-size: 16px; font-size: 16px;
background-color: rgb(230, 230, 230);
} }
#output-link-container { #output-link-container {
margin: 10px 0 0 0; margin: 10px 0 0 0;