Updated 07-05-2026, 10:26
Commit: 7ed8070 Show on GitHub
- Author: Yamen
- Date: 5/13/2026, 12:46:04 PM
- Message: refactor: move styles to global styleguide, add variant/size props #371 Removes all scoped styles from Button.svelte and moves them to the global .button system in styleguide.css. The component now just applies the right class names based on props. Changes: - Removed all scoped <style> from Button.svelte — visual styles now live in styleguide.css - Added variant prop (primary | secondary | outline | danger, default: primary) - Added size prop (small | medium | large, default: medium)
- Stats: 142 total changes (+6 / -136)
Changed Files
src/lib/components/buttons/Button.svelte— +6 / -136 (142 changes)