mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 04:50:12 +02:00
Add additional information to album: record label, release type, version (#1242)
* Add additional information to album * add mbz release types and normalization * update Pill styling --------- Co-authored-by: jeffvli <jeffvictorli@gmail.com>
This commit is contained in:
@@ -1,28 +1,39 @@
|
||||
.root {
|
||||
box-sizing: border-box;
|
||||
user-select: auto;
|
||||
background: alpha(var(--theme-colors-background), 0.5);
|
||||
border: 1px solid var(--theme-colors-border);
|
||||
|
||||
&[data-variant='outline'] {
|
||||
background: transparent;
|
||||
border: 1px solid var(--theme-colors-border);
|
||||
}
|
||||
}
|
||||
|
||||
.label {
|
||||
font-family: var(--theme-content-font-family);
|
||||
font-family: var(--theme-content-font-family);
|
||||
}
|
||||
|
||||
.label.sm {
|
||||
font-size: var(--theme-font-size-sm);
|
||||
font-size: var(--theme-font-size-sm);
|
||||
}
|
||||
|
||||
.label.md {
|
||||
font-size: var(--theme-font-size-md);
|
||||
font-size: var(--theme-font-size-md);
|
||||
}
|
||||
|
||||
.label.lg {
|
||||
font-size: var(--theme-font-size-lg);
|
||||
font-size: var(--theme-font-size-lg);
|
||||
}
|
||||
|
||||
.label.xl {
|
||||
font-size: var(--theme-font-size-xl);
|
||||
font-size: var(--theme-font-size-xl);
|
||||
}
|
||||
|
||||
.label.xs {
|
||||
font-size: var(--theme-font-size-xs);
|
||||
font-size: var(--theme-font-size-xs);
|
||||
}
|
||||
|
||||
|
||||
.remove {
|
||||
transition: color 0.1s ease-in-out;
|
||||
|
||||
|
||||
@@ -3,7 +3,9 @@ import clsx from 'clsx';
|
||||
|
||||
import styles from './pill.module.css';
|
||||
|
||||
export const Pill = ({ children, size = 'md', ...props }: MantinePillProps) => {
|
||||
interface PillProps extends MantinePillProps {}
|
||||
|
||||
export const Pill = ({ children, classNames, radius = 'md', size = 'md', ...props }: PillProps) => {
|
||||
return (
|
||||
<MantinePill
|
||||
classNames={{
|
||||
@@ -17,8 +19,10 @@ export const Pill = ({ children, size = 'md', ...props }: MantinePillProps) => {
|
||||
}),
|
||||
remove: styles.remove,
|
||||
root: styles.root,
|
||||
...classNames,
|
||||
}}
|
||||
size="md"
|
||||
radius={radius}
|
||||
size={size}
|
||||
{...props}
|
||||
>
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user