make dspace the default theme

This commit is contained in:
Art Lowel
2021-03-17 13:30:25 +01:00
parent fb90bf64d9
commit 619f4d74c2
2 changed files with 7 additions and 3 deletions

View File

@@ -255,10 +255,14 @@ export const environment: GlobalConfig = {
// // A theme with only a name will match every route
// name: 'custom'
// },
// {
// // This theme will use the default bootstrap styling for DSpace components
// name: BASE_THEME_NAME
// },
{
// This theme will use the default bootstrap styling for DSpace components
name: BASE_THEME_NAME
// The default dspace theme
name: 'dspace'
},
],
// Whether the UI should rewrite file download URLs to match its domain. Only necessary to enable when running UI and REST API on separate domains

View File

@@ -7,7 +7,7 @@
<title>DSpace</title>
<meta name="viewport" content="width=device-width,minimum-scale=1">
<link rel="icon" type="image/x-icon" href="assets/images/favicon.ico" />
<link class="theme-css" rel="stylesheet" href="/base-theme.css">
<link class="theme-css" rel="stylesheet" href="/dspace-theme.css">
</head>
<body>