Rachel Fenichel
f14a1c8034
chore: fix more lint ( #5676 )
...
* chore: fix assorted lint
* chore: clang-format
* chore: clang-format
2021-11-08 16:41:52 -08:00
alschmiedt
0f3c06306f
chore: runs clang format on all files ( #5627 )
2021-10-21 15:22:24 -07:00
Rachel Fenichel
e8d6f7f408
chore: auto-fix violations of comma-dangle rule ( #5625 )
2021-10-21 09:01:51 -07:00
Aaron Dodson
3851b14627
refactor: Migrate to named exports ( #5623 )
...
* refactor: Migrate to named exports
* fix: Sort requires
* fix: Remove duplicate deps
2021-10-20 15:53:23 -07:00
Monica Kozbial
2f44dfd3ef
Add JSDoc to theme classes. ( #5551 )
...
* Add JSDoc to theme classes.
2021-09-28 08:56:03 -07:00
Monica Kozbial
d8fbe1b05b
Add namespace and alias annotations to jsdoc ( #5550 )
...
* Add annotations to files under core/events
* Add annotations to files under core/interfaces
* Add annotations to files under core/keyboard_nav
* Add annotations to files under core/renderers
* Add annotations to files under core/serialization
* Add annotations to files under core/theme
* Add annotations to files under core/toolbox
* Add annotations to files under core/utils
* Add annotations to files under core
2021-09-27 14:42:54 -07:00
kozbial
de330c8874
chore: Remove declareLegacyNamespace() from theme files
2021-09-23 15:32:28 -07:00
kozbial
e7fe63a196
clang-format core/theme/classic.js
2021-08-18 09:36:31 -07:00
kozbial
9c533aa303
Migrate core/theme/classic.js named requires
2021-08-18 09:36:31 -07:00
kozbial
3be64d78aa
Migrate core/theme/classic.js to goog.module
2021-08-18 09:36:31 -07:00
kozbial
94293d2446
clang-format core/theme/zelos.js
2021-08-18 09:16:16 -07:00
kozbial
6efd457294
Migrate core/theme/zelos.js named requires
2021-08-18 09:16:16 -07:00
kozbial
221f0b9c42
Migrate core/theme/zelos.js to goog.module
2021-08-18 09:16:16 -07:00
alschmiedt
2b6b89dc54
Remove themes that were moved to blockly samples ( #5041 )
2021-07-13 13:31:27 -07:00
Monica Kozbial
a15bbf1700
Revert #4697 ( #4917 )
2021-06-16 09:36:39 -07:00
Neil Fraser
cff7b359f4
Make comments more consistent.
2021-06-09 11:41:42 -07:00
Neil Fraser
dd0314bc0b
Normalize comments
2021-05-19 09:57:14 -07:00
Sam El-Husseini
d83279008b
Remove dark theme in favour of @blockly/theme-dark ( #4697 )
...
* Remove dark theme in favour of @blockly/theme-dark
2021-04-21 13:33:59 -07:00
alschmiedt
5c4677010c
Fix theme and add example ( #3988 )
2020-06-29 11:00:22 -07:00
Monica Kozbial
a9223b0b22
Typo fixes. ( #3769 )
2020-03-25 15:47:27 -07:00
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
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
97eb86f988
Configure zelos selected glow properties in theme ( #3715 )
...
* Configure selected and replacement glow size and colour in zelos from the theme.
2020-02-25 14:29:45 -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
a1ed9ab791
Update component names ( #3549 )
2020-01-06 13:18:15 -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
9fc995425a
Support adjusting dropdowndiv default colours through CSS ( #3469 )
...
* Support setting the dropdown theme default colours through CSS. Update dark theme.
2019-11-25 14:18:28 -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
alschmiedt
eece280d92
Fix colour ( #3374 )
2019-10-31 09:04:10 -07:00
Rachel Fenichel
207e0ebe7b
Add tests and better validation for block styles
2019-10-30 17:24:03 -07:00
alschmiedt
fdc9074540
Color blind themes ( #3322 )
...
* Add themes for deuteranopia, protanopia, and tritanopia
2019-10-23 14:23:37 -07: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
Neil Fraser
d1a29739d8
Move utilities into own directory.
...
TODO: There are more functions which may be migrated into dom and string.
2019-06-07 10:32:57 -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
alschmiedt
58c365e377
Changes colour names
2019-02-06 14:24:41 -08:00
alschmiedt
67147124de
Moved theme scripts out of core
2019-01-11 14:39:01 -08:00
alschmiedt
0d78f1dcd5
Fixing compiler error for blockly themes
2019-01-11 14:28:49 -08:00