Skip to content

updated css var#342

Open
timea-solid wants to merge 14 commits intomainfrom
profileEditA11y
Open

updated css var#342
timea-solid wants to merge 14 commits intomainfrom
profileEditA11y

Conversation

@timea-solid
Copy link
Member

@timea-solid timea-solid commented Mar 23, 2026

Some new variables from profile pane and others were added to mashlib.

Copilot AI review requested due to automatic review settings March 23, 2026 09:46
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 light theme design-token set by introducing additional CSS custom properties for borders, spacing, sizing, shadows, overlays, opacity, and layout.

Changes:

  • Added new border-related tokens (accent border color, additional border widths, additional border radii).
  • Expanded spacing tokens (very small spacings and a button-specific spacing token).
  • Added additional shadow, overlay, opacity, and layout tokens.

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

Comment on lines 22 to 29
--color-text-brown: #440;

/* Borders */
--color-border: #ccc;
--color-border-dark: #777;
--color-border-darker: #444;
--color-border-light: #aaa;
--color-border-pale: #eee;
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

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

These new theme tokens (e.g., --color-border-accent) are only defined in the light theme. src/styles/themes/dark.css does not currently define them, so if/when dark mode is enabled they will fall back to the light values and can cause inconsistent/low-contrast UI. Add matching variables (with dark-appropriate values) to dark.css to keep the theme contract consistent.

Copilot uses AI. Check for mistakes.
Copy link
Member Author

Choose a reason for hiding this comment

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

@copilot open a new pull request to apply changes based on this feedback

Copy link

Copilot AI commented Mar 23, 2026

@timea-solid I've opened a new pull request, #344, to work on those changes. Once the pull request is ready, I'll request review from you.

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.

4 participants