.progressbar {
width: 100%;
height: 1rem;
font-size: 0.875rem;
border-radius: var(--radius);
background-color: var(--background);
}
.progressbar[data-style="primary"] {
background-color: var(--primary);
}
.progressbar[data-style="secondary"] {
background-color: var(--secondary);
}
.progressbar[data-style="destructive"] {
background-color: var(--destructive);
}
.progressbar[data-style="success"] {
background-color: var(--success);
}
.progressbar[data-style="muted"] {
background-color: var(--muted);
}
.progressbar[data-style="accent"] {
background-color: var(--accent);
}
.progressbar[data-size="xs"] {
height: 0.25rem;
font-size: 0.75rem;
}
.progressbar[data-size="sm"] {
height: 0.5rem;
font-size: 0.75rem;
}
.progressbar[data-size="md"] {
height: 1rem;
font-size: 0.875rem;
}
.progressbar[data-size="lg"] {
height: 1.5rem;
font-size: 1rem;
}
.progressbar[data-size="xl"] {
height: 2rem;
font-size: 1.125rem;
}
.progressbar-inner {
height: 100%;
border-radius: var(--radius);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
background-color: var(--foreground);
}
.progressbar-inner * {
color: var(--background);
}
.progressbar-inner[data-style="none"] {
background-color: var(--foreground);
}
.progressbar-inner[data-style="none"] * {
color: var(--background);
}
.progressbar-inner[data-style="primary"] {
background-color: var(--primary);
}
.progressbar-inner[data-style="primary"] * {
color: var(--primary-foreground);
}
.progressbar-inner[data-style="secondary"] {
background-color: var(--secondary);
}
.progressbar-inner[data-style="secondary"] * {
color: var(--secondary-foreground);
}
.progressbar-inner[data-style="destructive"] {
background-color: var(--destructive);
}
.progressbar-inner[data-style="destructive"] * {
color: var(--destructive-foreground);
}
.progressbar-inner[data-style="success"] {
background-color: var(--success);
}
.progressbar-inner[data-style="success"] * {
color: var(--success-foreground);
}