Skip to content

Commit

Permalink
Add temp fix for button theming
Browse files Browse the repository at this point in the history
  • Loading branch information
jandrade committed Jun 11, 2024
1 parent 58d370f commit 741f402
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/wonder-blocks-theming/src/presets/panda-preset.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {definePreset, defineKeyframes, defineTokens} from "@pandacss/dev";
import {color, spacing} from "@khanacademy/wonder-blocks-tokens";
import buttonDefaultTheme from "../../../wonder-blocks-button/src/themes/default";
import buttonKhanmigoTheme from "../../../wonder-blocks-button/src/themes/khanmigo";
import buttonDefaultTheme from "./default";
import buttonKhanmigoTheme from "./khanmigo";

const wbTokenToPandaToken = (token: Record<string, string | number>) =>
Object.entries(token)
Expand Down
3 changes: 1 addition & 2 deletions packages/wonder-blocks-theming/tsconfig-build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"rootDir": "src",
},
"references": [
{"path": "../wonder-blocks-button/tsconfig-build.json"},
{"path": "../wonder-blocks-core/tsconfig-build.json"},
{"path": "../wonder-blocks-tokens/tsconfig-build.json"},
]
],
}

0 comments on commit 741f402

Please sign in to comment.