Merge pull request #562 from bitkarrot/main

some suggestions
This commit is contained in:
Aljaz
2025-06-05 11:05:23 +02:00
committed by GitHub
2 changed files with 13 additions and 10 deletions

View File

@@ -781,7 +781,7 @@ function createResourceCard(resource) {
// Try multiple favicon sources // Try multiple favicon sources
const faviconSources = [ const faviconSources = [
`https://www.google.com/s2/favicons?domain=${domain}&sz=64`, `https://www.google.com/s2/favicons?domain=https://${domain}&sz=64`,
`https://${domain}/favicon.ico`, `https://${domain}/favicon.ico`,
`https://${domain}/favicon.png`, `https://${domain}/favicon.png`,
`https://${domain}/apple-touch-icon.png`, `https://${domain}/apple-touch-icon.png`,

View File

@@ -1,25 +1,28 @@
:root { :root {
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");
--primary-color: #4a314d; --primary-color: #3a0ca3;;
--background-color: #ffffff; --background-color: #c8e7ff;
--text-color: #1a090d; --text-color: #1a090d;
--card-background: #a8ba9a;
--sidebar-background: #6b6570; --sidebar-background: #6b6570;
--hover-color: #ace894; --hover-color: #ace894;
--text-primary: var(--text-color); --text-primary: var(--text-color);
--link-color: var(--primary-color); --link-color: #f72585;
--star-color: #4a314d; --star-color: #4a314d;
} }
/* Dark theme variables */ /* Dark theme variables */
[data-theme="dark"] { [data-theme="dark"] {
--background-color: #1a090d; --primary-color: #3a0ca3;
--text-color: #ace894; --background-color: #10002b;
--card-background: #4a314d; --text-color: #4cc9f0;
--sidebar-background: #6b6570; --card-background: #3a0ca3;
--sidebar-background: #000;
--hover-color: #ace894;
--text-primary: var(--text-color); --text-primary: var(--text-color);
--link-color: #a8ba9a; --link-color: #f72585;
--star-color: #4a314d;
} }
* { * {