mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-17 16:50:53 +00:00
initial conversion to proper theme-based variables, starting with setting the default primary color
This commit is contained in:
parent
03c8d55ab9
commit
9732f48acf
18 changed files with 107 additions and 131 deletions
|
|
@ -316,48 +316,47 @@ const SeriesModal = ({ series, opened, onClose }) => {
|
||||||
<Modal
|
<Modal
|
||||||
opened={opened}
|
opened={opened}
|
||||||
onClose={onClose}
|
onClose={onClose}
|
||||||
title={displaySeries.name}
|
withCloseButton={false}
|
||||||
size="xl"
|
size="xl"
|
||||||
centered
|
centered
|
||||||
>
|
>
|
||||||
|
{/* Backdrop image as background */}
|
||||||
|
{displaySeries.backdrop_path &&
|
||||||
|
displaySeries.backdrop_path.length > 0 && (
|
||||||
|
<>
|
||||||
|
<Image
|
||||||
|
src={displaySeries.backdrop_path[0]}
|
||||||
|
alt={`${displaySeries.name} backdrop`}
|
||||||
|
fit="cover"
|
||||||
|
style={{
|
||||||
|
position: 'absolute',
|
||||||
|
top: 0,
|
||||||
|
left: 0,
|
||||||
|
width: '100%',
|
||||||
|
height: '100%',
|
||||||
|
objectFit: 'cover',
|
||||||
|
zIndex: 0,
|
||||||
|
borderRadius: 8,
|
||||||
|
filter: 'blur(2px) brightness(0.5)',
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
{/* Overlay for readability */}
|
||||||
|
<Box
|
||||||
|
style={{
|
||||||
|
position: 'absolute',
|
||||||
|
top: 0,
|
||||||
|
left: 0,
|
||||||
|
width: '100%',
|
||||||
|
height: '100%',
|
||||||
|
background:
|
||||||
|
'linear-gradient(180deg, rgba(24,24,27,0.85) 60%, rgba(24,24,27,1) 100%)',
|
||||||
|
zIndex: 1,
|
||||||
|
borderRadius: 8,
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
<Box style={{ position: 'relative', minHeight: 400 }}>
|
<Box style={{ position: 'relative', minHeight: 400 }}>
|
||||||
{/* Backdrop image as background */}
|
|
||||||
{displaySeries.backdrop_path &&
|
|
||||||
displaySeries.backdrop_path.length > 0 && (
|
|
||||||
<>
|
|
||||||
<Image
|
|
||||||
src={displaySeries.backdrop_path[0]}
|
|
||||||
alt={`${displaySeries.name} backdrop`}
|
|
||||||
fit="cover"
|
|
||||||
style={{
|
|
||||||
position: 'absolute',
|
|
||||||
top: 0,
|
|
||||||
left: 0,
|
|
||||||
width: '100%',
|
|
||||||
height: '100%',
|
|
||||||
objectFit: 'cover',
|
|
||||||
zIndex: 0,
|
|
||||||
borderRadius: 8,
|
|
||||||
filter: 'blur(2px) brightness(0.5)',
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
{/* Overlay for readability */}
|
|
||||||
<Box
|
|
||||||
style={{
|
|
||||||
position: 'absolute',
|
|
||||||
top: 0,
|
|
||||||
left: 0,
|
|
||||||
width: '100%',
|
|
||||||
height: '100%',
|
|
||||||
background:
|
|
||||||
'linear-gradient(180deg, rgba(24,24,27,0.85) 60%, rgba(24,24,27,1) 100%)',
|
|
||||||
zIndex: 1,
|
|
||||||
borderRadius: 8,
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</>
|
|
||||||
)}
|
|
||||||
|
|
||||||
{/* Modal content above backdrop */}
|
{/* Modal content above backdrop */}
|
||||||
<Box style={{ position: 'relative', zIndex: 2 }}>
|
<Box style={{ position: 'relative', zIndex: 2 }}>
|
||||||
<Stack spacing="md">
|
<Stack spacing="md">
|
||||||
|
|
@ -416,9 +415,7 @@ const SeriesModal = ({ series, opened, onClose }) => {
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<Group spacing="md">
|
<Group spacing="md">
|
||||||
{displaySeries.year && (
|
{displaySeries.year && <Badge>{displaySeries.year}</Badge>}
|
||||||
<Badge color="blue">{displaySeries.year}</Badge>
|
|
||||||
)}
|
|
||||||
{displaySeries.rating && (
|
{displaySeries.rating && (
|
||||||
<Badge color="yellow">{displaySeries.rating}</Badge>
|
<Badge color="yellow">{displaySeries.rating}</Badge>
|
||||||
)}
|
)}
|
||||||
|
|
@ -504,7 +501,6 @@ const SeriesModal = ({ series, opened, onClose }) => {
|
||||||
{displaySeries.youtube_trailer && (
|
{displaySeries.youtube_trailer && (
|
||||||
<Button
|
<Button
|
||||||
variant="outline"
|
variant="outline"
|
||||||
color="red"
|
|
||||||
style={{ marginTop: 'auto', alignSelf: 'flex-start' }}
|
style={{ marginTop: 'auto', alignSelf: 'flex-start' }}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setTrailerUrl(
|
setTrailerUrl(
|
||||||
|
|
@ -645,7 +641,6 @@ const SeriesModal = ({ series, opened, onClose }) => {
|
||||||
<Group spacing="xs">
|
<Group spacing="xs">
|
||||||
<ActionIcon
|
<ActionIcon
|
||||||
variant="filled"
|
variant="filled"
|
||||||
color="blue"
|
|
||||||
size="sm"
|
size="sm"
|
||||||
disabled={
|
disabled={
|
||||||
providers.length > 0 &&
|
providers.length > 0 &&
|
||||||
|
|
|
||||||
|
|
@ -247,15 +247,15 @@ const Sidebar = ({ collapsed, toggleDrawer, drawerWidth, miniDrawerWidth }) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AppShell.Navbar
|
<AppShell.Navbar
|
||||||
width={{ base: collapsed ? miniDrawerWidth : drawerWidth }}
|
|
||||||
p="xs"
|
p="xs"
|
||||||
style={{
|
style={{
|
||||||
|
width: collapsed ? miniDrawerWidth : drawerWidth,
|
||||||
backgroundColor: '#1A1A1E',
|
backgroundColor: '#1A1A1E',
|
||||||
// transition: 'width 0.3s ease',
|
|
||||||
borderRight: '1px solid #2A2A2E',
|
borderRight: '1px solid #2A2A2E',
|
||||||
minHeight: '100vh',
|
minHeight: '100vh',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
|
borderRight: 'none',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{/* Brand - Click to Toggle */}
|
{/* Brand - Click to Toggle */}
|
||||||
|
|
@ -276,9 +276,11 @@ const Sidebar = ({ collapsed, toggleDrawer, drawerWidth, miniDrawerWidth }) => {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{/* <ListOrdered size={24} /> */}
|
{/* <ListOrdered size={24} /> */}
|
||||||
<img width={30} src={logo} />
|
<img width={40} src={logo} />
|
||||||
{!collapsed && (
|
{!collapsed && (
|
||||||
<Text
|
<Text
|
||||||
|
size="xl"
|
||||||
|
fw={500}
|
||||||
sx={{
|
sx={{
|
||||||
opacity: collapsed ? 0 : 1,
|
opacity: collapsed ? 0 : 1,
|
||||||
transition: 'opacity 0.2s ease-in-out',
|
transition: 'opacity 0.2s ease-in-out',
|
||||||
|
|
|
||||||
|
|
@ -293,46 +293,46 @@ const VODModal = ({ vod, opened, onClose }) => {
|
||||||
<Modal
|
<Modal
|
||||||
opened={opened}
|
opened={opened}
|
||||||
onClose={onClose}
|
onClose={onClose}
|
||||||
title={displayVOD.name}
|
withCloseButton={false}
|
||||||
size="xl"
|
size="xl"
|
||||||
centered
|
centered
|
||||||
>
|
>
|
||||||
|
{/* Backdrop image as background */}
|
||||||
|
{displayVOD.backdrop_path && displayVOD.backdrop_path.length > 0 && (
|
||||||
|
<>
|
||||||
|
<Image
|
||||||
|
src={displayVOD.backdrop_path[0]}
|
||||||
|
alt={`${displayVOD.name} backdrop`}
|
||||||
|
fit="cover"
|
||||||
|
style={{
|
||||||
|
position: 'absolute',
|
||||||
|
top: 0,
|
||||||
|
left: 0,
|
||||||
|
width: '100%',
|
||||||
|
height: '100%',
|
||||||
|
objectFit: 'cover',
|
||||||
|
zIndex: 0,
|
||||||
|
borderRadius: 8,
|
||||||
|
filter: 'blur(2px) brightness(0.5)',
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
{/* Overlay for readability */}
|
||||||
|
<Box
|
||||||
|
style={{
|
||||||
|
position: 'absolute',
|
||||||
|
top: 0,
|
||||||
|
left: 0,
|
||||||
|
width: '100%',
|
||||||
|
height: '100%',
|
||||||
|
background:
|
||||||
|
'linear-gradient(180deg, rgba(24,24,27,0.85) 60%, rgba(24,24,27,1) 100%)',
|
||||||
|
zIndex: 1,
|
||||||
|
borderRadius: 8,
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
<Box style={{ position: 'relative', minHeight: 400 }}>
|
<Box style={{ position: 'relative', minHeight: 400 }}>
|
||||||
{/* Backdrop image as background */}
|
|
||||||
{displayVOD.backdrop_path && displayVOD.backdrop_path.length > 0 && (
|
|
||||||
<>
|
|
||||||
<Image
|
|
||||||
src={displayVOD.backdrop_path[0]}
|
|
||||||
alt={`${displayVOD.name} backdrop`}
|
|
||||||
fit="cover"
|
|
||||||
style={{
|
|
||||||
position: 'absolute',
|
|
||||||
top: 0,
|
|
||||||
left: 0,
|
|
||||||
width: '100%',
|
|
||||||
height: '100%',
|
|
||||||
objectFit: 'cover',
|
|
||||||
zIndex: 0,
|
|
||||||
borderRadius: 8,
|
|
||||||
filter: 'blur(2px) brightness(0.5)',
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
{/* Overlay for readability */}
|
|
||||||
<Box
|
|
||||||
style={{
|
|
||||||
position: 'absolute',
|
|
||||||
top: 0,
|
|
||||||
left: 0,
|
|
||||||
width: '100%',
|
|
||||||
height: '100%',
|
|
||||||
background:
|
|
||||||
'linear-gradient(180deg, rgba(24,24,27,0.85) 60%, rgba(24,24,27,1) 100%)',
|
|
||||||
zIndex: 1,
|
|
||||||
borderRadius: 8,
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</>
|
|
||||||
)}
|
|
||||||
{/* Modal content above backdrop */}
|
{/* Modal content above backdrop */}
|
||||||
<Box style={{ position: 'relative', zIndex: 2 }}>
|
<Box style={{ position: 'relative', zIndex: 2 }}>
|
||||||
<Stack spacing="md">
|
<Stack spacing="md">
|
||||||
|
|
@ -392,9 +392,7 @@ const VODModal = ({ vod, opened, onClose }) => {
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<Group spacing="md">
|
<Group spacing="md">
|
||||||
{displayVOD.year && (
|
{displayVOD.year && <Badge>{displayVOD.year}</Badge>}
|
||||||
<Badge color="blue">{displayVOD.year}</Badge>
|
|
||||||
)}
|
|
||||||
{displayVOD.duration_secs && (
|
{displayVOD.duration_secs && (
|
||||||
<Badge color="gray">
|
<Badge color="gray">
|
||||||
{formatDuration(displayVOD.duration_secs)}
|
{formatDuration(displayVOD.duration_secs)}
|
||||||
|
|
@ -480,7 +478,6 @@ const VODModal = ({ vod, opened, onClose }) => {
|
||||||
<Button
|
<Button
|
||||||
leftSection={<Play size={16} />}
|
leftSection={<Play size={16} />}
|
||||||
variant="filled"
|
variant="filled"
|
||||||
color="blue"
|
|
||||||
size="sm"
|
size="sm"
|
||||||
onClick={handlePlayVOD}
|
onClick={handlePlayVOD}
|
||||||
disabled={providers.length > 0 && !selectedProvider}
|
disabled={providers.length > 0 && !selectedProvider}
|
||||||
|
|
@ -491,7 +488,6 @@ const VODModal = ({ vod, opened, onClose }) => {
|
||||||
{displayVOD.youtube_trailer && (
|
{displayVOD.youtube_trailer && (
|
||||||
<Button
|
<Button
|
||||||
variant="outline"
|
variant="outline"
|
||||||
color="red"
|
|
||||||
size="sm"
|
size="sm"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setTrailerUrl(
|
setTrailerUrl(
|
||||||
|
|
@ -531,7 +527,7 @@ const VODModal = ({ vod, opened, onClose }) => {
|
||||||
</Text>
|
</Text>
|
||||||
{providers.length === 1 ? (
|
{providers.length === 1 ? (
|
||||||
<Group spacing="md">
|
<Group spacing="md">
|
||||||
<Badge color="blue" variant="light">
|
<Badge variant="light">
|
||||||
{providers[0].m3u_account.name}
|
{providers[0].m3u_account.name}
|
||||||
</Badge>
|
</Badge>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
|
||||||
|
|
@ -896,7 +896,6 @@ const ChannelForm = ({ channel = null, isOpen, onClose }) => {
|
||||||
<Button
|
<Button
|
||||||
size="xs"
|
size="xs"
|
||||||
variant="transparent"
|
variant="transparent"
|
||||||
color="blue"
|
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
handleAutoMatchEpg();
|
handleAutoMatchEpg();
|
||||||
|
|
@ -1026,7 +1025,6 @@ const ChannelForm = ({ channel = null, isOpen, onClose }) => {
|
||||||
<Flex mih={50} gap="xs" justify="flex-end" align="flex-end">
|
<Flex mih={50} gap="xs" justify="flex-end" align="flex-end">
|
||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
variant="default"
|
|
||||||
disabled={isSubmitting}
|
disabled={isSubmitting}
|
||||||
loading={isSubmitting}
|
loading={isSubmitting}
|
||||||
loaderProps={{ type: 'dots' }}
|
loaderProps={{ type: 'dots' }}
|
||||||
|
|
|
||||||
|
|
@ -413,7 +413,7 @@ export default function CronBuilder({
|
||||||
<Text size="sm" fw={500}>
|
<Text size="sm" fw={500}>
|
||||||
Expression:
|
Expression:
|
||||||
</Text>
|
</Text>
|
||||||
<Badge size="lg" variant="filled" color="blue">
|
<Badge size="lg" variant="filled">
|
||||||
{mode === 'advanced' ? manualCron : generatedCron}
|
{mode === 'advanced' ? manualCron : generatedCron}
|
||||||
</Badge>
|
</Badge>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
|
||||||
|
|
@ -57,12 +57,7 @@ const GroupItem = React.memo(
|
||||||
|
|
||||||
if (usage?.hasChannels) {
|
if (usage?.hasChannels) {
|
||||||
badges.push(
|
badges.push(
|
||||||
<Badge
|
<Badge key="channels" size="xs" leftSection={<Tv size={10} />}>
|
||||||
key="channels"
|
|
||||||
size="xs"
|
|
||||||
color="blue"
|
|
||||||
leftSection={<Tv size={10} />}
|
|
||||||
>
|
|
||||||
Channels
|
Channels
|
||||||
</Badge>
|
</Badge>
|
||||||
);
|
);
|
||||||
|
|
@ -497,7 +492,7 @@ const GroupManager = React.memo(({ isOpen, onClose }) => {
|
||||||
zIndex={2000}
|
zIndex={2000}
|
||||||
>
|
>
|
||||||
<Stack>
|
<Stack>
|
||||||
<Alert icon={<AlertCircle size={16} />} color="blue" variant="light">
|
<Alert icon={<AlertCircle size={16} />} variant="light">
|
||||||
Manage channel groups. Groups associated with M3U accounts or
|
Manage channel groups. Groups associated with M3U accounts or
|
||||||
containing channels cannot be deleted.
|
containing channels cannot be deleted.
|
||||||
</Alert>
|
</Alert>
|
||||||
|
|
@ -591,7 +586,6 @@ const GroupManager = React.memo(({ isOpen, onClose }) => {
|
||||||
checked={showChannelGroups}
|
checked={showChannelGroups}
|
||||||
onChange={setShowChannelGroups}
|
onChange={setShowChannelGroups}
|
||||||
size="sm"
|
size="sm"
|
||||||
color="blue"
|
|
||||||
>
|
>
|
||||||
<Group gap={4}>
|
<Group gap={4}>
|
||||||
<Tv size={10} />
|
<Tv size={10} />
|
||||||
|
|
|
||||||
|
|
@ -201,7 +201,7 @@ const LiveGroupFilter = ({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack style={{ paddingTop: 10 }}>
|
<Stack style={{ paddingTop: 10 }}>
|
||||||
<Alert icon={<Info size={16} />} color="blue" variant="light">
|
<Alert icon={<Info size={16} />} variant="light">
|
||||||
<Text size="sm">
|
<Text size="sm">
|
||||||
<strong>Auto Channel Sync:</strong> When enabled, channels will be
|
<strong>Auto Channel Sync:</strong> When enabled, channels will be
|
||||||
automatically created for all streams in the group during M3U updates,
|
automatically created for all streams in the group during M3U updates,
|
||||||
|
|
|
||||||
|
|
@ -267,7 +267,6 @@ const M3UFilters = ({ playlist, isOpen, onClose }) => {
|
||||||
>
|
>
|
||||||
<Alert
|
<Alert
|
||||||
icon={<Info size={16} />}
|
icon={<Info size={16} />}
|
||||||
color="blue"
|
|
||||||
variant="light"
|
variant="light"
|
||||||
style={{ marginBottom: 5 }}
|
style={{ marginBottom: 5 }}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -239,7 +239,6 @@ const M3UGroupFilter = ({ playlist = null, isOpen, onClose }) => {
|
||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
variant="filled"
|
variant="filled"
|
||||||
color="blue"
|
|
||||||
disabled={isLoading}
|
disabled={isLoading}
|
||||||
onClick={submit}
|
onClick={submit}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -297,7 +297,7 @@ const RecordingDetailsModal = ({
|
||||||
<Button
|
<Button
|
||||||
size="xs"
|
size="xs"
|
||||||
variant="light"
|
variant="light"
|
||||||
color="blue"
|
color="yellow"
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation?.();
|
e.stopPropagation?.();
|
||||||
onEdit(recording);
|
onEdit(recording);
|
||||||
|
|
|
||||||
|
|
@ -225,9 +225,7 @@ const DvrSettingsForm = React.memo(({ active }) => {
|
||||||
name="movie_fallback_template"
|
name="movie_fallback_template"
|
||||||
/>
|
/>
|
||||||
<Flex mih={50} gap="xs" justify="flex-end" align="flex-end">
|
<Flex mih={50} gap="xs" justify="flex-end" align="flex-end">
|
||||||
<Button type="submit" variant="default">
|
<Button type="submit">Save</Button>
|
||||||
Save
|
|
||||||
</Button>
|
|
||||||
</Flex>
|
</Flex>
|
||||||
</Stack>
|
</Stack>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
|
|
@ -138,11 +138,7 @@ const NetworkAccessForm = React.memo(({ active }) => {
|
||||||
>
|
>
|
||||||
Reset to Defaults
|
Reset to Defaults
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button type="submit" disabled={networkAccessForm.submitting}>
|
||||||
type="submit"
|
|
||||||
disabled={networkAccessForm.submitting}
|
|
||||||
variant="default"
|
|
||||||
>
|
|
||||||
Save
|
Save
|
||||||
</Button>
|
</Button>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
|
||||||
|
|
@ -138,18 +138,10 @@ const ProxySettingsForm = React.memo(({ active }) => {
|
||||||
<ProxySettingsOptions proxySettingsForm={proxySettingsForm} />
|
<ProxySettingsOptions proxySettingsForm={proxySettingsForm} />
|
||||||
|
|
||||||
<Flex mih={50} gap="xs" justify="space-between" align="flex-end">
|
<Flex mih={50} gap="xs" justify="space-between" align="flex-end">
|
||||||
<Button
|
<Button variant="subtle" onClick={resetProxySettingsToDefaults}>
|
||||||
variant="subtle"
|
|
||||||
color="gray"
|
|
||||||
onClick={resetProxySettingsToDefaults}
|
|
||||||
>
|
|
||||||
Reset to Defaults
|
Reset to Defaults
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button type="submit" disabled={proxySettingsForm.submitting}>
|
||||||
type="submit"
|
|
||||||
disabled={proxySettingsForm.submitting}
|
|
||||||
variant="default"
|
|
||||||
>
|
|
||||||
Save
|
Save
|
||||||
</Button>
|
</Button>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
|
||||||
|
|
@ -250,11 +250,10 @@ const StreamSettingsForm = React.memo(({ active }) => {
|
||||||
onClick={onRehashStreams}
|
onClick={onRehashStreams}
|
||||||
loading={rehashingStreams}
|
loading={rehashingStreams}
|
||||||
variant="outline"
|
variant="outline"
|
||||||
color="blue"
|
|
||||||
>
|
>
|
||||||
Rehash Streams
|
Rehash Streams
|
||||||
</Button>
|
</Button>
|
||||||
<Button type="submit" disabled={form.submitting} variant="default">
|
<Button type="submit" disabled={form.submitting}>
|
||||||
Save
|
Save
|
||||||
</Button>
|
</Button>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
|
||||||
|
|
@ -69,11 +69,7 @@ const SystemSettingsForm = React.memo(({ active }) => {
|
||||||
step={10}
|
step={10}
|
||||||
/>
|
/>
|
||||||
<Flex mih={50} gap="xs" justify="flex-end" align="flex-end">
|
<Flex mih={50} gap="xs" justify="flex-end" align="flex-end">
|
||||||
<Button
|
<Button onClick={form.onSubmit(onSubmit)} disabled={form.submitting}>
|
||||||
onClick={form.onSubmit(onSubmit)}
|
|
||||||
disabled={form.submitting}
|
|
||||||
variant="default"
|
|
||||||
>
|
|
||||||
Save
|
Save
|
||||||
</Button>
|
</Button>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
|
||||||
|
|
@ -480,7 +480,7 @@ const LogosTable = () => {
|
||||||
multiline
|
multiline
|
||||||
width={220}
|
width={220}
|
||||||
>
|
>
|
||||||
<Badge size="sm" variant="light" color="blue">
|
<Badge size="sm" variant="light">
|
||||||
{label}
|
{label}
|
||||||
</Badge>
|
</Badge>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
|
||||||
|
|
@ -345,7 +345,7 @@ export default function VODLogosTable() {
|
||||||
multiline
|
multiline
|
||||||
width={220}
|
width={220}
|
||||||
>
|
>
|
||||||
<Badge size="sm" variant="light" color="blue">
|
<Badge size="sm" variant="light">
|
||||||
{label}
|
{label}
|
||||||
</Badge>
|
</Badge>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,14 @@
|
||||||
import { createTheme, MantineProvider, rem } from '@mantine/core';
|
import { createTheme, rem } from '@mantine/core';
|
||||||
|
|
||||||
|
const CONTAINER_SIZES = {
|
||||||
|
xxs: rem('200px'),
|
||||||
|
xs: rem('300px'),
|
||||||
|
sm: rem('400px'),
|
||||||
|
md: rem('500px'),
|
||||||
|
lg: rem('600px'),
|
||||||
|
xl: rem('1400px'),
|
||||||
|
xxl: rem('1600px'),
|
||||||
|
};
|
||||||
|
|
||||||
const theme = createTheme({
|
const theme = createTheme({
|
||||||
globalStyles: (theme) => ({
|
globalStyles: (theme) => ({
|
||||||
|
|
@ -15,6 +25,8 @@ const theme = createTheme({
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
primaryColor: 'teal',
|
||||||
|
|
||||||
tailwind: {
|
tailwind: {
|
||||||
red: [
|
red: [
|
||||||
'oklch(0.971 0.013 17.38)',
|
'oklch(0.971 0.013 17.38)',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue