Skip to content

Commit f9e1a67

Browse files
Remove unused imports from createGlobalThemeContract docs (#325)
1 parent a25cb16 commit f9e1a67

File tree

3 files changed

+6
-24
lines changed

3 files changed

+6
-24
lines changed

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -683,10 +683,7 @@ For example, you can automatically prefix all variable names.
683683
```ts
684684
// themes.css.ts
685685

686-
import {
687-
createGlobalThemeContract,
688-
createGlobalTheme
689-
} from '@vanilla-extract/css';
686+
import { createGlobalThemeContract } from '@vanilla-extract/css';
690687

691688
export const vars = createGlobalThemeContract({
692689
color: {
@@ -703,10 +700,7 @@ You can also use the map function to automatically generate names from the objec
703700
```ts
704701
// themes.css.ts
705702

706-
import {
707-
createGlobalThemeContract,
708-
createGlobalTheme
709-
} from '@vanilla-extract/css';
703+
import { createGlobalThemeContract } from '@vanilla-extract/css';
710704

711705
export const vars = createGlobalThemeContract({
712706
color: {

packages/css/CHANGELOG.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@
4242

4343
```ts
4444
// themes.css.ts
45-
import {
46-
createGlobalThemeContract,
47-
createGlobalTheme,
48-
} from '@vanilla-extract/css';
45+
import { createGlobalThemeContract } from '@vanilla-extract/css';
4946

5047
export const vars = createGlobalThemeContract(
5148
{
@@ -64,10 +61,7 @@
6461

6562
```ts
6663
// themes.css.ts
67-
import {
68-
createGlobalThemeContract,
69-
createGlobalTheme,
70-
} from '@vanilla-extract/css';
64+
import { createGlobalThemeContract } from '@vanilla-extract/css';
7165

7266
export const vars = createGlobalThemeContract(
7367
{

site/docs/styling-api.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -372,10 +372,7 @@ For example, you can automatically prefix all variable names.
372372

373373
```ts
374374
// themes.css.ts
375-
import {
376-
createGlobalThemeContract,
377-
createGlobalTheme
378-
} from '@vanilla-extract/css';
375+
import { createGlobalThemeContract } from '@vanilla-extract/css';
379376

380377
export const vars = createGlobalThemeContract(
381378
{
@@ -394,10 +391,7 @@ You can also use the map function to automatically generate names from the objec
394391

395392
```ts
396393
// themes.css.ts
397-
import {
398-
createGlobalThemeContract,
399-
createGlobalTheme
400-
} from '@vanilla-extract/css';
394+
import { createGlobalThemeContract } from '@vanilla-extract/css';
401395

402396
export const vars = createGlobalThemeContract(
403397
{

0 commit comments

Comments
 (0)