Hugo
Explore posts from serversNuxt ui Custom Color doesn't work
Okay, thank you, i didn't saw this line.
By the way, do you ave any idea, why tailwind don't create css variables when i define it as variable ?
I would like to uses my colors as css variable but tailwind (via Nuxt/Ui i guess) transform my variable directly to rgba color
9 replies
nuxt/ui tailwind intellisense not working
1. Nuxt ui v3 use the alpha version of tailwind v4, so it doesn't use a realse but an alpha (its written in this documentation: https://ui3.nuxt.dev/getting-started/theme ("Nuxt UI v3 uses Tailwind CSS v4 beta, you can read the prerelease documentation for more information.")
2. just answered before
3. it's not a standard approach but lot of users had this issue and on github of tailwind solved with this, since tailwind v4 is till in alpha, maybe it's a workaround, waiting for the release and a stable solution.
On tailwind v4 there is no more tailwind.config.ts or .js everything is setup in the main.Scss file
@kapa.ai
24 replies
nuxt/ui tailwind intellisense not working
@kapa.ai i found how to fix that.
To make Tailwind intellisense works with tailwind v4 and nuxt ui v3
you have to add in your workspace settings this line:
"
tailwindCSS.experimental.configFile": "./assets/css/main.css",
the goal is to set ad config fail your main.css file where you define all your new tailwind settings24 replies
nuxtui tailwind plugin
import { utilities } from './plugins/tailwind/utilities';
const defaultTheme = require('tailwindcss/defaultTheme')
const typography = require('@tailwindcss/typography')
const { designSystem } = require('./tailwind.ds');
module.exports = {
darkMode: 'class',
content: [
extend: {
container:{
center:true,
padding: "1rem",
},
fontFamily: {
'primary': ['Space Grotesk', 'sans-serif']
},
padding:{
'1/5': '50%',
},
transitionTimingFunction: {
bounce: 'cubic-bezier(.6,2.7,.8,.8)'
},
boxShadow:{
"offer-card": "0px 0px 15px 0px rgba(0,0,0,0.15)",
}
},
},
variants: {
extend: {},
},
plugins: [
utilities,
designSystem,
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
],
}
@kapa.ai Can you convert my tailwind.config.ts to work with nuxt ui ?
30 replies
DTDrizzle Team
•Created by Hugo on 9/28/2023 in #help
Mysql Syntax error executing query
Well,
Thank you for all your time, i really appreciate.
I understand the purpose of a reproduction repo.
Because of i am to much a beginner with full stacks and mysql, i mooved to prisma that si more easy to use at level
29 replies
DTDrizzle Team
•Created by Hugo on 9/28/2023 in #help
Mysql Syntax error executing query
By the way if i try to execute this query on phpmyadmin i get the same issue so i think it's a mysql issue depending on the version, but the probleme is i can't change the generated query from drizzle
29 replies
DTDrizzle Team
•Created by Hugo on 9/28/2023 in #help
Mysql Syntax error executing query
i do'nt know what is a repo repo i will check on googl
29 replies
DTDrizzle Team
•Created by Hugo on 9/28/2023 in #help
Mysql Syntax error executing query
i just added you.
The query is here: https://github.com/Hrobitaillie/streeteats/blob/main/admin/hooks/getStore.ts
29 replies