Skip to content

Commit

Permalink
Merge branch 'master' into kiki-lee-lab3
Browse files Browse the repository at this point in the history
  • Loading branch information
kiki-lee authored Mar 1, 2025
2 parents f3aff28 + 29613c2 commit 801c70c
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pxt-buildmain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: actions/checkout@main
with:
repository: microsoft/pxt-arcade-sim
ref: v0.11.12
ref: v0.11.13
token: ${{ secrets.GH_TOKEN }}
path: node_modules/pxt-arcade-sim
- name: pxt ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pxt-buildpush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: actions/checkout@main
with:
repository: microsoft/pxt-arcade-sim
ref: v0.11.12
ref: v0.11.13
token: ${{ secrets.GH_TOKEN }}
path: node_modules/pxt-arcade-sim
- name: pxt ci
Expand Down
2 changes: 1 addition & 1 deletion docs/index-ref.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"appref": "v1.12.59"
"appref": "v1.12.61"
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pxt-arcade",
"version": "2.0.19",
"version": "2.0.21",
"description": "Small arcade editor for MakeCode",
"keywords": [
"JavaScript",
Expand Down Expand Up @@ -32,10 +32,10 @@
},
"dependencies": {
"pxt-common-packages": "12.2.5",
"pxt-core": "11.3.22"
"pxt-core": "11.3.26"
},
"optionalDependencies": {
"pxt-arcade-sim": "microsoft/pxt-arcade-sim.git#v0.11.12"
"pxt-arcade-sim": "microsoft/pxt-arcade-sim.git#v0.11.13"
},
"scripts": {
"serve": "node node_modules/pxt-core/built/pxt.js serve",
Expand Down
4 changes: 2 additions & 2 deletions theme/blockly-toolbox.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
div.blocklyTreeRow {
margin-bottom: 0px !important;
transition-property: background-color;
transition-duration: 1s;
transition-duration: 0.2s;
}

.blocklyToolboxDiv, .monacoToolboxDiv {
Expand All @@ -26,4 +26,4 @@ div.blocklyTreeRow {
.blocklyToolboxDiv, .monacoToolboxDiv {
border-left: 0 !important;
}
}
}
7 changes: 4 additions & 3 deletions theme/color-themes/arcade-dark.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "arcade-dark",
"name": "Arcade Dark",
"weight": 60,
"monacoBaseTheme": "vs-dark",
"overrideFiles": [
"/overrides/arcade-dark-overrides.css"
Expand Down Expand Up @@ -106,10 +107,10 @@
"pxt-colors-red-hover": "#c0392b",
"pxt-colors-red-alpha10": "#e74c3c19",

"pxt-colors-teal-background": "#02494c",
"pxt-colors-teal-background": "#1abc9c",
"pxt-colors-teal-foreground": "#ffffff",
"pxt-colors-teal-hover": "#036165",
"pxt-colors-teal-alpha10": "#02494c19",
"pxt-colors-teal-hover": "#16a085",
"pxt-colors-teal-alpha10": "#1abc9c19",

"pxt-colors-yellow-background": "#fde300",
"pxt-colors-yellow-foreground": "#000000",
Expand Down
9 changes: 5 additions & 4 deletions theme/color-themes/arcade-legacy.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "arcade-legacy",
"name": "Arcade Legacy",
"weight": 20,
"overrideFiles": [],
"colors": {
"pxt-header-background": "#F76820",
Expand Down Expand Up @@ -41,25 +42,25 @@

"pxt-target-background3": "#FEF3E0",
"pxt-target-foreground3": "#000000",
"pxt-target-background3-hover": "#fce0af",
"pxt-target-background3-hover": "#E4E4E4",
"pxt-target-foreground3-hover": "#000000",
"pxt-target-stencil3": "#e4d9c7",

"pxt-neutral-background1": "#FFFFFF",
"pxt-neutral-foreground1": "rgba(0,0,0,.85)",
"pxt-neutral-background1-hover": "#e6e6e6",
"pxt-neutral-background1-hover": "#f2f2f2",
"pxt-neutral-foreground1-hover": "rgba(0,0,0,.85)",
"pxt-neutral-stencil1": "rgba(34, 36, 38, .15)",

"pxt-neutral-background2": "#F8F8F8",
"pxt-neutral-foreground2": "rgba(0,0,0,.85)",
"pxt-neutral-background2-hover": "#DFDFDF",
"pxt-neutral-background2-hover": "#ebebeb",
"pxt-neutral-foreground2-hover": "rgba(0,0,0,.85)",
"pxt-neutral-stencil2": "#e9eef2",

"pxt-neutral-background3": "#4e5758",
"pxt-neutral-foreground3": "#FFFFFF",
"pxt-neutral-background3-hover": "#363c3d",
"pxt-neutral-background3-hover": "#424a4a",
"pxt-neutral-foreground3-hover": "#FFFFFF",
"pxt-neutral-stencil3": "#FFFFFF",
"pxt-neutral-background3-alpha90": "#4E5758E5",
Expand Down
7 changes: 4 additions & 3 deletions theme/color-themes/arcade-light.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "arcade-light",
"name": "Arcade Light",
"weight": 40,
"overrideFiles": [],
"colors": {
"pxt-header-background": "#116E79",
Expand Down Expand Up @@ -47,19 +48,19 @@

"pxt-neutral-background1": "#FFFFFF",
"pxt-neutral-foreground1": "rgba(0,0,0,.85)",
"pxt-neutral-background1-hover": "#e6e6e6",
"pxt-neutral-background1-hover": "#f2f2f2",
"pxt-neutral-foreground1-hover": "rgba(0,0,0,.85)",
"pxt-neutral-stencil1": "rgba(34, 74, 114, 0.15)",

"pxt-neutral-background2": "#F8F8F8",
"pxt-neutral-foreground2": "rgba(0,0,0,.85)",
"pxt-neutral-background2-hover": "#DFDFDF",
"pxt-neutral-background2-hover": "#ebebeb",
"pxt-neutral-foreground2-hover": "rgba(0,0,0,.85)",
"pxt-neutral-stencil2": "#e9eef2",

"pxt-neutral-background3": "#4e5758",
"pxt-neutral-foreground3": "#FFFFFF",
"pxt-neutral-background3-hover": "#363c3d",
"pxt-neutral-background3-hover": "#424a4a",
"pxt-neutral-foreground3-hover": "#FFFFFF",
"pxt-neutral-stencil3": "#FFFFFF",
"pxt-neutral-background3-alpha90": "#4E5758E5",
Expand Down
5 changes: 3 additions & 2 deletions theme/color-themes/overrides/arcade-dark-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
color: var(--pxt-target-foreground3);
}

.pxtToolbox .blocklyTreeIcon {
/* Better contrast in toolbox, but try to preserve some of the icon color */
.pxtToolbox .blocklyTreeIcon,
.tutorial-container span.docs.inlineblock {
/* Better contrast in toolbox & tutorial block colors, but try to preserve some of the icon color */
filter: brightness(1.2) saturate(2);
}

Expand Down

0 comments on commit 801c70c

Please sign in to comment.