Skip to content

Commit 075bb55

Browse files
committed
Theme highcontrast to typescript
1 parent a299875 commit 075bb55

2 files changed

Lines changed: 21 additions & 4 deletions

File tree

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,18 @@ const categoryStyles = {
8282
* High contrast theme.
8383
*/
8484
export default Blockly.Theme.defineTheme('highcontrast', {
85+
name: 'highcontrast',
8586
blockStyles: defaultBlockStyles,
8687
categoryStyles: categoryStyles,
8788
componentStyles: {
8889
selectedGlowColour: '#000000',
89-
selectedGlowSize: 1,
90+
// selectedGlowSize: 1,
9091
replacementGlowColour: '#000000',
9192
},
9293
fontStyle: {
93-
family: null, // Use default font-family.
94-
weight: null, // Use default font-weight.
94+
family: undefined, // Use default font-family.
95+
weight: undefined, // Use default font-weight.
9596
size: 16,
9697
},
97-
startHats: null,
98+
startHats: undefined,
9899
});
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": "./",
4+
"outDir": "dist",
5+
"declaration": true,
6+
"declarationMap": true,
7+
"sourceMap": true,
8+
"module": "es2015",
9+
"moduleResolution": "bundler",
10+
"target": "es6",
11+
"strict": true
12+
},
13+
// NOTE: `test/**/*` is automatically included in `blockly-scripts start`.
14+
// Only src matters for production builds.
15+
"include": ["src"]
16+
}

0 commit comments

Comments
 (0)