-
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove ember-decorators and ember-component-css (#1135)
* Remove ember-decorators, bump some deps * Remove ember-component-css
- Loading branch information
1 parent
15208fc
commit d5208ad
Showing
11 changed files
with
88 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
tests/dummy/app/pods/docs/components/docs-logo/demo1/styles.scss
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
tests/dummy/app/pods/docs/components/docs-logo/demo1/template.hbs
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
tests/dummy/app/pods/docs/components/docs-logo/demo2/styles.scss
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
tests/dummy/app/pods/docs/components/docs-logo/demo2/template.hbs
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
tests/dummy/app/pods/docs/components/docs-logo/demo3/styles.scss
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
tests/dummy/app/pods/docs/components/docs-logo/demo3/template.hbs
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
tests/dummy/app/pods/docs/components/docs-logo/template.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,32 @@ | ||
@import 'pod-styles'; | ||
// BEGIN-SNIPPET docs-logo-ember-styles.scss | ||
.my-ember-addon-logo { | ||
background: #333; | ||
color: white; | ||
width: 50%; | ||
height: 50%; | ||
margin: 0 auto; | ||
padding: 20px; | ||
} | ||
// END-SNIPPET | ||
|
||
// BEGIN-SNIPPET docs-logo-ember-cli-styles.scss | ||
.my-ember-cli-addon-logo { | ||
background: #F44336; | ||
color: white; | ||
width: 50%; | ||
height: 50%; | ||
margin: 0 auto; | ||
padding: 20px; | ||
} | ||
// END-SNIPPET | ||
|
||
// BEGIN-SNIPPET docs-logo-ember-data-styles.scss | ||
.my-ember-data-addon-logo { | ||
background: #2196F3; | ||
color: white; | ||
width: 50%; | ||
height: 50%; | ||
margin: 0 auto; | ||
padding: 20px; | ||
} | ||
// END-SNIPPET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Docs Logo | ||
|
||
An SVG logo that fills its container and takes on the current color. | ||
|
||
By default it renders the Ember logo (you can also pass `@logo="ember"`): | ||
|
||
<DocsDemo as |demo|> | ||
<demo.example @name="docs-logo-ember.hbs"> | ||
<div class="my-ember-addon-logo"> | ||
<DocsLogo /> | ||
</div> | ||
</demo.example> | ||
|
||
<demo.snippet @name="docs-logo-ember.hbs" /> | ||
<demo.snippet @name="docs-logo-ember-styles.scss" /> | ||
</DocsDemo> | ||
|
||
Pass `@logo="ember-cli"` for the Ember CLI logo: | ||
|
||
<DocsDemo as |demo|> | ||
<demo.example @name="docs-logo-ember-cli.hbs"> | ||
<div class="my-ember-cli-addon-logo"> | ||
<DocsLogo @logo="ember-cli" /> | ||
</div> | ||
</demo.example> | ||
|
||
<demo.snippet @name="docs-logo-ember-cli.hbs" /> | ||
<demo.snippet @name="docs-logo-ember-cli-styles.scss" /> | ||
</DocsDemo> | ||
|
||
Pass `@logo="ember-data"` for the Ember Data logo: | ||
|
||
<DocsDemo as |demo|> | ||
<demo.example @name="docs-logo-ember-data.hbs"> | ||
<div class="my-ember-data-addon-logo"> | ||
<DocsLogo @logo="ember-data" /> | ||
</div> | ||
</demo.example> | ||
|
||
<demo.snippet @name="docs-logo-ember-data.hbs" /> | ||
<demo.snippet @name="docs-logo-ember-data-styles.scss" /> | ||
</DocsDemo> |
Oops, something went wrong.