Replies: 4 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
-
I totally agree that this should not be marked as the answer. What we're looking for, is for whatever preset or usage, we can import some idea of the theme. |
Beta Was this translation helpful? Give feedback.
-
I have to agree with @michealroberts the selected answer isn't the right one. I've actually tried duplicating the functionality commonly found around the source:
While it works and I get the full completed theme. The problem with this is that I received the following errors:
Not only that the package index.js is over 40k lines long and vs code sends my macbook fans to 100%. 😩 I'll be attempting to create my own version of resolveConfig that tailwind has, for unocss. Let's see whether or not I'm successful... 🤔 |
Beta Was this translation helpful? Give feedback.
-
How about this plugin https://github.com/zyyv/unplugin-unocss-config? |
Beta Was this translation helpful? Give feedback.
-
Hi! I'm using unocss with much joy.
I'm curious if it is possible to access some variables in my Vue-project. Would be great to be able to get the breakpoints in pixels to use the breakpoints in some js-logic. Would be nice to be able to access the colors as well. Currently grabbing them by importing windi as well, like:
import colors from 'windicss/colors'
Cheers
Beta Was this translation helpful? Give feedback.
All reactions