mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 11:21:26 +00:00
added darkly-compact - issue 552
This commit is contained in:
parent
175d43d067
commit
c57ca6cb16
4 changed files with 12107 additions and 1 deletions
62
src/assets/css/themes/_variables.darkly-compact.scss
Normal file
62
src/assets/css/themes/_variables.darkly-compact.scss
Normal file
|
@ -0,0 +1,62 @@
|
|||
@import "variables.darkly";
|
||||
|
||||
// DEBUG
|
||||
// * {
|
||||
// border: 1px red solid;
|
||||
// }
|
||||
|
||||
/*
|
||||
GENERAL
|
||||
*/
|
||||
|
||||
// Desktop Breakpoint
|
||||
$container-max-widths: (
|
||||
lg: 1920px,
|
||||
);
|
||||
|
||||
// Reduce hr height
|
||||
hr.my-3 {
|
||||
margin-top: 0.5rem !important;
|
||||
margin-bottom: 0.5rem !important;
|
||||
}
|
||||
|
||||
/*
|
||||
POST-LISTING
|
||||
*/
|
||||
|
||||
.post-listing {
|
||||
line-height: 1;
|
||||
|
||||
.post-title h5 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.post-title + p {
|
||||
padding-top: 0.125rem !important;
|
||||
padding-bottom: 0.125rem !important;
|
||||
}
|
||||
|
||||
.community-link {
|
||||
padding-left: 0.125rem;
|
||||
}
|
||||
|
||||
.person-listing {
|
||||
padding-right: 0.125rem;
|
||||
}
|
||||
|
||||
ul.list-inline {
|
||||
&.mt-2 {
|
||||
margin-top: 0.125rem !important;
|
||||
}
|
||||
&.mb-1 {
|
||||
margin-bottom: 0.125rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-sm {
|
||||
--bs-btn-padding-y: 0;
|
||||
}
|
||||
.img-icon {
|
||||
display: none;
|
||||
}
|
||||
}
|
12041
src/assets/css/themes/darkly-compact.css
Normal file
12041
src/assets/css/themes/darkly-compact.css
Normal file
File diff suppressed because it is too large
Load diff
2
src/assets/css/themes/darkly-compact.scss
Normal file
2
src/assets/css/themes/darkly-compact.scss
Normal file
|
@ -0,0 +1,2 @@
|
|||
@import "variables.darkly-compact";
|
||||
@import "../../../../node_modules/bootstrap/scss/bootstrap";
|
|
@ -4,9 +4,10 @@ import { readdir } from "fs/promises";
|
|||
const extraThemesFolder =
|
||||
process.env["LEMMY_UI_EXTRA_THEMES_FOLDER"] || "./extra_themes";
|
||||
|
||||
const themes: ReadonlyArray<string> = [
|
||||
const themes = ReadonlyArray<string>[
|
||||
"darkly",
|
||||
"darkly-red",
|
||||
"darkly-compact",
|
||||
"litely",
|
||||
"litely-red",
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue