Skip to content

Commit

Permalink
docs: update colors
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-Shen committed Nov 16, 2023
1 parent 1cae420 commit f242d87
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/menu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function MenuItem({
return (
<li>
<details open>
<summary className="pl-6 rounded">{title}</summary>
<summary className="pl-6 rounded focus:!text-[var(--color-primary)] active:!bg-[#F7F7F7] focus:!bg-[#F7F7F7] hover:!bg-[#F7F7F7]">{title}</summary>
{children}
</details>
</li>
Expand All @@ -29,7 +29,7 @@ export function MenuItem({
return (
<li>
<Link
className={clsx('pl-6 rounded focus:!text-[var(--color-primary)] active:!bg-[#F7F7F7]', {
className={clsx('pl-6 rounded focus:!text-[var(--color-primary)] active:!bg-[#F7F7F7] focus:!bg-[#F7F7F7] hover:!bg-[#F7F7F7]', {
'bg-[#F7F7F7] text-[var(--color-primary)]': match,
})}
to={path}
Expand Down
3 changes: 1 addition & 2 deletions src/pages/guide.task-create.annotation-config/markdown.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,11 @@ import audioAttributeConfig from './annotation-config-attribute-audio.png';
</thead>
<tbody>
<tr>
<td>全局</td>
<td rowspan="2" style={{ verticalAlign: 'middle' }}>全局</td>
<td style={{ whiteSpace: 'nowrap' }}>标签分类</td>
<td>类别:分类描述中英文,选项:分类的具体选项中英文</td>
</tr>
<tr>
<td></td>
<td>文本描述</td>
<td>文本列表:包括文本描述名称中英文,文本设置:包括最大字数和默认文本</td>
</tr>
Expand Down
9 changes: 9 additions & 0 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,17 @@ body {
margin: 0;
}

.prose h1, .prose h2, .prose h3 {
color: #121316 !important;
}

.prose p {
color: rgb(18 19 22 / 80%) !important;
}

.prose {
max-width: 90ch !important;
color: rgb(18 19 22 / 80%) !important;
}

.prose pre {
Expand Down

0 comments on commit f242d87

Please sign in to comment.