Linear issue: ENG-1712. Restyling the quotes by layering the blockquote with a low opacity black background to create the darker tint effect
Next Steps:
- Update non-viewer blockquote message container color to be the base thread color
Differential D4999
[web] Implement darker thread color tint to blockquote container ginsu on Aug 31 2022, 7:47 PM. Authored by Tags None Referenced Files
Details Linear issue: ENG-1712. Restyling the quotes by layering the blockquote with a low opacity black background to create the darker tint effect Next Steps:
Please view the attached screenshots to see the target design in the figma document and the before and after of the changes I implemented Figma document: Figma. Before: After:
Diff Detail
Event TimelineThere are a very large number of changes, so older changes are hidden. Show Older Changes Comment Actions Are you running into the following when you try to run things locally? Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/atul/comm/keyserver/dist/web/markdown/markdown.css' imported from /Users/atul/comm/keyserver/dist/web/markdown/rules.react.js I'm not able to patch in the changes and test it out. Assuming it's not just an issue on my end, we can schedule something to walk through it? Comment Actions Glad I caught this diff before it got accepted. It might be best for me to do a second-pass review of all Markdown diffs until @atul is able to get up to speed with the codebase
Comment Actions Hi @ginsu.
Comment Actions resovled ashoat's and kamil's comments, my bad on unintentionally reverting kamils changes. Also good shout on tinycolor not parsing CSS custom properties, I made some changes to fix that
Comment Actions Separately, how confident are you that we absolutely NEED to pass in the threadColor here? Is there no way to use CSS with opacity or something to avoid needing the threadColor as an input? My suspicion is that there is a way more simple solution here that you haven't explored... Comment Actions Nice! As an aside, I really liked the design with the drop shadow you shared in the Linear issue (https://linear.app/comm/issue/ENG-1712/restyle-quotes-in-messages-to-match-new-designs): I thought it provided more "contrast" between quotes when there are multiple levels of nesting, and just generally looked a lot better. CC @ashoat for thoughts. I realize the design was already determined in the Linear issue, but wanted to re-open discussion because I strongly prefer the design with drop shadows. Comment Actions Ah yeah, I got confused and thought there were only 3 options... I should've specified my fav using the title. I think "Left Border with chat theme and drop shadow" is the best in that list If it's easy to implement with CSS I think we should give it a go! Comment Actions removing @abosh to unblock since A) he's out this week B) his feedback was addressed or is no longer relevant given the changes |