You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing Tallstackui together with Mary-ui the tailwind stylings are overwritten by daisy-ui.
Here is how to fix this (thx to ChatGPT):
The Solution
To prevent the settings from tallstackui defined in vendor/tallstackui/tallstackui/tailwind.config.js from being overwritten by daisyui, you can adjust the configuration to merge the settings rather than completely replacing them. You can achieve this by using the lodash merge function or a similar utility. Here's how you can modify your tailwind.config.js file to achieve this:
const_=require('lodash');consttallstackuiConfig=require('vendor/tallstackui/tallstackui/tailwind.config.js');constdaisyui=require('daisyui');module.exports={mode: 'jit',purge: [...],theme: {extend: _.merge({},tallstackuiConfig.theme.extend,{colors: {// Add your custom colors here if needed},// Add other customizations as needed}),},plugins: [daisyui,// Add other plugins as needed],};
The text was updated successfully, but these errors were encountered:
The Issue
When installing Tallstackui together with Mary-ui the tailwind stylings are overwritten by daisy-ui.
Here is how to fix this (thx to ChatGPT):
The Solution
To prevent the settings from tallstackui defined in vendor/tallstackui/tallstackui/tailwind.config.js from being overwritten by daisyui, you can adjust the configuration to merge the settings rather than completely replacing them. You can achieve this by using the lodash merge function or a similar utility. Here's how you can modify your tailwind.config.js file to achieve this:
The text was updated successfully, but these errors were encountered: