# OurSQL 2.9.2 — Assignment code-copy themes

Open **SQL**. Next to **Format**, choose **Copy theme** and click the purple **Copy formatted code** button.

| Theme | Appearance |
| --- | --- |
| Assignment · cream (default) | Pale cream block, purple SQL keywords, green strings and muted text, inspired by the supplied example. |
| Paper · white | White block and print-friendly syntax colours. |
| Soft blue | Pale blue block with purple/green syntax colours. |
| Dark editor | Dark block with light text and contrasting syntax colours. |

Expand **Preview copied code block** to see the selected style with your live SQL. Theme selection is remembered in this browser and included in workspace preference backups. It affects the copied code and preview; it does not recolour the SQL editor or change result-export settings.

Rich clipboard content uses inline colours, monospace type, a shaded cell, a subtle border and padding. It contains only your code. Original indentation, tabs, line breaks, case and comments remain intact. Plain-text clipboard content is the exact original SQL. Copy does not format or execute the query.

Paste normally with **Keep source formatting** in a compatible rich-text destination. Word/Google Docs and other editors control which styles they retain; plain-text paste removes colours/background. Background rendering in every destination has not been tested. Use the existing image export when a fixed visual appearance is required.

The Copy button uses a distinct purple background, hover and keyboard-focus treatment. The selector and collapsible preview fit the mobile toolbar.

Validation includes all four theme payloads, code/whitespace preservation, HTML escaping, invalid-theme fallback, the live preview, selected-theme clipboard payload, persisted preference and a visually distinct button in Chromium, alongside existing regressions. Previous FULL JOIN editor/import support is retained. ZIP integrity and extraction are verified before delivery and checksum/CRC checked again after saving.
