NervJS / taro-ui

一款基于 Taro 框架开发的多端 UI 组件库

Home Page:https://taro-ui.taro.zone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native 主题定制无效

layne0625 opened this issue · comments

commented

Taro UI 版本信息

v3.3.0

问题描述

在react-native中使用时无法定制主题。 按钮在默认主题下显示的也是绿色

复现步骤

Page下使用AtButton

  1. 设置type为primary

复现代码


按钮文案

报错信息

未报错

系统信息

Taro CLI 3.6.32 environment info:
System:
OS: Windows 11 10.0.22631
Binaries:
Node: 18.12.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
npmPackages:
@tarojs/cli: 3.6.32 => 3.6.32
@tarojs/components: 3.6.32 => 3.6.32
@tarojs/helper: 3.6.32 => 3.6.32
@tarojs/plugin-framework-react: 3.6.32 => 3.6.32
@tarojs/plugin-platform-alipay: 3.6.32 => 3.6.32
@tarojs/plugin-platform-h5: 3.6.32 => 3.6.32
@tarojs/plugin-platform-jd: 3.6.32 => 3.6.32
@tarojs/plugin-platform-qq: 3.6.32 => 3.6.32
@tarojs/plugin-platform-swan: 3.6.32 => 3.6.32
@tarojs/plugin-platform-tt: 3.6.32 => 3.6.32
@tarojs/plugin-platform-weapp: 3.6.32 => 3.6.32
@tarojs/react: 3.6.32 => 3.6.32
@tarojs/rn-runner: 3.6.32 => 3.6.32
@tarojs/rn-supporter: 3.6.32 => 3.6.32
@tarojs/runtime: 3.6.32 => 3.6.32
@tarojs/runtime-rn: 3.6.32 => 3.6.32
@tarojs/shared: 3.6.32 => 3.6.32
@tarojs/taro: 3.6.32 => 3.6.32
@tarojs/taro-loader: 3.6.32 => 3.6.32
@tarojs/taro-rn: 3.6.32 => 3.6.32
@tarojs/webpack5-runner: 3.6.32 => 3.6.32
babel-preset-taro: 3.6.32 => 3.6.32
eslint-config-taro: 3.6.32 => 3.6.32
expo: ~47.0.3 => 47.0.14
react: ^18.1.0 => 18.3.1
react-native: ^0.70.1 => 0.70.15
taro-ui: ^3.3.0 => 3.3.0

补充信息

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~