Bug: Site stylesheets are missing colo(u)red pre-formatted text

This discourse is configured with three themes: Default, Dark, and Ubuntu.

All three are missing the style sheet elements for coloured preformatted text.

For example, this:

```bash
#!/bin/bash
echo "Starting backup..."
tar -czf backup.tar.gz /home/user/documents
echo "Backup complete!"
```

Should look like this:

image

But actually renders like this:

image

These boxes use the css element code.lang-bash (in this example), but there are plenty more such as code.lang-yaml and code.lang-toml and so on.

On this site everything renders the text as colour #222222 on #F9F9F9 - grey on grey.

 _________
< BORING! >
 ---------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

It seems the default discourse theme uses hljs to colourise the text…

image

image

Other discourse sites I have checked which use hljs to colourise the text correctly include:

etc. You get the idea. We’re the outlier here.

The only site I have found which has the same drab colourless design is… :drum:

(sad trombone)

Please can whoever implemented the new design, add back in the colourised pre-formatted text styles.

Thanks.

3 Likes