Questions tagged [tailwind-in-js]
120 questions
1
vote
1 answer
customize a color in tailwind.config.js file
I am currently building an VUE application. There I need to customize the primary color in litepie-datepicker to #A7F3D0(emerald series) in my tailwind.config.js file.
I tried theses codes. But nothing is working
'litepie-primary':'#A7F3D0', //…

Katara
- 66
- 1
- 10
1
vote
2 answers
how do I fill svg in tailwind
I used the code below but I couldnt Override the fill. I saw it was solved but can anyone solve using tailwind?
1
vote
1 answer
Enable hover only on top/bottom/left/right
I'm trying to create a variant in Tailwind file configuration.
What I would like to have is something like hover:border-l-4 hover:border-green-400, so a class that enables a border on the left (or only on top / bottom / right).
So I create this…

whitecircle
- 237
- 9
- 34
1
vote
0 answers
Import tailwind custom components
I have this code :
/plugins/t-alert.js :
import Vue from 'vue'
import VueTailwind from 'vue-tailwind'
import TAlert from 'vue-tailwind/dist/t-alert'
const settings = {
't-alert': {
component: TAlert,
props: {
…

GPiter
- 779
- 1
- 11
- 24
1
vote
1 answer
Children spacing not working when reversed order has breakpoint in Tailwind
I have a landing page that alternates between image and text blocks using flex-row and flex-row-reverse:
I can achieve this pretty simply in react by flipping the order as I map over my list without having to alter the order of the divs:
idx % 2…

captDaylight
- 2,224
- 4
- 31
- 42
1
vote
1 answer
How to reset Tailwind mobile menu from JS when breakpoint is reached
The free stacked application shell from Tailwind UI has a mobile menu the user can show on small screens:

Mike Vosseller
- 4,097
- 5
- 26
- 28
1
vote
1 answer
How to get tw-in-js/twind plugins to work in Svelte
I'm using tw-in-js/twind in Svelte.
when using the vanilla setup for Svelte App and after including Twind I cannot find any way to get plugins to work: