The essential news about content management systems and mobile technology. Powered by Perfect Publisher and XT Search for Algolia.
The News Site publishes posts to the following channels: Facebook, Instagram, Twitter, Telegram, Web Push, Tumblr, and Blogger.
The post Extending PHP 8.1 enums with attributes appeared first on Laravel News.
Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.
Read more https://laravel-news.com/extending-php-enums-with-attributes
Has your desktop been looking a bit drab lately? If so – or if you’d just like to show a little WordPress love – we’ve got just the remedy: 30 one-of-a-kind WordPress desktop wallpapers to breathe new life into your backgrounds.
To add a wallpaper to your desktop:
The wallpapers are a homage to some of our favorite artists, with a nod to the freedom, innovation, and creativity of open-source software.
We put these together with an entirely open-source AI tool called Stable Diffusion. Like WordPress, Stable Diffusion is all about helping more people to create, experiment, and share, while having the freedom to access and contribute to the code making it all happen.
We’d love to hear what you think, and if you have any favorites. Of course, please feel free to remix, use these on your blog, or share your work in the comments!
Read more https://wordpress.com/blog/2023/03/27/wordpress-wallpapers/
Our second alpha release of v5.3.0 has landed with a ton of enhancements and bug fixes for our new color modes! There’s still more to come, but we’ve held off shipping until we ironed out enough issues. Huzzah, we have!
This v5.3.0 release is a monumental update for Bootstrap 5. It’s big enough that it could’ve been a v6 on its own, but we wanted to do right by the community and get color modes out the door without the massive major release upgrade. We’re getting super close now, so bear with us as we continue to chip away at this.
And, in the meantime, here’s the rundown on what’s changed since our first alpha. Have a read through the Migration guide for the first alpha, or the blog post for the release announcement, if you’re just getting into v5.3.0.
Dark mode colors are now derived from our theme colors (e.g.,
$primary
) in Sass, rather than color-specific tints or
shades (e.g., $blue-300
). This allows for a more
automated dark mode when customizing the default theme colors.
Added Sass maps for generating theme colors for dark mode text, subtle background, and subtle border.
Snippet examples are now ready for dark mode with updated markup and reduced custom styles.
Added color-scheme: dark
to dark mode CSS to change
OS level controls like scrollbars
Form validation border-color
and text
color
states now respond to dark mode, thanks to new
Sass and CSS variables.
Dropped recently added form control background CSS variables and reassigned the Sass variables to use CSS variables instead. This simplifies the styling across color modes and avoids an issue where form controls in dark mode wouldn’t update properly.
Our box-shadow
s will once again always stay dark
instead of inverting to white when in dark mode.
Improved HTML and JavaScript for our color mode toggle script. The selector for changing the active SVG has been improved, and the markup made more accessible with ARIA attributes.
Improved docs code syntax colors and more across light and dark modes.
Removed the ability to nest light mode components within dark mode. This was super incomplete unfortunately and just isn’t practical without quadrupling our selectors for every component. Maybe in v6!
$headings-color-dark
or --bs-heading-color
for dark mode. To avoid several
problems of headings within components appearing the wrong color,
we’ve set the Sass variable to null
and added a
null
check like we use on the default light mode.Cards now have a color
set on them to improve
rendering across color modes.
Added a new .nav-underline
variant for our
navigation with a simpler bottom border under the active nav link.
See the docs for an example.
Navs now have new :focus-visible
styles that better
match our custom button focus styles.
Added a new .icon-link
helper to quickly place and
align Bootstrap Icons alongside a textual link. Icon links support
our new link utilities, too.
Added a new focus ring helper for removing the default
outline
and setting a custom box-shadow
focus ring.
Renamed Sass and CSS variables ${color}-text
to
${color}-text-emphasis
to match their associated
utilities.
Added new .link-body-emphasis
helper alongside our
colored links. This creates a colored link using our
color mode responsive emphasis color.
Added new link utilities for link color opacity, underline offset, underline color, and underline opacity. Explore the new links utilities.
CSS variable-based border-width
utilities have been
reverted to set their property directly (as was done before
v5.2.0). This avoids inheritance issues across nested elements,
including tables.
Added new .border-black
utility to match our
.text-black
and .bg-black
utilities.
Deprecated
Deprecated the .text-muted
utility and
$text-muted
Sass variable. It’s been replaced by
.text-body-secondary
and
$body-secondary-color
.
While not an exhaustive list, here’s some of the stuff we’re going to be working on before calling this release stable. You can track these and more in the v5.3.0-stable project on GitHub.
Up next will be the stable release of v5.3.0. Originally this was planned as a beta, but I think we’re getting close enough to call this final with one more release.
Head to https://getbootstrap.com for the latest. It’s also been pushed to npm:
npm i This email address is being protected from spambots. You need JavaScript enabled to view it.
Read the GitHub v5.3.0-alpha2 changelog for a complete list of changes in this release.
Visit our Open Collective page or our team members’ GitHub profiles to help support the maintainers contributing to Bootstrap.
Read more https://blog.getbootstrap.com/2023/03/24/bootstrap-5-3-0-alpha2/
The post Modelling Busines Processes in Laravel appeared first on Laravel News.
Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.
Read more https://laravel-news.com/modelling-busines-processes-in-laravel
The post TypeScript Support Added to Laravel Breeze appeared first on Laravel News.
Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.
Read more https://laravel-news.com/laravel-breeze-typescript
Page 2 of 1181