Ali-Hegzy liked a comment+100 XP
1w ago
Here are the full CSS component files for those looking to copy:
resources/css/components/btn.css
button {
cursor: pointer;
}
.btn {
background: var(--color-primary);
border-radius: var(--radius-xl);
color: var(--color-primary-foreground);
padding-inline: calc(var(--spacing) * 3);
font-size: var(--text-sm);
font-weight: var(--font-weight-medium);
cursor: pointer;
height: calc(var(--spacing) * 8);
line-height: calc(var(--spacing) * 8);
display: inline-block;
}
.btn.btn-outlined {
background: transparent;
border: 1px solid var(--color-border);
border-color: var(--color-border);
color: var(--color-foreground);
}
.btn.btn-outlined:hover {
background: color-mix(in srgb, black 25%, var(--color-input));
}
.btn.btn-ghost {
background: transparent;
}
.btn:has(> svg) {
display: flex;
align-items: center;
column-gap: calc(var(--spacing) * 2);
}
.btn:hover {
background: color-mix(in srgb, black 10%, var(--color-primary));
text-decoration: none;
}
resources/css/components/form.css
label {
color: var(--color-foreground);
}
.input {
border-radius: var(--radius-md);
height: calc(var(--spacing) * 10);
width: 100%;
border-width: 1px;
border-color: var(--color-border);
padding: calc(var(--spacing) * 2) calc(var(--spacing) * 3);
background-color: var(--color-card);
color: var(--color-foreground);
outline: 2px solid transparent;
outline-offset: 2px;
}
.input::placeholder {
color: var(--color-muted-foreground);
}
.input:focus-visible {
outline: 0;
box-shadow:
0 0 0 calc(var(--spacing) * .5) var(--color-background)
0 0 0 calc(var(--spacing) * 1) var(--color-primary);
}
@media (min-width: var(--breakpoint-md)) {
.input {
font-size: var(--text-sm);
}
}
.textarea {
border-radius: var(--radius-md);
height: calc(var(--spacing) * 40);
width: 100%;
border-width: 1px;
border-color: var(--color-border);
padding: calc(var(--spacing) * 2) calc(var(--spacing) * 3);
background-color: var(--color-card);
color: var(--color-foreground);
outline: 2px solid transparent;
outline-offset: 2px;
}
.textarea::placeholder {
color: var(--color-muted-foreground);
}
.textarea:focus-visible {
outline: 0;
box-shadow:
0 0 0 calc(var(--spacing) * .5) var(--color-background)
0 0 0 calc(var(--spacing) * 1) var(--color-primary);
}
.label {
display: block;
font-size: var(--text-sm);
}
input[type=file] {
display: block;
width: 100%;
font-size: 0.875rem;
line-height: 1.25rem;
color: var(--color-foreground);
}
input[type=file]::file-selector-button {
margin-right: calc(var(--spacing) * 4);
padding: calc(var(--spacing) * 2) calc(var(--spacing) * 4);
border-radius: calc(var(--spacing) * 2);
border-width: 0;
font-size: 0.875rem;
line-height: 1.25rem;
font-weight: 500;
background-color: var(--color-primary);
color: rgb(var(--color-background));
}
input[type=file]::file-selector-button:hover {
opacity: 0.9;
}
.error {
font-size: var(--text-sm);
color: var(--color-red-600);
}
.form-muted-icon {
color: var(--color-muted-foreground);
}
.form-muted-icon:hover {
color: var(--color-foreground);
}
Ali-Hegzy liked a comment+100 XP
1w ago
Color theme for those looking to copy:
--color-background: oklch(0.12 0 0);
--color-foreground: oklch(0.95 0 0);
--color-card: oklch(0.16 0 0);
--color-primary: oklch(0.65 0.15 160);
--color-primary-foreground: oklch(0.12 0 0);
--color-border: oklch(0.24 0 0);
--color-input: oklch(0.24 0 0);
--color-muted-foreground: oklch(0.6 0 0);
Ali-Hegzy started a new conversation+100 XP
1mo ago
Hello, while I am watching "laravel from scratch 2026" in 'form' video an 419 error appeared to Jeffery way, but it does not appear to me [I used 127.0.0.1 not project.test] , so by little discussion with Gemini AI it said that laravel deals with localhost as a reliable and secure local scope for the situation, so I want to make sure that this information is correct from developers here as AI may be say wrong information.
Thank you.
Ali-Hegzy liked a comment+100 XP
5mos ago
I ran into the same problem. I filled in all the questions for the first exam but the button always submits the page and returns a 403 error
Ali-Hegzy liked a comment+100 XP
5mos ago
Thanks, everybody. The issue is that the exams feature requires an active subscription - but one of the pages didn't have the proper authorization. That's why you received a 403 when submitting.
Sorry for the confusion! All patched up now.
Ali-Hegzy liked a comment+100 XP
6mos ago
You can follow this https://laracasts.com/path
Ali-Hegzy wrote a reply+100 XP
6mos ago
I am following it right now, but I get distracted when I saw the new playlist "Laravel from Scratch 2026" then I hesitated, wondering whether to watch "30 Days to Learn Laravel" that was in the path or watch the new playlist instead?
Ali-Hegzy liked a comment+100 XP
6mos ago
If you are referring to the Laravel From Scratch 2026 and 30 Days To Learn Laravel, well they are basically the same thing, it doesn't really matter that much which one you choose. I would go with the From Scratch one.
Ali-Hegzy started a new conversation+100 XP
6mos ago
Hello guys, Now I am moving in the learning path in the web site - I am still in PHP for Beginners - and I saw the there is new Laravel playlist uploaded on the web site, so my question is When will I watch the new series after "30 days to learn Laravel" or before it, and why?
EDIT: The path on the website has been modified, and the "30 days to learn Laravel" has been replaced with "Laravel from scratch (2026 Edition)". Thanks to everyone who helped me.
Thank You.