docs(design): update design system specifications and component styles

- remove color palette table from main color section in DESIGN.md
- update typography scale (reduce body/secondary text sizes)
- revise border radius values for badges, buttons, modals, and cards
- expand sidebar navigation section with detailed structure and visual states
- add accordion section behavior and item template specs
- update Badge component to use fully rounded corners and adjust sizing
- update Modal component border radius and backdrop styles
This commit is contained in:
2026-04-24 17:35:25 -04:00
parent 04987e41f9
commit ecb4929753
3 changed files with 98 additions and 45 deletions
+3 -3
View File
@@ -25,9 +25,9 @@ const Badge = ({
};
const sizes = {
sm: 'px-[8px] py-[2px] rounded-lg text-[11px]',
md: 'px-[8px] py-[2px] rounded-lg text-[11px]',
lg: 'px-3 py-1 rounded-lg text-xs'
sm: 'px-[8px] py-[2px] rounded-full text-[11px]',
md: 'px-[8px] py-[2px] rounded-full text-[11px]',
lg: 'px-3 py-1 rounded-full text-xs'
};
const variantClass = color ? '' : (variants[variant] || variants.default);
+1 -1
View File
@@ -73,7 +73,7 @@ const Modal = ({
w-full ${sizeClasses[size]}
bg-white dark:bg-[#0B0B0B]
border border-neutral-200 dark:border-neutral-800
rounded-lg
rounded-xl
shadow-xl
max-h-[90vh]
overflow-hidden