daisyui-blueprint 1.2.0 → 1.3.0-development-1
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.
- package/LICENSE.md +1 -1
- package/README.md +2 -2
- package/chunks/chunk-0.js +1 -0
- package/chunks/chunk-1.js +1 -0
- package/chunks/chunk-2.js +1 -0
- package/chunks/chunk-3.js +1 -0
- package/chunks/chunk-4.js +1 -0
- package/chunks/chunk-5.js +1 -0
- package/chunks/chunk-6.js +1 -0
- package/package.json +3 -2
- package/server.js +1 -1
package/LICENSE.md
CHANGED
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ MCP (Model Context Protocol) server that provides AI assistants with daisyUI com
|
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
7
|
-
- **
|
|
7
|
+
- **600+ daisyUI Snippets** - Ready-to-use code for daisyUI components, layouts, and templates provided to LLMs
|
|
8
8
|
- **AI Conversion Prompts** - Convert Bootstrap to daisyUI, screenshots to code, Tailwind to daisyUI, and images to themes
|
|
9
9
|
- **Figma Integration** - Extract design data from Figma files and convert them to daisyUI code
|
|
10
10
|
- **Theme Generation** - Create custom daisyUI themes from image color palettes
|
|
@@ -47,7 +47,7 @@ Add this MCP server to your code editor or AI assistant client:
|
|
|
47
47
|
|
|
48
48
|
### 1. daisyUI Component Snippets
|
|
49
49
|
|
|
50
|
-
Request component code snippets from your AI assistant. The server provides
|
|
50
|
+
Request component code snippets from your AI assistant. The server provides 600+ components, layouts, and templates.
|
|
51
51
|
|
|
52
52
|
**Available Categories:**
|
|
53
53
|
- **Components** - Button, Card, Modal, Navbar, Dropdown, Table, Form inputs, and 50+ more
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const R=W;(function(r,a){const T=W,w=r();while(!![]){try{const k=parseInt(T(0x1c3))/0x1*(-parseInt(T(0x129))/0x2)+parseInt(T(0x112))/0x3+parseInt(T(0xaf))/0x4+-parseInt(T(0x184))/0x5+parseInt(T(0xe0))/0x6*(parseInt(T(0x1e1))/0x7)+-parseInt(T(0x214))/0x8*(-parseInt(T(0x10a))/0x9)+-parseInt(T(0xd6))/0xa;if(k===a)break;else w['push'](w['shift']());}catch(l){w['push'](w['shift']());}}}(J,0x4c0f0));const B=(function(){let r=!![];return function(a,w){const k=r?function(){const u=W;if(w){const l=w[u(0xc0)](a,arguments);return w=null,l;}}:function(){};return r=![],k;};}()),Y=B(this,function(){const n=W;return Y[n(0x186)]()[n(0x197)](n(0x7a))[n(0x186)]()[n(0x18e)](Y)[n(0x197)](n(0x7a));});Y();const snippetChunks=await Promise[R(0xb8)]([import(new URL(R(0x19c),import.meta['url'])[R(0x1fa)]),import(new URL(R(0x1e4),import.meta[R(0x1ed)])['href']),import(new URL(R(0x206),import.meta[R(0x1ed)])[R(0x1fa)]),import(new URL(R(0x99),import.meta[R(0x1ed)])[R(0x1fa)])]);function J(){const z=['components/rating/examples/sizes','components/label/examples/floating-label-with-different-sizes','components/button/examples/soft-buttons','components/mask/examples/hexagon-2-horizontal-hexagon','1564752NfGxPP','components/avatar/examples/avatar-group','components/dropdown/examples/dropdown-right','components/kbd/examples/kbd','components/menu/examples/horizontal-submenu','components/tab/examples/radio-tabs-lift-with-icons-tab-content','components/indicator/examples/indicator-bottom-indicator-start','components/join/examples/responsive-its-vertical-on-small-screen-and-horizontal-on-large-screen','components/skeleton/examples/skeleton','components/tab/examples/sizes','components/navbar/examples/navbar-with-icon-indicator-and-dropdown','components/badge/examples/badge-with-dash-style','components/menu/examples/mega-menu-with-submenu-responsive','components/menu/examples/menu-with-icons-and-badge-responsive','components/pagination/examples/nexprev-outline-buttons-with-equal-width','components/tab/examples/radio-tabs-border-tab-content','components/radial-progress/examples/custom-color','components/table/examples/table-with-an-active-row','components/text-rotate/text-rotate','components/theme-controller/examples/theme-controller-using-a-checkbox','components/badge/examples/badge-with-icon','components/radio/examples/error-color','components/toast/examples/toast-center-toast-middle','2EwpuAW','components/range/examples/sizes','components/file-input/examples/primary-color','default','components/link/examples/info-color','components/stack/examples/stacked-cards','components/card/examples/card-with-badge','components/skeleton/examples/skeleton-circle-with-content','components/loading/examples/loading-ball','components/badge/examples/badge-in-a-text','components/collapse/examples/with-arrow-plusminus-icon','components/link/examples/secondary-color','components/theme-controller/examples/theme-controller-using-a-toggle-with-text','components/input/examples/with-fieldset-and-fieldset-legend','components/card/examples/card','components/select/examples/using-os-native-style-for-the-options-dropdown','components/timeline/examples/vertical-timeline-with-text-on-both-sides-and-icon','components/menu/examples/menu-with-icon-only-horizontal','components/file-input/examples/file-input','components/button/examples/outline-buttons','components/dock/examples/dock-with-custom-colors','components/theme-controller/examples/theme-controller-using-a-dropdown','components/select/examples/accent-color','components/filter/examples/filter-without-html-form','components/file-input/examples/disabled','components/checkbox/examples/sizes','components/select/examples/info-color','components/avatar/examples/avatar-group-with-counter','components/progress/examples/indeterminate-without-value','components/button/examples/button-block','components/filter/examples/filter-using-html-form-radio-buttons-and-reset-button','components/range/examples/success-color','components/card/examples/card-with-action-on-top','components/rating/examples/rating','components/toggle/examples/colors','components/diff/examples/diff','components/diff/examples/diff-text','components/kbd/examples/function-keys','components/accordion/examples/accordion-with-plus-minus-icon','components/input/examples/email-input-with-icon-validator-button-join','components/file-input/examples/with-fieldset-and-label','components/dropdown/examples/dropdown-on-hover','components/mask/examples/circle','components/badge/examples/badge','components/collapse/examples/with-arrow-icon','components/stack/examples/3-divs-in-a-stack','components/stat/examples/centered-items','components/validator/examples/toggle-requirement-validator','components/filter/examples/filter-using-html-form-checkboxes-and-a-reset-button','components/divider/examples/divider','components/indicator/examples/for-avatar','components/loading/examples/loading-bars','components/theme-controller/examples/theme-controller-using-a-toggle','components/rating/examples/half-stars','components/radial-progress/examples/with-background-color-and-border','components/indicator/examples/indicator-middle-indicator-center','components/fab/examples/fab-and-speed-dial-with-labels-and-fab-main-action-button','components/swap/examples/hamburger-button','components/accordion/examples/accordion-using-radio-inputs','components/breadcrumbs/examples/breadcrumbs','components/menu/examples/submenu','components/carousel/examples/carousel-with-nextprev-buttons','components/stack/examples/stacked-cards-end-direction','components/input/examples/text-input','components/steps/examples/with-custom-content-in-step-icon','components/avatar/examples/avatar-in-custom-sizes','components/indicator/examples/indicator-top-default-indicator-start','components/footer/examples/footer-with-logo-and-social-icons','components/fieldset/examples/fieldset-with-multiple-join-items','components/text-rotate/rotating-words-in-a-sentence-different-colors-for-each-word','components/card/examples/card-with-a-dash-border','components/radial-progress/examples/different-values','components/indicator/examples/indicator-middle-indicator-end-default','components/mockup-window/examples/window-mockup-with-border','components/input/examples/date-input','components/join/examples/with-extra-elements-in-the-group','components/table/examples/table','components/navbar/examples/navbar-with-search-input-and-dropdown','components/dock/examples/dock-large-size','components/collapse/examples/collapse-with-focus','components/card/examples/card-with-no-image','components/mask/examples/star-2-bold-star','components/badge/examples/badge-with-outline-style','assign','components/drawer/examples/responsive-sidebar-is-always-visible-on-large-screen-can-be-toggled-on-small-screen','components/label/examples/label-for-input','components/join/examples/join-radio-inputs-with-btn-style','components/footer/examples/centered-footer-with-logo-and-social-icons','components/hover-3d/holographic-hover-3d-credit-card','components/progress/examples/primary-color','components/toast/examples/toast-top-toast-end','2967925BALiMO','components/progress/examples/info-color','toString','components/navbar/examples/responsive-dropdown-menu-on-small-screen-center-menu-on-large-screen','components/button/examples/wide-button','components/file-input/examples/sizes','components/countdown/examples/large-text-with-2-digits','components/fieldset/examples/fieldset-with-background-and-border','components/avatar/examples/avatar-with-ring','components/dropdown/examples/dropdown-aligns-to-end-of-button-horizontally','constructor','components/indicator/examples/indicator-top-default-indicator-end-default','components/alert/examples/warning-color','components/stack/examples/stacked-images','components/select/examples/ghost-no-background','components/alert/examples/alert','components/modal/examples/modal-that-closes-when-clicked-outside','components/mockup-code/examples/highlighted-line','components/fieldset/examples/fieldset-with-multiple-inputs','search','components/stack/examples/stacked-cards-with-shadow','components/button/examples/button-with-icon','components/button/examples/buttons-colors','components/toggle/examples/with-fieldset-and-label','chunk-3.js','components/mask/examples/triangle-2-pointing-down','components/tab/examples/tabs-box-using-radio-inputs','components/steps/examples/custom-colors','components/text-rotate/big-font-size-horizontally-centered','components/input/examples/username-text-input-with-icon-and-validator','components/link/examples/success-color','components/footer/examples/footer-with-copyright-text-and-social-icons','components/range/examples/range','components/link/examples/accent-color','components/kbd/examples/key-combination','components/mask/examples/squircle','components/timeline/examples/timeline-with-top-side-only','components/modal/examples/dialog-modal-closes-when-clicked-outside','components/pagination/examples/pagination-with-an-active-button','components/toast/examples/toast-end-default-toast-bottom-default','components/modal/examples/responsive','components/fieldset/examples/login-form-with-fieldset','components/toast/examples/toast-end-toast-middle','components/carousel/examples/snap-to-center','components/rating/examples/with-rating-hidden','components/table/examples/table-with-border-and-background','components/select/examples/select','components/table/examples/table-with-visual-elements','components/fab/examples/fab-and-speed-dial-with-svg-icons','components/mask/examples/triangle-3-pointing-left','components/breadcrumbs/examples/breadcrumbs-with-icons','components/collapse/examples/force-open','components/pagination/examples/using-radio-inputs','components/footer/examples/footer-vertical-by-default-horizontal-for-sm-and-up','components/table/examples/table-xs','components/status/examples/status-with-bounce-animation','components/indicator/examples/status-indicator','components/toast/examples/toast-start-toast-bottom-default','components/drawer/examples/example-this-sidebar-is-always-visible-on-large-screen-can-be-toggled-on-small-screen','components/menu/examples/responsive-vertical-on-small-screen-horizontal-on-large-screen','components/join/examples/group-items-vertically','components/text-rotate/custom-line-height','components/radio/examples/info-color','453354WhSGtr','components/file-input/examples/file-input-ghost','components/menu/examples/menu-with-icon-only-horizontal-with-tooltip','components/rating/examples/mask-star-2-with-warning-color','components/indicator/examples/badge-as-indicator','components/timeline/examples/vertical-timeline-with-different-sides','components/mockup-code/examples/long-line-will-scroll','components/validator/examples/validator-and-validator-hint','components/divider/examples/divider-in-different-positions-horizontal','components/dropdown/examples/force-open','components/fab/examples/fab-flower-and-speed-dial','components/radio/examples/accent-color','components/dropdown/examples/dropdown-aligns-to-center-of-button-horizontally','components/status/examples/status','components/dropdown/examples/dropdown-bottom-default-aligns-to-center-of-button-horizontally','components/range/examples/neutral-color','components/kbd/examples/kbd-sizes','components/chat/examples/chat-with-image','components/alert/examples/alert-soft-style','components/indicator/examples/indicator-bottom-indicator-center','components/collapse/examples/collapse-with-checkbox','components/button/examples/buttons-with-any-html-tags-like-checkbox-radio-etc','components/menu/examples/menu-with-active-item','components/toggle/examples/sizes','components/timeline/examples/timeline-with-icon-snapped-to-the-start','components/fab/examples/a-single-fab-floating-action-button','components/chat/examples/chat-bubble-with-colors','components/drawer/examples/icon-only-drawer-sidebar-when-its-closed-using-is-drawer-close-and-is-drawer-open-variants','components/tab/examples/tabs-box-with-a-horizontal-scroll-when-theres-no-space','components/swap/examples/activate-using-class-name-instead-of-checkbox','553HUMezv','components/skeleton/examples/skeleton-text','components/label/examples/label-for-date-input','chunk-4.js','components/rating/examples/mask-star-2-with-green-500-color','components/mask/examples/pentagon','components/divider/examples/divider-with-colors','components/table/examples/zebra','components/checkbox/examples/checkbox','components/tab/examples/radio-tabs-box-tab-content','components/button/examples/dash-buttons','components/table/examples/table-with-pinned-rows','url','components/toast/examples/toast-top-toast-center','components/button/examples/responsive-button','components/stat/examples/with-custom-colors-and-button','components/validator/examples/select-requirement-validator','components/progress/examples/neutral-color','components/mask/examples/square','components/select/examples/primary-color','components/join/examples/custom-border-radius','components/breadcrumbs/examples/breadcrumbs-with-max-width','components/card/examples/centered-card-with-neutral-color','components/rating/examples/read-only-rating','components/indicator/examples/for-tab','href','components/status/examples/status-sizes','components/indicator/examples/a-button-as-an-indicator-for-a-card','components/mask/examples/hexagon','components/mockup-browser/examples/browser-mockup-with-border','components/stat/examples/responsive-vertical-on-small-screen-horizontal-on-large-screen','components/card/examples/card-with-a-card-border','components/chat/examples/chat-start-and-chat-end','components/button/examples/buttons-ghost-and-button-link','components/modal/examples/dialog-modal-with-custom-width','components/checkbox/examples/disabled','components/indicator/examples/indicator-middle-indicator-start','chunk-5.js','components/tab/examples/tabs-border','components/pagination/examples/sizes','components/mockup-phone/examples/iphone-mockup','components/countdown/examples/countdown','components/link/examples/error-color','components/carousel/examples/vertical-carousel','components/select/examples/success-color','components/validator/examples/username-requirement-validator','components/drawer/examples/drawer-sidebar-that-opens-from-right-side-of-page','components/indicator/examples/indicator-bottom-indicator-end-default','components/button/examples/button','components/navbar/examples/navbar-with-icon-at-start-and-end','components/divider/examples/divider-in-different-positions','4648872OEwGrE','components/fab/examples/fab-and-flower-speed-dial-with-tooltip','components/dropdown/examples/dropdown-aligns-to-start-of-button-horizontally','components/mockup-phone/examples/with-color-and-wallpaper','components/input/examples/text-input-with-data-list-suggestion','components/list/examples/list-second-column-grows-default','(((.+)+)+)+$','components/collapse/examples/moving-collapse-icon-to-the-start','components/range/examples/info-color','components/dropdown/examples/dropdown-in-navbar','components/footer/examples/footer-with-links-and-social-icons','components/timeline/examples/vertical-timeline-with-colorful-lines','components/badge/examples/badge-with-soft-style','components/fab/examples/fab-and-speed-dial-with-labels-and-fab-close-button','components/radio/examples/neutral-color','components/mask/examples/diamond','components/dock/examples/dock-extra-large-size','components/kbd/examples/arrow-keys','components/dropdown/examples/dropdown-bottom-default-aligns-to-end-of-button-horizontally','components/toast/examples/toast-center-toast-bottom-default','components/theme-controller/examples/theme-controller-using-a-toggle-with-icons-inside','components/avatar/examples/avatar','components/collapse/examples/collapse-using-details-and-summary-tag','components/calendar/examples/cally-calendar-example','components/dropdown/examples/dropdown-top-aligns-to-center-of-button-horizontally','components/menu/examples/menu-without-padding-and-border-radius','components/pagination/examples/extra-small-buttons','components/modal/examples/dialog-modal-with-a-close-button-at-corner','components/menu/examples/menu-with-icon-only','components/accordion/examples/accordion-with-arrow-icon','components/stack/examples/stacked-cards-start-direction','components/input/examples/datetime-local-input','components/mask/examples/star','components/loading/examples/loading-spinner','components/timeline/examples/timeline-with-colorful-lines','components/theme-controller/examples/theme-controller-using-a-radio-button','components/input/examples/text-input-with-text-label-inside','chunk-6.js','components/card/examples/card-with-centered-content-and-paddings','components/input/examples/password-input-with-icon-and-validator','components/radial-progress/examples/custom-size-and-custom-thickness','components/progress/examples/accent-color','components/range/examples/error-color','components/mask/examples/heart','components/select/examples/disabled','components/footer/examples/centered-footer-with-social-icons','components/select/examples/secondary-color','components/divider/examples/responsive-lgdivider-horizontal','components/range/examples/accent-color','components/badge/examples/badge-sizes','components/dropdown/examples/dropdown-left-aligns-to-center-of-button-vertically','components/rating/examples/mask-heart-with-multiple-colors','components/card/examples/card-with-custom-color','components/navbar/examples/navbar-with-title-and-icon','components/hover-gallery/examples/hover-gallery-in-a-card','components/card/examples/pricing-card','components/hover-gallery/examples/hover-gallery','components/stat/examples/stat','components/select/examples/error-color','2457036mfxicc','components/input/examples/search-input-with-icon','components/footer/examples/footer-with-a-form','components/card/examples/card-with-bottom-image','components/card/examples/responsive-card-vertical-on-small-screen-horizontal-on-large-screen','components/radio/examples/radio','components/timeline/examples/timeline-with-text-on-both-sides-and-icon','components/radio/examples/radio-sizes','components/mockup-code/examples/mockup-code-with-line-prefix','all','components/calendar/examples/cally-date-picker-example','components/avatar/examples/avatar-with-mask','components/alert/examples/alert-with-buttons-responsive','components/select/examples/warning-color','components/mockup-code/examples/without-prefix','components/indicator/examples/for-an-input','components/navbar/examples/navbar-with-title-only','apply','components/progress/examples/progress','components/link/examples/link','components/hero/examples/hero-with-overlay-image','components/button/examples/button-with-loading-spinner','components/hero/examples/hero-with-figure','components/range/examples/with-steps-and-measure','components/textarea/examples/textarea','components/modal/examples/dialog-modal','components/dropdown/examples/card-as-dropdown','components/indicator/examples/in-center-of-an-image','components/toast/examples/toast-with-alert-inside','components/button/examples/button-sizes','components/timeline/examples/timeline-without-icons','components/stack/examples/stacked-cards-top-direction','components/validator/examples/checkbox-requirement-validator','components/link/examples/warning-color','components/timeline/examples/timeline-with-different-sides','components/timeline/examples/timeline-with-bottom-side-only','components/toast/examples/toast-start-toast-middle','components/card/examples/card-with-image-on-side','components/countdown/examples/large-text-with-labels','6871170FyppXX','components/validator/examples/date-input-requirement-validator','components/menu/examples/collapsible-submenu-that-works-with-class-names','components/menu/examples/menu-with-title-as-a-parent','components/label/examples/floating-label','components/skeleton/examples/skeleton-rectangle-with-content','components/range/examples/secondary-color','components/button/examples/square-button-and-circle-button','components/tab/examples/radio-tabs-lift-tab-content','components/alert/examples/alert-with-title-and-description','24960lqKGtv','components/link/examples/show-underline-only-on-hover','map','components/dock/examples/dock-medium-size','components/theme-controller/examples/theme-controller-using-a-swap','components/radio/examples/success-color','components/hero/examples/centered-hero','components/swap/examples/swap-text','components/toggle/examples/indeterminate','components/carousel/examples/snap-to-end','components/tab/examples/tabs-box','components/fab/examples/fab-and-flower-speed-dial-with-svg-icons','components/alert/examples/error-color','components/badge/examples/badge-in-a-button','components/dropdown/examples/dropdown-menu','components/steps/examples/with-scrollable-wrapper','components/timeline/examples/vertical-timeline-without-icons','components/drawer/examples/drawer-sidebar','components/validator/examples/url-input-requirement-validator','components/timeline/examples/vertical-timeline-with-left-side-only','components/menu/examples/menu','components/footer/examples/footer-with-2-rows','components/drawer/examples/navbar-menu-for-desktop-sidebar-drawer-for-mobile','components/input/examples/email-input-with-icon-and-validator','components/carousel/examples/snap-to-start-default','components/checkbox/examples/indeterminate','components/range/examples/range-with-custom-color-and-no-fill','components/menu/examples/collapsible-submenu','components/validator/examples/writing-an-invalid-email-address-applies-error-color-to-the-input-valid-email-address-applies-success-color','components/kbd/examples/in-text','components/dropdown/examples/dropdown-left-aligns-to-end-of-button-vertically','components/dropdown/examples/dropdown-top','components/collapse/examples/custom-colors-for-collapse-that-works-with-checkbox','components/footer/examples/footer-with-copyright-text','components/theme-controller/examples/theme-controller-using-a-radio-input','components/range/examples/warning-color','components/steps/examples/vertical','components/divider/examples/divider-horizontal','components/select/examples/sizes','components/button/examples/disabled-buttons','components/toggle/examples/toggle-with-custom-colors','components/alert/examples/info-color','9UrdpPx','components/status/examples/status-with-colors','components/radio/examples/primary-color','components/navbar/examples/navbar-with-menu-and-submenu'];J=function(){return z;};return J();}function W(Y,B){const r=J();return W=function(a,w){a=a-0x77;let k=r[a];return k;},W(Y,B);}export const SNIPPETS=Object[R(0x17c)]({},...snippetChunks[R(0xe2)](r=>r[R(0x12c)]));export const SNIPPET_HIERARCHY={'components/accordion':[R(0x163),R(0x91),R(0x14f),'components/accordion/examples/using-accordion-and-join-together'],'components/alert':[R(0x193),'components/alert/examples/alert-dash-style','components/alert/examples/alert-outline-style',R(0x1d5),R(0xbb),R(0xdf),R(0xec),R(0x109),'components/alert/examples/success-color',R(0x190)],'components/avatar':[R(0x89),R(0x113),R(0x144),R(0x16a),'components/avatar/examples/avatar-placeholder','components/avatar/examples/avatar-rounded',R(0xba),'components/avatar/examples/avatar-with-presence-indicator',R(0x18c)],'components/badge':[R(0x154),'components/badge/examples/badge-ghost',R(0xed),R(0x132),R(0xa5),'components/badge/examples/badge-with-colors',R(0x11d),R(0x126),R(0x17b),R(0x80),'components/badge/examples/empty-badge','components/badge/examples/neutral-badge-with-outline-or-dash-style'],'components/breadcrumbs':[R(0x164),R(0x1b6),R(0x1f6)],'components/button':['components/button/examples/active-buttons',R(0x211),R(0x146),R(0xcc),R(0x199),R(0xc4),R(0x19a),R(0x202),R(0x1d8),R(0x1eb),R(0x107),'components/button/examples/login-with-social-media-auth-buttons','components/button/examples/neutral-button-with-outline-or-dash-style',R(0x13c),R(0x1ef),R(0x110),R(0xdd),R(0x188)],'components/calendar':[R(0x8b),R(0xb9),'components/calendar/examples/pikaday-cdn-example'],'components/card':[R(0x137),'components/card/examples/card-sizes',R(0x200),R(0x16f),R(0x149),R(0x12f),R(0xb2),R(0x9a),R(0xa8),R(0xd4),'components/card/examples/card-with-image-overlay',R(0x179),R(0x1f7),R(0xab),R(0xb3)],'components/carousel':['components/carousel/examples/carousel-with-full-width-items','components/carousel/examples/carousel-with-half-width-items','components/carousel/examples/carousel-with-indicator-buttons',R(0x166),'components/carousel/examples/full-bleed-carousel',R(0x1af),R(0xe9),R(0xf8),R(0x20c)],'components/chat':[R(0x1dd),R(0x201),'components/chat/examples/chat-with-header-and-footer',R(0x1d4),'components/chat/examples/chat-with-image-header-and-footer'],'components/checkbox':[R(0x1e9),'components/checkbox/examples/checkbox-with-custom-colors','components/checkbox/examples/colors',R(0x204),R(0xf9),R(0x142),'components/checkbox/examples/with-fieldset-and-label'],'components/collapse':[R(0x8a),R(0x1d7),R(0x178),R(0x100),'components/collapse/examples/custom-colors-for-collapse-that-works-with-focus','components/collapse/examples/force-close',R(0x1b7),R(0x7b),R(0x155),R(0x133),'components/collapse/examples/without-border-and-background-color'],'components/countdown':['components/countdown/examples/clock-countdown','components/countdown/examples/clock-countdown-with-colons',R(0x20a),'components/countdown/examples/in-boxes',R(0x18a),R(0xd5),'components/countdown/examples/large-text-with-labels-under'],'components/diff':[R(0x14c),R(0x14d)],'components/divider':[R(0x15a),R(0x105),R(0x213),R(0x1cb),R(0x1e7),'components/divider/examples/divider-with-no-text',R(0xa3)],'components/dock':['components/dock/examples/dock',R(0x84),'components/dock/examples/dock-extra-small-size',R(0x177),R(0xe3),'components/dock/examples/dock-small-size',R(0x13d)],'components/drawer':[R(0xf1),R(0x20f),R(0x1be),'components/drawer/examples/example-this-sidebar-is-always-visible-when-its-close-we-only-see-iocns-when-its-open-we-see-icons-and-text',R(0x1de),R(0xf6),R(0x17d)],'components/dropdown':[R(0xc9),R(0x1cf),R(0x18d),R(0x216),'components/dropdown/examples/dropdown-bottom-default',R(0x1d1),R(0x86),R(0x7d),'components/dropdown/examples/dropdown-left',R(0xa6),R(0xfe),R(0xee),R(0x152),R(0x114),'components/dropdown/examples/dropdown-right-aligns-to-center-of-button-vertically','components/dropdown/examples/dropdown-right-aligns-to-end-of-button-vertically',R(0xff),R(0x8c),'components/dropdown/examples/dropdown-top-aligns-to-end-of-button-horizontally','components/dropdown/examples/dropdown-using-details-and-summary','components/dropdown/examples/dropdown-using-popover-api-and-anchor-positioning',R(0x1cc),'components/dropdown/examples/helper-dropdown'],'components/fab':[R(0x1dc),R(0xeb),R(0x215),'components/fab/examples/fab-and-speed-dial-vertical','components/fab/examples/fab-and-speed-dial-with-labels',R(0x81),R(0x161),'components/fab/examples/fab-and-speed-dial-with-rectangle-buttons',R(0x1b4),R(0x1cd)],'components/fieldset':['components/fieldset/examples/fieldset-fieldset-legend-and-label',R(0x18b),R(0x196),R(0x16d),R(0x1ad)],'components/file-input':[R(0x141),R(0x13b),R(0x1c4),R(0x12b),R(0x189),R(0x151)],'components/filter':[R(0x159),R(0x147),R(0x140)],'components/footer':[R(0x180),R(0xa1),R(0x1b9),R(0xf5),R(0xb1),'components/footer/examples/footer-with-a-logo-section',R(0x101),R(0x1a3),R(0x7e),R(0x16c),'components/footer/examples/two-footer'],'components/hero':[R(0xe6),R(0xc5),'components/hero/examples/hero-with-figure-but-reverse-order','components/hero/examples/hero-with-form',R(0xc3)],'components/hover-3d':[R(0x181)],'components/hover-gallery':[R(0xac),R(0xaa)],'components/indicator':[R(0x1fc),R(0x1c7),R(0xbe),R(0x15b),'components/indicator/examples/for-button',R(0x1f9),R(0xca),R(0x1d6),R(0x210),R(0x118),R(0x160),R(0x171),R(0x205),'components/indicator/examples/indicator-top-default-indicator-center',R(0x18f),R(0x16b),'components/indicator/examples/multiple-indicators','components/indicator/examples/responsive',R(0x1bc)],'components/input':[R(0x173),R(0x93),'components/input/examples/disabled',R(0xf7),R(0x150),'components/input/examples/ghost-style','components/input/examples/input-colors','components/input/examples/number-input-with-validator',R(0x9b),R(0xb0),'components/input/examples/sizes','components/input/examples/telephone-number-input-with-icon-and-validator',R(0x168),R(0x78),R(0x98),'components/input/examples/time-input','components/input/examples/url-with-icon-and-validator',R(0x1a1),R(0x136)],'components/join':[R(0x1f5),R(0x1c0),'components/join/examples/join',R(0x17f),R(0x119),R(0x174)],'components/kbd':['components/kbd/examples/a-full-keyboard',R(0x85),R(0x14e),R(0xfd),R(0x115),R(0x1d3),R(0x1a6)],'components/label':[R(0xda),R(0x10f),R(0x1e3),R(0x17e),'components/label/examples/label-for-input-at-the-end','components/label/examples/label-for-select'],'components/link':[R(0x1a5),R(0x20b),R(0x12d),R(0xc2),'components/link/examples/primary-color',R(0x134),R(0xe1),R(0x1a2),R(0xd0)],'components/list':[R(0x79),'components/list/examples/list-third-column-grows','components/list/examples/list-third-column-wraps-to-next-row'],'components/loading':[R(0x131),R(0x15c),'components/loading/examples/loading-dots','components/loading/examples/loading-infinity','components/loading/examples/loading-ring',R(0x95),'components/loading/examples/loading-with-colors'],'components/mask':[R(0x153),'components/mask/examples/decagon',R(0x83),R(0x9f),R(0x1fd),R(0x111),R(0x1e6),R(0x1f3),R(0x1a7),R(0x94),R(0x17a),R(0x19d),R(0x1b5),'components/mask/examples/triangle-4-pointing-right','components/mask/examples/triangle-pointing-top'],'components/menu':[R(0xfb),R(0xd8),'components/menu/examples/collapsible-with-submenu-responsive','components/menu/examples/file-tree','components/menu/examples/horizontal-menu',R(0x116),R(0x11e),R(0xf4),'components/menu/examples/menu-sizes',R(0x1d9),'components/menu/examples/menu-with-disabled-items',R(0x90),R(0x13a),R(0x1c5),'components/menu/examples/menu-with-icon-only-with-tooltip','components/menu/examples/menu-with-icons',R(0x11f),'components/menu/examples/menu-with-title',R(0xd9),R(0x8d),R(0x1bf),R(0x165)],'components/mockup-browser':['components/mockup-browser/examples/browser-mockup-with-background-color',R(0x1fe)],'components/mockup-code':[R(0x195),R(0x1c9),R(0xb7),'components/mockup-code/examples/multi-line','components/mockup-code/examples/with-color',R(0xbd)],'components/mockup-phone':[R(0x209),R(0x77)],'components/mockup-window':['components/mockup-window/examples/window-mockup-with-background-color',R(0x172)],'components/modal':[R(0xc8),R(0x1a9),R(0x8f),R(0x203),R(0x194),'components/modal/examples/modal-using-anchor-link','components/modal/examples/modal-using-checkbox',R(0x1ac)],'components/navbar':['components/navbar/examples/navbar-with-colors','components/navbar/examples/navbar-with-dropdown-center-logo-and-icon',R(0x212),R(0x11c),R(0x10d),R(0x176),R(0xa9),R(0xbf),R(0x187)],'components/pagination':[R(0x8e),R(0x120),R(0x1aa),R(0x208),R(0x1b8),'components/pagination/examples/with-a-disabled-button'],'components/progress':[R(0x9d),'components/progress/examples/error-color',R(0x145),R(0x185),R(0x1f2),R(0x182),R(0xc1),'components/progress/examples/secondary-color','components/progress/examples/success-color','components/progress/examples/warning-color'],'components/radial-progress':[R(0x122),R(0x9c),R(0x170),'components/radial-progress/examples/radial-progress',R(0x15f)],'components/radio':[R(0x1ce),'components/radio/examples/disabled',R(0x127),R(0x1c2),R(0x82),R(0x10c),R(0xb4),R(0xb6),'components/radio/examples/radio-with-custom-colors','components/radio/examples/secondary-color',R(0xe5),'components/radio/examples/warning-color'],'components/range':[R(0xa4),R(0x9e),R(0x7c),R(0x1d2),'components/range/examples/primary-color',R(0x1a4),R(0xfa),R(0xdc),R(0x12a),R(0x148),R(0x103),R(0xc6)],'components/rating':[R(0x15e),R(0xa7),R(0x1e5),R(0x1c6),R(0x14a),R(0x1f8),R(0x10e),R(0x1b0)],'components/select':[R(0x13f),R(0xa0),R(0xae),R(0x192),R(0x143),'components/select/examples/neutral-color',R(0x1f4),R(0xa2),R(0x1b2),R(0x106),R(0x20d),R(0x138),R(0xbc),'components/select/examples/with-fieldset-and-labels'],'components/skeleton':[R(0x11a),R(0x130),R(0xdb),R(0x1e2)],'components/stack':[R(0x156),R(0x12e),R(0x167),R(0x92),R(0xce),R(0x198),R(0x191)],'components/stat':[R(0x157),R(0x1ff),R(0xad),'components/stat/examples/stat-with-icons-or-image','components/stat/examples/vertical',R(0x1f0)],'components/status':[R(0x1d0),R(0x1fb),R(0x1bb),R(0x10b),'components/status/examples/status-with-ping-animation'],'components/steps':[R(0x19f),'components/steps/examples/horizontal','components/steps/examples/responsive-vertical-on-small-screen-horizontal-on-large-screen',R(0x104),R(0x169),'components/steps/examples/with-data-content',R(0xef)],'components/swap':[R(0x1e0),R(0x162),'components/swap/examples/swap-icons-with-flip-effect','components/swap/examples/swap-icons-with-rotate-effect',R(0xe7),'components/swap/examples/swap-volume-icons'],'components/tab':[R(0x121),R(0x1ea),R(0xde),'components/tab/examples/radio-tabs-lift-tab-content-on-bottom',R(0x117),R(0x11b),'components/tab/examples/tabs',R(0x207),R(0xea),R(0x19e),R(0x1df),'components/tab/examples/tabs-lift','components/tab/examples/tabs-with-custom-color'],'components/table':[R(0x175),'components/table/examples/table-with-a-row-that-highlights-on-hover',R(0x123),R(0x1b1),R(0x1ec),'components/table/examples/table-with-pinned-rows-and-pinned-cols',R(0x1b3),R(0x1ba),R(0x1e8)],'components/text-rotate':[R(0x1a0),R(0x1c1),'components/text-rotate/rotating-3-words-with-custom-duration',R(0x16e),R(0x124)],'components/textarea':['components/textarea/examples/disabled','components/textarea/examples/ghost-no-background','components/textarea/examples/sizes',R(0xc7),'components/textarea/examples/textarea-colors','components/textarea/examples/with-form-control-and-labels'],'components/theme-controller':[R(0x125),R(0x13e),R(0x97),R(0x102),R(0xe4),R(0x15d),'components/theme-controller/examples/theme-controller-using-a-toggle-with-custom-colors','components/theme-controller/examples/theme-controller-using-a-toggle-with-icons',R(0x88),R(0x135)],'components/timeline':['components/timeline/examples/responsive-vertical-by-default-horizontal-on-large-screen',R(0xd2),R(0x96),R(0xd1),R(0x1db),R(0xb5),R(0x1a8),R(0xcd),R(0x7f),R(0x1c8),R(0xf3),'components/timeline/examples/vertical-timeline-with-right-side-only',R(0x139),R(0xf0)],'components/toast':[R(0x87),R(0x128),R(0x1ab),R(0x1ae),R(0x1bd),R(0xd3),R(0x1ee),R(0x183),'components/toast/examples/toast-top-toast-start',R(0xcb)],'components/toggle':[R(0x14b),'components/toggle/examples/disabled',R(0xe8),R(0x1da),'components/toggle/examples/toggle-switch',R(0x108),'components/toggle/examples/toggle-with-icons-inside',R(0x19b)],'components/validator':[R(0xcf),R(0xd7),'components/validator/examples/number-input-requirement-validator','components/validator/examples/password-requirement-validator','components/validator/examples/phone-number-requirement-validator',R(0x1f1),R(0x158),R(0xf2),R(0x20e),R(0x1ca),R(0xfc)]};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const n=W;function J(){const R=['---\x0atitle:\x20Convert\x20Tailwind\x20CSS\x20code\x20to\x20DaisyUI\x0a#\x20description:\x20Find\x20parts\x20of\x20Tailwind\x20CSS\x20code\x20that\x20can\x20be\x20converted\x20to\x20daisyUI\x20components\x20and\x20convert\x20them\x20accordingly.\x0a---\x0a\x0aYou\x20are\x20analyzing\x20a\x20code\x20that\x20is\x20written\x20using\x20Tailwind\x20CSS\x20utility\x20classes\x20to\x20identify\x20parts\x20that\x20can\x20be\x20converted\x20to\x20daisyUI\x20components\x20and\x20convert\x20them\x20accordingly.\x0aFollow\x20below\x20steps\x20strictly.\x20If\x20you\x20miss\x20any\x20step,\x20your\x20code\x20will\x20be\x20rejected.\x0a\x0a##\x20Step\x20By\x20Step\x20Instructions:\x0a1.\x20Carefully\x20examine\x20the\x20code\x20and\x20all\x20Tailwind\x20CSS\x20utility\x20classes\x20used\x0a2.\x20Identify\x20all\x20elements\x20that\x20can\x20be\x20converted\x20to\x20daisyUI\x20components\x0a3.\x20Decide\x20which\x20daisyUI\x20class\x20names\x20can\x20be\x20used\x20to\x20replace\x20existing\x20Tailwind\x20CSS\x20utility\x20classes\x0a4.\x20Replace\x20the\x20identified\x20parts\x20with\x20appropriate\x20daisyUI\x20components\x20and\x20class\x20names.\x20Use\x20`daisyUI-Blueprint`\x20MCP\x20server\x20>\x20`daisyUI-Snippets`\x20tool\x20to\x20receive\x20accurate\x20code\x20snippets.\x0a\x20\x204.1.\x20If\x20something\x20is\x20possible\x20with\x20daisyUI\x20alone,\x20use\x20daisyUI\x20class\x20names.\x0a\x20\x204.2.\x20If\x20something\x20is\x20possible\x20with\x20daisyUI\x20class\x20names\x20but\x20it\x20requires\x20additional\x20Tailwind\x20CSS\x20utility\x20classes\x20for\x20fine-tuning,\x20use\x20both\x20daisyUI\x20class\x20names\x20and\x20necessary\x20Tailwind\x20CSS\x20utility\x20classes.\x0a\x20\x204.3.\x20If\x20something\x20cannot\x20be\x20achieved\x20even\x20with\x20daisyUI\x20classes,\x20leave\x20it\x20as\x20is.\x0a\x20\x204.4.\x20If\x20you\x20can\x20not\x20understand\x20a\x20part,\x20leave\x20it\x20as\x20is.\x0a5.\x20Match\x20the\x20layout\x20structure\x20as\x20closely\x20as\x20possible\x0a\x0a##\x20daisyUI\x20rules\x0a\x0a-\x20If\x20you\x20need\x20to\x20customize\x20the\x20daisyUI\x20theme\x20to\x20fit\x20the\x20desired\x20colors,\x20use\x20`daisyUI\x20Blueprint`\x20MCP\x20server\x20>\x20`daisyUI-Snippets`\x20tool\x20>\x20`{themes:{custom-theme:true}}`\x20snippet\x20to\x20learn\x20about\x20daisyUI\x20themes.\x0a-\x20You\x20are\x20only\x20allowed\x20to\x20use\x20daisyUI\x20class\x20names\x20for\x20the\x20components\x20that\x20can\x20be\x20converted\x20to\x20daisyUI\x20components.\x20For\x20example\x20if\x20you\x20identify\x20a\x20button,\x20all\x20Tailwind\x20CSS\x20class\x20names\x20must\x20be\x20replaced\x20with\x20daisyUI\x20class\x20name.\x20In\x20case\x20there\x27s\x20a\x20critical\x20modification\x20needed\x20that\x20cannot\x20be\x20achieved\x20with\x20daisyUI\x20class\x20names\x20alone,\x20then\x20you\x20can\x20add\x20that\x20specific\x20Tailwind\x20CSS\x20class\x20name\x20along\x20with\x20daisyUI\x20class\x20names.\x0a-\x20Do\x20not\x20customize\x20the\x20colors\x20of\x20default\x20variants\x20of\x20daisyUI\x20components\x20unless\x20absolutely\x20necessary.\x20For\x20example\x20if\x20you\x20see\x20a\x20blue\x20primary\x20button,\x20that\x20blue\x20color\x20needs\x20to\x20be\x20configured\x20from\x20a\x20daisyUI\x20theme,\x20not\x20by\x20adding\x20Tailwind\x20CSS\x20color\x20utility\x20classes.\x0a-\x20Always\x20prefer\x20using\x20daisyUI\x20class\x20names\x20over\x20Tailwind\x20CSS\x20utility\x20classes\x20wherever\x20possible.\x0a-\x20Ideally\x20we\x20want\x2070%\x20less\x20class\x20names\x20than\x20the\x20original\x20Tailwind\x20CSS\x20code,\x20so\x20always\x20prefer\x20daisyUI\x20class\x20names\x20that\x20can\x20replace\x20multiple\x20Tailwind\x20CSS\x20utility\x20classes.\x20For\x20example\x20if\x20there\x27s\x20a\x20checkbox\x20with\x20many\x20Tailwind\x20CSS\x20class\x20names,\x20you\x20can\x20replace\x20it\x20with\x20a\x20single\x20daisyUI\x20class\x20name\x20\x22checkbox\x22.\x0a-\x20When\x20using\x20daisyUI\x20components,\x20you\x20won\x27t\x20need\x20to\x20use\x20utility\x20classes\x20for\x20hover,\x20focus,\x20active,\x20disabled\x20states\x20as\x20daisyUI\x20components\x20already\x20have\x20those\x20states\x20built-in.\x20So\x20remove\x20any\x20such\x20Tailwind\x20CSS\x20utility\x20classes.\x0a-\x20Do\x20not\x20use\x20any\x20Tailwind\x20CSS\x20colors\x20(like\x20bg-blue-500,\x20text-red-600,\x20etc)\x20to\x20customize\x20daisyUI\x20components.\x20Instead\x20use\x20daisyUI\x20themes\x20to\x20configure\x20colors.\x0a-\x20Avoid\x20using\x20different\x20colors\x20if\x20possible.\x20For\x20example\x20if\x20you\x20use\x20`primary`,\x20`secondary`,\x20etc\x20colors\x20a\x20lot,\x20the\x20UI\x20will\x20look\x20inconsistent.\x20So\x20try\x20to\x20use\x20fewer\x20colors.\x0a-\x20daisyUI\x20does\x20not\x20provide\x20utility\x20classes\x20for\x20layout,\x20spacing,\x20sizing\x20(outside\x20of\x20components),\x20so\x20you\x20can\x20continue\x20using\x20Tailwind\x20CSS\x20utility\x20classes\x20for\x20those\x20purposes\x20(like\x20padding,\x20margin,\x20width,\x20height,\x20flex,\x20grid,\x20etc).\x20You\x20won\x27t\x20need\x20them\x20for\x20the\x20daisyUI\x20components\x20though.\x20`btn-lg\x20text-lg`\x20is\x20not\x20allowed,\x20instead\x20use\x20`btn\x20btn-lg`.\x20but\x20for\x20a\x20text\x20outside\x20of\x20daisyUI\x20components,\x20`text-lg`\x20is\x20allowed.\x0a\x0a\x0a##\x20General\x20rules\x0a-\x20Never\x20ever\x20break\x20the\x20code\x20syntax\x0a-\x20If\x20you\x20are\x20asked\x20to\x20write\x20code,\x20only\x20write\x20the\x20code,\x20do\x20not\x20add\x20any\x20explanations\x20unless\x20necessary\x0a-\x20do\x20not\x20make\x20up\x20answers.\x20For\x20code,\x20always\x20search\x20the\x20docs\x20and\x20write\x20code\x20based\x20on\x20that\x0a\x0a##\x20Writing\x20code\x0a\x0a-\x20Do\x20not\x20guess,\x20do\x20not\x20hallucinate,\x20write\x20code\x20based\x20on\x20the\x20information\x20and\x20facts\x20you\x20have,\x20if\x20you\x20don\x27t\x20have\x20enough\x20information,\x20ask\x20for\x20more\x20information\x0a-\x20Be\x20careful\x20about\x20the\x20syntax,\x20always\x20double\x20check\x20it\x0a-\x20Do\x20not\x20randomly\x20change\x20indentation,\x20formatting,\x20or\x20style\x20of\x20existing\x20code\x20unless\x20asked\x0a-\x20If\x20you\x27re\x20asked\x20to\x20refactor\x20code,\x20make\x20sure\x20to\x20keep\x20the\x20same\x20functionality\x20and\x20behavior\x0a\x0a##\x20HTML\x0a\x0a-\x20Only\x20edit\x20the\x20parts\x20that\x20need\x20conversion\x20to\x20daisyUI\x20components.\x20Leave\x20other\x20parts\x20unchanged.\x0a-\x20When\x20writing\x20HTML,\x20ensure\x20semantic\x20tags\x20are\x20used\x20appropriately\x0a-\x20Ensure\x20proper\x20indentation\x20and\x20formatting\x20for\x20readability\x0a\x0a##\x20CSS\x20class\x20names\x0a\x0a-\x20For\x20components,\x20you\x20are\x20only\x20allowed\x20to\x20use\x20daisyUI\x20class\x20names.\x0a-\x20If\x20you\x20need\x20to\x20customize\x20a\x20component,\x20use\x20daisyUI\x20class\x20names\x20to\x20customize\x20it.\x20For\x20example\x20to\x20make\x20a\x20\x22btn\x22\x20larger,\x20use\x20\x22btn\x20btn-lg\x22\x20class\x20names.\x0a-\x20If\x20daisyUI\x20class\x20names\x20are\x20not\x20enough\x20to\x20fine-tune\x20a\x20daisyUI\x20component\x20only\x20then\x20you\x20are\x20allowed\x20to\x20use\x20Tailwind\x20CSS\x20utility\x20classes\x20for\x20that\x20specific\x20purpose.\x0a-\x20For\x20layouts,\x20use\x20Tailwind\x20CSS\x20utility\x20classes\x20like\x20\x22flex\x22,\x20\x22grid\x22,\x20\x22p-4\x22,\x20\x22m-2\x22,\x20etc\x20but\x20do\x20not\x20overuse\x20them.\x0a-\x20If\x20width\x20and\x20height\x20are\x20same,\x20use\x20\x22size-{value}\x22\x20class\x20name\x20instead\x20of\x20\x22w-{value}\x20h-{value}\x22.\x20For\x20example\x20use\x20\x22size-12\x22\x20instead\x20of\x20\x22w-12\x20h-12\x22.\x0a','1FGCAie','450ucpVZQ','---\x0atitle:\x20Convert\x20Bootstrap\x20code\x20to\x20DaisyUI\x0a#\x20description:\x20Find\x20parts\x20of\x20Bootstrap\x20code\x20that\x20can\x20be\x20converted\x20to\x20daisyUI\x20components\x20and\x20convert\x20them\x20accordingly.\x0a---\x0a\x0aYou\x20are\x20analyzing\x20a\x20code\x20that\x20is\x20written\x20using\x20Bootstrap\x20classes\x20to\x20identify\x20parts\x20that\x20can\x20be\x20converted\x20to\x20daisyUI\x20components\x20(or\x20Tailwind\x20CSS\x20utility\x20classes\x20if\x20necessary)\x20and\x20convert\x20them\x20accordingly.\x0aFollow\x20below\x20steps\x20strictly.\x20If\x20you\x20miss\x20any\x20step,\x20your\x20code\x20will\x20be\x20rejected.\x0a\x0a##\x20Step\x20By\x20Step\x20Instructions:\x0a1.\x20Carefully\x20examine\x20the\x20code\x20and\x20all\x20Bootstrap\x20classes\x20used\x0a2.\x20Identify\x20all\x20elements\x20that\x20can\x20be\x20converted\x20to\x20daisyUI\x20components\x0a3.\x20Decide\x20which\x20daisyUI\x20class\x20names\x20(or\x20Tailwind\x20CSS\x20utility\x20classes\x20if\x20necessary)\x20can\x20be\x20used\x20to\x20replace\x20existing\x20Bootstrap\x20classes\x0a4.\x20Replace\x20the\x20identified\x20parts\x20with\x20appropriate\x20daisyUI\x20components\x20and\x20class\x20names.\x20Use\x20\x22daisyUI\x20Blueprint\x20MCP\x20server\x22\x20to\x20receive\x20accurate\x20code\x20snippets.\x0a\x20\x204.1.\x20If\x20something\x20is\x20possible\x20with\x20daisyUI\x20alone,\x20use\x20daisyUI\x20class\x20names.\x0a\x20\x204.2.\x20If\x20something\x20is\x20possible\x20with\x20daisyUI\x20class\x20names\x20but\x20it\x20requires\x20additional\x20Tailwind\x20CSS\x20utility\x20classes\x20for\x20fine-tuning,\x20use\x20both\x20daisyUI\x20class\x20names\x20and\x20necessary\x20Tailwind\x20CSS\x20utility\x20classes.\x0a\x20\x204.3.\x20If\x20something\x20cannot\x20be\x20achieved\x20even\x20with\x20daisyUI\x20classes,\x20leave\x20it\x20as\x20is.\x0a\x20\x204.4.\x20If\x20you\x20can\x20not\x20understand\x20a\x20part,\x20leave\x20it\x20as\x20is.\x0a5.\x20Match\x20the\x20layout\x20structure\x20as\x20closely\x20as\x20possible\x0a\x0a##\x20Replacing\x20Bootstrap\x20CDN\x20file\x20with\x20Tailwind\x20CSS\x20and\x20daisyUI\x20CDN\x20files\x0a\x0aIf\x20the\x20project\x20includes\x20a\x20Bootstrap\x20CDN\x20file,\x20replace\x20it\x20with\x20Tailwind\x20CSS\x20and\x20daisyUI\x20CDN\x20files.\x20Example:\x0a```html\x0a<link\x20href=\x22https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css\x22\x20rel=\x22stylesheet\x22>\x0a<script\x20src=\x22https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js\x22></script>\x0a```\x0aMUST\x20be\x20replaced\x20with:\x0a```html\x0a<link\x20href=\x22https://cdn.jsdelivr.net/npm/daisyui@5\x22\x20rel=\x22stylesheet\x22\x20type=\x22text/css\x22\x20/>\x0a<script\x20src=\x22https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4\x22></script>\x0a```\x0a\x0a##\x20General\x20rules\x0a\x0a-\x20Never\x20ever\x20break\x20the\x20code\x20syntax\x0a-\x20If\x20you\x20are\x20asked\x20to\x20write\x20code,\x20only\x20write\x20the\x20code,\x20do\x20not\x20add\x20any\x20explanations\x20unless\x20necessary\x0a-\x20do\x20not\x20make\x20up\x20answers.\x20For\x20code,\x20always\x20search\x20the\x20docs\x20and\x20write\x20code\x20based\x20on\x20that\x0a\x0a##\x20Writing\x20code\x0a\x0a-\x20Do\x20not\x20guess,\x20do\x20not\x20hallucinate,\x20write\x20code\x20based\x20on\x20the\x20information\x20and\x20facts\x20you\x20have,\x20if\x20you\x20don\x27t\x20have\x20enough\x20information,\x20ask\x20for\x20more\x20information\x0a-\x20Be\x20careful\x20about\x20the\x20syntax,\x20always\x20double\x20check\x20it\x0a-\x20Do\x20not\x20randomly\x20change\x20indentation,\x20formatting,\x20or\x20style\x20of\x20existing\x20code\x20unless\x20asked\x0a-\x20If\x20you\x27re\x20asked\x20to\x20refactor\x20code,\x20make\x20sure\x20to\x20keep\x20the\x20same\x20functionality\x20and\x20behavior\x0a\x0a##\x20HTML\x0a\x0a-\x20Only\x20edit\x20the\x20parts\x20that\x20need\x20conversion\x20to\x20daisyUI\x20components.\x20Leave\x20other\x20parts\x20unchanged.\x0a-\x20When\x20writing\x20HTML,\x20ensure\x20semantic\x20tags\x20are\x20used\x20appropriately\x0a-\x20Ensure\x20proper\x20indentation\x20and\x20formatting\x20for\x20readability\x0a\x0a##\x20CSS\x20class\x20names\x0a\x0a-\x20For\x20components,\x20you\x20are\x20only\x20allowed\x20to\x20use\x20daisyUI\x20class\x20names.\x0a-\x20If\x20you\x20need\x20to\x20customize\x20a\x20component,\x20use\x20daisyUI\x20class\x20names\x20to\x20customize\x20it.\x20For\x20example\x20to\x20make\x20a\x20\x22btn\x22\x20larger,\x20use\x20\x22btn\x20btn-lg\x22\x20class\x20names.\x0a-\x20If\x20daisyUI\x20class\x20names\x20are\x20not\x20enough\x20to\x20fine-tune\x20a\x20daisyUI\x20component\x20only\x20then\x20you\x20are\x20allowed\x20to\x20use\x20Tailwind\x20classes\x20for\x20that\x20specific\x20purpose.\x0a-\x20For\x20layouts,\x20use\x20Tailwind\x20classes\x20like\x20\x22flex\x22,\x20\x22grid\x22,\x20\x22p-4\x22,\x20\x22m-2\x22,\x20etc\x20but\x20do\x20not\x20overuse\x20them.\x0a-\x20If\x20width\x20and\x20height\x20are\x20same,\x20use\x20\x22size-{value}\x22\x20class\x20name\x20instead\x20of\x20\x22w-{value}\x20h-{value}\x22.\x20For\x20example\x20use\x20\x22size-12\x22\x20instead\x20of\x20\x22w-12\x20h-12\x22.\x0a','48405iUEupE','19329nZwIuO','153500yEYnSU','---\x0atitle:\x20Create\x20a\x20daisyUI\x20theme\x20from\x20an\x20image\x27s\x20color\x20palette\x0a#\x20description:\x20Analyze\x20an\x20image\x20and\x20generate\x20a\x20daisyUI\x20theme\x20based\x20on\x20its\x20color\x20palette\x0a---\x0a\x0aYou\x20are\x20analyzing\x20an\x20image\x20to\x20extract\x20its\x20color\x20palette\x20and\x20create\x20a\x20matching\x20daisyUI\x20theme.\x20\x20\x0aDetect\x20the\x20dominant\x20colors\x20in\x20the\x20image\x20and\x20map\x20them\x20into\x20a\x20daisyUI\x20custom\x20theme.\x0a\x0aA\x20custom\x20daisyUI\x20theme\x20can\x20be\x20defined\x20in\x20the\x20CSS\x20file\x20using\x20the\x20`@plugin\x20\x22daisyui/theme\x22`\x20directive.\x20Below\x20is\x20an\x20example\x20of\x20how\x20to\x20create\x20a\x20custom\x20theme\x20with\x20specific\x20colors\x20and\x20settings.\x0a\x0a##\x20Example\x20of\x20daisyUI\x20custom\x20theme\x20with\x20custom\x20colors\x0aA\x20CSS\x20file\x20with\x20Tailwind\x20CSS,\x20daisyUI\x20and\x20a\x20custom\x20daisyUI\x20theme\x20looks\x20like\x20this:\x0a```css\x0a@import\x20\x22tailwindcss\x22;\x0a@plugin\x20\x22daisyui\x22;\x0a@plugin\x20\x22daisyui/theme\x22\x20{\x0a\x20\x20name:\x20\x22mytheme\x22;\x0a\x20\x20default:\x20true;\x20/*\x20set\x20as\x20default\x20*/\x0a\x20\x20prefersdark:\x20false;\x20/*\x20set\x20as\x20default\x20dark\x20mode\x20(prefers-color-scheme:dark)\x20*/\x0a\x20\x20color-scheme:\x20light;\x20/*\x20color\x20of\x20browser-provided\x20UI\x20*/\x0a\x0a\x20\x20--color-base-100:\x20oklch(98%\x200.02\x20240);\x0a\x20\x20--color-base-200:\x20oklch(95%\x200.03\x20240);\x0a\x20\x20--color-base-300:\x20oklch(92%\x200.04\x20240);\x0a\x20\x20--color-base-content:\x20oklch(20%\x200.05\x20240);\x0a\x20\x20--color-primary:\x20oklch(55%\x200.3\x20240);\x0a\x20\x20--color-primary-content:\x20oklch(98%\x200.01\x20240);\x0a\x20\x20--color-secondary:\x20oklch(70%\x200.25\x20200);\x0a\x20\x20--color-secondary-content:\x20oklch(98%\x200.01\x20200);\x0a\x20\x20--color-accent:\x20oklch(65%\x200.25\x20160);\x0a\x20\x20--color-accent-content:\x20oklch(98%\x200.01\x20160);\x0a\x20\x20--color-neutral:\x20oklch(50%\x200.05\x20240);\x0a\x20\x20--color-neutral-content:\x20oklch(98%\x200.01\x20240);\x0a\x20\x20--color-info:\x20oklch(70%\x200.2\x20220);\x0a\x20\x20--color-info-content:\x20oklch(98%\x200.01\x20220);\x0a\x20\x20--color-success:\x20oklch(65%\x200.25\x20140);\x0a\x20\x20--color-success-content:\x20oklch(98%\x200.01\x20140);\x0a\x20\x20--color-warning:\x20oklch(80%\x200.25\x2080);\x0a\x20\x20--color-warning-content:\x20oklch(20%\x200.05\x2080);\x0a\x20\x20--color-error:\x20oklch(65%\x200.3\x2030);\x0a\x20\x20--color-error-content:\x20oklch(98%\x200.01\x2030);\x0a\x0a\x20\x20--radius-selector:\x201rem;\x20/*\x20border\x20radius\x20of\x20selectors\x20(checkbox,\x20toggle,\x20badge)\x20*/\x0a\x20\x20--radius-field:\x200.25rem;\x20/*\x20border\x20radius\x20of\x20fields\x20(button,\x20input,\x20select,\x20tab)\x20*/\x0a\x20\x20--radius-box:\x200.5rem;\x20/*\x20border\x20radius\x20of\x20boxes\x20(card,\x20modal,\x20alert)\x20*/\x0a\x20\x20/*\x20preferred\x20values\x20for\x20--radius-*\x20:\x200rem,\x200.25rem,\x200.5rem,\x201rem,\x202rem\x20*/\x0a\x0a\x20\x20--size-selector:\x200.25rem;\x20/*\x20base\x20size\x20of\x20selectors\x20(checkbox,\x20toggle,\x20badge).\x20Value\x20must\x20be\x200.25rem\x20unless\x20we\x20intentionally\x20want\x20bigger\x20selectors.\x20In\x20so\x20it\x20can\x20be\x200.28125\x20or\x200.3125.\x20If\x20we\x20intentionally\x20want\x20smaller\x20selectors,\x20it\x20can\x20be\x200.21875\x20or\x200.1875\x20*/\x0a\x20\x20--size-field:\x200.25rem;\x20/*\x20base\x20size\x20of\x20fields\x20(button,\x20input,\x20select,\x20tab).\x20Value\x20must\x20be\x200.25rem\x20unless\x20we\x20intentionally\x20want\x20bigger\x20fields.\x20In\x20so\x20it\x20can\x20be\x200.28125\x20or\x200.3125.\x20If\x20we\x20intentionally\x20want\x20smaller\x20fields,\x20it\x20can\x20be\x200.21875\x20or\x200.1875\x20*/\x0a\x0a\x20\x20--border:\x201px;\x20/*\x20border\x20size.\x20Value\x20must\x20be\x201px\x20unless\x20we\x20intentionally\x20want\x20thicker\x20borders.\x20In\x20so\x20it\x20can\x20be\x201.5px\x20or\x202px.\x20If\x20we\x20intentionally\x20want\x20thinner\x20borders,\x20it\x20can\x20be\x200.5px\x20*/\x0a\x0a\x20\x20--depth:\x201;\x20/*\x20only\x200\x20or\x201\x20–\x20Adds\x20a\x20shadow\x20and\x20subtle\x203D\x20depth\x20effect\x20to\x20components\x20*/\x0a\x20\x20--noise:\x200;\x20/*\x20only\x200\x20or\x201\x20-\x20Adds\x20a\x20subtle\x20noise\x20(grain)\x20effect\x20to\x20components\x20*/\x0a}\x0a```\x0a##\x20Rules\x0a-\x20All\x20CSS\x20variables\x20above\x20are\x20required\x0a-\x20Colors\x20can\x20be\x20OKLCH\x20or\x20hex\x20or\x20other\x20formats\x0a-\x20If\x20you\x27re\x20generating\x20a\x20custom\x20theme,\x20do\x20not\x20include\x20the\x20comments\x20from\x20the\x20example\x20above.\x20Just\x20provide\x20the\x20code.\x0a\x0a##\x20How\x20to\x20map\x20colors:\x0a\x0a-\x20Based\x20on\x20the\x20image\x20overall\x20tone\x20decide\x20if\x20the\x20theme\x20should\x20be\x20light\x20or\x20dark.\x0a-\x20Set\x20`--color-base-100`,\x20`--color-base-200`,\x20and\x20`--color-base-300`\x20to\x20the\x20lightest\x20OR\x20darkest\x20colors\x20from\x20the\x20image\x20depending\x20on\x20whether\x20the\x20theme\x20is\x20light\x20or\x20dark.\x0a-\x20Set\x20`--color-base-content`\x20to\x20a\x20contrasting\x20color\x20to\x20ensure\x20readability\x20against\x20the\x20base\x20colors\x0a-\x20Choose\x20a\x20dominant\x20color\x20from\x20the\x20image\x20for\x20`--color-primary`\x20and\x20ensure\x20`--color-primary-content`\x20contrasts\x20well\x20with\x20it.\x0a-\x20Select\x20a\x20secondary\x20color\x20from\x20the\x20image\x20for\x20`--color-secondary`\x20and\x20set\x20`--color-secondary-content`\x20to\x20a\x20contrasting\x20color.\x0a-\x20Pick\x20an\x20accent\x20color\x20from\x20the\x20image\x20for\x20`--color-accent`\x20and\x20ensure\x20`--color-accent-content`\x20contrasts\x20well\x20with\x20it.\x0a-\x20For\x20`--color-neutral`,\x20choose\x20a\x20neutral,\x20unsaturated\x20color\x20from\x20the\x20image\x20and\x20set\x20`--color-neutral-content`\x20to\x20contrast\x20with\x20it.\x0a-\x20`--color-info`\x20must\x20be\x20preferably\x20a\x20blueish\x20color\x20from\x20the\x20image,\x20with\x20`--color-info-content`\x20contrasting\x20it.\x20If\x20no\x20blueish\x20color\x20is\x20present,\x20use\x20a\x20tone\x20of\x20blue\x20that\x20fits\x20well\x20with\x20the\x20image\x20palette.\x0a-\x20`--color-success`\x20should\x20be\x20a\x20greenish\x20color\x20from\x20the\x20image,\x20with\x20`--color-success-content`\x20contrasting\x20it.\x20If\x20no\x20greenish\x20color\x20is\x20present,\x20use\x20a\x20tone\x20of\x20green\x20that\x20fits\x20well\x20with\x20the\x20image\x20palette.\x0a-\x20`--color-warning`\x20must\x20be\x20a\x20yellowish\x20or\x20orangeish\x20color\x20from\x20the\x20image,\x20with\x20`--color-warning-content`\x20contrasting\x20it.\x20If\x20no\x20yellowish\x20or\x20orangeish\x20color\x20is\x20present,\x20use\x20a\x20tone\x20of\x20yellow\x20or\x20orange\x20that\x20fits\x20well\x20with\x20the\x20image\x20palette.\x0a-\x20`--color-error`\x20should\x20be\x20a\x20reddish\x20color\x20from\x20the\x20image,\x20with\x20`--color-error-content`\x20contrasting\x20it.\x20If\x20no\x20reddish\x20color\x20is\x20present,\x20use\x20a\x20tone\x20of\x20red\x20that\x20fits\x20well\x20with\x20the\x20image\x20palette.\x0a-\x20For\x20border\x20radius,\x20sizes,\x20depth,\x20and\x20noise\x20settings,\x20use\x20the\x20following\x20defaults\x20unless\x20the\x20image\x20suggests\x20a\x20different\x20style:\x0a\x20\x20-\x20`--radius-selector`:\x200.25rem\x0a\x20\x20-\x20`--radius-field`:\x200.25rem\x0a\x20\x20-\x20`--radius-box`:\x200.5rem\x0a\x20\x20-\x20`--size-selector`:\x200.25rem\x0a\x20\x20-\x20`--size-field`:\x200.25rem\x0a\x20\x20-\x20`--border`:\x201px\x0a\x20\x20-\x20`--depth`:\x201\x0a\x20\x20-\x20`--noise`:\x201\x0a\x0a','12729064UYRJIS','2462914GQxvhx','15807zlwBjB','(((.+)+)+)+$','1028MAgHEe','toString','1074DIYDcU','19476okDKxS','4170680kpnXZL','search'];J=function(){return R;};return J();}function W(Y,B){const r=J();return W=function(a,w){a=a-0xf5;let k=r[a];return k;},W(Y,B);}(function(r,a){const T=W,w=r();while(!![]){try{const k=-parseInt(T(0x104))/0x1*(-parseInt(T(0xfa))/0x2)+-parseInt(T(0xf6))/0x3*(-parseInt(T(0xfd))/0x4)+parseInt(T(0x101))/0x5+-parseInt(T(0xff))/0x6*(parseInt(T(0xf5))/0x7)+parseInt(T(0xf9))/0x8+-parseInt(T(0x105))/0x9*(parseInt(T(0xf7))/0xa)+-parseInt(T(0xfb))/0xb*(parseInt(T(0x100))/0xc);if(k===a)break;else w['push'](w['shift']());}catch(l){w['push'](w['shift']());}}}(J,0xee0c1));const B=(function(){let r=!![];return function(a,w){const k=r?function(){if(w){const l=w['apply'](a,arguments);return w=null,l;}}:function(){};return r=![],k;};}()),Y=B(this,function(){const u=W;return Y[u(0xfe)]()[u(0x102)](u(0xfc))[u(0xfe)]()['constructor'](Y)[u(0x102)](u(0xfc));});Y();export const PROMPTS={'Bootstrap\x20to\x20daisyUI':n(0x106),'Picture\x20to\x20Theme':n(0xf8),'Screenshot\x20to\x20daisyUI':'---\x0atitle:\x20Create\x20daisyUI\x20code\x20based\x20on\x20a\x20screenshot\x0a#\x20description:\x20Analyze\x20a\x20UI\x20screenshot\x20and\x20recreate\x20it\x20using\x20daisyUI\x20components\x0a---\x0a\x0aYou\x20are\x20analyzing\x20a\x20UI\x20screenshot\x20to\x20recreate\x20it\x20using\x20daisyUI\x20components.\x20\x20\x0aFollow\x20below\x20steps\x20strictly.\x20If\x20you\x20miss\x20any\x20step,\x20your\x20code\x20will\x20be\x20rejected.\x0a\x0a##\x20Step\x20By\x20Step\x20Instructions:\x0a1.\x20Carefully\x20examine\x20the\x20screenshot\x20provided\x0a2.\x20Identify\x20all\x20UI\x20sections\x20and\x20layout\x20structure\x20(navbars,\x20footers,\x20sidebars,\x20content\x20areas,\x20etc.)\x20with\x20all\x20their\x20details\x0a3.\x20Identify\x20and\x20list\x20down\x20all\x20UI\x20components\x20(buttons,\x20cards,\x20forms,\x20navigation,\x20etc.)\x20in\x20each\x20UI\x20section\x0a4.\x20Recreate\x20the\x20sections\x20one\x20by\x20one\x20using\x20appropriate\x20daisyUI\x20components.\x20Use\x20\x22daisyUI\x20Blueprint\x20MCP\x20server\x22\x20to\x20receive\x20accurate\x20code\x20snippets.\x20Use\x20Tailwind\x20CSS\x20utility\x20classes\x20ONLY\x20IF\x20NECESSARY,\x20otherwise\x20rely\x20solely\x20on\x20daisyUI\x20components.\x0a5.\x20Match\x20the\x20layout\x20structure\x20as\x20closely\x20as\x20possible\x0a6.\x20Validation\x20loop:\x0a\x20\x206.1.\x20After\x20generating\x20the\x20HTML,\x20compare\x20the\x20output\x20with\x20the\x20original\x20screenshot\x20to\x20ensure\x20accuracy.\x0a\x20\x206.2.\x20Make\x20adjustments\x20as\x20needed\x20to\x20improve\x20fidelity.\x0a\x20\x206.3.\x20Repeat\x20the\x20validation\x20loop\x20until\x20the\x20output\x20closely\x20matches\x20the\x20screenshot.\x0a\x0a##\x20General\x20rules\x0a\x0a-\x20Never\x20ever\x20break\x20the\x20code\x20syntax\x0a-\x20If\x20you\x20are\x20asked\x20to\x20write\x20code,\x20only\x20write\x20the\x20code,\x20do\x20not\x20add\x20any\x20explanations\x20unless\x20necessary\x0a-\x20do\x20not\x20make\x20up\x20answers.\x20For\x20code,\x20always\x20search\x20the\x20docs\x20and\x20write\x20code\x20based\x20on\x20that\x0a-\x20If\x20you\x27re\x20not\x20sure\x20about\x20the\x20syntax\x20Use\x20Context7\x20MCP\x20server\x0a\x0a##\x20Finding\x20information\x0a\x0a-\x20Use\x20Context7\x20MCP\x20server\x20to\x20find\x20information\x20about\x20packages,\x20libraries,\x20and\x20languages.\x20Context7\x20MCP\x20server\x20provides\x20up-to-date\x20and\x20accurate\x20information\x0a-\x20Search\x20official\x20documentation\x20if\x20needed\x0a-\x20You\x20can\x20search\x20into\x20related\x20files\x20to\x20find\x20patterns\x20and\x20examples\x0a-\x20For\x20writing\x20daisyUI\x20code,\x20use\x20.github/instructions/daisyui.instructions.md\x20file\x20as\x20reference\x0a\x0a##\x20Writing\x20code\x0a\x0a-\x20Do\x20not\x20guess,\x20do\x20not\x20hallucinate,\x20write\x20code\x20based\x20on\x20the\x20information\x20and\x20facts\x20you\x20have,\x20if\x20you\x20don\x27t\x20have\x20enough\x20information,\x20ask\x20for\x20more\x20information\x0a-\x20Be\x20careful\x20about\x20the\x20syntax,\x20always\x20double\x20check\x20it\x0a-\x20If\x20you\x27re\x20asked\x20to\x20fix\x20a\x20specific\x20issue,\x20only\x20fix\x20that\x20issue,\x20do\x20not\x20change\x20anything\x20else\x20unless\x20necessary\x0a-\x20Do\x20not\x20randomly\x20change\x20indentation,\x20formatting,\x20or\x20style\x20of\x20existing\x20code\x20unless\x20asked\x0a-\x20If\x20you\x27re\x20asked\x20to\x20refactor\x20code,\x20make\x20sure\x20to\x20keep\x20the\x20same\x20functionality\x20and\x20behavior\x0a-\x20Latest\x20features\x20of\x20the\x20languages\x20and\x20libraries\x20are\x20preferred\x0a\x0a##\x20Security\x0a\x0a-\x20Never\x20ever\x20delete\x20files\x20before\x20asking\x0a-\x20Never\x20run\x20dangerous\x20commands\x20like\x20rm\x20-rf,\x20etc\x20before\x20asking\x0a-\x20Do\x20not\x20include\x20any\x20sensitive\x20information\x20such\x20as\x20API\x20keys,\x20passwords,\x20or\x20personal\x20data\x20in\x20the\x20code\x0a\x0a##\x20HTML\x0a\x0a-\x20When\x20writing\x20HTML,\x20ensure\x20semantic\x20tags\x20are\x20used\x20appropriately\x0a-\x20Ensure\x20proper\x20indentation\x20and\x20formatting\x20for\x20readability\x0a-\x20Prioritize\x20accessibility\x20by\x20using\x20ARIA\x20roles\x20and\x20properties\x20where\x20necessary\x0a-\x20If\x20you\x20identify\x20an\x20interactive\x20part\x20like\x20a\x20dropdown\x20button\x20or\x20modal,\x20add\x20a\x20daisyUI\x20dropdown\x20(focus\x20method)\x20or\x20modal\x20(dialog\x20element)\x20respectively\x0a\x0a##\x20CSS\x20class\x20names\x0a\x0a-\x20For\x20components,\x20you\x20are\x20only\x20allowed\x20to\x20use\x20daisyUI\x20class\x20names.\x0a-\x20If\x20you\x20need\x20to\x20customize\x20a\x20component,\x20use\x20daisyUI\x20class\x20names\x20to\x20customize\x20it.\x20For\x20example\x20to\x20make\x20a\x20\x22btn\x22\x20larger,\x20use\x20\x22btn\x20btn-lg\x22\x20class\x20names.\x0a-\x20If\x20daisyUI\x20class\x20names\x20are\x20not\x20enough\x20to\x20fine-tune\x20a\x20daisyUI\x20component\x20only\x20then\x20you\x20are\x20allowed\x20to\x20use\x20Tailwind\x20CSS\x20utility\x20classes\x20for\x20that\x20specific\x20purpose.\x0a-\x20For\x20layouts,\x20use\x20Tailwind\x20CSS\x20utility\x20classes\x20like\x20\x22flex\x22,\x20\x22grid\x22,\x20\x22p-4\x22,\x20\x22m-2\x22,\x20etc\x20but\x20do\x20not\x20overuse\x20them.\x0a-\x20If\x20width\x20and\x20height\x20are\x20same,\x20use\x20\x22size-{value}\x22\x20class\x20name\x20instead\x20of\x20\x22w-{value}\x20h-{value}\x22.\x20For\x20example\x20use\x20\x22size-12\x22\x20instead\x20of\x20\x22w-12\x20h-12\x22.\x0a\x0a##\x20Icons\x0a\x0a-\x20If\x20no\x20icon\x20library\x20is\x20included,\x20use\x20\x22iconify-icon\x22\x20Web\x20Component\x20to\x20add\x20icons.\x20\x0a\x20\x20-\x20CDN\x20script\x20for\x20Iconify\x20Web\x20Component\x20is\x20<script\x20src=\x22https://cdn.jsdelivr.net/npm/iconify-icon@3.0.0/dist/iconify-icon.min.js\x22></script>\x0a\x20\x20-\x20do\x20not\x20use\x20self-closing\x20tag\x20like\x20\x22<iconify-icon\x20...\x20/>\x22,\x20always\x20use\x20\x22<iconify-icon\x20...></iconify-icon>\x22\x0a\x20\x20-\x20To\x20see\x20list\x20of\x20available\x20icon\x20sets\x20in\x20Iconify,\x20visit\x20https://raw.githubusercontent.com/iconify/icon-sets/refs/heads/master/collections.md\x0a\x20\x20-\x20To\x20find\x20an\x20icon,\x20use\x20https://icon-sets.iconify.design/\x0a\x0a##\x20Avatars\x0a\x0aFor\x20avatars\x20images,\x20use\x20use\x20randomuser.me\x20API\x20for\x20example\x20\x22https://randomuser.me/api/portraits/women/44.jpg\x22\x0a\x0a##\x20Comments\x0a\x0a-\x20Use\x20HTML\x20comment\x20to\x20separate\x20different\x20sections\x20of\x20code.\x20For\x20example:\x0a\x0a\x20\x20<!--\x20Header\x20Section\x20-->\x0a\x20\x20<header>...</header>\x0a\x0a\x20\x20<!--\x20Main\x20Content\x20Section\x20-->\x0a\x20\x20<main>...</main>\x0a\x0a\x20\x20<!--\x20Footer\x20Section\x20-->\x0a\x20\x20<footer>...</footer>\x0a\x0a\x0aGenerate\x20clean,\x20well-structured\x20HTML\x20code\x20that\x20faithfully\x20reproduces\x20the\x20design\x20from\x20the\x20screenshot.\x0a','Tailwind\x20to\x20daisyUI':n(0x103)};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function W(Y,B){const r=J();return W=function(a,w){a=a-0x1cc;let k=r[a];return k;},W(Y,B);}function J(){const z=['5259SegEul','##\x20How\x20to\x20Read\x20the\x20Figma\x20Structure\x0a\x0aEach\x20component\x20node\x20contains\x20these\x20key\x20properties:\x0a\x0a-\x20**name**:\x20Component\x20name\x20(e.g.,\x20\x22Button\x22,\x20\x22Card\x22)\x0a-\x20**variantProperties**:\x20Extracted\x20variant\x20values\x20from\x20Figma\x20(e.g.,\x20{\x22Color\x22:\x20\x22btn-primary\x22,\x20\x22Size\x22:\x20\x22btn-md\x22})\x0a-\x20**componentProperties**:\x20Full\x20component\x20property\x20details\x0a-\x20**type**:\x20Node\x20type\x20(FRAME,\x20INSTANCE,\x20TEXT,\x20etc.)\x0a-\x20**layoutMode**:\x20HORIZONTAL\x20or\x20VERTICAL\x0a-\x20**itemSpacing**:\x20Gap\x20between\x20items\x20(convert\x20to\x20Tailwind\x20gap-\x20classes)\x0a-\x20**characters**:\x20Text\x20content\x20(for\x20TEXT\x20nodes)\x0a-\x20**children**:\x20Nested\x20child\x20nodes\x0a\x0a**Important**:\x20The\x20variantProperties\x20field\x20shows\x20you\x20what\x20variants\x20are\x20selected\x20in\x20Figma,\x20but\x20you\x20need\x20to\x20use\x20daisyUI\x20Snippets\x20to\x20understand\x20what\x20these\x20mean\x20in\x20daisyUI\x20terms.\x20Check\x20the\x20daisyUI\x20Snippets\x20tool\x20description\x20for\x20all\x20available\x20snippet\x20paths.\x0a\x0a---\x0a\x0a##\x20ABSOLUTE\x20RULES\x20FOR\x20CODE\x20GENERATION\x0a\x0a🚫\x20**NEVER\x20ALLOWED:**\x0a-\x20Inline\x20styles\x20(style=\x22color:\x20red;\x20padding:\x2010px;\x22)\x0a-\x20Custom\x20CSS\x20classes\x20that\x20are\x20not\x20from\x20daisyUI\x20or\x20Tailwind\x0a-\x20Arbitrary\x20CSS\x20values\x0a\x0a✅\x20**ONLY\x20ALLOWED:**\x0a-\x20daisyUI\x20component\x20classes\x20from\x20daisyUI\x20Snippets\x20(btn,\x20card,\x20badge,\x20modal,\x20etc.)\x0a-\x20Tailwind\x20utility\x20classes\x20(flex,\x20gap-4,\x20p-4,\x20text-lg,\x20bg-blue-500,\x20rounded-lg,\x20etc.)\x0a-\x20Standard\x20HTML\x20elements\x20(div,\x20button,\x20input,\x20etc.)\x0a\x0a**Examples:**\x0a-\x20❌\x20WRONG:\x20<div\x20style=\x22display:\x20flex;\x20gap:\x2058px;\x22>\x0a-\x20✅\x20CORRECT:\x20<div\x20class=\x22flex\x20gap-14\x22>\x0a-\x20❌\x20WRONG:\x20<button\x20style=\x22background:\x20blue;\x20padding:\x2016px;\x22>\x0a-\x20✅\x20CORRECT:\x20<button\x20class=\x22btn\x20btn-primary\x20px-4\x22>\x0a-\x20❌\x20WRONG:\x20<div\x20class=\x22my-custom-container\x22>\x0a-\x20✅\x20CORRECT:\x20<div\x20class=\x22container\x20mx-auto\x22>\x0a\x0a---\x0a\x0a##\x20MANDATORY\x20WORKFLOW\x20-\x20FOLLOW\x20THESE\x20STEPS\x20IN\x20ORDER\x0a\x0a**YOU\x20MUST\x20COMPLETE\x20ALL\x204\x20STEPS\x20-\x20DO\x20NOT\x20SKIP\x20ANY!**\x0a\x0a###\x20Step\x201:\x20COMPLETE\x20-\x20Figma\x20Design\x20Retrieved\x0a\x0aYou\x20now\x20have\x20the\x20Figma\x20structure\x20above.\x20Notice\x20the\x20variantProperties\x20in\x20each\x20component\x20node.\x0a\x0a###\x20Step\x202:\x20Check\x20Available\x20Snippets\x0a\x0aBefore\x20you\x20can\x20recreate\x20this\x20design,\x20you\x20MUST\x20see\x20what\x20daisyUI\x20components\x20are\x20available.\x0aCheck\x20the\x20daisyUI\x20Snippets\x20tool\x20description\x20to\x20see\x20all\x20available\x20snippet\x20paths.\x0a\x0a###\x20Step\x203:\x20Match\x20Components\x0a\x0a1.\x20Look\x20at\x20the\x20component\x20name\x20fields\x20in\x20the\x20Figma\x20structure\x20(e.g.,\x20\x22Button\x22,\x20\x22Card\x22)\x0a2.\x20Find\x20matching\x20snippet\x20names\x20from\x20the\x20daisyUI\x20Snippets\x20tool\x20description\x0a3.\x20Make\x20a\x20list\x20of\x20which\x20snippets\x20you\x20need\x0a\x0a###\x20Step\x204:\x20CALL\x20daisyUI\x20Snippets\x20Tool\x0a\x0aRequest\x20the\x20specific\x20snippets\x20you\x20identified.\x0aExample:\x20daisyUI\x20Snippets\x20with\x0a{\x0a\x20\x20\x22button\x22:\x20true,\x0a\x20\x20\x22card\x22:\x20true\x0a}\x0a\x0a###\x20Step\x205:\x20Match\x20Variants\x20and\x20Generate\x20HTML\x0a\x0a**CRITICAL\x20UNDERSTANDING:**\x20The\x20values\x20in\x20variantProperties\x20ARE\x20the\x20actual\x20CSS\x20class\x20names!\x0a\x0aIf\x20Figma\x20says\x20Color:\x20\x22btn-primary\x22,\x20that\x20means\x20use\x20the\x20class\x20\x22btn-primary\x22\x0aIf\x20Figma\x20says\x20Size:\x20\x22btn-md\x22,\x20that\x20means\x20use\x20the\x20class\x20\x22btn-md\x22\x0a\x0a**Step-by-step\x20matching\x20process:**\x0a\x0a1.\x20Look\x20at\x20variantProperties\x20for\x20each\x20component\x0a2.\x20For\x20each\x20property,\x20check\x20if\x20the\x20VALUE\x20appears\x20in\x20the\x20snippet\x20examples\x0a3.\x20If\x20YES,\x20use\x20that\x20exact\x20value\x20as\x20a\x20CSS\x20class\x0a4.\x20If\x20NO\x20(like\x20\x22default\x22),\x20skip\x20it\x20-\x20do\x20not\x20add\x20any\x20class\x20for\x20it\x0a\x0a**CONCRETE\x20EXAMPLE:**\x0a\x0aExample\x201:\x0a\x0aFigma\x20component\x20has\x20variantProperties\x20with\x20Color:\x20\x22btn-primary\x22,\x20Size:\x20\x22btn-md\x22,\x20Style:\x20\x22default\x22\x0a\x0aYou\x20check\x20the\x20button\x20snippet\x20and\x20see\x20these\x20classes:\x20btn-primary,\x20btn-secondary,\x20btn-md,\x20btn-lg\x0a\x0aYour\x20matching:\x0a-\x20\x22btn-primary\x22\x20is\x20in\x20snippets\x20→\x20ADD\x20btn-primary\x20class\x20✓\x0a-\x20\x22btn-md\x22\x20is\x20in\x20snippets\x20→\x20ADD\x20btn-md\x20class\x20✓\x0a-\x20\x22default\x22\x20is\x20NOT\x20in\x20snippets\x20→\x20SKIP,\x20add\x20nothing\x20✓\x0a\x0aResult:\x20<button\x20class=\x22btn\x20btn-primary\x20btn-md\x22>Button</button>\x0a\x0aExample\x202:\x0a\x0aFigma\x20node\x20has\x20white\x20background\x20color\x20or\x20black\x20text\x20color.\x0a\x0aYou\x27re\x20matching:\x0a-\x20instead\x20of\x20white,\x20use\x20`bg-base-100`\x20in\x20code\x0a-\x20instead\x20of\x20black,\x20use\x20`text-base-content`\x20in\x20code\x0a\x0aResult:\x20<div\x20class=\x22bg-base-100\x20text-base-content\x22>\x0a\x0a\x0a**CRITICAL\x20RULES**:\x20\x0a-\x20All\x20elements\x20must\x20be\x20identical\x20to\x20Figma\x20structure.\x20If\x20there\x20are\x203\x20buttons,\x20there\x20must\x20be\x203\x20buttons\x20in\x20the\x20code.\x20If\x20there\x27s\x20a\x20specific\x20text,\x20it\x20must\x20match\x20exactly\x20in\x20the\x20code.\x20Do\x20not\x20get\x20creative\x20or\x20change\x20anything\x20about\x20the\x20amount\x20or\x20type\x20of\x20elements.\x0a-\x20The\x20variantProperties\x20VALUES\x20are\x20literal\x20class\x20names\x20-\x20use\x20them\x20directly\x20if\x20they\x20appear\x20in\x20snippets\x0a-\x20DO\x20NOT\x20translate\x20or\x20interpret\x20them\x20(btn-primary\x20means\x20btn-primary,\x20not\x20\x22primary\x20button\x22)\x0a-\x20DO\x20NOT\x20use\x20\x22default\x22\x20as\x20a\x20class\x20name\x20-\x20it\x20means\x20\x22no\x20modifier\x22\x0a-\x20DO\x20NOT\x20guess\x20or\x20use\x20classes\x20from\x20memory\x0a-\x20ONLY\x20use\x20values\x20that\x20appear\x20in\x20the\x20daisyUI\x20Snippets\x20results\x20as\x20class\x20names\x0a-\x20NEVER\x20use\x20inline\x20CSS\x20(style=\x22...\x22)\x20or\x20custom\x20CSS\x20-\x20ONLY\x20use\x20daisyUI\x20classes\x20from\x20daisyUI\x20Snippets\x20or\x20Tailwind\x20utility\x20classes\x0a-\x20For\x20colors:\x20use\x20daisyUI\x20color\x20utilities\x20(bg-base-100,\x20text-primary,\x20etc.)\x20or\x20if\x20necessary\x20Tailwind\x20utilities\x20(bg-white,\x20text-blue-500,\x20etc.)\x0a-\x20For\x20spacing,\x20sizing:\x20use\x20Tailwind\x20utilities\x20(bg-blue-500,\x20p-4,\x20w-full,\x20etc.)\x0a-\x20For\x20components:\x20use\x20daisyUI\x20classes\x20from\x20daisyUI\x20Snippets\x20(btn,\x20card,\x20badge,\x20etc.)\x0a','174968uDDcAo','525090ImkPSi','8SphbMp','89860PIfsxe','1418613ADpAvb','5lLeHqk','60939Fibdhd','Retrieve\x20properties\x20and\x20structure\x20of\x20a\x20Figma\x20design\x20from\x20a\x20Figma\x20URL.\x20Returns\x20information\x20about\x20frames,\x20components,\x20text,\x20colors,\x20layout\x20properties,\x20and\x20more.\x20Supports\x20fetching\x20entire\x20files\x20or\x20specific\x20nodes.\x0aCRITICAL\x20WORKFLOW\x20-\x20After\x20calling\x20this\x20tool,\x20you\x20MUST\x20follow\x20these\x20steps\x20IN\x20ORDER:\x0a1.\x20ANALYZE\x20the\x20returned\x20Figma\x20design\x20structure\x20(layout,\x20components,\x20colors,\x20text,\x20spacing)\x0a2.\x20DECIDE\x20which\x20daisyUI\x20snippets\x20are\x20needed\x20to\x20recreate\x20the\x20Figma\x20design\x20(check\x20daisyUI\x20Snippets\x20tool\x20description\x20for\x20available\x20snippets)\x0a3.\x20CALL\x20daisyUI\x20Snippets\x20tool\x20with\x20ALL\x20required\x20snippet\x20names\x20in\x20a\x20single\x20array\x0a4.\x20RECREATE\x20the\x20Figma\x20design\x20in\x20HTML\x20using\x20the\x20retrieved\x20daisyUI\x20component\x20code\x5cn\x0aDO\x20NOT\x20SKIP\x20ANY\x20STEP.\x20Each\x20step\x20is\x20required\x20to\x20successfully\x20convert\x20the\x20Figma\x20design\x20to\x20daisyUI\x20code.\x0a','32MQsvLH','(((.+)+)+)+$','9EINEOX','2614150btILQc','search','apply'];J=function(){return z;};return J();}const R=W;(function(r,a){const T=W,w=r();while(!![]){try{const k=-parseInt(T(0x1da))/0x1*(-parseInt(T(0x1d4))/0x2)+parseInt(T(0x1d2))/0x3+-parseInt(T(0x1cc))/0x4*(parseInt(T(0x1d1))/0x5)+parseInt(T(0x1cd))/0x6+-parseInt(T(0x1d0))/0x7*(-parseInt(T(0x1ce))/0x8)+-parseInt(T(0x1d6))/0x9*(-parseInt(T(0x1cf))/0xa)+-parseInt(T(0x1d7))/0xb;if(k===a)break;else w['push'](w['shift']());}catch(l){w['push'](w['shift']());}}}(J,0x1dd71));const B=(function(){let r=!![];return function(a,w){const k=r?function(){const u=W;if(w){const l=w[u(0x1d9)](a,arguments);return w=null,l;}}:function(){};return r=![],k;};}()),Y=B(this,function(){const n=W;return Y['toString']()[n(0x1d8)](n(0x1d5))['toString']()['constructor'](Y)[n(0x1d8)]('(((.+)+)+)+$');});Y();export const RULES={'component-types-info':'##\x20daisyUI\x20class\x20names\x20type\x20reference\x0a\x0adaisyUI\x205\x20class\x20names\x20are\x20one\x20of\x20the\x20following\x20categories.\x20These\x20type\x20names\x20are\x20only\x20for\x20reference\x20and\x20are\x20not\x20used\x20in\x20the\x20actual\x20code\x0a-\x20\x22COMPONENT\x22:\x20the\x20required\x20component\x20class\x0a-\x20\x22PART\x22:\x20a\x20child\x20part\x20of\x20a\x20component\x0a-\x20\x22STYLE\x22:\x20sets\x20a\x20specific\x20style\x20to\x20component\x20or\x20part\x0a-\x20\x22BEHAVIOR\x22:\x20changes\x20the\x20behavior\x20of\x20component\x20or\x20part\x0a-\x20\x22COLOR\x22:\x20sets\x20a\x20specific\x20color\x20to\x20component\x20or\x20part\x0a-\x20\x22SIZE\x22:\x20sets\x20a\x20specific\x20size\x20to\x20component\x20or\x20part\x0a-\x20\x22PLACEMENT\x22:\x20sets\x20a\x20specific\x20placement\x20to\x20component\x20or\x20part\x0a-\x20\x22DIRECTION\x22:\x20sets\x20a\x20specific\x20direction\x20to\x20component\x20or\x20part\x0a-\x20\x22MODIFIER\x22:\x20modifies\x20the\x20component\x20or\x20part\x20in\x20a\x20specific\x20way\x0a-\x20\x22VARIANT\x22:\x20prefixes\x20for\x20utility\x20classes\x20that\x20conditionally\x20apply\x20styles.\x20syntax\x20is\x20\x22variant:utility-class\x22\x0a','figma-to-daisyui':R(0x1d3),'read-figma-structure':R(0x1db)};
|