diff --git a/.astro/data-store.json b/.astro/data-store.json index a929187..0caf620 100644 --- a/.astro/data-store.json +++ b/.astro/data-store.json @@ -1 +1 @@ -[["Map",1,2],"meta::meta",["Map",3,4,5,6],"astro-version","5.3.0","astro-config-digest","{\"root\":{},\"srcDir\":{},\"publicDir\":{},\"outDir\":{},\"cacheDir\":{},\"compressHTML\":true,\"base\":\"/\",\"trailingSlash\":\"ignore\",\"output\":\"static\",\"scopedStyleStrategy\":\"attribute\",\"build\":{\"format\":\"directory\",\"client\":{},\"server\":{},\"assets\":\"_astro\",\"serverEntry\":\"entry.mjs\",\"redirects\":true,\"inlineStylesheets\":\"auto\",\"concurrency\":1},\"server\":{\"open\":false,\"host\":false,\"port\":4321,\"streaming\":true},\"redirects\":{},\"image\":{\"endpoint\":{\"route\":\"/_image\"},\"service\":{\"entrypoint\":\"astro/assets/services/sharp\",\"config\":{}},\"domains\":[],\"remotePatterns\":[]},\"devToolbar\":{\"enabled\":true},\"markdown\":{\"syntaxHighlight\":\"shiki\",\"shikiConfig\":{\"langs\":[],\"langAlias\":{},\"theme\":\"github-dark\",\"themes\":{},\"wrap\":false,\"transformers\":[]},\"remarkPlugins\":[],\"rehypePlugins\":[],\"remarkRehype\":{},\"gfm\":true,\"smartypants\":true},\"security\":{\"checkOrigin\":true},\"env\":{\"schema\":{},\"validateSecrets\":false},\"experimental\":{\"clientPrerender\":false,\"contentIntellisense\":false,\"responsiveImages\":false,\"serializeConfig\":false},\"legacy\":{\"collections\":false}}"] \ No newline at end of file +[["Map",1,2],"meta::meta",["Map",3,4,5,6],"astro-version","5.18.1","astro-config-digest","{\"root\":{},\"srcDir\":{},\"publicDir\":{},\"outDir\":{},\"cacheDir\":{},\"compressHTML\":true,\"base\":\"/\",\"trailingSlash\":\"ignore\",\"output\":\"static\",\"scopedStyleStrategy\":\"attribute\",\"build\":{\"format\":\"directory\",\"client\":{},\"server\":{},\"assets\":\"_astro\",\"serverEntry\":\"entry.mjs\",\"redirects\":true,\"inlineStylesheets\":\"auto\",\"concurrency\":1},\"server\":{\"open\":false,\"host\":false,\"port\":4321,\"streaming\":true,\"allowedHosts\":[]},\"redirects\":{},\"image\":{\"endpoint\":{\"route\":\"/_image\"},\"service\":{\"entrypoint\":\"astro/assets/services/sharp\",\"config\":{}},\"domains\":[],\"remotePatterns\":[],\"responsiveStyles\":false},\"devToolbar\":{\"enabled\":true},\"markdown\":{\"syntaxHighlight\":{\"type\":\"shiki\",\"excludeLangs\":[\"math\"]},\"shikiConfig\":{\"langs\":[],\"langAlias\":{},\"theme\":\"github-dark\",\"themes\":{},\"wrap\":false,\"transformers\":[]},\"remarkPlugins\":[],\"rehypePlugins\":[],\"remarkRehype\":{},\"gfm\":true,\"smartypants\":true},\"security\":{\"checkOrigin\":true,\"allowedDomains\":[],\"actionBodySizeLimit\":1048576},\"env\":{\"schema\":{},\"validateSecrets\":false},\"experimental\":{\"clientPrerender\":false,\"contentIntellisense\":false,\"headingIdCompat\":false,\"preserveScriptOrder\":false,\"liveContentCollections\":false,\"csp\":false,\"staticImportMetaEnv\":false,\"chromeDevtoolsWorkspace\":false,\"failOnPrerenderConflict\":false,\"svgo\":false},\"legacy\":{\"collections\":false}}"] \ No newline at end of file diff --git a/.astro/settings.json b/.astro/settings.json index 09eaa37..3073409 100644 --- a/.astro/settings.json +++ b/.astro/settings.json @@ -1,5 +1,5 @@ { "_variables": { - "lastUpdateCheck": 1759260475499 + "lastUpdateCheck": 1777380175180 } } \ No newline at end of file diff --git a/.astro/types.d.ts b/.astro/types.d.ts index 03d7cc4..f964fe0 100644 --- a/.astro/types.d.ts +++ b/.astro/types.d.ts @@ -1,2 +1 @@ /// -/// \ No newline at end of file diff --git a/src/components/App.astro b/src/components/App.astro index d2b4739..48110f2 100644 --- a/src/components/App.astro +++ b/src/components/App.astro @@ -23,17 +23,19 @@ import SocialShare from './SocialShare.astro'; diff --git a/src/components/IssueList.astro b/src/components/IssueList.astro index a04b60a..48797ea 100644 --- a/src/components/IssueList.astro +++ b/src/components/IssueList.astro @@ -152,6 +152,15 @@ if (repoInfo) { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); + transition: border-color 0.3s ease; + } + + :global(.dark) .Card-Issues { + border-top-color: rgba(255, 255, 255, 0.1); + } + + :global:not(.dark) .Card-Issues { + border-top-color: rgba(0, 0, 0, 0.1); } .Issues-Header { @@ -164,7 +173,7 @@ if (repoInfo) { .Issues-Title { font-size: 0.9rem; font-weight: 600; - color: rgba(255, 255, 255, 0.9); + color: var(--text-primary); margin: 0; } @@ -193,26 +202,26 @@ if (repoInfo) { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; text-decoration: none; - color: inherit; + color: var(--text-primary); transition: all 0.2s ease; gap: 0.75rem; } - .Issue-Card:hover { - background: rgba(255, 255, 255, 0.08); - border-color: rgba(102, 126, 234, 0.3); - transform: translateY(-1px); - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); + :global(.dark) .Issue-Card { + background: rgba(255, 255, 255, 0.05); + border-color: rgba(255, 255, 255, 0.1); } - .Issue-Content { - flex: 1; - min-width: 0; + :global:not(.dark) .Issue-Card { + background: rgba(0, 0, 0, 0.03); + border-color: rgba(0, 0, 0, 0.1); } - .Issue-Title { - font-size: 0.85rem; - color: rgba(255, 255, 255, 0.95); + .Issue-Card:hover { + background: rgba(255, 255, 255, 0.08); + border-color: rgba(102, 126, 234, 0.3); + transform: translateY(-1px); + box-shavar(--text-primary); margin: 0 0 0.5rem 0; line-height: 1.4; display: -webkit-box; @@ -227,6 +236,25 @@ if (repoInfo) { gap: 0.75rem; align-items: center; font-size: 0.75rem; + color: var(--text-secondary); + } + + .Issue-Number { + font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; + background: rgba(255, 255, 255, 0.1); + padding: 0.125rem 0.375rem; + border-radius: 6px; + font-size: 0.7rem; + transition: background-color 0.3s ease; + } + + :global(.dark) .Issue-Number { + background: rgba(255, 255, 255, 0.1); + } + + :global:not(.dark) .Issue-Number { + background: rgba(0, 0, 0, 0.1)er; + font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); } @@ -264,25 +292,14 @@ if (repoInfo) { } .Issue-Label.help-wanted { - background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%); - color: #60a5fa; - border: 1px solid rgba(59, 130, 246, 0.3); - box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1); - } - - .no-issues { - text-align: center; - padding: 2rem 1rem; - color: rgba(255, 255, 255, 0.6); - } - - .no-issues-icon { - font-size: 2rem; - margin-bottom: 0.75rem; - opacity: 0.7; + backgrovar(--text-secondary); } .no-issues-text { + font-size: 0.9rem; + font-weight: 500; + margin-bottom: 0.25rem; + color: var(--text-primary)t { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.25rem; diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 1e17129..575d37b 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -1,12 +1,14 @@ --- // Navbar component for social links +import DarkModeToggle from './DarkModeToggle.astro'; ---