diff --git a/packages/codemirror/themes.mjs b/packages/codemirror/themes.mjs index 13e5789c..c2f49065 100644 --- a/packages/codemirror/themes.mjs +++ b/packages/codemirror/themes.mjs @@ -4,7 +4,7 @@ import blackscreen, { settings as blackscreenSettings } from './themes/blackscre import whitescreen, { settings as whitescreenSettings } from './themes/whitescreen.mjs'; import teletext, { settings as teletextSettings } from './themes/teletext.mjs'; import algoboy, { settings as algoboySettings } from './themes/algoboy.mjs'; -import CutiePi, {settings as CutiePiSettings} from './themes/CutiePi.mjs' +import CutiePi, { settings as CutiePiSettings } from './themes/CutiePi.mjs'; import terminal, { settings as terminalSettings } from './themes/terminal.mjs'; import abcdef, { settings as abcdefSettings } from './themes/abcdef.mjs'; import androidstudio, { settings as androidstudioSettings } from './themes/androidstudio.mjs'; diff --git a/packages/codemirror/themes/CutiePi.mjs b/packages/codemirror/themes/CutiePi.mjs index 8b71c125..baac72ad 100644 --- a/packages/codemirror/themes/CutiePi.mjs +++ b/packages/codemirror/themes/CutiePi.mjs @@ -6,14 +6,14 @@ */ import { tags as t } from '@lezer/highlight'; import { createTheme } from './theme-helper.mjs'; -const deepPurple = '#5c019a' -const yellowPink = '#fbeffc' -const grey = '#272C35' -const pinkAccent ="#fee1ff" -const lightGrey = '#465063' -const bratGreen = "#9acd3f" -const lighterGrey = "#97a1b7" -const pink = '#f6a6fd' +const deepPurple = '#5c019a'; +const yellowPink = '#fbeffc'; +const grey = '#272C35'; +const pinkAccent = '#fee1ff'; +const lightGrey = '#465063'; +const bratGreen = '#9acd3f'; +const lighterGrey = '#97a1b7'; +const pink = '#f6a6fd'; export const settings = { background: 'white', diff --git a/website/src/repl/components/panel/SettingsTab.jsx b/website/src/repl/components/panel/SettingsTab.jsx index e87ab1a3..4ad3cc9a 100644 --- a/website/src/repl/components/panel/SettingsTab.jsx +++ b/website/src/repl/components/panel/SettingsTab.jsx @@ -79,7 +79,6 @@ const fontFamilyOptions = { PressStart: 'PressStart2P', 'we-come-in-peace': 'we-come-in-peace', galactico: 'galactico', - }; const RELOAD_MSG = 'Changing this setting requires the window to reload itself. OK?'; @@ -106,12 +105,11 @@ export function SettingsTab({ started }) { audioDeviceName, audioEngineTarget, togglePanelTrigger, - } = useSettings(); const shouldAlwaysSync = isUdels(); const canChangeAudioDevice = AudioContext.prototype.setSinkId != null; return ( -
+
{canChangeAudioDevice && ( +

꩜ welcome

You have found strudel, a new live coding platform to write dynamic music