forked from ShivamJoker/Ylight-Music
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b4470ac
commit decbd15
Showing
9 changed files
with
187 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
.dark { | ||
background: #212121; | ||
color: #fff; | ||
} | ||
|
||
.dark #navbar { | ||
background: #333; | ||
} | ||
|
||
.dark div.MuiTabs-root { | ||
background: #333; | ||
} | ||
|
||
.dark .main-player-inner { | ||
background: #212121; | ||
} | ||
.dark .main-player-inner * { | ||
/* color: #eceff1; */ | ||
} | ||
|
||
.dark .RelatedVideoContainer { | ||
background: #333; | ||
} | ||
|
||
.dark .playlistHeader, | ||
.dark .mainContainer { | ||
background: #333; | ||
} | ||
|
||
.dark .MuiTab-textColorPrimary { | ||
color: rgba(255, 255, 255, 0.7); | ||
} | ||
|
||
.dark .pinkLists > a, .dark .pinkLists svg{ | ||
color: #fff; | ||
fill: #fff; | ||
|
||
} | ||
|
||
.dark .pinkLists > a { | ||
background: #dedede12; | ||
} | ||
|
||
.wholePlayer { | ||
background: #e91e63; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import React, { useContext } from "react"; | ||
import { | ||
Container, | ||
FormControl, | ||
Select, | ||
MenuItem, | ||
FormGroup, | ||
FormControlLabel, | ||
Box, | ||
Typography | ||
} from "@material-ui/core"; | ||
|
||
import { GlobalContext } from "../GlobalState"; | ||
|
||
const SettingsPage = () => { | ||
const { themeSelectValue, setThemeSelectValue } = useContext(GlobalContext); | ||
|
||
const selectComp = ( | ||
<Box m={1}> | ||
<Select | ||
value={themeSelectValue} | ||
onChange={e => setThemeSelectValue(e.target.value)} | ||
displayEmpty | ||
name="age" | ||
> | ||
<MenuItem value="Default">Default</MenuItem> | ||
<MenuItem value="Dark">Dark</MenuItem> | ||
<MenuItem value="Auto">Auto</MenuItem> | ||
</Select> | ||
</Box> | ||
); | ||
return ( | ||
<Container> | ||
<br /> | ||
<Typography variant="h5" align="center" gutterBottom> | ||
Settings | ||
</Typography> | ||
<FormControl component="fieldset"> | ||
<FormGroup row> | ||
<FormControlLabel | ||
labelPlacement="start" | ||
label="Select Theme " | ||
value="top" | ||
control={selectComp} | ||
/> | ||
</FormGroup> | ||
</FormControl> | ||
</Container> | ||
); | ||
}; | ||
export default SettingsPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters