Skip to content

Commit

Permalink
docs: fix import in creating themes example (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
dalbitresb12 authored Dec 14, 2023
1 parent bc4fc23 commit 9c585d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/docs/docs/learn/05-theming/03-creating-themes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Any variable group can be imported to create a theme like so:

```tsx title="themes.js"
import * as stylex from '@stylexjs/stylex';
import {colors, spacing} from './tokens.styles';
import {colors, spacing} from './tokens.stylex';

// A constant can be used to avoid repeating the media query
const DARK = '@media (prefers-color-scheme: dark)';
Expand Down

0 comments on commit 9c585d8

Please sign in to comment.