Skip to content

Commit

Permalink
fix: remove code of removed colour toolbox (#2308)
Browse files Browse the repository at this point in the history
* fix: devsite init script

* fix: devsite style
  • Loading branch information
mobyw authored Apr 4, 2024
1 parent d7eb645 commit d9caf5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
5 changes: 2 additions & 3 deletions examples/devsite-demo/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,9 @@ function init() {
toolboxJson['contents'][2].name = getMsg('Math');
toolboxJson['contents'][3].name = getMsg('Text');
toolboxJson['contents'][4].name = getMsg('Lists');
toolboxJson['contents'][5].name = getMsg('Colour');
// Separator.
toolboxJson['contents'][7].name = getMsg('Variables');
toolboxJson['contents'][8].name = getMsg('Procedures');
toolboxJson['contents'][6].name = getMsg('Variables');
toolboxJson['contents'][7].name = getMsg('Procedures');

// Inject default variable name.
// https://github.com/google/blockly/issues/5238
Expand Down
5 changes: 2 additions & 3 deletions examples/devsite-landing-demo/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,9 @@ function init() {
toolboxJson['contents'][2].name = getMsg('Math');
toolboxJson['contents'][3].name = getMsg('Text');
toolboxJson['contents'][4].name = getMsg('Lists');
toolboxJson['contents'][5].name = getMsg('Colour');
// Separator.
toolboxJson['contents'][7].name = getMsg('Variables');
toolboxJson['contents'][8].name = getMsg('Procedures');
toolboxJson['contents'][6].name = getMsg('Variables');
toolboxJson['contents'][7].name = getMsg('Procedures');

// Inject default variable name.
// https://github.com/google/blockly/issues/5238
Expand Down
8 changes: 2 additions & 6 deletions examples/devsite-landing-demo/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,11 @@ option {
border-left: 15px solid #4db6ac !important;
}

#blockly-5 {
border-left: 15px solid #ffcdd2 !important;
}

#blockly-7 {
#blockly-6 {
border-left: 15px solid #ef9a9a !important;
}

#blockly-8 {
#blockly-7 {
border-left: 15px solid #d7ccc8 !important;
}

Expand Down

0 comments on commit d9caf5d

Please sign in to comment.