Skip to content

update ui and add screenshots for calc and assessment to readme#2

Merged
reactlabs-dev merged 1 commit intomainfrom
feature/update-ui
Jan 27, 2026
Merged

update ui and add screenshots for calc and assessment to readme#2
reactlabs-dev merged 1 commit intomainfrom
feature/update-ui

Conversation

@reactlabs-dev
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings January 27, 2026 20:35
@vercel
Copy link

vercel bot commented Jan 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
polydraiq Ready Ready Preview, Comment Jan 27, 2026 8:35pm

Request Review

@reactlabs-dev reactlabs-dev merged commit 26436a1 into main Jan 27, 2026
7 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the UI styling toward a darker theme and enhances the project documentation with new screenshots.

Changes:

  • Adjust global/theme and component styling (background/text colors, borders, calculator framing).
  • Make assessment progress percentage computation safer (avoid divide-by-zero and round the displayed percent).
  • Add calculator and assessment screenshots to the README.

Reviewed changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/styles.scss Switches global background/text styling toward a dark theme.
src/app/pages/home.module.scss Removes the jumbotron bottom border accent.
src/app/components/questionnaire/QuestionnaireDialog.tsx Guards and rounds the progress bar percentage calculation.
src/app/components/footer/Footer.module.scss Updates footer text color for dark background.
src/app/components/calculator/Calculator.module.scss Changes calculator border styling to a thicker gold frame.
README.md Adds screenshots for calculator and guided assessment.
Comments suppressed due to low confidence (1)

src/styles.scss:9

  • --color-bg was switched to a dark value, but --color-text-main / --color-text-muted remain dark. Any components still using these tokens will end up with low-contrast text on the new dark background. Consider updating the text tokens (or introducing a dedicated dark theme token set) so the palette stays consistent and accessible.
    --color-bg: #1f2937;
    --color-surface: #ffffff;
    --color-border-subtle: #d6d0c4;
    --color-text-main: #1f2933;
    --color-text-muted: #6b7280;

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 29 to 32
line-height: 1.4;
background-color: var(--color-bg);
color: var(--color-text-main);
color: #f9fafb;
}
Copy link

Copilot AI Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

color is now hardcoded to #f9fafb instead of using a design token. Since this file defines global tokens, it would be more maintainable to use var(--color-text-main) (after updating it for the dark background) or introduce a specific token for default body text on dark backgrounds, so component styles don’t need to mix variables and raw hex values.

Copilot uses AI. Check for mistakes.
Comment on lines 13 to 18
width: 95vw;
height: auto;
background-color: var(--color-surface);
border: solid 1px var(--color-border-subtle);
border-radius: 6px;
border: solid 10px var(--color-gold);
border-radius: 18px;
margin: 25vh auto 0 auto;
Copy link

Copilot AI Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing the border to 10px while keeping width: 95vw can cause the element to exceed the viewport (default box-sizing: content-box adds border to the specified width), leading to horizontal scrolling on smaller screens. Consider switching this component to box-sizing: border-box, reducing the width, or using an outline/shadow effect if the goal is a thick frame without affecting layout.

Copilot uses AI. Check for mistakes.
Comment on lines 20 to 23
margin-top: 40px;
margin-bottom: 20px;
color: var(--color-text-muted);
color: #e5e7eb;
} No newline at end of file
Copy link

Copilot AI Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This hardcodes a light text color in the module, while the rest of the styling relies on CSS variables (e.g., var(--color-text-muted) previously). To keep theming consistent, consider updating the global --color-text-muted token for the new dark background and continuing to use the variable here instead of a hex literal.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant