Highlight color adjustments

This commit is contained in:
2026-05-07 14:21:31 +01:00
parent dfad621d05
commit 905d92afe7
9 changed files with 705 additions and 462 deletions
+33 -31
View File
@@ -6,35 +6,35 @@
"foreground": "#8b949e",
"italic": true
},
"pbs-string:pbs": "#7ee787",
"pbs-number:pbs": "#ffa657",
"pbs-literal:pbs": "#79c0ff",
"pbs-string:pbs": "#d8b86a",
"pbs-number:pbs": "#ff8cc6",
"pbs-literal:pbs": "#7fb8ff",
"pbs-lifecycle:pbs": {
"foreground": "#ff7b72",
"bold": true
},
"pbs-keyword:pbs": "#d2a8ff",
"pbs-keyword:pbs": "#7fb8ff",
"pbs-operator:pbs": "#c9d1d9",
"pbs-punctuation:pbs": "#8b949e",
"pbs-function:pbs": {
"foreground": "#ffa657",
"foreground": "#7ee787",
"bold": true
},
"pbs-method:pbs": "#ffd580",
"pbs-method:pbs": "#7ee787",
"pbs-constructor:pbs": {
"foreground": "#e3b341",
"foreground": "#7ee787",
"bold": true
},
"pbs-struct:pbs": "#56d4dd",
"pbs-struct:pbs": {
"foreground": "#56d4dd",
"italic": true
},
"pbs-contract:pbs": {
"foreground": "#79c0ff",
"underline": true
},
"pbs-host:pbs": "#c297ff",
"pbs-builtin-type:pbs": {
"foreground": "#7ee787",
"italic": true
},
"pbs-builtin-type:pbs": "#56d4dd",
"pbs-service:pbs": {
"foreground": "#ff8e7a",
"bold": true
@@ -62,10 +62,10 @@
"foreground": "#8b949e",
"italic": true
},
"string:pbs": "#7ee787",
"number:pbs": "#ffa657",
"enumMember:pbs": "#79c0ff",
"variable:pbs": "#79c0ff",
"string:pbs": "#d8b86a",
"number:pbs": "#ff8cc6",
"enumMember:pbs": "#7fb8ff",
"variable:pbs": "#7fb8ff",
"function.async:pbs": {
"foreground": "#ff7b72",
"bold": true
@@ -74,41 +74,43 @@
"foreground": "#ff7b72",
"bold": true
},
"keyword:pbs": "#d2a8ff",
"keyword:pbs": "#7fb8ff",
"operator:pbs": "#c9d1d9",
"function:pbs": {
"foreground": "#ffa657",
"foreground": "#7ee787",
"bold": true
},
"method:pbs": "#ffd580",
"method:pbs": "#7ee787",
"class.declaration:pbs": {
"foreground": "#e3b341",
"foreground": "#7ee787",
"bold": true
},
"type.declaration:pbs": {
"foreground": "#e3b341",
"foreground": "#7ee787",
"bold": true
},
"struct:pbs": "#56d4dd",
"type:pbs": "#56d4dd",
"struct:pbs": {
"foreground": "#56d4dd",
"italic": true
},
"type:pbs": {
"foreground": "#56d4dd",
"italic": true
},
"interface:pbs": {
"foreground": "#79c0ff",
"underline": true
},
"class.defaultLibrary:pbs": "#c297ff",
"type.defaultLibrary:pbs": "#c297ff",
"variable.defaultLibrary:pbs": {
"foreground": "#7ee787",
"italic": true
},
"variable.defaultLibrary:pbs": "#56d4dd",
"enum:pbs": {
"foreground": "#ff7b72",
"underline": true
},
"variable.readonly:pbs": {
"foreground": "#f778ba",
"italic": true
}
"variable.readonly:pbs": "#c297ff",
"pbs-asset:pbs": "#c297ff",
"string.readonly:pbs": "#c297ff"
}
},
"workbench.colorCustomizations": {
File diff suppressed because it is too large Load Diff
+7 -5
View File
@@ -15,6 +15,8 @@ declare global camera_mult: int = 1;
declare const MAX_FRAMES: int = 4;
declare const CAMERA_SPEED: int = 1;
declare struct Bla (a: int) {}
[Init]
fn init() -> void
{
@@ -25,6 +27,7 @@ fn init() -> void
camera_x = 0;
camera_mult = 1;
Composer.bind_scene(0);
let bla: Bla = new Bla(1);
}
[Frame]
@@ -55,9 +58,8 @@ fn frame() -> void
}
}
let touch : InputTouch = Input.touch();
let pad : InputPad = Input.pad();
if (touch.button().released())
{
@@ -93,15 +95,15 @@ fn frame() -> void
let b : int = 15;
let total : int = a + b;
if (Input.pad().a().pressed())
if (pad.a().pressed())
{
total += 25;
}
else if (Input.pad().b().pressed())
else if (pad.b().pressed())
{
total += 5;
}
else if (Input.pad().x().pressed())
else if (pad.x().pressed())
{
total -= 10;
}