Skip to content

Commit

Permalink
add colors to constants api (fixes bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristel-figma committed Apr 19, 2024
1 parent 6ad6d3d commit 4b5831d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugin-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,10 @@ interface ColorPalette {
[key: string]: string
}
interface ConstantsAPI {
figJamBase: ColorPalette
figJamBaseLight: ColorPalette
colors: {
figJamBase: ColorPalette
figJamBaseLight: ColorPalette
}
}
declare type CodegenEvent = {
node: SceneNode
Expand Down

0 comments on commit 4b5831d

Please sign in to comment.