当前位置:网站首页>Small programs use npm packages to customize global styles
Small programs use npm packages to customize global styles
2022-07-30 04:45:00 【like Feynman %】
1.vant Weapp uses css variables to implement custom themes. For the basic usage of css variables, refer to the MDN documentation:
https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties

2. Customize the global theme style
In app.wxss, write css variables to take effect globally:
/*app.wxss*/page{/*Customize alert button background color and border color*/--button-danger-background-color:#e2bcbc;--button-danger-border-color:#83b8e4;}
边栏推荐
- Unity3D Application simulation enters the front and background and pauses
- KubeMeet 报名 | 「边缘原生」线上技术沙龙完整议程公布!
- 3. Dependency configuration management
- [Redis Master Cultivation Road] Jedis - the basic use of Jedis
- handler+message [message mechanism]
- 小程序 wx.miniProgram.navigateTo 跳转地址不能是tabbar地址
- Detailed explanation of REUSE_ALV_GRID_DISPLAY
- 【 notes 】 the beauty of the software engineering - column 31 | software testing are responsible for the quality of products?
- 2.6基数排序(桶排序)
- Get the local IP and Request's IP
猜你喜欢

Shanxi group (enterprises) in the second network security skills competition part problem WP (7)
![handler+message [message mechanism]](/img/4b/981d5eb2f1afc98a4ceab38c505325.png)
handler+message [message mechanism]

Xiamen SenseCore Technology MC3172(1): Introduction and Environment Construction

A must see for software testers!Database knowledge MySQL query statement Daquan

Discourse Custom Header Links

cnpm installation steps

Solve the error SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xb7 in position 0: invalid start b

1315_使用LOOPBACK模拟模式pyserial安装是否成功的测试

05全局配置文件application.properties详解

Naive Bayes Classification
随机推荐
The Azure developer news 丨 memorabilia in July
Dynamic Programming Problems (End)
Install MySQL Database on Kylin V10 Operating System
[Redis Master Cultivation Road] Jedis - the basic use of Jedis
05 Detailed explanation of the global configuration file application.properties
2021 Shandong Province Network Construction and Application Test Questions
3. Dependency configuration management
Introduction to database - MySQL simple introduction
webService接口
A brief introduction to the SSM framework
需求设计文档和产品经理的角色改变
WPF introduces ttf icon file usage record
C. Travelling Salesman and Special Numbers (binary + combination number)
2.6 Radix sort (bucket sort)
Simulation problem (below)
MNIST of Dataset: MNIST (handwritten digital image recognition + ubyte.gz file) data set introduction, download, usage (including data enhancement) detailed guide
How does MySql find out the latest data row that meets the conditions?
双指针问题(上)
How with Mexico Volkswagen VW EDI connection to Mexico
Seven, custom configuration