Skip to content

Commit c8918cd

Browse files
committed
style: standardize button colors and improve accessibility
1 parent 820bb46 commit c8918cd

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

components/ui/button.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ export function Button({
1515
<Component
1616
className={clsx([
1717
'border border-transparent',
18-
'bg-blue-600 hover:bg-blue-700 dark:hover:bg-blue-500',
18+
'bg-primary-600 hover:bg-primary-700 dark:hover:bg-primary-500',
1919
'text-white hover:text-white dark:text-white dark:hover:text-white',
20-
'focus:shadow-outline-blue focus:outline-none',
20+
'focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2',
2121
'transition-colors duration-150',
2222
'text-sm font-medium leading-5',
2323
'inline rounded-lg px-4 py-2 shadow',

json/tag-data.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"2023": 1,
33
"2024": 1,
44
"fe": 13,
5-
"react": 3,
6-
"react-router-dom": 1,
75
"javascript": 6,
86
"flat": 1,
97
"vue": 5,
108
"vue3": 2,
119
"deno": 1,
10+
"react": 3,
11+
"react-router-dom": 1,
1212
"nextjs": 2,
1313
"database": 1,
1414
"mysql": 1,
@@ -20,12 +20,12 @@
2020
"flex": 1,
2121
"font-family": 1,
2222
"tips": 1,
23+
"indexeddb": 1,
2324
"open-source": 1,
2425
"avp": 1,
2526
"effects-video": 1,
2627
"webgl": 2,
2728
"canvas": 2,
28-
"indexeddb": 1,
2929
"record-screen": 1,
3030
"html2canvas": 1,
3131
"video": 1,
@@ -48,19 +48,19 @@
4848
"ai": 4,
4949
"mcp": 3,
5050
"llm": 4,
51+
"deepseek": 1,
52+
"ollama": 1,
53+
"dify": 1,
5154
"bank": 1,
5255
"wechat": 1,
5356
"harmonyos": 1,
5457
"app": 1,
55-
"deepseek": 1,
56-
"ollama": 1,
57-
"dify": 1,
58+
"invoice": 1,
59+
"tax": 1,
5860
"honekong": 1,
5961
"hsbc-hk": 1,
6062
"bochk": 1,
6163
"za-bank": 1,
62-
"invoice": 1,
63-
"tax": 1,
6464
"typescript": 3,
6565
"string": 1,
6666
"casing": 1,

0 commit comments

Comments
 (0)