Skip to content

Commit 02acf3e

Browse files
authored
Merge pull request #452 from shairez/pr-fluffy-docs
2 parents 33e0c5c + 517ff39 commit 02acf3e

File tree

160 files changed

+1540
-1294
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+1540
-1294
lines changed

apps/website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "The Qwik UI Website",
44
"private": true,
55
"dependencies": {
6-
"@qwik-ui/cva": "workspace:*",
6+
"@qwik-ui/utils": "workspace:*",
77
"@qwik-ui/headless": "workspace:*",
88
"@qwik-ui/tailwind": "workspace:*",
99
"@qwik-ui/fluffy": "workspace:*",
Binary file not shown.
Binary file not shown.
Binary file not shown.

apps/website/src/_state/component-statuses.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ export const statusByComponent: ComponentKitsStatuses = {
1515
Alert: ComponentStatus.Planned,
1616
Badge: ComponentStatus.Planned,
1717
Breadcrumb: ComponentStatus.Planned,
18-
Button: ComponentStatus.Planned,
18+
Button: ComponentStatus.Beta,
1919
'Button Group': ComponentStatus.Planned,
2020
Card: ComponentStatus.Planned,
2121
Carousel: ComponentStatus.Planned,
2222
Checkbox: ComponentStatus.Planned,
23-
Collapse: ComponentStatus.Planned,
23+
Combobox: ComponentStatus.Planned,
2424
Drawer: ComponentStatus.Planned,
2525
Input: ComponentStatus.Planned,
2626
'Input Phone': ComponentStatus.Planned,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export enum KitName {
2-
HEADLESS = 'healdess',
2+
HEADLESS = 'headless',
33
FLUFFY = 'fluffy',
4-
NO_KIT = 'no-kit'
4+
NO_KIT = 'no-kit',
55
}

apps/website/src/colors.debug.css

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
--color-background: hsl(0, 0%, 100%);
44
--color-foreground: hsl(263, 84%, 5%);
55

6-
--color-primary: hsl(263, 84%, 35%);
6+
--color-primary: hsl(263, 56%, 52%);
77
--color-primary-foreground: hsl(0, 0%, 100%);
88

9-
--color-secondary: hsl(197, 93%, 25%);
9+
--color-secondary: hsl(202, 91%, 52%);
1010
--color-secondary-foreground: hsl(0, 0%, 100%);
1111

1212
--color-muted: hsl(210, 40%, 96%);
1313
--color-muted-foreground: hsl(263, 16%, 47%);
1414

15-
--color-accent: hsl(210, 40%, 96%);
15+
--color-accent: hsl(0, 0%, 83%);
1616
--color-accent-foreground: hsl(263, 47%, 11%);
1717

1818
--color-destructive: hsl(0, 84%, 60%);
19-
--color-destructive-foreground: hsl(263, 40%, 98%);
19+
--color-destructive-foreground: hsl(0, 0%, 100%);
2020

2121
--color-card: hsl(0, 0%, 100%);
2222
--color-card-foreground: hsl(263, 84%, 5%);
@@ -28,7 +28,7 @@
2828

2929
--color-input: hsl(263, 32%, 91%);
3030

31-
--color-ring: hsl(263, 84%, 25%);
31+
--color-ring: hsl(263, 18%, 61%);
3232

3333
--border-radius: 0.375rem;
3434
}
@@ -37,19 +37,19 @@
3737
--color-background: hsl(263, 84%, 5%);
3838
--color-foreground: hsl(263, 40%, 98%);
3939

40-
--color-primary: hsl(263 40% 98%);
41-
--color-primary-foreground: hsl(263 47.4% 11.2%);
40+
--color-primary: hsl(263, 70%, 58%);
41+
--color-primary-foreground: hsl(190 40% 98%);
4242

43-
--color-secondary: hsl(197 32.6% 17.5%);
43+
--color-secondary: hsl(202, 97%, 55%);
4444
--color-secondary-foreground: hsl(190 40% 98%);
4545

4646
--color-muted: hsl(218 32.6% 17.5%);
4747
--color-muted-foreground: hsl(263 20.2% 65.1%);
4848

49-
--color-accent: hsl(263 32.6% 17.5%);
50-
--color-accent-foreground: hsl(263 40% 98%);
49+
--color-accent: hsl(0, 0%, 26%);
50+
--color-accent-foreground: hsl(263 32.6% 17.5%);
5151

52-
--color-destructive: hsl(0 62.8% 30.6%);
52+
--color-destructive: hsl(0, 70%, 41%);
5353
--color-destructive-foreground: hsl(263 40% 98%);
5454

5555
--color-card: hsl(263 84% 4.9%);

apps/website/src/global.css

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@
77
--color-background: 0 0% 100%;
88
--color-foreground: 263 84% 5%;
99

10-
--color-primary: 263 84% 35%;
10+
--color-primary: 263 56% 52%;
1111
--color-primary-foreground: 0 0% 100%;
1212

13-
--color-secondary: 197 93% 25%;
13+
--color-secondary: 202 91% 52%;
1414
--color-secondary-foreground: 0 0% 100%;
1515

1616
--color-muted: 210 40% 96%;
1717
--color-muted-foreground: 263 16% 47%;
1818

19-
--color-accent: 210 40% 96%;
19+
--color-accent: 0 0% 89%;
2020
--color-accent-foreground: 263 47% 11%;
2121

2222
--color-destructive: 0 84% 60%;
23-
--color-destructive-foreground: 263 40% 98%;
23+
--color-destructive-foreground: 263 0% 100%;
2424

2525
--color-card: 0 0% 100%;
2626
--color-card-foreground: 263 84% 5%;
@@ -32,39 +32,39 @@
3232

3333
--color-input: 263 32% 91%;
3434

35-
--color-ring: 263 84% 25%;
35+
--color-ring: 263 18% 61%;
3636

3737
--border-radius: 0.375rem;
3838

39-
--shiki-color-text: theme('colors.white');
40-
--shiki-token-constant: theme('colors.emerald.300');
41-
--shiki-token-string: theme('colors.emerald.300');
42-
--shiki-token-comment: theme('colors.zinc.500');
43-
--shiki-token-keyword: theme('colors.sky.300');
44-
--shiki-token-parameter: theme('colors.pink.300');
45-
--shiki-token-function: theme('colors.violet.300');
46-
--shiki-token-string-expression: theme('colors.emerald.300');
47-
--shiki-token-punctuation: theme('colors.zinc.200');
39+
--shiki-color-text: theme('colors.black');
40+
--shiki-token-constant: theme('colors.emerald.800');
41+
--shiki-token-string: theme('colors.emerald.700');
42+
--shiki-token-comment: theme('colors.zinc.700');
43+
--shiki-token-keyword: theme('colors.sky.600');
44+
--shiki-token-parameter: theme('colors.pink.700');
45+
--shiki-token-function: theme('colors.purple.700');
46+
--shiki-token-string-expression: theme('colors.emerald.700');
47+
--shiki-token-punctuation: theme('colors.zinc.700');
4848
}
4949

5050
.dark {
5151
/* previous 263 84% 5% */
5252
--color-background: 222 47% 11%;
5353
--color-foreground: 263 40% 98%;
5454

55-
--color-primary: 263 40% 98%;
56-
--color-primary-foreground: 263 47.4% 11.2%;
55+
--color-primary: 263 70% 58%;
56+
--color-primary-foreground: 190 40% 98%;
5757

58-
--color-secondary: 197 32.6% 17.5%;
58+
--color-secondary: 202 97% 55%;
5959
--color-secondary-foreground: 190 40% 98%;
6060

6161
--color-muted: 218 32.6% 17.5%;
6262
--color-muted-foreground: 263 20.2% 65.1%;
6363

64-
--color-accent: 263 32.6% 17.5%;
64+
--color-accent: 0 0% 23%;
6565
--color-accent-foreground: 263 40% 98%;
6666

67-
--color-destructive: 0 62.8% 30.6%;
67+
--color-destructive: 0 70% 40%;
6868
--color-destructive-foreground: 263 40% 98%;
6969

7070
--color-card: 263 84% 4.9%;
@@ -78,6 +78,16 @@
7878
--color-input: 263 32.6% 17.5%;
7979

8080
--color-ring: 263 26.8% 83.9%;
81+
82+
--shiki-color-text: theme('colors.white');
83+
--shiki-token-constant: theme('colors.emerald.300');
84+
--shiki-token-string: theme('colors.emerald.300');
85+
--shiki-token-comment: theme('colors.zinc.500');
86+
--shiki-token-keyword: theme('colors.sky.300');
87+
--shiki-token-parameter: theme('colors.pink.300');
88+
--shiki-token-function: theme('colors.violet.300');
89+
--shiki-token-string-expression: theme('colors.emerald.300');
90+
--shiki-token-punctuation: theme('colors.zinc.200');
8191
}
8292
}
8393

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
export const ClipboardCheck = () => (
2+
<svg
3+
xmlns="http://www.w3.org/2000/svg"
4+
width="16"
5+
height="16"
6+
fill="#bab4b46e"
7+
class="bi bi-clipboard2-check"
8+
viewBox="0 0 16 16"
9+
>
10+
<path d="M9.5 0a.5.5 0 0 1 .5.5.5.5 0 0 0 .5.5.5.5 0 0 1 .5.5V2a.5.5 0 0 1-.5.5h-5A.5.5 0 0 1 5 2v-.5a.5.5 0 0 1 .5-.5.5.5 0 0 0 .5-.5.5.5 0 0 1 .5-.5h3Z" />
11+
<path d="M3 2.5a.5.5 0 0 1 .5-.5H4a.5.5 0 0 0 0-1h-.5A1.5 1.5 0 0 0 2 2.5v12A1.5 1.5 0 0 0 3.5 16h9a1.5 1.5 0 0 0 1.5-1.5v-12A1.5 1.5 0 0 0 12.5 1H12a.5.5 0 0 0 0 1h.5a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-12Z" />
12+
<path d="M10.854 7.854a.5.5 0 0 0-.708-.708L7.5 9.793 6.354 8.646a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0l3-3Z" />
13+
</svg>
14+
);
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
export const CopyIcon = () => (
2+
<svg
3+
xmlns="http://www.w3.org/2000/svg"
4+
width="16"
5+
height="16"
6+
fill="#bab4b46e"
7+
class="bi bi-copy"
8+
viewBox="0 0 16 16"
9+
>
10+
<path
11+
fill-rule="evenodd"
12+
d="M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6ZM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1H2Z"
13+
/>
14+
</svg>
15+
);

0 commit comments

Comments
 (0)