-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Chore: Tailwind Migration — Markdown and Codeblocks Components #3503
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
base: main
Are you sure you want to change the base?
Chore: Tailwind Migration — Markdown and Codeblocks Components #3503
Conversation
|
…c#3503) * Added confirmation of a sucessful cd prior to executing commands in active terminals * typo fix, fine tuning * cleanup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @sachasayan, this looks good, can you solve the merge conflicts so we can merge it?
@@ -184,6 +229,11 @@ | |||
.history-item-highlight { | |||
@apply underline; | |||
} | |||
|
|||
/* Shiki code block inner code transparency */ | |||
.shiki > code { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was the !important
necessary to override Shiki's default styles, or could a less specific selector achieve the same result? Just checking for best practices.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see a similar inline @keyframes fadeIn
is already defined and used in webview-ui/src/components/chat/Markdown.tsx
. Is the intention for this global animation to replace the inline one, or is it for other components? If it's to replace the inline one, it would be good to update webview-ui/src/components/chat/Markdown.tsx
to use the global animation in this PR or a follow-up. If it's for other components not touched in this PR, it could be introduced separately.
Tailwind migration — Markdown and Codeblocks Components
This PR covers the Tailwind Migration to the Markdown and Codeblocks Components
It makes no functional changes — this is a straight-port from explicit styles to tailwind utility classes.
Type of Change
Pre-Submission Checklist
npm run lint
).console.log
) has been removed.npm test
).main
branch.npm run changeset
if this PR includes user-facing changes or dependency updates.Screenshots / Videos
No visual impacts, these components look and act identical with the changes applied.
Documentation Updates
Does this PR necessitate updates to user-facing documentation?
Important
Refactor to migrate Markdown and Codeblocks components to Tailwind CSS, updating styles in
Blockquote.tsx
,CodeBlock.tsx
, andindex.css
.Blockquote.tsx
andCodeBlock.tsx
.CodeBlock.tsx
.index.css
.index.css
.fadeIn
animation keyframes inindex.css
.This description was created by
for ef265c9. You can customize this summary. It will automatically update as commits are pushed.