Skip to content
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

[Lexical-website] BugFix: Change button text colour to improve visibility #6796

Merged
merged 3 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function HomepageExamples() {
{EXAMPLES.map(({id, label}) => (
<Tabs.Trigger asChild={true} value={id} key={id}>
<li
className={`cursor-pointer list-none rounded-md px-4 py-1 font-bold transition-colors hover:bg-[#f2f2f2] ${
className={`button--text cursor-pointer list-none rounded-md px-4 py-1 font-bold transition-colors hover:bg-[#f2f2f2] ${
activeItemID === id && 'pills__item--active'
}`}
tabIndex={0}
Expand Down
4 changes: 4 additions & 0 deletions packages/lexical-website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
html[data-theme='dark'] .button--outline:hover {
color: white;
}

html[data-theme='dark'] .button--text:hover {
color: rgba(0, 0, 0, 0.5);
}
Loading