forked from tsai/budibase
committed by
GitHub
18 changed files with 89 additions and 12 deletions
@ -1,4 +1,3 @@ |
|||
import h1 from "../H1.svelte"; |
|||
import { button, icon, textfield } from "@BBMD"; |
|||
export default { h1, button, icon, textfield }; |
|||
import { button, icon, textfield, H1, Overline } from "@BBMD"; |
|||
export default { H1, Overline, button, icon, textfield }; |
|||
|
|||
|
|||
@ -0,0 +1,5 @@ |
|||
<script> |
|||
export let text = "" |
|||
</script> |
|||
|
|||
<span class="mdc-typography--body1">{text}</span> |
|||
@ -0,0 +1,5 @@ |
|||
<script> |
|||
export let text = "" |
|||
</script> |
|||
|
|||
<span class="mdc-typography--body2">{text}</span> |
|||
@ -0,0 +1,5 @@ |
|||
<script> |
|||
export let text = "" |
|||
</script> |
|||
|
|||
<div class="mdc-typography--caption">{text}</div> |
|||
@ -0,0 +1,5 @@ |
|||
<script> |
|||
export let text = "" |
|||
</script> |
|||
|
|||
<h1 class="mdc-typography--headline1">{text}</h1> |
|||
@ -0,0 +1,5 @@ |
|||
<script> |
|||
export let text = "" |
|||
</script> |
|||
|
|||
<h2 class="mdc-typography--headline2">{text}</h2> |
|||
@ -0,0 +1,5 @@ |
|||
<script> |
|||
export let text = "" |
|||
</script> |
|||
|
|||
<h3 class="mdc-typography--headline3">{text}</h3> |
|||
@ -0,0 +1,5 @@ |
|||
<script> |
|||
export let text = "" |
|||
</script> |
|||
|
|||
<h4 class="mdc-typography--headline4">{text}</h4> |
|||
@ -0,0 +1,5 @@ |
|||
<script> |
|||
export let text = "" |
|||
</script> |
|||
|
|||
<h5 class="mdc-typography--headline5">{text}</h5> |
|||
@ -0,0 +1,5 @@ |
|||
<script> |
|||
export let text = "" |
|||
</script> |
|||
|
|||
<h6 class="mdc-typography--headline6">{text}</h6> |
|||
@ -0,0 +1,5 @@ |
|||
<script> |
|||
export let text = "" |
|||
</script> |
|||
|
|||
<span class="mdc-typography--overline">{text}</span> |
|||
@ -0,0 +1,5 @@ |
|||
<script> |
|||
export let text = "" |
|||
</script> |
|||
|
|||
<span class="mdc-typography--subtitle1">{text}</span> |
|||
@ -0,0 +1,5 @@ |
|||
<script> |
|||
export let text = "" |
|||
</script> |
|||
|
|||
<span class="mdc-typography--subtitle2">{text}</span> |
|||
@ -0,0 +1 @@ |
|||
@import "@material/typography/mdc-typography.scss"; |
|||
@ -0,0 +1,13 @@ |
|||
import "./_style.scss"; |
|||
export { default as H1 } from "./H1.svelte"; |
|||
export { default as H2 } from "./H2.svelte"; |
|||
export { default as H3 } from "./H3.svelte"; |
|||
export { default as H4 } from "./H4.svelte"; |
|||
export { default as H5 } from "./H5.svelte"; |
|||
export { default as H6 } from "./H6.svelte"; |
|||
export { default as Body1 } from "./Body1.svelte"; |
|||
export { default as Body2 } from "./Body2.svelte"; |
|||
export { default as Sub1 } from "./Sub1.svelte"; |
|||
export { default as Sub2 } from "./Sub2.svelte"; |
|||
export { default as Caption } from "./Caption.svelte"; |
|||
export { default as Overline } from "./Overline.svelte"; |
|||
@ -1,5 +1,6 @@ |
|||
export { default as h1 } from "./H1.svelte"; |
|||
// export { default as h1 } from "./H1.svelte";
|
|||
|
|||
export { default as icon } from "./Icon.svelte"; |
|||
export { button } from "./Button"; |
|||
export { textfield } from "./Textfield"; |
|||
export * from "./Typography" |
|||
|
|||
Loading…
Reference in new issue