Compare commits
76 Commits
7026cef3df
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 3d875682d1 | |||
| 78332ac9c4 | |||
| cb659b4892 | |||
| f617bc742d | |||
| 63a1211433 | |||
| ed3dc8adc3 | |||
| 600d399544 | |||
| 6a6809e552 | |||
| 2133be5e73 | |||
| 0c102c6d06 | |||
| a60cefb1c3 | |||
| 8b1e8f9b25 | |||
| 53efd046e4 | |||
| f4265601af | |||
| ae3acce994 | |||
| 215ea006d7 | |||
| e074a692de | |||
| 0ef64f1f05 | |||
| 53abb7b32e | |||
| 921621e394 | |||
| 6388651b54 | |||
| b3a2d1623d | |||
| f96f00ad3e | |||
| 0c8544479e | |||
| 40d2f2fabc | |||
| 02ee6a2ba6 | |||
| 6b663d8abd | |||
| 72a9062a66 | |||
| cbec6a6b37 | |||
| 7e3e2925aa | |||
| c0a4284d89 | |||
| 7422543337 | |||
| 5b589c45b4 | |||
| 68edfd8b3e | |||
| 5ca4968e20 | |||
| 1834e67082 | |||
| 1638534b09 | |||
| 7e40f5571d | |||
| f1f68f5e95 | |||
| 2045aad094 | |||
| 85aa58f766 | |||
| b08c44983b | |||
| 3b23bd7790 | |||
| 2d00abc61e | |||
| ec021ded22 | |||
| f992832190 | |||
| f13968a17b | |||
| 5d256d1a48 | |||
| ccb9e12862 | |||
| 50ff3010c2 | |||
| 379f1cac6d | |||
| 0fabf3fece | |||
| 392bdcf825 | |||
| 15cb2b0a1b | |||
| 15433dba4d | |||
| a256c6b289 | |||
| c93f64d176 | |||
| 7ee0b26111 | |||
| 98947be417 | |||
| eb589f4200 | |||
| a620c95570 | |||
| f6ce2899b1 | |||
| dc8685a9c9 | |||
| e798f5abca | |||
| 0da3a11eaf | |||
| 93136e34e7 | |||
| 09f03d22b5 | |||
| 83b800d94d | |||
| aee425c26f | |||
| 20b130e7ae | |||
| da0275fd06 | |||
| 665a0aa35c | |||
| 790ed9a50e | |||
| 031f033363 | |||
| 42e21cfdbf | |||
| e3b2b1f32d |
@ -1,7 +1 @@
|
||||
# PeerTube dark theme
|
||||
|
||||
Dark theme for PeerTube.
|
||||
|
||||
## Screen
|
||||
|
||||

|
||||
# Dark Theme for NCTV >v7.0.0
|
||||
|
||||
189
assets/style.css
189
assets/style.css
@ -1,137 +1,78 @@
|
||||
:root {
|
||||
--bs-border-color: #3d3f41;
|
||||
--bs-link-color: #257bfd;
|
||||
--bs-link-hover-color: #2467cc
|
||||
}
|
||||
|
||||
body {
|
||||
--red: #FF3B3B;
|
||||
--green: #2E9D04;
|
||||
|
||||
--mainBackgroundColor: #222;
|
||||
--mainForegroundColor: #e0e0e1;
|
||||
--mainBackgroundHoverColor: #fef3ec;
|
||||
--fg: #e0e0e1;
|
||||
--bg: #111111;
|
||||
|
||||
/* Compat with PeerTube < 3.2 */
|
||||
--submenuColor: #202020;
|
||||
--submenuBackgroundColor: #2c2c2c;
|
||||
--input-fg: #e0e0e1;
|
||||
--input-bg: #111;
|
||||
--input-placeholder: #d1d1d1;
|
||||
--input-border-color: #a5a5a5;
|
||||
|
||||
/* --bg-secondary: hsl(30 4% 26% / 1); */
|
||||
--bg-secondary: var(--nctv-bg-secondary);
|
||||
|
||||
--on-primary: #111;
|
||||
--border-primary: var(--nctv-blue-secondary);
|
||||
--primary: var(--nctv-blue-primary);
|
||||
--menu-bg: var(--nctv-bg-secondary);
|
||||
|
||||
/**
|
||||
NCTV Branding colors
|
||||
*/
|
||||
|
||||
--nctv-blue-secondary: #0079b8ff;
|
||||
--nctv-blue-primary: #32abeaff;
|
||||
--nctv-blue-dark: #012741ff;
|
||||
--nctv-accent-orange: #f57200ff;
|
||||
--nctv-accent-orange-subtle: #d46400ff;
|
||||
|
||||
--nctv-bg-primary: #111111;
|
||||
--nctv-bg-secondary: #202020;
|
||||
--nctv-text-light: #d9d9d9;
|
||||
|
||||
--inputForegroundColor: #e0e0e1;
|
||||
--inputBackgroundColor: var(--mainBackgroundColor);
|
||||
--inputPlaceholderColor: #d1d1d1;
|
||||
--textareaForegroundColor: #e0e0e1;
|
||||
--textareaBackgroundColor: var(--mainBackgroundColor);
|
||||
--markdownTextareaBackgroundColor: #30363d;
|
||||
--greyForegroundColor: #bbb;
|
||||
--greyBackgroundColor: #464340;
|
||||
--greySecondaryBackgroundColor: #4e4d4a;
|
||||
--actionButtonColor: #bbb;
|
||||
--activatedActionButtonColor: #fff;
|
||||
--channelBackgroundColor: #303030;
|
||||
--mainColorVeryLight: #242320;
|
||||
--mainColorLightest: #3f3834;
|
||||
--inputBorderColor: #a5a5a5;
|
||||
--hoverColor: #ffffff0d;
|
||||
}
|
||||
|
||||
.dropdown-header {
|
||||
color: var(--mainForegroundColor);
|
||||
|
||||
/**
|
||||
NCTV header text for desktop
|
||||
*/
|
||||
|
||||
span.instance-name,
|
||||
h1.instance-name.home-page,
|
||||
.custom-markup-container h1,
|
||||
.custom-markup-container a.instance-name {
|
||||
background: -webkit-linear-gradient(left, var(--nctv-blue-primary), var(--nctv-accent-orange) 65%) !important;
|
||||
background-clip: text !important;
|
||||
-webkit-background-clip: text !important;
|
||||
-moz-background-clip: text !important;
|
||||
-o-background-clip: text !important;
|
||||
-ms-background-clip: text !important;
|
||||
-webkit-text-fill-color: transparent !important;
|
||||
font-weight: 900 !important;
|
||||
}
|
||||
|
||||
.dropdown-item:active {
|
||||
background-color: var(--hoverColor) !important;
|
||||
/**
|
||||
Alerts
|
||||
*/
|
||||
|
||||
.alert.pt-alert-primary {
|
||||
color: var(--nctv-text-light);
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
--bs-dropdown-link-hover-bg: var(--hoverColor) !important;
|
||||
/**
|
||||
Video thumbnail stuff
|
||||
*/
|
||||
|
||||
.video-thumbnail.ng-star-inserted:hover {
|
||||
scale: 1.02;
|
||||
}
|
||||
|
||||
.dropdown-menu,
|
||||
.dropdown-divider {
|
||||
border-color: var(--inputBorderColor);
|
||||
}
|
||||
/**
|
||||
Get rid of the little bar under the like/dislike button until I can figure out how to align it properly
|
||||
*/
|
||||
|
||||
.icon-logo {
|
||||
background-color: #fff;
|
||||
background-origin: content-box;
|
||||
border-radius: 20px;
|
||||
min-height: 29px;
|
||||
min-width: 29px;
|
||||
padding: 3px 4px 3px 8px;
|
||||
}
|
||||
|
||||
.ng-dropdown-panel {
|
||||
border-color: var(--inputBorderColor);
|
||||
}
|
||||
|
||||
.ng-optgroup {
|
||||
background-color: var(--mainBackgroundColor) !important;
|
||||
color: var(--inputPlaceholderColor) !important;
|
||||
}
|
||||
|
||||
.ng-option-marked,
|
||||
.ng-select-container,
|
||||
.ng-select-container.ng-has-value,
|
||||
.ng-select-container.ng-select-focused.ng-select-opened,
|
||||
.ng-select-multiple {
|
||||
background-color: var(--mainBackgroundColor) !important;
|
||||
color: var(--mainForegroundColor) !important;
|
||||
}
|
||||
|
||||
.ng-option:hover,
|
||||
.ng-option.ng-option-selected {
|
||||
background-color: #555 !important;
|
||||
color: var(--mainForegroundColor) !important;
|
||||
}
|
||||
|
||||
.ng-select-container .ng-arrow,
|
||||
.peertube-select-container::after {
|
||||
border-top-color: var(--mainForegroundColor) !important;
|
||||
}
|
||||
|
||||
.ng-select.ng-select.ng-select-opened>.ng-select-container .ng-arrow {
|
||||
border-bottom-color: var(--mainForegroundColor) !important;
|
||||
}
|
||||
|
||||
.notification {
|
||||
border-bottom-color: rgba(255, 255, 255, 0.1) !important;
|
||||
}
|
||||
|
||||
.notification svg,
|
||||
.notifications-header svg,
|
||||
.menu-link svg {
|
||||
color: var(--greyForegroundColor) !important;
|
||||
}
|
||||
|
||||
.notification.unread {
|
||||
background-color: #ffffff0d !important;
|
||||
}
|
||||
|
||||
.notifications-header {
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
|
||||
color: var(--greyForegroundColor) !important;
|
||||
}
|
||||
|
||||
.popover {
|
||||
--bs-popover-bg: var(--mainBackgroundColor) !important;
|
||||
--bs-popover-body-color: var(--mainForegroundColor) !important;
|
||||
--bs-popover-box-shadow: 0 .5rem 1rem rgba(255, 255, 255, .15) !important;
|
||||
--bs-popover-header-color: var(--mainForegroundColor) !important
|
||||
}
|
||||
|
||||
.progress {
|
||||
background-color: var(--greySecondaryBackgroundColor) !important;
|
||||
}
|
||||
|
||||
.progress>span,
|
||||
.all-notifications,
|
||||
.notifications-header svg:hover,
|
||||
.menu-link:hover svg {
|
||||
color: var(--mainForegroundColor) !important;
|
||||
}
|
||||
|
||||
.root-header {
|
||||
box-shadow: 0 1px 3px rgba(200, 200, 200, .10) !important;
|
||||
}
|
||||
|
||||
input#search-video {
|
||||
box-shadow: rgba(200, 200, 200, 0.1) 0 1px 20px 0 !important;
|
||||
}
|
||||
.likes-dislikes-bar-outer-container {
|
||||
display: none;
|
||||
}
|
||||
14
package.json
14
package.json
@ -1,17 +1,17 @@
|
||||
{
|
||||
"name": "peertube-theme-dark",
|
||||
"version": "2.5.0",
|
||||
"description": "PeerTube dark theme",
|
||||
"name": "peertube-theme-nctv-dark",
|
||||
"version": "3.0.0",
|
||||
"description": "Dark theme for NCTV for PeerTube >7.0.0",
|
||||
"engine": {
|
||||
"peertube": ">=4.2.0"
|
||||
"peertube": ">=7.0.0"
|
||||
},
|
||||
"keywords": [
|
||||
"peertube",
|
||||
"theme"
|
||||
],
|
||||
"homepage": "https://framagit.org/framasoft/peertube/official-plugins/tree/master/peertube-theme-dark",
|
||||
"author": "Chocobozzz",
|
||||
"bugs": "https://framagit.org/framasoft/peertube/official-plugins/issues",
|
||||
"homepage": "https://gitea.nicecrew.digital/matty/peertube-theme-nctv-dark",
|
||||
"author": "Matty",
|
||||
"bugs": "https://gitea.nicecrew.digital/matty/peertube-theme-nctv-dark/issues",
|
||||
"staticDirs": {},
|
||||
"css": [
|
||||
"assets/style.css"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 221 KiB |
Reference in New Issue
Block a user