diff --git a/.astro/data-store.json b/.astro/data-store.json index a929187e..0caf6209 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 09eaa37f..30734094 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 03d7cc43..f964fe0c 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 d2b4739a..48110f29 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 a04b60a4..ac674ee8 100644 --- a/src/components/IssueList.astro +++ b/src/components/IssueList.astro @@ -131,7 +131,7 @@ if (repoInfo) {
- + {issue.priority === 'good first issue' ? 'Good First Issue' : 'Help Wanted'}
@@ -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,39 +202,63 @@ 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; } + :global(.dark) .Issue-Card { + background: rgba(255, 255, 255, 0.05); + border-color: rgba(255, 255, 255, 0.1); + } + + :global:not(.dark) .Issue-Card { + background: rgba(0, 0, 0, 0.03); + border-color: rgba(0, 0, 0, 0.1); + } + .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); + box-shavar(--text-primary); + margin: 0 0 0.5rem 0; + line-height: 1.4; + font-weight: 500; } - .Issue-Content { - flex: 1; - min-width: 0; + .Issue-Meta { + display: flex; + gap: 0.75rem; + align-items: center; + font-size: 0.75rem; + color: var(--text-secondary); } .Issue-Title { - font-size: 0.85rem; - color: rgba(255, 255, 255, 0.95); - margin: 0 0 0.5rem 0; - line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; + line-height: 1.2; font-weight: 500; } - .Issue-Meta { - display: flex; - gap: 0.75rem; - align-items: center; + .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 +297,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 1e171292..6fdc343b 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'; ---