Skip to content

Commit

Permalink
Respond to review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cuberoot committed Jun 18, 2019
1 parent 19a4418 commit 04f0812
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/components/theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ color themes (dark and light) one one of the scales (medium).

There are a few cases where it is necessary to embed one theme within another.
For example, if you have an application that is using a dark theme that is
prviewing or editing content that will be displayed in a light theme.
previewing or editing content that will be displayed in a light theme.

If you only want to change colors, you can use the `sp-theme-dark` or
`sp-theme-light` class instead. They are a little lighter weight than
Expand Down
1 change: 1 addition & 0 deletions src/themes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ if (!customElements.get('sp-theme')) {
declare global {
interface HTMLElementTagNameMap {
'sp-theme-dark': ThemeDark;
'sp-theme-light': ThemeLight;
'sp-scale-medium': ScaleMedium;
'sp-theme': Theme;
}
Expand Down

0 comments on commit 04f0812

Please sign in to comment.