diff --git a/README.md b/README.md index d06fb1f..190f70e 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,7 @@ This extension provides code snippets for [Fomantic-UI](https://fomantic-ui.com/ | `ui-steps-unstackable` | A step can prevent itself from stacking on mobile | | `ui-steps-fluid` | A fluid step takes up the width of its container | | `ui-steps-attached` | Steps can be attached to other elements | +| `ui-text` | A text is always used inline and uses one color from the FUI color palette | ### JS | **Prefix** | **Description** | diff --git a/package.json b/package.json index 5b798d9..cc8109f 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "repository": { "url": "https://github.com/fomantic/Fomantic-UI-vscode-snippets/" }, - "version": "0.19.0", + "version": "0.20.0", "scripts": { "start": "node ." }, diff --git a/snippets/fomantic-css.code-snippets b/snippets/fomantic-css.code-snippets index c8b7a78..a7e6675 100644 --- a/snippets/fomantic-css.code-snippets +++ b/snippets/fomantic-css.code-snippets @@ -1152,5 +1152,12 @@ " $0", "" ] + }, + "Fomantic-UI Default Text": { + "prefix": "ui-text", + "description": "A text is always used inline and uses one color from the FUI color palette", + "body": [ + "${3:Some Text}$0" + ] } } \ No newline at end of file diff --git a/src/components/text-css.code-snippets b/src/components/text-css.code-snippets new file mode 100644 index 0000000..3e1d770 --- /dev/null +++ b/src/components/text-css.code-snippets @@ -0,0 +1,9 @@ +{ + "Fomantic-UI Default Text": { + "prefix": "ui-text", + "description": "A text is always used inline and uses one color from the FUI color palette", + "body": [ + "${3:Some Text}$0" + ] + } +} \ No newline at end of file