Sam El-Husseini
7e1f81cf11
Insertion marker properties in theme ( #3752 )
...
* Pipe inseriton marker colour and opacity from theme
2020-03-18 10:15:30 -07:00
Sam El-Husseini
1d3a1655c6
Support multiple renderer / theme combos on the same page. ( #3732 )
...
* Support multiple renderer / theme combos on the same page.
2020-03-11 20:09:00 -07:00
Sam El-Husseini
29dc7bd7f7
Adjust marker and cursor colours from the theme ( #3735 )
...
* Support adjusting marker and cursor colours from the theme
2020-03-11 11:23:29 -07:00
Sam El-Husseini
a9e10807ca
Support extending themes with a base theme property. ( #3731 )
...
* Support extending themes with a base theme property.
2020-03-10 10:30:13 -07:00
Sam El-Husseini
21763b7e00
Support enabling start hats from themes ( #3722 )
...
* Support themes configuring the start hats of blocks. Add test themes
2020-03-05 17:34:31 -08:00
Sam El-Husseini
eb40ca44ba
Dynamic fonts ( #3698 )
...
* Piping themes into the renderer and ensuring fields update their size information when constants change.
2020-02-20 17:16:01 -08:00
Neil Fraser
4e2f8e6e02
Use SPDX licences.
...
This is a followup to #3127 .
At the time, SPDX licenses were pending approval by Google.
2020-02-11 13:27:20 -08:00
alschmiedt
e1bb1d667e
Add back setters for theme ( #3674 )
2020-02-07 09:20:21 -08:00
alschmiedt
88ad660c51
Remove check for same theme when refreshing ( #3672 )
...
* Remove check for same theme when refreshing
2020-01-30 16:05:24 -08:00
Sam El-Husseini
55997784ca
Move blockStyles into constants ( #3485 )
...
* Move blockStyles into constants.
2019-12-06 10:51:36 -08:00
Sam El-Husseini
fdc50f2cd0
Add the theme name to the injection div ( #3413 )
...
* Set the theme name as a class on the injection div.
2019-11-07 15:19:58 -08:00
Sam El-Husseini
43224afbf7
Move parseBlockColour into Blockly.utils ( #3399 )
...
* Move parseBlockColour into utils and add missing require.
2019-11-04 22:39:18 -08:00
Sam El-Husseini
0aea33d8a6
Make theme validate style method work with advanced compilation ( #3384 )
2019-11-01 12:21:05 -07:00
Sam El-Husseini
0f659b25fa
Support workspace theme option as JSON ( #3379 )
...
* Allow passing in a theme as JSON
2019-10-31 15:49:48 -07:00
Sam El-Husseini
93755fef53
Treat compiler warnings as errors and run on travis ( #3378 )
...
* Enable compiler warnings as errors and run on travis
2019-10-31 15:49:28 -07:00
Rachel Fenichel
207e0ebe7b
Add tests and better validation for block styles
2019-10-30 17:24:03 -07:00
Rachel Fenichel
46fad66ab1
Review feedback.
2019-10-30 15:58:53 -07:00
Rachel Fenichel
5ef08fc0d4
Switch to using the style object in the path object.
2019-10-30 14:47:23 -07:00
Sam El-Husseini
986e965be8
Private/protected visibility cleanup ( #3263 )
...
* Fix a number of private visibility issues
2019-10-16 11:48:09 -05:00
Neil Fraser
b46a4fe286
Bring our license format up to date ( #3127 )
...
* Google changed from an Inc to an LLC.
This happened back in 2017 but we didn’t notice. Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.
* Remove project description/titles from licenses
This is no longer part of Google’s header requirements. Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).
* License no longer requires URL.
* Fix license regexps.
2019-10-02 14:46:56 -07:00
Sam El-Husseini
870824bc3e
Workspace theme ( #3093 )
...
* Move the theme object so it's on the workspace.
* Add support for subscribing UI elements to theme component styles and changes.
2019-09-26 16:52:17 -07:00
Sam El-Husseini
cb564053b3
Merge toolbox navigation ( #3054 )
...
* Merge both types of keyboard navigation (with and without accessibility mode).
2019-09-19 16:36:39 -07:00
Sam El-Husseini
c1b49a1da7
Fix some jsdoc types ( #2701 )
...
* Fix JSDoc regarding type inconsistencies. Make image field src required and update image field tests.
2019-07-25 12:24:36 -07:00
Neil Fraser
dce0b77424
Fix 19 warnings in theme-related code. ( #2523 )
...
* Fix 19 warnings in theme-related code.
Resolves #2414
* Remove suppressPrefixSuffix property definition
The mixin code throws an error if property exists on both objects.
* eslint has strange ideas about indentation.
2019-05-30 10:05:06 -07:00
Neil Fraser
9f528922a7
Fix some dependencies
2019-05-24 15:45:05 -07:00
Neil Fraser
f118d33855
Corrections to JSDoc comments
2019-03-29 15:24:37 -07:00
Neil Fraser
e9de083361
Fix @return JSDocs.
2019-03-29 15:24:37 -07:00
Andrew n marshall
570eecbff8
Correcting jsdoc tag spacing (PR #2303 )
2019-02-20 11:33:16 -08:00
alschmiedt
caf664db04
Small fixes
2019-01-09 15:38:30 -08:00
alschmiedt
40a1ae752b
Adds support for category styles
2019-01-09 11:18:44 -08:00
alschmiedt
f480b1ff79
Changes Blockly style to be Blockly theme.
2019-01-08 11:40:57 -08:00