How to add custom gradian color add to config?
See original GitHub issueHow to add this to the config file
inear-gradient(to right, #007991, #78ffd6)
theme: {
extend: {
colors: {
primary: "#164F63",,
secondary: "#A3C0BA",
neutral: "#FAFAFA"
},
}
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Wanna customize Gradient and add in tailwind config js file
How can I customize gradient and add tailwind configuration object? i.e. I have plenty of chances to use gradient - bg-gradient-to-r from-color ......
Read more >How can I add a custom color to a gradient with Tailwind and ...
Here's my tailwind.config.js:
Read more >A guide to adding gradients with Tailwind CSS - LogRocket Blog
In this blog, we'll use Tailwind CSS to create beautiful background, text, border, and underline gradients, as well as animate gradients.
Read more >TailwindCSS - Custom Colors and Gradients - YouTube
So many colors, cool!ERROR with $ npx svelte- add tailwindcss --jit ..?See: https://github.com/svelte- add /tailwindcss/issues/41Or try to add ...
Read more >How To Add Color with a Custom Gradient Adjustment Layer ...
Quickly add color and preserve the texture of a paper using a custom Gradient Adjustment Layer with a Linear Burn Blend Mode.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
you can do so also via backgroundImage to change only bg-primary (other utilities shouldnt be affected)
then you can use
bg-primary
The way you have configured looks fine, you can use this in your classes