mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-29 16:56:57 +00:00
add darkly-pureblack theme
This commit is contained in:
parent
ba8728ecc7
commit
94d223b162
117
src/assets/css/themes/_variables.darkly-pureblack.scss
Normal file
117
src/assets/css/themes/_variables.darkly-pureblack.scss
Normal file
|
@ -0,0 +1,117 @@
|
||||||
|
@import "./variables";
|
||||||
|
|
||||||
|
// Colors
|
||||||
|
$white: #f3f3f3;
|
||||||
|
$gray-200: #ebebeb;
|
||||||
|
$gray-300: #dee2e6;
|
||||||
|
$gray-500: #adb5bd;
|
||||||
|
$gray-600: #666;
|
||||||
|
$gray-700: #333;
|
||||||
|
$gray-800: #202020;
|
||||||
|
$gray-900: #111;
|
||||||
|
$black: #000;
|
||||||
|
|
||||||
|
$blue: #375a7f;
|
||||||
|
$red: #e74c3c;
|
||||||
|
$yellow: #f39c12;
|
||||||
|
$green: #00bc8c;
|
||||||
|
$cyan: #3498db;
|
||||||
|
|
||||||
|
$primary: $green;
|
||||||
|
$secondary: $gray-700;
|
||||||
|
$success: $green;
|
||||||
|
$dark: $gray-300;
|
||||||
|
|
||||||
|
$body-color: $gray-200;
|
||||||
|
$body-bg: $black;
|
||||||
|
$link-color: $success;
|
||||||
|
$border-color: rgba($body-color, 0.25);
|
||||||
|
$mark-bg: $gray-900;
|
||||||
|
$text-muted: $gray-600;
|
||||||
|
$yiq-contrasted-threshold: 175;
|
||||||
|
|
||||||
|
$font-family-sans-serif: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||||
|
Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
|
||||||
|
"Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
|
$font-size-base: 0.9375rem;
|
||||||
|
$h1-font-size: 3rem;
|
||||||
|
$h2-font-size: 2.5rem;
|
||||||
|
$h3-font-size: 2rem;
|
||||||
|
|
||||||
|
$card-cap-bg: $gray-800;
|
||||||
|
$card-bg: $gray-900;
|
||||||
|
$card-color: $gray-300;
|
||||||
|
|
||||||
|
$navbar-padding-y: 1rem;
|
||||||
|
$navbar-dark-color: rgba($white, 0.6);
|
||||||
|
$navbar-dark-hover-color: $white;
|
||||||
|
$navbar-light-color: rgba($white, 0.6);
|
||||||
|
$navbar-light-hover-color: $white;
|
||||||
|
$navbar-light-active-color: $white;
|
||||||
|
$navbar-light-toggler-border-color: rgba($gray-900, 0.1);
|
||||||
|
$navbar-light-brand-color: $white;
|
||||||
|
$navbar-light-brand-hover-color: $navbar-light-brand-color;
|
||||||
|
|
||||||
|
$nav-link-padding-x: 2rem;
|
||||||
|
$nav-link-disabled-color: $gray-500;
|
||||||
|
|
||||||
|
$nav-tabs-border-color: $gray-700;
|
||||||
|
$nav-tabs-link-hover-border-color: $nav-tabs-border-color $nav-tabs-border-color
|
||||||
|
transparent;
|
||||||
|
$nav-tabs-link-active-color: $white;
|
||||||
|
$nav-tabs-link-active-border-color: $nav-tabs-border-color
|
||||||
|
$nav-tabs-border-color transparent;
|
||||||
|
|
||||||
|
$input-bg: $gray-800;
|
||||||
|
$input-color: $white;
|
||||||
|
$input-disabled-bg: darken($gray-900, 10%);
|
||||||
|
$input-border-color: $gray-700;
|
||||||
|
$input-group-addon-color: $gray-800;
|
||||||
|
$input-group-addon-bg: $gray-800;
|
||||||
|
|
||||||
|
$hr-border-color: rgba($body-color, 0.25);
|
||||||
|
|
||||||
|
$table-border-color: $gray-700;
|
||||||
|
|
||||||
|
$custom-file-color: $gray-500;
|
||||||
|
$custom-file-border-color: $body-bg;
|
||||||
|
|
||||||
|
$dropdown-bg: $gray-900;
|
||||||
|
$dropdown-border-color: $gray-800;
|
||||||
|
$dropdown-divider-bg: $gray-700;
|
||||||
|
$dropdown-link-color: $white;
|
||||||
|
$dropdown-link-hover-color: $white;
|
||||||
|
$dropdown-link-hover-bg: $primary;
|
||||||
|
|
||||||
|
$pagination-color: $white;
|
||||||
|
$pagination-bg: $success;
|
||||||
|
$pagination-border-width: 0;
|
||||||
|
$pagination-border-color: transparent;
|
||||||
|
$pagination-hover-color: $white;
|
||||||
|
$pagination-hover-bg: lighten($success, 10%);
|
||||||
|
$pagination-hover-border-color: transparent;
|
||||||
|
$pagination-active-bg: $pagination-hover-bg;
|
||||||
|
$pagination-active-border-color: transparent;
|
||||||
|
$pagination-disabled-color: $white;
|
||||||
|
$pagination-disabled-bg: darken($success, 15%);
|
||||||
|
$pagination-disabled-border-color: transparent;
|
||||||
|
|
||||||
|
$jumbotron-bg: $gray-900;
|
||||||
|
$popover-bg: $gray-900;
|
||||||
|
$popover-header-bg: $gray-900;
|
||||||
|
$toast-background-color: $gray-800;
|
||||||
|
$toast-header-background-color: $gray-900;
|
||||||
|
$modal-content-bg: $gray-800;
|
||||||
|
$modal-content-border-color: $gray-700;
|
||||||
|
$modal-header-border-color: $gray-700;
|
||||||
|
$progress-bg: $gray-700;
|
||||||
|
$list-group-bg: $gray-800;
|
||||||
|
$list-group-border-color: $gray-700;
|
||||||
|
$list-group-hover-bg: $gray-700;
|
||||||
|
$breadcrumb-bg: $gray-700;
|
||||||
|
$close-color: $white;
|
||||||
|
$close-text-shadow: none;
|
||||||
|
$pre-color: inherit;
|
||||||
|
$custom-select-bg: $gray-700;
|
||||||
|
$custom-select-color: $white;
|
||||||
|
$light: $gray-900;
|
11829
src/assets/css/themes/darkly-pureblack.css
Normal file
11829
src/assets/css/themes/darkly-pureblack.css
Normal file
File diff suppressed because it is too large
Load diff
2
src/assets/css/themes/darkly-pureblack.scss
Normal file
2
src/assets/css/themes/darkly-pureblack.scss
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
@import "variables.darkly-pureblack";
|
||||||
|
@import "../../../../node_modules/bootstrap/scss/bootstrap";
|
|
@ -8,6 +8,7 @@ const themes: ReadonlyArray<string> = [
|
||||||
"darkly",
|
"darkly",
|
||||||
"darkly-red",
|
"darkly-red",
|
||||||
"darkly-compact",
|
"darkly-compact",
|
||||||
|
"darkly-pureblack",
|
||||||
"litely",
|
"litely",
|
||||||
"litely-red",
|
"litely-red",
|
||||||
"litely-compact",
|
"litely-compact",
|
||||||
|
|
Loading…
Reference in a new issue