diff --git a/web/src/App.tsx b/web/src/App.tsx index c8fe814..3f908d0 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -132,6 +132,7 @@ import { loadSoundsEnabled, loadSoundsVolume, playSound, + setSoundStyle, saveCustomSound, saveEventSoundEnabled, saveSoundsEnabled, @@ -565,6 +566,7 @@ const AWAY_PRESETS_KEY = "webspeak3:away-presets"; /** "off" hides the server banner: it loads from whatever host the server * admin picked, which then sees the viewer's IP (review S12). */ const SERVER_BANNER_KEY = "webspeak3:server-banner"; +const IDE_PIXEL_FONT_KEY = "webspeak3:ide-pixel-font"; // Off by default: an inline chat image loads from whatever host the sender picked. const CHAT_IMAGES_KEY = "webspeak3:chat-images"; const DISCONNECT_MESSAGE_KEY = "webspeak3:disconnect-message"; @@ -5589,12 +5591,16 @@ function DesignPanel({ customThemes, onSaveCustomTheme, onDeleteCustomTheme, + idePixelFont, + onIdePixelFontChange, }: { designSelection: string; onSelectionChange: (next: string) => void; customThemes: CustomTheme[]; onSaveCustomTheme: (theme: CustomTheme) => void; onDeleteCustomTheme: (id: string) => void; + idePixelFont: boolean; + onIdePixelFontChange: (on: boolean) => void; }) { const t = useT(); const [editing, setEditing] = useState(null); @@ -5712,6 +5718,12 @@ function DesignPanel({ <>

{t("options.section.design")}

{t("design.subtitle")}

+ {resolveDesignThemeBase(designSelection, customThemes) === "ide" && ( + + )}
{builtins.map((th) => (