diff --git a/src/admin/app.tsx b/src/admin/app.tsx new file mode 100644 index 0000000..bc541f6 --- /dev/null +++ b/src/admin/app.tsx @@ -0,0 +1,31 @@ +import type { StrapiApp } from '@strapi/strapi/admin'; + +function applyCustomCSS () { + const customCSS = ` + * { + border-radius: 0 !important; + scrollbar-color: #8e8ea966 transparent; + } + + ol li a { + padding-inline-end: 2rem; + } + `; + + const customStyle = document.createElement('style'); + customStyle.innerHTML = customCSS; + document.head.appendChild(customStyle); +} + +export default { + config: { + tutorials: false, + notifications: { + releases: false, + }, + }, + bootstrap(app: StrapiApp) { + console.log(app); + applyCustomCSS(); + }, +};