Tutorial mode changes
This commit is contained in:
parent
9965f169b2
commit
c10761128e
40
docs/tutorials/getting-started.md
Normal file
40
docs/tutorials/getting-started.md
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# Getting started
|
||||||
|
|
||||||
|
<begin>basic.showString("Hello world")</begin>
|
||||||
|
|
||||||
|
### Step 1
|
||||||
|
|
||||||
|
Use the **Basic** drawer in the editor
|
||||||
|
to drag out and arrange three blocks to create this program:
|
||||||
|
|
||||||
|
```blocks
|
||||||
|
basic.showString("Hello world")
|
||||||
|
```
|
||||||
|
|
||||||
|
### Step 2
|
||||||
|
|
||||||
|
Use the **Basic** drawer in the editor
|
||||||
|
to drag out and arrange three blocks to create this program:
|
||||||
|
|
||||||
|
### Step 3
|
||||||
|
|
||||||
|
Use the **Basic** drawer in the editor
|
||||||
|
to drag out and arrange three blocks to create this program:
|
||||||
|
|
||||||
|
```blocks
|
||||||
|
basic.showString("Hello world")
|
||||||
|
```
|
||||||
|
|
||||||
|
### Step 4
|
||||||
|
|
||||||
|
Use the **Basic** drawer in the editor
|
||||||
|
to drag out and arrange three blocks to create this program:
|
||||||
|
|
||||||
|
### Step 5
|
||||||
|
|
||||||
|
Use the **Basic** drawer in the editor
|
||||||
|
to drag out and arrange three blocks to create this program:
|
||||||
|
|
||||||
|
```blocks
|
||||||
|
basic.showString("Hello world")
|
||||||
|
```
|
@ -207,7 +207,7 @@
|
|||||||
"projectGallery": "projects",
|
"projectGallery": "projects",
|
||||||
"crowdinProject": "kindscript",
|
"crowdinProject": "kindscript",
|
||||||
"boardName": "micro:bit",
|
"boardName": "micro:bit",
|
||||||
"sideDoc": "getting-started",
|
"sideDoc": "tutorials/getting-started",
|
||||||
"browserSupport": [
|
"browserSupport": [
|
||||||
{
|
{
|
||||||
"name": "unsupported",
|
"name": "unsupported",
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
User Variable Overrides
|
User Variable Overrides
|
||||||
*******************************/
|
*******************************/
|
||||||
|
|
||||||
@invertedBackground: #3454D1;
|
|
||||||
|
|
||||||
/*******************************
|
/*******************************
|
||||||
PXT Theme Overrides
|
PXT Theme Overrides
|
||||||
*******************************/
|
*******************************/
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
@primaryColor: @purple;
|
@primaryColor: @purple;
|
||||||
|
|
||||||
@teal: #3891A6;
|
@teal: #3891A6;
|
||||||
@blue: #456990;
|
@blue: #3454D1;
|
||||||
@red: #EF767A;
|
@red: #EF767A;
|
||||||
@pink: #F46197;
|
@pink: #F46197;
|
||||||
@yellow: #FDE74C;
|
@yellow: #FDE74C;
|
||||||
@ -28,8 +28,45 @@
|
|||||||
PXT Overrides
|
PXT Overrides
|
||||||
*******************************/
|
*******************************/
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Menu
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
@mainMenuInvertedBackground: @blue;
|
||||||
|
@mainMenuTutorialBackground: @orange;
|
||||||
|
|
||||||
@mainMenuHeight: 5rem;
|
@mainMenuHeight: 5rem;
|
||||||
@mobileMenuHeight: 4.4rem;
|
@mobileMenuHeight: 4.4rem;
|
||||||
|
|
||||||
|
@mainMenuBlocksJsToggleColor: @primaryColor;
|
||||||
|
|
||||||
|
@tutorialSelectedMenuColor: @blue;
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Layout
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
@sideBarWidth: 22rem;
|
||||||
|
@simulatorWidth: 27rem;
|
||||||
|
@simulatorWidthSmall: 20rem;
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Background
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
@simulatorBackground: #FDFDFF;
|
@simulatorBackground: #FDFDFF;
|
||||||
@blocklySvgColor: #ecf0f1;
|
@blocklySvgColor: #ecf0f1;
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Side Docs
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
@sidedocsButtonsTop: (@mainMenuHeight + 1rem);
|
||||||
|
@sidedocsButtonsRight: 4.25rem;
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Editor
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
@blocklyToolboxColor: rgba(0, 0, 0, 0.05);
|
||||||
|
@trashIconColor: @primaryColor;
|
||||||
|
Loading…
Reference in New Issue
Block a user