CSS no longer loads (Magento 2)

Sometimes Magento 2 CSS files stop loading or are not displayed correctly. There are several possible causes, but running the following commands from the Magento 2 root directory will fix many of them:

Customizing radio button colors in the Hyvä theme (Magento 2)

You can easily change radio button colors in your Magento 2 Hyvä theme, for example by using a predefined color:

If you have defined your own color, the syntax is similar. Without shades:

With shades:

Changing the focus ring color in the Hyvä theme (Magento 2)

To change the focus ring color in your Hyvä theme to a custom color, edit the file app/design/frontend/Theme/hyva/web/tailwind/tailwind.config.js erledigen:

You can then use the color, for example, like this:

. To use an existing Tailwind CSS color instead, you…

Disabling or enabling CSS merging (Magento 2)

Run these commands from your Magento 2 root directory to disable CSS merging:

To enable CSS merging again, run the following commands:

This method works with Magento 2.2 and later.