当前位置:网站首页>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;}
边栏推荐
- 全流程调度——Azkaban入门与进阶
- 字符串问题(上)
- file system two
- 模拟问题(上)
- Machine Learning: Knowing the Dimensionality Reduction Process Through Low Variance Filtering
- 05 Detailed explanation of the global configuration file application.properties
- gnss rtcm rtklib Ntrip...
- A must see for software testers!Database knowledge MySQL query statement Daquan
- swagger usage tutorial - quick use of swagger
- 2.6基数排序(桶排序)
猜你喜欢

软件测试员必看!数据库知识mysql查询语句大全

DAY17: weak password detection and test

全流程调度——Azkaban入门与进阶

2.6 Merge Sort

【线性表】- LeetCode力扣三道练习题详解

cnpm installation steps

Shanxi group (enterprises) in the second network security skills competition part problem WP (7)

Database Design of Commodity Management System--SQL Server
![[Linear table] - Detailed explanation of three practice questions of LeetCode](/img/71/91ba0cc16fe062c1ac9e77e1cc8aa2.png)
[Linear table] - Detailed explanation of three practice questions of LeetCode

MYSQL unique constraint
随机推荐
BGP的简单实验
gnss rtcm rtklib Ntrip...
1. Get data - requests.get()
Code open source design and implementation ideas
山西省第二届网络安全技能大赛(企业组)部分赛题WP(九)
精品MySQL面试题,备战八月99%必问!过不了面试算我的
双指针问题(下)
webService interface
小程序使用npm包定制全局样式
labelme的使用技巧
Simple experiment with BGP
山西省第二届网络安全技能大赛(企业组)部分赛题WP(八)
swagger usage tutorial - quick use of swagger
GCC Rust is approved to be included in the mainline code base, or will meet you in GCC 13
Shi Xingguo, founder of Hyperchain, was interviewed by 21st Century Business Herald to interpret Shanghai's new NFT regulations and digital development
Learning of redis_Basic part
字符串问题(下)
《构建之法》笔记---第十章 典型用户和场景
小程序 wx.miniProgram.navigateTo 跳转地址不能是tabbar地址
Simulation problem (below)