@codecademy/codebytes 2.2.0-alpha.50a688319.0 → 2.2.0-alpha.929bd5581.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
// We are working on a monaco package in client-modules that has more configuration around themes and languages
|
|
4
4
|
// Monaco as a shared package RFC https://www.notion.so/codecademy/Monaco-editor-as-a-shared-package-1f4484db165b4abc8394c3556451ef6a
|
|
5
5
|
|
|
6
|
-
import {
|
|
6
|
+
import { trueColors } from '@codecademy/gamut-styles';
|
|
7
|
+
import { deprecatedEditorSyntaxColors } from './deprecatedEditorSyntaxColors';
|
|
7
8
|
const darkTheme = {
|
|
8
|
-
blue:
|
|
9
|
-
deepPurple:
|
|
10
|
-
gray:
|
|
11
|
-
green:
|
|
12
|
-
orange:
|
|
13
|
-
purple:
|
|
14
|
-
red:
|
|
15
|
-
white:
|
|
16
|
-
yellow:
|
|
9
|
+
blue: deprecatedEditorSyntaxColors.blue,
|
|
10
|
+
deepPurple: deprecatedEditorSyntaxColors.deepPurple,
|
|
11
|
+
gray: deprecatedEditorSyntaxColors.gray,
|
|
12
|
+
green: deprecatedEditorSyntaxColors.green,
|
|
13
|
+
orange: deprecatedEditorSyntaxColors.orange,
|
|
14
|
+
purple: deprecatedEditorSyntaxColors.purple,
|
|
15
|
+
red: deprecatedEditorSyntaxColors.red,
|
|
16
|
+
white: trueColors.white,
|
|
17
|
+
yellow: deprecatedEditorSyntaxColors.yellow
|
|
17
18
|
};
|
|
18
19
|
export const syntax = {
|
|
19
20
|
attribute: darkTheme.green,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deprecated Gamut Monaco syntax hexes (formerly `editorColors` in gamut-styles).
|
|
3
|
+
* Internal copy for the codebytes Monaco editor.
|
|
4
|
+
*/
|
|
5
|
+
export declare const deprecatedEditorSyntaxColors: {
|
|
6
|
+
readonly blue: "#83fff5";
|
|
7
|
+
readonly deepPurple: "#cc7bc2";
|
|
8
|
+
readonly gray: "#939598";
|
|
9
|
+
readonly green: "#b4d353";
|
|
10
|
+
readonly orange: "#ff8973";
|
|
11
|
+
readonly purple: "#b3ccff";
|
|
12
|
+
readonly red: "#ea6c8b";
|
|
13
|
+
readonly yellow: "#ffe083";
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deprecated Gamut Monaco syntax hexes (formerly `editorColors` in gamut-styles).
|
|
3
|
+
* Internal copy for the codebytes Monaco editor.
|
|
4
|
+
*/
|
|
5
|
+
export const deprecatedEditorSyntaxColors = {
|
|
6
|
+
blue: '#83fff5',
|
|
7
|
+
deepPurple: '#cc7bc2',
|
|
8
|
+
gray: '#939598',
|
|
9
|
+
green: '#b4d353',
|
|
10
|
+
orange: '#ff8973',
|
|
11
|
+
purple: '#b3ccff',
|
|
12
|
+
red: '#ea6c8b',
|
|
13
|
+
yellow: '#ffe083'
|
|
14
|
+
};
|
package/package.json
CHANGED