https://github.com/cradlecms/theme-daisyui
Theme for Cradle CMS with daisyUI
https://github.com/cradlecms/theme-daisyui
liquid serverside-rendering
Last synced: 8 months ago
JSON representation
Theme for Cradle CMS with daisyUI
- Host: GitHub
- URL: https://github.com/cradlecms/theme-daisyui
- Owner: CradleCMS
- License: cc-by-4.0
- Created: 2024-04-14T05:19:05.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-15T12:27:12.000Z (over 1 year ago)
- Last Synced: 2025-01-23T06:08:57.139Z (over 1 year ago)
- Topics: liquid, serverside-rendering
- Language: CSS
- Homepage: https://cradlecms.com
- Size: 12.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# daisyUI-theme
Tailwind component design from daisyUI made into a Cradle CMS theme.
* Index page components
* daisyUI color presets with theme settings support
* Open graph tags
* Production and Development mode
## Templates
* Index
* Page
* Contact page
* Blog
* Article
* 404-not found
* Search page
* Closed site template with signup form
## Index page components
* Over-the-fold hero section
* Link Grid
* Image Grid
* Content from a page
* Banner sections
* Blogpost cards
* Slideshow
## Contact page
1. To add a contact form to a page, choose the page template `contact`.
2. Add a form (forms are under Messages) named `contact`: [Forms guide at CradleCMS.com](https://cradlecms.com/blogs/guides/article/form-functionality).
### Formfields to add
Please note that there are forms validations done and it is important that the submitted form from the website corresponds to what is specified in admin/in the system.
Required | Name | Type | Value | Attributes | Match
---|---|---|---|---|---
Y | name | text | - | - | -
Y | email | email | - | - | -
Y | message | textarea | - | - | -
Y | Submit | submit | Submit | - | -
## Development
There is a builder included for generating the tailwind CSS file for production. With command `make` in the terminal it will build a new ouput.css file. The builder requires Podman or Docker (and the environment, Colima on Mac for example) to work.
## References
* - daisyUI webpage
* - Tailwind CSS (daisyUI is created ontop of Tailwind)
* - Cradle CMS
* - Go to theme documentation