Skip to content

Commit

Permalink
Added text
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJltres committed Jul 15, 2020
1 parent d306731 commit 7cb4093
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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** |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 ."
},
Expand Down
7 changes: 7 additions & 0 deletions snippets/fomantic-css.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -1152,5 +1152,12 @@
" $0",
"</div>"
]
},
"Fomantic-UI Default Text": {
"prefix": "ui-text",
"description": "A text is always used inline and uses one color from the FUI color palette",
"body": [
"<span class=\"ui ${1:medium} ${2:red} text\">${3:Some Text}</span>$0"
]
}
}
9 changes: 9 additions & 0 deletions src/components/text-css.code-snippets
Original file line number Diff line number Diff line change
@@ -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": [
"<span class=\"ui ${1:medium} ${2:red} text\">${3:Some Text}</span>$0"
]
}
}

0 comments on commit 7cb4093

Please sign in to comment.