Skip to content

Commit

Permalink
Theme tritanopia to typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
tgbhy committed Dec 30, 2024
1 parent d302ee5 commit bc87084
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,10 @@ const categoryStyles = {
* blue light).
*/
export default Blockly.Theme.defineTheme('tritanopia', {
name: 'tritanopia',
blockStyles: defaultBlockStyles,
categoryStyles: categoryStyles,
componentStyles: {},
fontStyle: {},
startHats: null,
startHats: undefined,
});
16 changes: 16 additions & 0 deletions plugins/theme-tritanopia/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"compilerOptions": {
"baseUrl": "./",
"outDir": "dist",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"module": "es2015",
"moduleResolution": "bundler",
"target": "es6",
"strict": true
},
// NOTE: `test/**/*` is automatically included in `blockly-scripts start`.
// Only src matters for production builds.
"include": ["src"]
}

0 comments on commit bc87084

Please sign in to comment.