Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@unocss/webpack configure file not functional #1298

Closed
whitemay opened this issue Jul 19, 2022 · 2 comments
Closed

@unocss/webpack configure file not functional #1298

whitemay opened this issue Jul 19, 2022 · 2 comments

Comments

@whitemay
Copy link

it seems that config file do not work functional.
presets and shortcuts works fine, but themes not merged: no matter defined in config root or used in preset params.
my config file like below:

import presetMini from '@unocss/preset-mini'

module.exports = {
  presets: [
    presetMini(),
  ],
  shortcuts: [
    {
      'border-base': 'border border-gray-500_10',
      'center': 'flex justify-center items-center',
    },
  ],
  theme: {
    fontSize: {
      '3xl': ['0.75rem', '1rem']
    }
  }
}
@antfu
Copy link
Member

antfu commented Jul 19, 2022

We temporarily close this due to the lack of enough information.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required

@antfu antfu closed this as completed Jul 19, 2022
@whitemay
Copy link
Author

@antfu antfu reopened this Jul 19, 2022
@antfu antfu closed this as completed in 8f4f6b7 Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants