For the last week or so I’ve been styling a Discourse setup for a brand which includes fixed fonts, logos and icons.
To begin with I noticed that any assets I imported (place in assets folder and import under the assets object of about.json) became immediately available to use as a SCSS variable but took a minute or two to show up in settings.theme_uploads.
Now however, they don’t show up at all in settings.theme_uploads which means I can’t use them in my JavaScript. If I remove an asset it also stays in the settings object. The SCSS usage stays unaffected.
Die Daten settings.theme_uploads wurden relativ kürzlich zu Javascript hinzugefügt (ich glaube, nachdem der OP geschrieben wurde). Sie sollten zuverlässig sein – wir verwenden sie in unseren eigenen Themes/Komponenten. Können Sie genauer erklären, welche Probleme Sie sehen?