Make the "Let's Talk" button green - #27
Closed
davidrsch wants to merge 1 commit into
Closed
Conversation
Use the branding --green color for the header CTA background instead of --primary, and update the compiled app.min.css to match.
Author
SummaryDiff is exactly what the request asked for and nothing more: 2 lines, Checks I actually ran:
FindingsMinor
Nit
VerdictAPPROVE after a visual check of the new green. Scope is tight, the change is correct, the compiled-CSS shortcut verifies, and nothing security-relevant is touched. The two minor items are follow-ups, not revision blockers. |
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.
What changed
The header CTA button ("Let's Talk") now uses the branding
--greencolor for its background instead of--primary.app/styles/_header.scss:.header .right .cta-button { background: var(--green); }(wasvar(--primary)).app/static/css/app.min.css: the committed compiled stylesheet is what the app actually serves, so the corresponding rule was updated to match the SCSS source.Why
Requested via shinybot chat: "Change the "Let's Talk" button color to green."
The button previously inherited
--primary(#0099f9, Appsilon blue). It now uses the existing--greenbranding token (#3a5a40by default inconfig.yml), so the color stays theme-driven and configurable rather than hardcoded, and white label text keeps good contrast.--primaryitself was left untouched because it is also used elsewhere (e.g.app/styles/_logs.scss).How it was tested
No automated tests were run: R package dependencies are not installed in the agent environment (
renvreports missing packages, and neitherrhinonorsassis available), sorhino::build_sass()and thetestthatsuite could not be executed. The compiled CSS was therefore edited by hand to exactly mirror the one-token SCSS change; the resulting rule iscta-button{background:var(--green);color:white;padding:10px;border-radius:10px;margin:0 10px}. No existingtestthator Cypress test asserts on the header CTA styling, and a two-line color change did not seem to warrant introducing a new visual-assertion test. Worth a quick visual confirmation on review.🤖 Opened by the shinybot-bridge mediforce workflow, on behalf of a shinybot chat request.