diff --git a/packages/frontend/src/components/FormatterPreview.module.css b/packages/frontend/src/components/FormatterPreview.module.css index 53c46db8..1e258fca 100644 --- a/packages/frontend/src/components/FormatterPreview.module.css +++ b/packages/frontend/src/components/FormatterPreview.module.css @@ -10,6 +10,19 @@ gap: 15px; margin: 10px 0; } +.previewTitle { + font-size: 18px; + font-weight: bold; + color: #ffffff; + margin-bottom: 10px; +} + +.previewDescription { + font-size: 14px; + color: #aaa; + white-space: pre-wrap; + margin-bottom: 10px; +} .streamPreview { font-family: monospace; diff --git a/packages/frontend/src/components/FormatterPreview.tsx b/packages/frontend/src/components/FormatterPreview.tsx index 2c2b08c1..a9e2fb12 100644 --- a/packages/frontend/src/components/FormatterPreview.tsx +++ b/packages/frontend/src/components/FormatterPreview.tsx @@ -111,6 +111,17 @@ const FormatterPreview: React.FC = ({ formatter }) => { return (
+

Formatter Preview

+

+ This is a preview of how the formatter will look like. You can change + the filename and other parameters to see how it affects the output. +
+
+ Note: The options here do not affect your configuration and are only for + testing purposes. +
+

+ {/* Formatter example display */}
{example.name}
{example.description}