diff --git a/docs/rstIconReplacements.txt b/docs/rstIconReplacements.txt index 58f3d2c7a..f56f7814f 100644 --- a/docs/rstIconReplacements.txt +++ b/docs/rstIconReplacements.txt @@ -86,7 +86,6 @@ .. |print| replace:: :raw-html:`` .. |profile| replace:: :raw-html:`` .. |projects| replace:: :raw-html:`` -.. |publishedResource| replace:: :raw-html:`` .. |question| replace:: :raw-html:`` .. |quiz| replace:: :raw-html:`` .. |radioSelected| replace:: :raw-html:`` @@ -114,6 +113,8 @@ .. |undo| replace:: :raw-html:`` .. |unlistedchannel| replace:: :raw-html:`` .. |unpublishedChange| replace:: :raw-html:`` +.. |unpublishedResource| replace:: :raw-html:`` .. |video| replace:: :raw-html:`` .. |view| replace:: :raw-html:`` +.. |warningIncomplete| replace:: :raw-html:`` .. |warning| replace:: :raw-html:`` diff --git a/lib/KIcon/iconDefinitions.js b/lib/KIcon/iconDefinitions.js index fb3b5c316..665f0f95c 100644 --- a/lib/KIcon/iconDefinitions.js +++ b/lib/KIcon/iconDefinitions.js @@ -147,7 +147,7 @@ const KolibriIcons = { icon: require('./precompiled-icons/material-icons/fiber_manual_record/outline.vue').default, defaultColor: themeTokens().success, }, - publishedResource: { + unpublishedResource: { icon: require('./precompiled-icons/material-icons/fiber_manual_record/baseline.vue').default, defaultColor: themeTokens().success, }, @@ -250,6 +250,11 @@ const KolibriIcons = { icon: require('./precompiled-icons/material-icons/filter_list/baseline.vue').default, }, warning: { icon: require('./precompiled-icons/material-icons/warning/baseline.vue').default }, + // warningIncomplete for use in RST docs as we cannot change the fill dynamically in RST + warningIncomplete: { + icon: require('./precompiled-icons/material-icons/warning/baseline.vue').default, + defaultColor: themeTokens().mastered, + }, projects: { icon: require('./precompiled-icons/material-icons/bubble_chart/baseline.vue').default, },