@codecademy/codebytes 2.2.0-alpha.7b3f318f6.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.
|
@@ -4,21 +4,7 @@
|
|
|
4
4
|
// Monaco as a shared package RFC https://www.notion.so/codecademy/Monaco-editor-as-a-shared-package-1f4484db165b4abc8394c3556451ef6a
|
|
5
5
|
|
|
6
6
|
import { trueColors } from '@codecademy/gamut-styles';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Deprecated Gamut Monaco syntax hexes (formerly `editorColors` in gamut-styles).
|
|
10
|
-
* Keep `deprecatedEditorSyntaxColors` in sync with: libs/le-shared/libs/src/monaco/theme/colorsDark.ts and libs/ui/components/src/CodeBlocks/ColorizedBlock/theme.tsx
|
|
11
|
-
*/
|
|
12
|
-
const deprecatedEditorSyntaxColors = {
|
|
13
|
-
blue: '#83fff5',
|
|
14
|
-
deepPurple: '#cc7bc2',
|
|
15
|
-
gray: '#939598',
|
|
16
|
-
green: '#b4d353',
|
|
17
|
-
orange: '#ff8973',
|
|
18
|
-
purple: '#b3ccff',
|
|
19
|
-
red: '#ea6c8b',
|
|
20
|
-
yellow: '#ffe083'
|
|
21
|
-
};
|
|
7
|
+
import { deprecatedEditorSyntaxColors } from './deprecatedEditorSyntaxColors';
|
|
22
8
|
const darkTheme = {
|
|
23
9
|
blue: deprecatedEditorSyntaxColors.blue,
|
|
24
10
|
deepPurple: deprecatedEditorSyntaxColors.deepPurple,
|
|
@@ -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