Skip to content

scale-color $lightness must use $secondary for dark themes#4

Open
akshayutture-augment wants to merge 1 commit into
theme-color-scheme-prefrom
theme-color-scheme-post
Open

scale-color $lightness must use $secondary for dark themes#4
akshayutture-augment wants to merge 1 commit into
theme-color-scheme-prefrom
theme-color-scheme-post

Conversation

@akshayutture-augment

@akshayutture-augment akshayutture-augment commented Nov 17, 2025

Copy link
Copy Markdown

No description provided.

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review completed. 4 suggestions posted.

Comment augment review to trigger a new review at any time.

font-weight: bold;
color: scale-color($primary, $lightness: 30%);
color: dark-light-choose(scale-color($primary, $lightness: 70%), scale-color($secondary, $lightness: 30%));
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Primary lightness changed from 30% to 70% here, which breaks the pattern used elsewhere (same lightness for light mode, $secondary for dark) and likely over-lightens this link in light theme.

🤖 Was this useful? React with 👍 or 👎

@@ -99,7 +99,7 @@

.custom-message-length {
margin: -10px 0 10px 20px;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

.custom-message-length uses 30% for $primary here, but desktop modal keeps this at 70% (with a 30% $secondary for dark), so this reversal looks unintended and may reduce readability in light theme.

🤖 Was this useful? React with 👍 or 👎

display: inline-block;
margin-top: 5px;
color: scale-color($primary, $lightness: 30%);
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The “.name” color moved from 30% to 50% (and 50% for dark), which is inconsistent with common/base/user.scss where “.name” uses a 30%/$primary and 70%/$secondary split; this likely causes cross-view mismatch (also applies in app/assets/stylesheets/mobile/user.scss).

🤖 Was this useful? React with 👍 or 👎

margin-bottom: 4px;
margin-top: 0;
color: scale-color($primary, $lightness: 20%);
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

For h3, primary lightness changed from 20% to 50% (and 50% for dark), whereas the desktop variant keeps 20%/$primary and 80%/$secondary; this inconsistency looks accidental and may affect visual hierarchy.

🤖 Was this useful? React with 👍 or 👎

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.

2 participants