-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat]: <rh-code-block>
extensions
#1091
Comments
@coreyvickery can you provide @bennypowers with guidance on new color tokens for syntax highlighting? |
@bennypowers Here are new syntax highlighting colors based on our new color design tokens. Happy to do more work in other places to flesh these out. Light themeRed - Dark themeRed - |
Thanks, @coreyvickery! @bennypowers, how far along are we with the rest of the work? Wondering if we can wrap this up in Caterpie or if we need to move it to the Chansey release? |
We discussed today in the Docs Overhaul meeting about adding a Show more / View code disclosure button to code blocks. This would be a good way to limit initial vertical height, and ease scanning and finding info. |
Here is a screenshot from salesforce lightning design system where they are doing something similar. |
@markcaron It's been a while since I've touched the design of this component (hence the XD link), but here are some examples of the To get this completed ASAP, let me know where I need to provide additional design guidance or mock-ups. Maybe we need to have a separate call with Greg or Nikki to tackle some of Benny's usability questions. But first, can we finalize the list of features that we need to ship? This is Benny's list from above, I'm just adding more talking points.
cc @hellogreg |
.@marionnegp and I met and tested colors with PrismJS's types. Here's what we found works best. Light Theme
Dark theme
|
Notes from 2024-03-07
|
proposal:
WDYT of that approach @marionnegp ? |
Sounds good to me. We should still be able to use the token names from Nikki's comment. |
we got syntax highlighting in for clefairy, moving the leftovers to cubone |
Today at Office hours we took the decision to release a very basic version of code-block with bellsprout.
features we'll push off to bulbasaur:
<rh-button>
: icon button / FAB for copyWe also have some usability questions we'd like to address:
SO, basically the bellsprout version will be a gray box that formats a script of text
Originally posted by @bennypowers in #328 (comment)
The text was updated successfully, but these errors were encountered: