Skip to content

Commit

Permalink
explain the background option in a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
KTibow committed Aug 15, 2024
1 parent ac48b9e commit 554717f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/forms/TextFieldOutlined.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
</div>

<style>
/*
want to customize the label's background?
do this: <TextFieldOutlined --m3-util-background="var(--m3-scheme-surface-container)" />
*/
:root {
--m3-textfield-outlined-shape: var(--m3-util-rounding-extra-small);
}
Expand Down
4 changes: 4 additions & 0 deletions src/lib/forms/TextFieldOutlinedMultiline.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
</div>

<style>
/*
want to customize the label's background?
do this: <TextFieldOutlinedMultiline --m3-util-background="var(--m3-scheme-surface-container)" />
*/
:root {
--m3-textfield-outlined-shape: var(--m3-util-rounding-extra-small);
}
Expand Down

0 comments on commit 554717f

Please sign in to comment.