Skip to content

Commit

Permalink
Merge pull request #6126 from ademarsj/master
Browse files Browse the repository at this point in the history
fix: values of Default column in API section is  unreadable when darkMode (fixes #6125)
  • Loading branch information
nitrogenous authored Mar 18, 2024
2 parents f9d08c3 + ab599af commit 3f07e73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/doc/common/docapitable.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@ const DocApiTable = (props) => {
);
})
) : k === 'default' ? (
<div className={classNames('doc-option-default', { 'doc-option-dark': appContentContext.darkTheme, 'doc-option-light': !appContentContext.darkTheme })}>
<div className={classNames('doc-option-default', { 'doc-option-dark': appContentContext.darkMode, 'doc-option-light': !appContentContext.darkMode })}>
{ObjectUtils.isEmpty(v) ? 'null' : createContent(v, k === 'name', d['deprecated'])}
</div>
) : k === 'type' ? (
<span className="doc-option-type">{createContent(v, k === 'name', d['deprecated'])}</span>
) : k === 'returnType' ? (
<div className={classNames('doc-option-returnType', { 'doc-option-dark': appContentContext.darkTheme, 'doc-option-light': !appContentContext.darkTheme })}>
<div className={classNames('doc-option-returnType', { 'doc-option-dark': appContentContext.darkMode, 'doc-option-light': !appContentContext.darkMode })}>
{createContent(v, k === 'name', d['deprecated'])}
</div>
) : k === 'description' || k === 'values' ? (
Expand Down

0 comments on commit 3f07e73

Please sign in to comment.