Improve docs

This commit is contained in:
venashial
2022-03-09 22:18:22 -08:00
parent d1babe27ec
commit c6df78eb81
14 changed files with 1471 additions and 1323 deletions

View File

@@ -7,8 +7,10 @@
export let value: string;
export let size: 'sm' | 'md' | 'lg' = 'md'
export let color: 'outline' | 'primary' | 'danger';
let className = `btn btn--${size}`;
className += color && (` btn--${color}`)
</script>
{#if as === 'button'}
@@ -313,11 +315,11 @@
*/
}
.btn--large {
.btn--lg {
/* padding: $em-spacer-6 1.5em; */
font-size: inherit;
/* line-height: $lh-default; */
font-size: var(--font-2);
border-radius: 0.5em;
}