Skip to content

Commit 50ff9cb

Browse files
committed
1.9.1 - Small fixes
1 parent 2bc246d commit 50ff9cb

17 files changed

+252
-155
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ Angular2 YT Player v1.9.1
6060
- Reorganised settings page
6161
- Auto saving for internal settings (check settings)
6262
- Manual saving for external settings (check settings)
63-
- Toggle light/dark mode
6463
- Performance, UI and UX improvements and fixes
6564

6665
Angular2 YT Player v1.9
@@ -135,6 +134,7 @@ Angular2 YT Player v1.0.0
135134
- Hotkeys for application in desktop (play/pause/next/prev) **(in v2.0)**
136135

137136
#### Roadmap to 3.0
137+
- Toggle light/dark mode **(in v2.1)**
138138
- Import/Export playlist (probably json file and youtube playlist) **(in v2.1)**
139139
- Categories with videos like (music, gaming, autos, films, sports, much more) **(in v2.1)**
140140
- Drag and drop videos to playlist **(in v2.2)**

dist/assets/css/main.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ a:active {
7272
color: var(--c-primary-active);
7373
}
7474

75+
#app-container {
76+
position: relative;
77+
height: 100%;
78+
}
79+
7580
.btn {
7681
display: inline-block;
7782
color: var(--c-white);
@@ -149,6 +154,7 @@ a:active {
149154
.btn-outline {
150155
border: 1px solid var(--c-white);
151156
opacity: 0.6;
157+
background-color: transparent;
152158
}
153159

154160
.btn-outline:hover {
@@ -1591,6 +1597,7 @@ iframe {
15911597
height: auto;
15921598
width: auto;
15931599
margin-top: 15px;
1600+
justify-content: flex-start;
15941601
}
15951602

15961603
.video-list-featured:before {
@@ -1710,3 +1717,20 @@ iframe {
17101717
width: 6px;
17111718
background-color: transparent;
17121719
}
1720+
1721+
#app-container.light-mode * {
1722+
--c-primary: red;
1723+
}
1724+
1725+
#app-container.light-mode .col-2,
1726+
#app-container.light-mode .col-3 {
1727+
background-color: #f7f7f7;
1728+
}
1729+
1730+
#app-container.light-mode .col-1 {
1731+
background-color: #ffffff;
1732+
}
1733+
1734+
#app-container.light-mode .col .app-head h2 {
1735+
color: red;
1736+
}

dist/assets/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
"name": "Toggle repeat mode",
2020
"value": true,
2121
"visible": true
22+
},
23+
{
24+
"name": "Toggle dark mode",
25+
"value": true,
26+
"visible": false
2227
}
2328
],
2429
"api_settings": [

dist/inline.bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)