Skip to content

Commit cffd161

Browse files
committed
fix layers - component**s**
1 parent c335d7e commit cffd161

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

component-library/src/components/custom/BccBadge/BccBadge.stories.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,20 @@ export const Sizes: Story = {
9595
}),
9696
};
9797

98+
export const CustomSized: Story = {
99+
render: () => ({
100+
components: { BccBadge, PersonIcon },
101+
setup() {
102+
return { PersonIcon };
103+
},
104+
template: `
105+
<div class="flex flex-wrap gap-2 align-items-center">
106+
<BccBadge :value="PersonIcon" class="w-15 h-10" size="md" />
107+
</div>
108+
`,
109+
}),
110+
};
111+
98112
export const BorderedAndSquared: Story = {
99113
render: () => ({
100114
components: { BccBadge, CheckIcon },

component-library/src/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Layer order: Tailwind base/utilities first, then PrimeVue so component styles win */
2-
@layer theme, base, component, library-utilities, utilities, primevue;
2+
@layer theme, base, components, library-utilities, utilities, primevue;
33
@import '@bcc-code/design-tokens/css';
44

55
@import 'tailwindcss';

0 commit comments

Comments
 (0)