diff --git a/packages/mq-playground/src/Playground.tsx b/packages/mq-playground/src/Playground.tsx index 3e22e64c5..462b10e4c 100644 --- a/packages/mq-playground/src/Playground.tsx +++ b/packages/mq-playground/src/Playground.tsx @@ -21,6 +21,10 @@ import { VscWordWrap, VscMap, VscSettingsGear, + VscPlay, + VscSymbolMethod, + VscLinkExternal, + VscCopy, } from "react-icons/vsc"; import { initVimMode } from "monaco-vim"; import { EXAMPLE_CATEGORIES, EXAMPLES } from "./examples"; @@ -1003,7 +1007,15 @@ export const Playground = () => { } else { document.documentElement.style.colorScheme = theme; } - }, [vimModeEnabled, fontSize, theme, lineNumbers, tabSize, minimapEnabled, wordWrap]); + }, [ + vimModeEnabled, + fontSize, + theme, + lineNumbers, + tabSize, + minimapEnabled, + wordWrap, + ]); // Add keyboard shortcut for save (Ctrl+S / Cmd+S) useEffect(() => { @@ -1499,12 +1511,15 @@ export const Playground = () => { )} -

Playground

+

mq

{ ))}
- {currentFilePath && ( - - )} - - - - diff --git a/packages/mq-playground/src/index.css b/packages/mq-playground/src/index.css index cfcbfc695..5e9863b65 100644 --- a/packages/mq-playground/src/index.css +++ b/packages/mq-playground/src/index.css @@ -252,13 +252,17 @@ body { .button { background-color: transparent; - color: #3182ce; + color: var(--primary-color); border: none; - padding: 4px 12px; + padding: 4px 8px; font-size: 0.875rem; cursor: pointer; - transition: background-color 0.2s; + transition: all 0.2s; font-weight: 600; + display: flex; + align-items: center; + gap: 6px; + border-radius: 4px; } .run-button {