Skip to content
This repository was archived by the owner on Nov 5, 2023. It is now read-only.

Commit c6f7ef3

Browse files
committed
Add prefixes to connector CSS variables
1 parent 6432e64 commit c6f7ef3

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@d0rich/nuxt-design-system",
3-
"version": "0.7.4",
3+
"version": "0.7.5",
44
"main": "./nuxt.config.ts",
55
"description": "🖼️ Design system for d0rich's projects based on Nuxt 3 and Tailwind CSS",
66
"keywords": [

plugins/tailwind/nuxt-typography.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ const plugin = require('tailwindcss/plugin')
55
module.exports = plugin(function ({ addUtilities, theme }) {
66
addUtilities({
77
'.nuxt-typography-connector': {
8-
'--typography-font-sans': theme('fontFamily.sans'),
9-
'--typography-font-serif': theme('fontFamily.serif'),
10-
'--typography-font-mono': theme('fontFamily.mono'),
11-
'--typography-font-dialog': theme('fontFamily.dialog')
8+
'--tw-typography-font-sans': theme('fontFamily.sans'),
9+
'--tw-typography-font-serif': theme('fontFamily.serif'),
10+
'--tw-typography-font-mono': theme('fontFamily.mono'),
11+
'--tw-typography-font-dialog': theme('fontFamily.dialog')
1212
}
1313
})
1414
})

0 commit comments

Comments
 (0)