Skip to content

Commit 59e4be8

Browse files
committed
WIP: fix build issues with website
1 parent 5e5c7d8 commit 59e4be8

File tree

6 files changed

+23
-32
lines changed

6 files changed

+23
-32
lines changed

apps/website/src/_fluffy/button/button.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

apps/website/src/global.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,15 @@
7272
}
7373
}
7474

75+
@layer base {
76+
* {
77+
@apply border-border;
78+
}
79+
body {
80+
@apply bg-background text-foreground;
81+
}
82+
}
83+
7584
:root {
7685
--qwik-dark-blue: #006ce9;
7786
--qwik-light-blue: #18b6f6;

apps/website/src/routes/docs/fluffy/(getting-started)/install/index.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@ export default component$(() => {
55
return (
66
<article class="max-w-prose">
77
<h1 class="text-xl">Installation</h1>
8-
<p class="text-lg mb-6">
8+
<p class="mb-6 text-lg">
99
To get started with the Fluffy (styled) Kit for Qwik UI, run the following command
1010
to install the Fluffy Kit via npm:
1111
</p>
1212

1313
<div class="mt-4">
14-
<pre class="bg-black max-w-prose p-8 border-white border text-white">
14+
<pre class="max-w-prose border border-white bg-black p-8 text-white">
1515
npm install -D @qwik-ui/fluffy
1616
</pre>
1717
</div>
1818

19-
<p class="text-lg mt-6 mb-6">
19+
<p class="mb-6 mt-6 text-lg">
2020
Which should install DasiyUI as part of its dependencies. Then you can add daisyUI
2121
to your <code class="bg-black">tailwind.config.js</code> file:
2222
</p>
2323

2424
<div class="mt-4">
25-
<pre class="bg-black max-w-prose p-8 border-white border text-white">
25+
<pre class="max-w-prose border border-white bg-black p-8 text-white">
2626
{`module.exports = {
2727
//...
2828
plugins: [require("daisyui")],
@@ -31,12 +31,12 @@ export default component$(() => {
3131
</pre>
3232
</div>
3333

34-
<p class="text-lg mt-6 mb-6">
34+
<p class="mb-6 mt-6 text-lg">
3535
This will install That's it! The Fluffy Kit is now installed and ready for use in
3636
your Qwik project.
3737
</p>
3838

39-
<p class="text-lg mb-6">
39+
<p class="mb-6 text-lg">
4040
Now you can start building your fully designed, accessible Qwik web applications
4141
using the Qwik UI Fluffy Kit.
4242
</p>
@@ -45,5 +45,5 @@ export default component$(() => {
4545
});
4646

4747
export const head: DocumentHead = {
48-
title: 'Qwik UI | Fluffy (styled) Kit - Installation'
48+
title: 'Qwik UI | Fluffy (styled) Kit - Installation',
4949
};

apps/website/vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { qwikVite } from '@builder.io/qwik/optimizer';
21
import { qwikCity } from '@builder.io/qwik-city/vite';
2+
import { qwikVite } from '@builder.io/qwik/optimizer';
3+
import { qwikNxVite } from 'qwik-nx/plugins';
34
import { defineConfig } from 'vite';
45
import tsconfigPaths from 'vite-tsconfig-paths';
5-
import { qwikNxVite } from 'qwik-nx/plugins';
66

77
export default defineConfig({
88
plugins: [

packages/kit-fluffy/src/components/button/button.stories.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from 'storybook-framework-qwik';
22
import { Button, type ButtonProps } from './button';
33

44
const meta: Meta<ButtonProps> = {
5-
component: Button
5+
component: Button,
66
};
77

88
type Story = StoryObj<ButtonProps>;
@@ -11,7 +11,7 @@ export default meta;
1111

1212
export const Primary: Story = {
1313
args: {
14-
size: 'medium'
14+
// size: 'medium'
1515
},
16-
render: (props) => <Button {...props}>Some button</Button>
16+
render: (props) => <Button {...props}>Some button</Button>,
1717
};

packages/kit-fluffy/src/components/tabs/tabs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { component$ } from '@builder.io/qwik';
1+
import { Slot, component$ } from '@builder.io/qwik';
22
import { Tabs as HeadlessTabs } from '@qwik-ui/headless';
33

44
export const Tabs = component$(() => {
55
return (
6-
<HeadlessTabs class={}>
6+
<HeadlessTabs>
77
<Slot />
88
</HeadlessTabs>
99
);

0 commit comments

Comments
 (0)