@codecademy/codebytes 1.0.13 → 1.0.14-alpha.b63c3165d7.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.
@@ -1,28 +1,28 @@
1
1
  export declare const syntax: {
2
- attribute: "#b4d353";
3
- annotation: "#ea6c8b";
4
- atom: "#cc7bc2";
5
- basic: "#ffffff";
6
- comment: "#939598";
7
- constant: "#ff8973";
8
- decoration: "#ea6c8b";
9
- invalid: "#ea6c8b";
10
- key: "#83fff5";
11
- keyword: "#b3ccff";
12
- number: "#ea6c8b";
13
- operator: "#ea6c8b";
14
- predefined: "#ffffff";
15
- property: "#ea6c8b";
16
- regexp: "#b4d353";
17
- string: "#ffe083";
18
- tag: "#ea6c8b";
19
- text: "#ff8973";
20
- value: "#ffe083";
21
- variable: "#b4d353";
2
+ attribute: string;
3
+ annotation: string;
4
+ atom: string;
5
+ basic: string;
6
+ comment: string;
7
+ constant: string;
8
+ decoration: string;
9
+ invalid: string;
10
+ key: string;
11
+ keyword: string;
12
+ number: string;
13
+ operator: string;
14
+ predefined: string;
15
+ property: string;
16
+ regexp: string;
17
+ string: string;
18
+ tag: string;
19
+ text: string;
20
+ value: string;
21
+ variable: string;
22
22
  };
23
23
  export declare const ui: {
24
24
  background: string;
25
- text: "#ffffff";
25
+ text: string;
26
26
  indent: {
27
27
  active: string;
28
28
  inactive: string;
@@ -2,17 +2,26 @@
2
2
  // This file is part of the Codebytes MVP and only includes basic configuration around theming for the SimpleMonacoEditor component
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
- import { colors, editorColors } from '@codecademy/gamut-styles';
5
+ // import { colors, editorColors } from '@codecademy/gamut-styles';
6
6
  var darkTheme = {
7
- blue: editorColors.blue,
8
- deepPurple: editorColors.deepPurple,
9
- gray: editorColors.gray,
10
- green: editorColors.green,
11
- orange: editorColors.orange,
12
- purple: editorColors.purple,
13
- red: editorColors.red,
14
- white: colors.white,
15
- yellow: editorColors.yellow
7
+ // blue: editorColors.blue,
8
+ // deepPurple: editorColors.deepPurple,
9
+ // gray: editorColors.gray,
10
+ // green: editorColors.green,
11
+ // orange: editorColors.orange,
12
+ // purple: editorColors.purple,
13
+ // red: editorColors.red,
14
+ // white: colors.white,
15
+ // yellow: editorColors.yellow,
16
+ blue: '#83fff5',
17
+ deepPurple: '#cc7bc2',
18
+ gray: '#ff8973',
19
+ green: '#b4d353',
20
+ orange: '#ff8973',
21
+ purple: '#b3ccff',
22
+ red: '#ea6c8b',
23
+ yellow: '#ffe083',
24
+ white: '#ffffff'
16
25
  };
17
26
  export var syntax = {
18
27
  attribute: darkTheme.green,
@@ -5,7 +5,7 @@
5
5
  import * as darkColors from './colorsDark';
6
6
 
7
7
  var c = function c(color) {
8
- return color.substr(1);
8
+ return color.slice(1, color.length);
9
9
  };
10
10
 
11
11
  var theme = function theme(_ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codecademy/codebytes",
3
3
  "description": "Codebytes Editor",
4
- "version": "1.0.13",
4
+ "version": "1.0.14-alpha.b63c3165d7.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@codecademy/tracking": "1.0.10",
@@ -39,5 +39,5 @@
39
39
  "dist/**/[A-Z]**/[A-Z]*.js",
40
40
  "dist/**/[A-Z]**/index.js"
41
41
  ],
42
- "gitHead": "c0d2c65f751301c15422d318a21c2fdf683e4eea"
42
+ "gitHead": "94ac4bdbace4cd3eaba70821f5cb81e7a5f1ceba"
43
43
  }