Skip to content

Commit 775548b

Browse files
authored
Merge pull request microsoft#5 from Microsoft/ianc/readme-fixes
Fixing minor issues in the README.
2 parents 89aaf4d + 5e20f6b commit 775548b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
Install with [npm](https://www.npmjs.com/)
1111

1212
```
13-
$ npm install --save load-themed-styles
13+
$ npm install --save @microsoft/load-themed-styles
1414
```
1515

1616
## Usage
1717

18-
To load a given string of styles, you can do this:
18+
To load a given string of styles, you can do this in TypeScript or ES6:
1919

20-
```js
21-
import { loadStyles } from 'load-themed-styles';
20+
```TypeScript
21+
import { loadStyles } from '@microsoft/load-themed-styles';
2222

2323
loadStyles('body { background: red; }');
2424
```
@@ -38,7 +38,7 @@ loadStyles('body { background: "[theme:primaryBackgroundColor, default: blue]"')
3838
When loading, the background will use the default value, blue. Providing your own theme values using the `loadTheme` function:
3939

4040
```js
41-
import { loadStyles, loadTheme } from 'load-themed-styles';
41+
import { loadStyles, loadTheme } from '@microsoft/load-themed-styles';
4242

4343
loadTheme({
4444
primaryBackgroundColor: "#EAEAEA"

0 commit comments

Comments
 (0)