Organizr Theme Customization - Archmonger/Blackberry-Themes GitHub Wiki
All Blackberry themes have several primary variables that can be modified from within Organizr. These variables relate to the navbar, sidebar, and webpage background.
Insert a CSS variable block below your everything in your custom CSS tab. You can copy, paste, and modify one of the sample blocks in this article to get you started!
:root {
--bg-light: url("https://images.unsplash.com/photo-1542080255-e564af7ae266?ixlib=rb-1.2.1");
--bg-dark: var(--bg-light);
}
:root {
--bg-light: linear-gradient(rgba(0,0,0, 0.5), rgba(0,0,0, 0.5)), url("https://images.unsplash.com/photo-1542080255-e564af7ae266?ixlib=rb-1.2.1");
--bg-dark: var(--bg-light);
}
Example: Using a custom image as a background and dimming the image by 50% only in the Organizr settings menu.
:root {
--bg-light: url("https://images.unsplash.com/photo-1542080255-e564af7ae266?ixlib=rb-1.2.1");
--bg-dark: linear-gradient(rgba(0,0,0, 0.5), rgba(0,0,0, 0.5)), var(--bg-light);
}
:root {
--login-bg: url("https://archmonger.github.io/Blackberry-Themes/Resources/blur-noise.png");
}
:root {
--login-bg: linear-gradient(red, yellow);
}
:root {
--sidenav-bg: pink;
}
:root {
--sidenav-bg: url(https://images.unsplash.com/photo-1542080255-e564af7ae266?ixlib=rb-1.2.1);
--sidenav-layer-2-bg: linear-gradient( rgba(255, 0, 0, 0.5), rgba(0, 0, 0, 0.5) );
}
:root {
--navbar-color: orange;
}
:root {
--bg-light: red;
--bg-dark: var(--bg-light);
--sidenav-bg: black;
}
Note: Fallback variables are used in the event that the browser was unable to render the original image.
:root {
--bg-light: linear-gradient(135deg, #252b2f, #090c0e);
--bg-dark: var(--bg-light);
--navbar-color: linear-gradient(90deg, #121719, rgba(18, 23, 25, 0.5), rgba(0, 0, 0, 0));
--sidenav-bg: linear-gradient(180deg, #121719, #121719, rgba(18, 23, 25, 0.75), rgba(18, 23, 25, 0.25), rgba(18, 23, 25, 0.15), rgba(0, 0, 0, 0.0));
--sidenav-layer-2-bg: transparent;
--sidenav-bg-fallback: linear-gradient(180deg, rgb(18, 23, 25), rgb(22, 28, 29), rgb(27, 33, 36), rgb(26, 33, 35), rgb(30, 35, 39));
--sidenav-layer-2-bg-fallback: transparent;
}