Skip to content

Commit

Permalink
[Lexical-website] BugFix: Change button text colour to improve visibi…
Browse files Browse the repository at this point in the history
…lity (#6796)
  • Loading branch information
Shopiley authored Nov 5, 2024
1 parent 2c1a8f1 commit fc1bea0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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);
}

0 comments on commit fc1bea0

Please sign in to comment.