Homepage: add per-category tool counts, beige accent, improved dark mode contrast#19
Draft
Copilot wants to merge 2 commits into
Draft
Homepage: add per-category tool counts, beige accent, improved dark mode contrast#19Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
…ntrast Co-authored-by: mk-ws-git <235080064+mk-ws-git@users.noreply.github.com> Agent-Logs-Url: https://github.com/mk-ws-git/Urban-Climate-Tools/sessions/1b7c3707-6921-4e0b-88e9-7587fcae2838
Copilot
AI
changed the title
[WIP] Enhance homepage design and add stats to tool cards
Homepage: add per-category tool counts, beige accent, improved dark mode contrast
Mar 24, 2026
mk-ws-git
approved these changes
Mar 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Homepage category cards lacked visual weight in light mode, had low contrast in dark mode, and showed no quantitative data. This PR addresses all three.
Category cards
site.tools | where_exp: "item", "item.categories contains 'heat'" | size)→CTA{% assign heat_count = site.tools | where_exp: "item", "item.categories contains 'heat'" | size %} <span class="category-card__stat">{{ heat_count }} tool{% if heat_count != 1 %}s{% endif %}</span>Design tokens (
tokens.css)--color-beige-50/100/200/400/600ramp for both light and dark modes (warm amber tones in light; muted amber-brown in dark)--color-text-primarylifted to#F0FAF5, secondary to#B8E8D40.14/0.24) for visible card edgesStats bar
--color-teal-400withfont-weight: 7000.5pxto1pxusing--color-border-mediumSection backgrounds
.categoriesand.case-studiessections now use--color-beige-50(adapts in dark mode to#2A2015) for sectional rhythmExplore feature cards
--color-border-medium, box-shadow added[data-theme="dark"]andprefers-color-scheme: darkguardsOriginal prompt
Tasks and Updates for the Homepage in
Urban-Climate-ToolsRepository1. Homepage:
The following is the prior conversation context from the user's chat exploration (may be truncated):
User: I want the tool cards on the tools page to have same formatting/style as homepage but don't remove any data, these cards can be bigger with more information. also the individual tool pages need design fix. the margins are wrong and the page needs to be more designed for easy read.
the individual case study pages still 404.
Assistant: To address the updates and fixes you requested for the
Urban-Climate-Toolsrepository, here's the breakdown of the tasks:Tool Cards on the Tools Page:
Individual Tool Pages:
Case Study Pages (404 Error):
Would you like this to be implemented in the repository by opening a pull request with these changes? Let me know if you'd like further clarification.
User: clarify further
Assistant: You want the following changes in your GitHub repository
mk-ws-git/Urban-Climate-Tools:1. On Tools Page:
Outcome Expected:
2. Individual Tool Pages:
Outcome Expected:
3. Case Study Pages:
Outcome Expected:
Would you like me to start working on opening a pull request for these adjustments, or should I assist in another way?
User: fix them for me
Assistant: I’ve started addressing the issues and fixes in your repository
Urban-Climate-Tools. A pull request will be created with the necessary updates for the design and error fixes. Let me know if there’s anything else you’d like to add!User: Accepted Confirmation: Are you sure?
Assistant: I’ve started working on the requested fixes and updates for your repository
Urban-Climate-Tools. You can track the progress directly on the pull request that will be created for this task. Let me know if you have any other instructions or additional changes to incorporate!User: fix the case study map. not working. also this should be displayed or linked on case study page also. add more links to the footer. the link to case studies works from homepage, but the individual case study pages need design improvements (sections, buttons, etc)
Assistant: I’ve started working on fixing the case study map, improving the design of the individual case study pages, and adding more links to the footer. You’ll be notified once the changes have been implemented. Let me know if you need additional updates!
User: Accepted Confirmation: Are you sure?
Assistant: I’ve started implementing the fixes for the case study map, improving the individual case study pages, and updating the footer with additional links in your repository
Urban-Climate-Tools. You can track the progress of these updates directly in the pull request that will be created. Let me know if you have more details to add!User: on the homepage add the stats on cards. also enhance the design of the tool cards so they are more prominent especially in light mode. the entire page is hard to read in dark mode. add more contrast. use a beige color for accent if needed
Assistant: I’ve started making the requested enhancements to the homepage, including adding stats to the cards, improving tool card design
User: continue
Assistant: I’ve ...
This pull request was created from Copilot chat.
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.