- 🌆 I'm from China
- 👩🏾💻 I’m currently working and living in Beijing
- ❤️ I love coding
- 🌱 I’m currently working with javascript
mail: [email protected]
wechat: 459135899
Set antd theme online, generate less and js files directly by antdtheme.com
License: MIT License
mail: [email protected]
wechat: 459135899
Hi there @gzgogo ,
This looks like a really great project - thank you! Could you please clear up what licence this project is under, for example if it is MIT, could you add a licence.md that follows this?
按首页上的说明,在antdtheme.com上花了很多时间才发现Save在右下角,搞不清楚该怎么用,能否简要地说说?
按这个项目首页上说的,上面第3步之后,怎么预览、验证自己修改的效果呢?特别是按首页文档添加了几个theme之后,哪里设置真正用那个theme?
pls translate to English
Can you please include a guide of how to include theme switching feature in an app using Ant Design.
I want the ability to switch themes lives for the web apps
Hi, is there a guide or documentation about how to run this app locally?
My main problem is I didn't find any way to create a theme gradually, step by step, this means being able to work on it for a moment, then doing something else and get back to the theme creation later.
Thanks.
Hello,
Instead of configuring LESS can you add feature to save in CSS file so we can just import the CSS file?
Hi. Thanks for this nice theme maker.
I tried saving the default dark theme from https://antdtheme.com/dark and I got errors with the @popover-background
variable. Looks like it's missing from the variables. Here are the variables that are dependents of @popover-background
.
Thanks and hoping it'll be fixed soon.
I got an error Variable @black is undefined
when using with craco-antd
in create-react-app project.
craco.config.js
module.exports = {
plugins: [
{
plugin: CracoAntDesignPlugin,
options: {
customizeThemeLessPath: path.join(__dirname, 'src/assets/styles/antd.customize.less'),
},
},
],
}
antd.customize.less
@import '~antd/lib/style/themes/default.less';
@body-background: @black;
@component-background: #141414;
@icon-color-hover: fade(@white, 75%);
...
I would expect that Less variables values like @black
to be resolved using the import of default.less
and suscequent imports in that file. But this is not the case. It seems that @black
is simply treated as a string value.
Is there a way to resolve those variables before sending it to modifyVars
?
If it's not possible, it would be nice to have antd-theme
to output the theme with all values resolved to css, #000
instead of @black
, etc.
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.