Skip to content

Commit

Permalink
Add documentation files
Browse files Browse the repository at this point in the history
feat: add dist/documentation files
  • Loading branch information
CCAyl authored Feb 6, 2023
2 parents 34eb471 + db4a29c commit 6602ca2
Show file tree
Hide file tree
Showing 47 changed files with 4,066 additions and 58 deletions.
20 changes: 20 additions & 0 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,26 @@ const getStyleDictionaryConfig = (theme) => {
},
],
},
Documentation: {
transformGroup: "custom/documentation",
buildPath: "dist/documentation/",
files: [
{
format: "custom/format/javascript-colors-documentation",
destination: isCore ? `${theme}-colors.js` : `themes/${theme}.js`,
filter: {
type: "color",
},
},
{
format: "custom/format/typescript-color-declarations-documentation",
destination: isCore ? `${theme}-colors.d.ts` : `themes/${theme}.d.ts`,
filter: {
type: "color",
},
},
],
},
},
};
};
Expand Down
216 changes: 216 additions & 0 deletions dist/documentation/core-dark-colors.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
/**
* Do not edit directly
* Generated on Thu, 02 Feb 2023 17:15:53 GMT
*/

export const green : {100:{
name: string,
hex: string,

},200:{
name: string,
hex: string,

},300:{
name: string,
hex: string,

},400:{
name: string,
hex: string,

},500:{
name: string,
hex: string,

},600:{
name: string,
hex: string,

},700:{
name: string,
hex: string,

},800:{
name: string,
hex: string,

}};
export const blue : {100:{
name: string,
hex: string,

},200:{
name: string,
hex: string,

},300:{
name: string,
hex: string,

},400:{
name: string,
hex: string,

},500:{
name: string,
hex: string,

},600:{
name: string,
hex: string,

},700:{
name: string,
hex: string,

},800:{
name: string,
hex: string,

}};
export const red : {100:{
name: string,
hex: string,

},200:{
name: string,
hex: string,

},300:{
name: string,
hex: string,

},400:{
name: string,
hex: string,

},500:{
name: string,
hex: string,

},600:{
name: string,
hex: string,

},700:{
name: string,
hex: string,

},800:{
name: string,
hex: string,

}};
export const purple : {100:{
name: string,
hex: string,

},200:{
name: string,
hex: string,

},300:{
name: string,
hex: string,

},400:{
name: string,
hex: string,

},500:{
name: string,
hex: string,

},600:{
name: string,
hex: string,

},700:{
name: string,
hex: string,

},800:{
name: string,
hex: string,

}};
export const orange : {100:{
name: string,
hex: string,

},200:{
name: string,
hex: string,

},300:{
name: string,
hex: string,

},400:{
name: string,
hex: string,

},500:{
name: string,
hex: string,

},600:{
name: string,
hex: string,

},700:{
name: string,
hex: string,

},800:{
name: string,
hex: string,

}};
export const grey : {100:{
name: string,
hex: string,

},200:{
name: string,
hex: string,

},300:{
name: string,
hex: string,

},400:{
name: string,
hex: string,

},500:{
name: string,
hex: string,

},600:{
name: string,
hex: string,

},700:{
name: string,
hex: string,

},800:{
name: string,
hex: string,

}};
export const shades : {white:{
name: string,
hex: string,

},black:{
name: string,
hex: string,

},transparent:{
name: string,
hex: string,

}};
Loading

0 comments on commit 6602ca2

Please sign in to comment.