🎨 Adds option to use Adventure theme with own img (#655)

This commit is contained in:
Alicia Sykes 2022-05-14 13:51:28 +01:00
parent 9b33a6e277
commit 3417b46eee
2 changed files with 10 additions and 6 deletions

View File

@ -1357,7 +1357,7 @@ html[data-theme="dashy-docs"] {
}
}
html[data-theme="adventure"] {
html[data-theme="adventure"], html[data-theme="adventure-basic"] {
// Main colors
--primary: #ffffffe6;
--background: #0b1021;
@ -1376,11 +1376,6 @@ html[data-theme="adventure"] {
--item-group-shadow: none;
--item-group-background: none;
--item-group-outer-background: none;
// Background Image
body {
background: url('https://i.ibb.co/wdqSsGh/adventure-bg.jpg');
background-size: cover;
}
// Remove background from certain components
div.home, div.options-outer, div.options-container, section.filter-container,
section.settings-outer, div.show-hide-container.hide-btn, div.show-hide-container.show-btn {
@ -1401,6 +1396,14 @@ html[data-theme="adventure"] {
}
}
html[data-theme="adventure"] {
// Background Image
body {
background: url('https://i.ibb.co/wdqSsGh/adventure-bg.jpg');
background-size: cover;
}
}
html[data-theme="color-block"] {
// Main colors
--primary: #E94560;

View File

@ -82,6 +82,7 @@ module.exports = {
'material-dark-original',
'high-contrast-dark',
'high-contrast-light',
'adventure-basic',
'basic',
],
/* Default color options for the theme configurator swatches */