create-mcp-use-app 0.6.0-canary.2 → 0.6.0-canary.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,9 +20,9 @@ export const Accordion: React.FC<AccordionProps> = ({
20
20
  );
21
21
 
22
22
  return (
23
- <div className="p-8 pt-4 border-t border-gray-200 dark:border-gray-800 mt-4">
23
+ <div className="p-8 pt-4 border-t border-subtle mt-4">
24
24
  <h3 className="heading-lg mb-4">{title}</h3>
25
- <div className="rounded-lg border border-gray-200 dark:border-gray-800 overflow-hidden">
25
+ <div className="rounded-lg border border-default overflow-hidden">
26
26
  {items.map((item, index) => (
27
27
  <AccordionItem
28
28
  key={index}
@@ -9,16 +9,14 @@ export const AccordionItem: React.FC<AccordionItemProps> = ({
9
9
  onToggle,
10
10
  }) => {
11
11
  return (
12
- <div className="border-b border-gray-200 dark:border-gray-800 last:border-b-0">
12
+ <div className="border-b border-subtle last:border-b-0">
13
13
  <button
14
14
  type="button"
15
15
  onClick={onToggle}
16
- className="w-full flex items-center justify-between p-4 text-left hover:bg-gray-50 dark:hover:bg-gray-900/50 transition-colors"
16
+ className="w-full flex items-center justify-between p-4 text-left hover:bg-primary-soft-hover transition-colors"
17
17
  >
18
- <span className="font-medium text-gray-900 dark:text-gray-100">
19
- {question}
20
- </span>
21
- <span className="text-xl text-gray-500 dark:text-gray-400 transition-transform duration-200">
18
+ <span className="font-medium text-default">{question}</span>
19
+ <span className="text-xl text-tertiary transition-transform duration-200">
22
20
  {isOpen ? "−" : "+"}
23
21
  </span>
24
22
  </button>
@@ -46,7 +46,7 @@ export const Carousel: React.FC<CarouselProps> = ({ mcpUrl }) => {
46
46
  </div>
47
47
  ) : error ? (
48
48
  <div className="flex items-center justify-center p-8">
49
- <p className="text-red-500">Failed to load fruits</p>
49
+ <p className="text-danger">Failed to load fruits</p>
50
50
  </div>
51
51
  ) : (
52
52
  <Animate className="flex gap-4">
@@ -9,7 +9,7 @@ export interface CarouselItemProps {
9
9
  export const CarouselItem: React.FC<CarouselItemProps> = ({ fruit, color }) => {
10
10
  return (
11
11
  <div
12
- className={`carousel-item size-52 rounded-xl border border-gray-200 dark:border-gray-800 ${color}`}
12
+ className={`carousel-item size-52 rounded-xl border border-subtle ${color}`}
13
13
  >
14
14
  <div className="carousel-item-bg">
15
15
  <Image src={"/fruits/" + fruit + ".png"} alt={fruit} />
@@ -32,7 +32,7 @@ const ProductSearchResult: React.FC = () => {
32
32
  return (
33
33
  <McpUseProvider debugger viewControls autoSize>
34
34
  <AppsSDKUIProvider linkComponent={Link}>
35
- <div className="relative bg-white dark:bg-black border border-gray-200 dark:border-gray-800 rounded-3xl">
35
+ <div className="relative bg-surface-elevated border border-default rounded-3xl">
36
36
  <div className="p-8">
37
37
  <h5 className="text-secondary mb-1">Apps SDK Template</h5>
38
38
  <h2 className="heading-xl mb-3">Lovely Little Fruit Shop</h2>
@@ -28,15 +28,15 @@ h3,
28
28
  h4,
29
29
  h5,
30
30
  h6 {
31
- @apply text-gray-900 dark:text-white;
31
+ @apply text-default;
32
32
  }
33
33
 
34
34
  p {
35
- @apply text-gray-600 dark:text-gray-400;
35
+ @apply text-secondary;
36
36
  }
37
37
 
38
38
  a {
39
- @apply text-blue-600 dark:text-blue-400;
39
+ @apply text-info;
40
40
  }
41
41
 
42
42
  /* Carousel scroll container with padding for blur effect */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-mcp-use-app",
3
- "version": "0.6.0-canary.2",
3
+ "version": "0.6.0-canary.4",
4
4
  "type": "module",
5
5
  "description": "Create MCP-Use apps with one command",
6
6
  "author": "mcp-use, Inc.",