Skip to content

Commit

Permalink
added some buttons and card elements
Browse files Browse the repository at this point in the history
  • Loading branch information
liciolentimo committed Sep 16, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent fa53d4c commit 8195662
Showing 4 changed files with 50 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Change Log
All notable changes to the "semantic-ui-snippets" extension will be documented in this file.

## [2.0.1]
- Added some buttons and card elements.

## [2.0.0]
- Added more snippets for buttons and ui elements

7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -17,20 +17,23 @@ Semantic allows developers to build beautiful websites fast, with concise HTML,
|`std-button-disabled-tooltip` | `button` with class `disabled` and tooltip on a surrounding `span`|
|`ui-button-deny` | `div` with class `ui black deny button`|
|`ui-button-approve` | `div` with class `ui green approve right button`|
|`ui-button` | `button` with class `ui primary button`|
|`ui-icon` | `button` with class `ui icon button`|
| **Elements** | |
`semh` | Starter snippet with `head` tags |
|`ui-segment` | `div` with class `ui segment`|
|`ui-form` | `form` with class `ui form` and method `post`|
|`ui-header` | `div` with class `ui header`|
|`ui-clearing` | `div` with class `ui clearing divider`|
|`ui-modal` | `div` with class `ui modal`|
|`ui-card` | `div` with class `ui card`|

## Release Notes

Starter template for Semantic-UI snippets.

### 2.0.0
Added buttons and divider elements.
### 2.0.1
Added some buttons and card elements.



2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"name": "semantic-ui-snippets",
"displayName": "semantic-ui snippets",
"description": "Semantic-UI snippet generator",
"version": "2.0.0",
"version": "2.0.1",
"publisher": "Licio",
"repository": {
"type": "git",
41 changes: 41 additions & 0 deletions snippets/snippets.json
Original file line number Diff line number Diff line change
@@ -133,5 +133,46 @@
"</div>"
],
"description": "ui-modal"
},
"ui card with image":{
"prefix":"ui-card",
"body": [
"<div class=\"ui card\">",
" <div class=\"image\">",
" <img src=\"\">",
" </div>",
" <div class=\"content\">",
"<a class=\"header\">Kristy</a>",
"<div class=\"meta\">",
"<span class=\"date\">Joined in 2013</span>",
"</div>",
"<div class=\"description\">Kristy is an art director living in New York.</div>",
"</div>",
"<div class=\"extra content\">",
"<a>",
"<i class=\"user icon\"></i> 22 Friends",
"</a>",
"</div>",
"</div>"
],
"description":"ui card"
},
"standard button":{
"prefix":"ui-button",
"body":[
"<button class=\"ui primary button\">",
"Save",
"</button>"
],
"description":"standard button"
},
"icon button":{
"prefix":"ui-icon",
"body":[
"<button class=\"ui icon button\">",
" <i class=\"cloud icon\"></i>",
"</button>"
],
"description":"ui icon button"
}
}

0 comments on commit 8195662

Please sign in to comment.