DEV: implement composer peek mode directly in theme (#141)

This implements the [composer
peek](https://github.com/discourse/composer-peek) component directly
into the theme, and makes some minor adjustments to match theme styles:


![image](https://github.com/user-attachments/assets/e4272a11-6570-4392-945f-c509cf4debd6)
This commit is contained in:
Kris
2025-04-16 17:10:23 -04:00
committed by GitHub
parent 36899bbbaa
commit cf9fd864dd
4 changed files with 107 additions and 0 deletions
@@ -0,0 +1,6 @@
import { apiInitializer } from "discourse/lib/api";
import peekModeToggle from "../components/composer-peek-mode-toggle";
export default apiInitializer("1.8.0", (api) => {
api.renderInOutlet("before-composer-toggles", peekModeToggle);
});