refactor: replace hardcoded hex colors with theme tokens, move data/ to root
- Add --color-green-mid token (#4a7a55) to @theme for dimmer stat values
- Replace all text-[#hex]/bg-[#hex] arbitrary values with named tokens:
text-green, text-green-light, text-green-sec, text-green-muted,
text-green-dark, text-green-mid, text-text, bg-card, bg-bg, border-border
- Replace rgba(34,197,94,X) inline styles with bg-green/X opacity modifiers
- Convert single-prop style={{ borderColor/background }} to className
- Fix SVG stroke="#dff5e8" → stroke="currentColor"
- Use CSS variables in globals.css base styles (background-color, color)
- Move app/data/wikipedia/ → data/ (project root, not inside Next.js app dir)
- Update Dockerfile, seed.ts, scrape-wikipedia.ts paths accordingly
- Remove unused app/data/world_cup.csv
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"stadiums": [
|
||||
{
|
||||
"name": "Malmö Stadion",
|
||||
"city": "Malmö"
|
||||
},
|
||||
{
|
||||
"name": "Örjans Vall",
|
||||
"city": "Halmstad"
|
||||
},
|
||||
{
|
||||
"name": "Olympiastadion",
|
||||
"city": "Helsingborg"
|
||||
},
|
||||
{
|
||||
"name": "Idrottsparken",
|
||||
"city": "Norrköping"
|
||||
},
|
||||
{
|
||||
"name": "Arosvallen",
|
||||
"city": "Västerås"
|
||||
},
|
||||
{
|
||||
"name": "Eyravallen",
|
||||
"city": "Örebro"
|
||||
},
|
||||
{
|
||||
"name": "Tunavallen",
|
||||
"city": "Eskilstuna"
|
||||
},
|
||||
{
|
||||
"name": "Råsunda Stadium",
|
||||
"city": "Solna"
|
||||
},
|
||||
{
|
||||
"name": "Jernvallen",
|
||||
"city": "Sandviken"
|
||||
},
|
||||
{
|
||||
"name": "Rimnersvallen",
|
||||
"city": "Uddevalla"
|
||||
},
|
||||
{
|
||||
"name": "Ullevi",
|
||||
"city": "Gothenburg"
|
||||
},
|
||||
{
|
||||
"name": "Ryavallen",
|
||||
"city": "Borås"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user