Skip to content

Commit 08f13e4

Browse files
committed
update docusaurus
1 parent 66005f7 commit 08f13e4

File tree

5 files changed

+27
-236
lines changed

5 files changed

+27
-236
lines changed

website/.prettierrc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,5 @@
22
"printWidth": 120,
33
"singleQuote": true,
44
"trailingComma": "all",
5-
"plugins": ["@trivago/prettier-plugin-sort-imports", "prettier-plugin-tailwindcss"],
6-
"importOrder": ["^@docusaurus|@theme/(.*)$", "^[./]"],
7-
"importOrderSeparation": true,
8-
"importOrderSortSpecifiers": true
5+
"plugins": ["prettier-plugin-tailwindcss"]
96
}

website/package-lock.json

Lines changed: 18 additions & 228 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"@docusaurus/module-type-aliases": "3.6.3",
3333
"@docusaurus/tsconfig": "3.6.3",
3434
"@eslint/js": "9.15.0",
35-
"@trivago/prettier-plugin-sort-imports": "4.3.0",
3635
"@types/eslint__js": "8.42.3",
3736
"@types/react": "18.3.12",
3837
"autoprefixer": "10.4.20",

website/src/components/Chip.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const COLORS = {
1313
description: 'border-gray-200 bg-neutral-600 text-gray-200',
1414
},
1515
light: {
16-
chip: 'bg-neutral-600 text-gray-200',
17-
description: 'border-neutral-600 bg-gray-200 text-neutral-600',
16+
chip: 'bg-neutral-500 text-gray-200',
17+
description: 'border-neutral-500 bg-gray-200 text-neutral-600',
1818
},
1919
} as const;
2020

website/src/components/Rule.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ type RuleProps = {
66

77
export const Rule = ({ href }: RuleProps) => {
88
return (
9-
<a href={href} rel="noopener noreferrer" target="_blank">
9+
<a
10+
className="rounded-md bg-gray-100 px-1.5 py-1 text-xs font-medium text-neutral-600 hover:bg-gray-200 hover:no-underline dark:bg-blue-600 dark:bg-opacity-40 dark:text-neutral-200 dark:hover:bg-blue-700 dark:hover:bg-opacity-40"
11+
href={href}
12+
rel="noopener noreferrer"
13+
target="_blank"
14+
>
1015
📏 Rule
1116
</a>
1217
);

0 commit comments

Comments
 (0)