-
Hi
I am using antd as a UI toolkit. I want to implement style modules in my project. I tried like this
`modifyLessRule(lessRule, context) {
// You have to exclude these file s…
-
### Reproduction link
[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/react-cwcqr8-kmxmty?file=demo.tsx)
### Steps to reproduce
…
-
**Describe the bug**
When i use this library to generate antd theme, it's failed. And the error is throwed by less, just as the title say.
The important thing that i must need to clarify is, it's …
-
**Describe the bug**
Describe your bug in English language
**Show your code**
Show your `config-overrides.js` file and styles folder structure
**Screenshots**
If applicable, add screenshots t…
-
Hi there, just wondering whether you were considering support for Ant Design 5…
-
**Describe the bug**
Used in antdv, but got some wrong styles in the color.less. I don't know where it comes from, although I have checked the various style files.
**Show your code**
```js
const…
-
使用umi-plugin-antd-theme后,我组件中的那些样式就无法引用了,根本没加载那些less文件
-
```javascript
addLessLoader({
javascriptEnabled: true,
modifyVars: { '@brand-primary': 'hotpink', "@brand-primary-tap": 'pink' }, // 修改主题
}),
```
```json
{
"react-scripts": "3.4.1",
…
-
How can I enable dark theme through using craco?
vJaun updated
3 years ago
-
**Describe the bug**
color.less file is empty
**Show your code**
**webpack.config**
```
const paletteLess = fs.readFileSync('./src/ui/variables.less', 'utf8');
const variables = lessToJs(palet…