Skip to content

Commit

Permalink
chore: fix types across, upgrade to latest SD types branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenbroekema committed Jan 9, 2024
1 parent a26f7aa commit 0f0c5f8
Show file tree
Hide file tree
Showing 15 changed files with 45 additions and 223 deletions.
211 changes: 17 additions & 194 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"expr-eval": "^2.0.2",
"is-mergeable-object": "^1.1.1",
"postcss-calc-ast-parser": "^0.1.4",
"style-dictionary": "4.0.0-prerelease.4"
"style-dictionary": "github:amzn/style-dictionary#types"
},
"devDependencies": {
"@changesets/cli": "^2.26.0",
Expand Down
2 changes: 1 addition & 1 deletion src/color-modifiers/transformColorModifiers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DesignToken } from 'style-dictionary';
import type { DesignToken } from 'style-dictionary/types';
import { modifyColor } from './modifyColor.js';
import { ColorModifier } from '@tokens-studio/types';
import { ColorModifierOptions } from '../TransformOptions.js';
Expand Down
2 changes: 1 addition & 1 deletion src/mapDescriptionToComment.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DesignToken } from 'style-dictionary';
import type { DesignToken } from 'style-dictionary/types';

/**
* Helper: Maps the token description to a style dictionary comment attribute - this will be picked up by some Style Dictionary
Expand Down
Loading

0 comments on commit 0f0c5f8

Please sign in to comment.