feat(ui): add AMusic (Apple Music inspired) theme (#4723)
* first show at AMuisc Theme * prettier * fix Duplicate key 'MuiButton' * fix file name * Update amusic.js * Add styles for NDAlbumGridView in amusic.js * Fix MuiToolbar background property in amusic.js * Fix syntax error in amusic.js background property * run prettier * fix banded table styling and more * more styling to player - fix some appearances of green in queue - match queue styling to rest of theme - round albumart in player and prevent rotation * fix queue panel background and border to make it stand out more against the background * fix stray comma and lint+prettier * queue hover still green and player preview image not rounded properly * Update amusic.css.js * more mobile color fixes * artist page * prettier * rounded art in albumgridview * small tweaks to colors and radiuses * artist and album heading * external links colors * unify font colors + albumgrid corner radius * get rid of queue hover green * unify colors in player same red shades as primary * mobile player floating panel background shade of green * unify border colors and attempt to get album cover corner radius working * final touches * Update amusic.css.js * fix invisible button color fir muibutton Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * fix css syntax on player queue color overrides Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * remove unused MuiTableHead * sort theme list in index.js alphabetically * remove unused properties * Revert "fix css syntax on player queue color overrides" This reverts commit 503bba321d958aed5251667c58214822ceb70f59. --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,197 @@
|
||||
import stylesheet from './amusic.css.js'
|
||||
|
||||
export default {
|
||||
themeName: 'AMusic',
|
||||
typography: {
|
||||
fontFamily:
|
||||
'-apple-system, BlinkMacSystemFont, Apple Color Emoji, SF Pro, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif',
|
||||
h6: {
|
||||
fontSize: '1rem', // AppBar title
|
||||
},
|
||||
h5: {
|
||||
fontSize: '2em',
|
||||
fontWeight: '600',
|
||||
},
|
||||
},
|
||||
palette: {
|
||||
primary: {
|
||||
main: '#ff4e6b',
|
||||
},
|
||||
secondary: {
|
||||
main: '#D60017',
|
||||
contrastText: '#eee',
|
||||
},
|
||||
background: {
|
||||
default: '#1a1a1a',
|
||||
paper: '#1a1a1a',
|
||||
},
|
||||
type: 'dark',
|
||||
},
|
||||
overrides: {
|
||||
MuiFormGroup: {
|
||||
root: {
|
||||
color: 'white',
|
||||
},
|
||||
},
|
||||
MuiAppBar: {
|
||||
positionFixed: {
|
||||
backgroundColor: '#1d1d1d !important',
|
||||
boxShadow: 'none',
|
||||
borderBottom: '1px solid #fff1',
|
||||
},
|
||||
colorSecondary: {
|
||||
color: '#eee',
|
||||
},
|
||||
},
|
||||
MuiDrawer: {
|
||||
root: {
|
||||
background: '#1d1d1d',
|
||||
borderRight: '1px solid #fff1',
|
||||
},
|
||||
},
|
||||
MuiToolbar: {
|
||||
root: {
|
||||
background: 'transparent !important',
|
||||
},
|
||||
},
|
||||
MuiCardMedia: {
|
||||
img: {
|
||||
borderRadius: '10px',
|
||||
boxShadow: '5px 5px 20px #111',
|
||||
},
|
||||
},
|
||||
MuiButton: {
|
||||
root: {
|
||||
background: '#D60017',
|
||||
color: '#fff',
|
||||
borderRadius: '6px',
|
||||
paddingRight: '0.5rem',
|
||||
paddingLeft: '0.5rem',
|
||||
marginLeft: '0.5rem',
|
||||
marginBottom: '0.5rem',
|
||||
textTransform: 'capitalize',
|
||||
fontWeight: 600,
|
||||
},
|
||||
textPrimary: {
|
||||
color: '#eee',
|
||||
},
|
||||
textSecondary: {
|
||||
color: '#eee',
|
||||
backgroundColor: '#ff4e6b',
|
||||
},
|
||||
textSizeSmall: {
|
||||
fontSize: '0.8rem',
|
||||
paddingRight: '0.5rem',
|
||||
paddingLeft: '0.5rem',
|
||||
},
|
||||
label: {
|
||||
paddingRight: '1rem',
|
||||
paddingLeft: '0.7rem',
|
||||
},
|
||||
},
|
||||
MuiListItemIcon: {
|
||||
root: {
|
||||
color: '#ff4e6b',
|
||||
},
|
||||
},
|
||||
MuiChip: {
|
||||
root: {
|
||||
borderRadius: '6px',
|
||||
},
|
||||
},
|
||||
MuiIconButton: {
|
||||
root: {
|
||||
color: '#ff4e6b',
|
||||
},
|
||||
},
|
||||
MuiTableBody: {
|
||||
root: {
|
||||
'&>tr:nth-child(odd)': {
|
||||
background: 'rgba(255, 255, 255, 0.025)',
|
||||
},
|
||||
},
|
||||
},
|
||||
MuiTableRow: {
|
||||
root: {
|
||||
background: 'transparent',
|
||||
},
|
||||
},
|
||||
MuiTableCell: {
|
||||
root: {
|
||||
borderBottom: '0 none !important',
|
||||
padding: '10px !important',
|
||||
color: '#b3b3b3 !important',
|
||||
},
|
||||
head: {
|
||||
color: '#b3b3b3 !important',
|
||||
},
|
||||
},
|
||||
MuiMenuItem: {
|
||||
root: {
|
||||
fontSize: '0.875rem',
|
||||
borderRadius: '10px',
|
||||
color: '#eee',
|
||||
},
|
||||
},
|
||||
NDAlbumGridView: {
|
||||
albumName: {
|
||||
color: '#eee',
|
||||
},
|
||||
albumSubtitle: {
|
||||
color: '#ccc',
|
||||
},
|
||||
albumPlayButton: {
|
||||
color: '#ff4e6b !important',
|
||||
},
|
||||
albumArtistName: {
|
||||
color: '#ff4e6b !important',
|
||||
},
|
||||
cover: {
|
||||
borderRadius: '10px !important',
|
||||
},
|
||||
},
|
||||
NDLogin: {
|
||||
systemNameLink: {
|
||||
color: '#D60017',
|
||||
},
|
||||
welcome: {
|
||||
color: '#eee',
|
||||
},
|
||||
card: {
|
||||
minWidth: 300,
|
||||
backgroundColor: '#1d1d1d',
|
||||
},
|
||||
},
|
||||
MuiPaper: {
|
||||
elevation1: {
|
||||
boxShadow: 'none',
|
||||
},
|
||||
root: {
|
||||
color: '#eee',
|
||||
},
|
||||
},
|
||||
NDMobileArtistDetails: {
|
||||
bgContainer: {
|
||||
background: '#1a1a1a',
|
||||
},
|
||||
artistName: {
|
||||
fontWeight: '600',
|
||||
fontSize: '2em',
|
||||
},
|
||||
},
|
||||
NDDesktopArtistDetails: {
|
||||
artistName: {
|
||||
fontWeight: '600',
|
||||
fontSize: '2em',
|
||||
},
|
||||
artistDetail: {
|
||||
padding: 'unset',
|
||||
paddingBottom: '1rem',
|
||||
},
|
||||
},
|
||||
},
|
||||
player: {
|
||||
theme: 'dark',
|
||||
stylesheet,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user