diff --git a/package.json b/package.json index 03ba9e16e..b12bc9117 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "@types/diff": "^5.0.2", "@uiw/codemirror-extensions-events": "^4.23.6", "@uiw/codemirror-theme-monokai": "^4.23.6", + "@uiw/codemirror-theme-xcode": "^4.23.6", "@uiw/codemirror-themes": "^4.23.5", "@uiw/react-codemirror": "^4.23.5", "@welldone-software/why-did-you-render": "^6.1.1", diff --git a/querybook/webapp/components/QueryEditor/QueryEditor.tsx b/querybook/webapp/components/QueryEditor/QueryEditor.tsx index 116d32313..362e43b1c 100644 --- a/querybook/webapp/components/QueryEditor/QueryEditor.tsx +++ b/querybook/webapp/components/QueryEditor/QueryEditor.tsx @@ -35,7 +35,7 @@ import { TableToken } from 'lib/sql-helper/sql-lexer'; import { navigateWithinEnv } from 'lib/utils/query-string'; import { IconButton } from 'ui/Button/IconButton'; -import { CustomMonokaiDarkTheme } from './monokai'; +import { CustomMonokaiDarkTheme, CustomXcodeTheme } from './themes'; import './QueryEditor.scss'; @@ -436,7 +436,11 @@ export const QueryEditor: React.FC< {floatButtons}