@!jrmc.button.link({ text: '❮', class: 'btn-circle', href: '#slide3' })
@!jrmc.button.link({ text: '❯', class: 'btn-circle', href: '#slide1' })
diff --git a/fractal/components/02-display/chat/02-chat--avatar.edge b/fractal/components/02-display/chat/02-chat--avatar.edge
index 6c5a471..31cdbfe 100644
--- a/fractal/components/02-display/chat/02-chat--avatar.edge
+++ b/fractal/components/02-display/chat/02-chat--avatar.edge
@@ -1,6 +1,6 @@
@jrmc.chat()
@slot('avatar')
-
@end
It was said that you would, destroy the Sith, not join them.
@end
diff --git a/fractal/components/02-display/chat/05-chat--position.edge b/fractal/components/02-display/chat/05-chat--position.edge
index 1fe06cb..acc4e61 100644
--- a/fractal/components/02-display/chat/05-chat--position.edge
+++ b/fractal/components/02-display/chat/05-chat--position.edge
@@ -1,6 +1,6 @@
@jrmc.chat({ position: 'end' })
@slot('avatar')
-
@end
@slot('header')
Obi-Wan Kenobi
diff --git a/fractal/components/02-display/chat/07-chat--sample.edge b/fractal/components/02-display/chat/07-chat--sample.edge
index 0a790c9..da31efd 100644
--- a/fractal/components/02-display/chat/07-chat--sample.edge
+++ b/fractal/components/02-display/chat/07-chat--sample.edge
@@ -1,7 +1,7 @@
@jrmc.chat()
@slot('avatar')
-
+
@end
@slot('header')
Obi-Wan Kenobi
@@ -15,7 +15,7 @@
@jrmc.chat({ position: 'end', class: 'chat-bubble-accent' })
@slot('avatar')
-
+
@end
@slot('header')
Anakin
diff --git a/fractal/components/02-display/toast/10-toast--expiration.edge b/fractal/components/02-display/toast/10-toast--expiration.edge
index e0b706d..a750b77 100644
--- a/fractal/components/02-display/toast/10-toast--expiration.edge
+++ b/fractal/components/02-display/toast/10-toast--expiration.edge
@@ -1,11 +1,11 @@
- @toast({
+ @jrmc.toast({
'class': 'toast-top toast-end',
'x-data': '{ open: true }',
'x-show': 'open',
'x-transition.duration.500ms': '',
'x-init': 'setTimeout(() => open = false, 5000);setTimeout(() => $el.remove(), 6000)',
})
- @!alert.info({ text: 'New message arrived.', icon: 'false' })
+ @!jrmc.alert.info({ text: 'New message arrived.', icon: 'false' })
@end
diff --git a/fractal/components/02-display/tooltip/01-tooltip.edge b/fractal/components/02-display/tooltip/01-tooltip.edge
index 36b4903..57d0c1c 100644
--- a/fractal/components/02-display/tooltip/01-tooltip.edge
+++ b/fractal/components/02-display/tooltip/01-tooltip.edge
@@ -1,3 +1,3 @@
@jrmc.tooltip({ text: 'hello' })
-
+
@end
diff --git a/fractal/components/02-display/tooltip/02-tooltip--open.edge b/fractal/components/02-display/tooltip/02-tooltip--open.edge
index 05ebabd..6ffa100 100644
--- a/fractal/components/02-display/tooltip/02-tooltip--open.edge
+++ b/fractal/components/02-display/tooltip/02-tooltip--open.edge
@@ -1,3 +1,3 @@
@jrmc.tooltip({ text: 'hello', class: 'tooltip-open' })
-
+
@end
diff --git a/fractal/components/02-display/tooltip/03-tooltip--position.edge b/fractal/components/02-display/tooltip/03-tooltip--position.edge
index 57c6557..8637989 100644
--- a/fractal/components/02-display/tooltip/03-tooltip--position.edge
+++ b/fractal/components/02-display/tooltip/03-tooltip--position.edge
@@ -1,9 +1,9 @@
@jrmc.tooltip({ text: 'hello', class: 'tooltip-open tooltip-left tooltip-primary' })
-
+
@end
@jrmc.tooltip({ text: 'hello', class: 'tooltip-open tooltip-bottom tooltip-secondary' })
-
+
@end
@jrmc.tooltip({ text: 'hello', class: 'tooltip-open tooltip-right tooltip-accent' })
-
+
@end
diff --git a/fractal/components/03-form/01-input/01-input-base.edge b/fractal/components/03-form/01-input/01-input-base.edge
index f6da438..ecb0783 100644
--- a/fractal/components/03-form/01-input/01-input-base.edge
+++ b/fractal/components/03-form/01-input/01-input-base.edge
@@ -1,15 +1,19 @@
- @!jrmc.form.input({ placeholder: 'Default', class: 'w-full' })
-
- @!jrmc.form.input({ type: 'number', placeholder: '0', class: 'w-full' })
-
- @!jrmc.form.input({ type: 'email', placeholder: 'john.snow@got.com', class: 'w-full' })
-
- @!jrmc.form.input({ type: 'date', class: 'w-full' })
-
- @!jrmc.form.input({ type: 'datetime-local', class: 'w-full' })
-
- @!jrmc.form.input({ type: 'color', class: 'w-full' })
-
- @!jrmc.form.input({ type: 'hidden', value: 'true', class: 'w-full' })
+ @jrmc.card({ class: 'bg-neutral'})
+ @jrmc.card.body()
+ @!jrmc.form.input({ placeholder: 'Default', class: 'w-full' })
+
+ @!jrmc.form.input({ type: 'number', placeholder: '0', class: 'w-full' })
+
+ @!jrmc.form.input({ type: 'email', placeholder: 'john.snow@got.com', class: 'w-full' })
+
+ @!jrmc.form.input({ type: 'date', class: 'w-full' })
+
+ @!jrmc.form.input({ type: 'datetime-local', class: 'w-full' })
+
+ @!jrmc.form.input({ type: 'color', class: 'w-full' })
+
+ @!jrmc.form.input({ type: 'hidden', value: 'true', class: 'w-full' })
+ @end
+ @end
diff --git a/fractal/components/03-form/01-input/04-input-size.edge b/fractal/components/03-form/01-input/04-input-size.edge
index 8c75a44..2c1c026 100644
--- a/fractal/components/03-form/01-input/04-input-size.edge
+++ b/fractal/components/03-form/01-input/04-input-size.edge
@@ -1,10 +1,14 @@
- @!jrmc.form.input({ placeholder: 'Size xs', class: 'input-xs' })
-
- @!jrmc.form.input({ placeholder: 'Size sm', class: 'input-sm' })
-
- @!jrmc.form.input({ placeholder: 'Size md', class: 'input-md' })
-
- @!jrmc.form.input({ placeholder: 'Size lg', class: 'input-lg' })
+ @jrmc.card({ class: 'bg-neutral'})
+ @jrmc.card.body()
+ @!jrmc.form.input({ placeholder: 'Size xs', class: 'input-xs' })
+
+ @!jrmc.form.input({ placeholder: 'Size sm', class: 'input-sm' })
+
+ @!jrmc.form.input({ placeholder: 'Size md', class: 'input-md' })
+
+ @!jrmc.form.input({ placeholder: 'Size lg', class: 'input-lg' })
+ @end
+ @end
diff --git a/fractal/components/03-form/01-input/06-input-ghost.edge b/fractal/components/03-form/01-input/06-input-ghost.edge
index c9ed6dc..33ced29 100644
--- a/fractal/components/03-form/01-input/06-input-ghost.edge
+++ b/fractal/components/03-form/01-input/06-input-ghost.edge
@@ -1,4 +1,8 @@
- @!jrmc.form.input({ placeholder: 'Ghost', class: 'input-ghost' })
+ @jrmc.card({ class: 'bg-neutral'})
+ @jrmc.card.body()
+ @!jrmc.form.input({ placeholder: 'Ghost', class: 'input-ghost' })
+ @end
+ @end
diff --git a/fractal/components/03-form/02-form-default-values.edge b/fractal/components/03-form/02-form-default-values.edge
index c60aa23..46f8db6 100644
--- a/fractal/components/03-form/02-form-default-values.edge
+++ b/fractal/components/03-form/02-form-default-values.edge
@@ -3,7 +3,7 @@
confirm: 'ok'
} })
@jrmc.form.control({ name: 'firstname' })
- @!jrmc.form.input()
+ @!jrmc.form.input({ class: 'input-bordered' })
@end
@jrmc.form.control({ name: 'confirm' })
@@ -15,6 +15,6 @@
@end
@jrmc.form.control({ name: 'displayname' })
- @!jrmc.form.input({ value: 'Jerem' })
+ @!jrmc.form.input({ value: 'Jerem', class: 'input-bordered' })
@end
@end
diff --git a/fractal/components/03-form/10-error/01-error-default.edge b/fractal/components/03-form/10-error/01-error-default.edge
index 9946d68..6924bb3 100644
--- a/fractal/components/03-form/10-error/01-error-default.edge
+++ b/fractal/components/03-form/10-error/01-error-default.edge
@@ -1,9 +1,9 @@
@jrmc.form({ method: 'get'})
@jrmc.form.control({ name: 'sampleError' })
- @!jrmc.form.input()
+ @!jrmc.form.input({ class: 'input-bordered' })
@end
@jrmc.form.control({ name: 'sample2Error' })
- @!jrmc.form.input()
+ @!jrmc.form.input({ class: 'input-bordered' })
@end
@end
diff --git a/fractal/components/03-form/10-error/02-error-top.edge b/fractal/components/03-form/10-error/02-error-top.edge
index ee865e8..ac8e26c 100644
--- a/fractal/components/03-form/10-error/02-error-top.edge
+++ b/fractal/components/03-form/10-error/02-error-top.edge
@@ -1,9 +1,9 @@
@jrmc.form({ method: 'get'})
@jrmc.form.control({ name: 'sampleError', error: false })
- @!jrmc.form.input()
+ @!jrmc.form.input({ class: 'input-bordered' })
@end
@jrmc.form.control({ name: 'sample2Error', error: false })
- @!jrmc.form.input()
+ @!jrmc.form.input({ class: 'input-bordered' })
@end
@end
diff --git a/fractal/components/03-form/10-error/03-error-disabled.edge b/fractal/components/03-form/10-error/03-error-disabled.edge
index 66b83f1..9e2d587 100644
--- a/fractal/components/03-form/10-error/03-error-disabled.edge
+++ b/fractal/components/03-form/10-error/03-error-disabled.edge
@@ -1,9 +1,9 @@
@jrmc.form({ method: 'get', error: false})
@jrmc.form.control({ name: 'sampleError' })
- @!jrmc.form.input()
+ @!jrmc.form.input({ class: 'input-bordered' })
@end
@jrmc.form.control({ name: 'sample2Error' })
- @!jrmc.form.input()
+ @!jrmc.form.input({ class: 'input-bordered' })
@end
@end
diff --git a/fractal/components/03-form/10-error/04-error-manual.edge b/fractal/components/03-form/10-error/04-error-manual.edge
index 4ef1e4c..cca946a 100644
--- a/fractal/components/03-form/10-error/04-error-manual.edge
+++ b/fractal/components/03-form/10-error/04-error-manual.edge
@@ -1,10 +1,10 @@
@jrmc.form({ method: 'get', error: false})
@jrmc.form.control({ name: 'sampleError', error: false })
- @!jrmc.form.input()
+ @!jrmc.form.input({ class: 'input-bordered' })
@end
@jrmc.form.control({ name: 'sample2Error', error: false })
- @!jrmc.form.input()
+ @!jrmc.form.input({ class: 'input-bordered' })
@end
@!jrmc.form.error.all({ class: 'mt-5'})
diff --git a/fractal/components/03-form/11-input-file/04-input-file-size.edge b/fractal/components/03-form/11-input-file/04-input-file-size.edge
index c240c0e..d3b0604 100644
--- a/fractal/components/03-form/11-input-file/04-input-file-size.edge
+++ b/fractal/components/03-form/11-input-file/04-input-file-size.edge
@@ -1,9 +1,9 @@
- @!jrmc.form.file({ class: 'file-input-xs' })
+ @!jrmc.form.file({ class: 'file-input-xs file-input-bordered' })
- @!jrmc.form.file({ class: 'file-input-sm' })
+ @!jrmc.form.file({ class: 'file-input-sm file-input-bordered' })
- @!jrmc.form.file({ class: 'file-input-md' })
+ @!jrmc.form.file({ class: 'file-input-md file-input-bordered' })
- @!jrmc.form.file({ class: 'file-input-lg' })
+ @!jrmc.form.file({ class: 'file-input-lg file-input-bordered' })
diff --git a/fractal/components/05-pages/01-login.edge b/fractal/components/05-pages/01-login.edge
index ebeeffb..c9819d6 100644
--- a/fractal/components/05-pages/01-login.edge
+++ b/fractal/components/05-pages/01-login.edge
@@ -3,7 +3,7 @@
@jrmc.card({ class: 'lg:card-side bg-base-100 shadow-xl' })
@slot('top')
-
+
@end
@jrmc.card.body()
@jrmc.form({ csrf: false })
diff --git a/fractal/components/05-pages/02-admin.edge b/fractal/components/05-pages/02-admin.edge
index 585af27..86765cf 100644
--- a/fractal/components/05-pages/02-admin.edge
+++ b/fractal/components/05-pages/02-admin.edge
@@ -13,7 +13,7 @@
@slot('button')
@jrmc.button.label({ class: 'btn-ghost btn-circle avatar' })
-
+
@end
@end
@@ -57,7 +57,7 @@