React Native Context 实现APP的主题开发

上传者: lxyoucan | 上传时间: 2021-01-28 01:48:02 | 文件大小: 340KB | 文件类型: ZIP
重口难调,如果APP的主色调可以自定义,一定程度上就解决了这个问题。 对应文章是: https://blog.csdn.net/lxyoucan/article/details/108899439

文件下载

资源详情

[{"title":"( 82 个子文件 340KB ) React Native Context 实现APP的主题开发","children":[{"title":"ThemeDemo","children":[{"title":"ios","children":[{"title":"ThemeDemo.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 227B </span>","children":null,"spread":false}],"spread":true},{"title":"Podfile.lock <span style='color:#111;'> 18.14KB </span>","children":null,"spread":false},{"title":"ThemeDemo","children":[{"title":"AppDelegate.h <span style='color:#111;'> 196B </span>","children":null,"spread":false},{"title":"main.m <span style='color:#111;'> 200B </span>","children":null,"spread":false},{"title":"Images.xcassets","children":[{"title":"Contents.json <span style='color:#111;'> 63B </span>","children":null,"spread":false},{"title":"AppIcon.appiconset","children":[{"title":"Contents.json <span style='color:#111;'> 585B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Info.plist <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"AppDelegate.m <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"LaunchScreen.storyboard <span style='color:#111;'> 5.62KB </span>","children":null,"spread":false}],"spread":true},{"title":"ThemeDemo.xcodeproj","children":[{"title":"project.pbxproj <span style='color:#111;'> 46.96KB </span>","children":null,"spread":false},{"title":"xcshareddata","children":[{"title":"xcschemes","children":[{"title":"ThemeDemo-tvOS.xcscheme <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"ThemeDemo.xcscheme <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"Pods","children":[{"title":".DS_Store <span style='color:#111;'> 10.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"ThemeDemo-tvOS","children":[{"title":"Info.plist <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false}],"spread":true},{"title":"ThemeDemoTests","children":[{"title":"ThemeDemoTests.m <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 733B </span>","children":null,"spread":false}],"spread":true},{"title":"ThemeDemo-tvOSTests","children":[{"title":"Info.plist <span style='color:#111;'> 733B </span>","children":null,"spread":false}],"spread":true},{"title":"Podfile <span style='color:#111;'> 841B </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 10.00KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 813B </span>","children":null,"spread":false},{"title":"android","children":[{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 57.32KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 200B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"build.gradle <span style='color:#111;'> 1002B </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 5.63KB </span>","children":null,"spread":false},{"title":"app","children":[{"title":"debug.keystore <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 9.28KB </span>","children":null,"spread":false},{"title":"proguard-rules.pro <span style='color:#111;'> 435B </span>","children":null,"spread":false},{"title":"_BUCK <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"build_defs.bzl <span style='color:#111;'> 602B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 1018B </span>","children":null,"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"themedemo","children":[{"title":"MainApplication.java <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 345B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"res","children":[{"title":"values","children":[{"title":"styles.xml <span style='color:#111;'> 246B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 72B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 10.43KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 6.31KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 6.93KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 4.46KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 4.91KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxxhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 15.16KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 9.03KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"debug","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 368B </span>","children":null,"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"themedemo","children":[{"title":"ReactNativeFlipper.java <span style='color:#111;'> 3.19KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"gradle.properties <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 193B </span>","children":null,"spread":false}],"spread":true},{"title":"__tests__","children":[{"title":"App-test.js <span style='color:#111;'> 266B </span>","children":null,"spread":false}],"spread":true},{"title":".gitattributes <span style='color:#111;'> 16B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 183B </span>","children":null,"spread":false},{"title":".buckconfig <span style='color:#111;'> 114B </span>","children":null,"spread":false},{"title":".flowconfig <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"ThemeDemo.iml <span style='color:#111;'> 336B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 176B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 175B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 270B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'> 251B </span>","children":null,"spread":false}],"spread":false},{"title":"codeStyles","children":[{"title":"Project.xml <span style='color:#111;'> 703B </span>","children":null,"spread":false},{"title":"codeStyleConfig.xml <span style='color:#111;'> 142B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"app.json <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":".watchmanconfig <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"App.js <span style='color:#111;'> 652B </span>","children":null,"spread":false},{"title":"js","children":[{"title":"screen","children":[{"title":"MessageScreen.js <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"SchoolScreen.js <span style='color:#111;'> 331B </span>","children":null,"spread":false},{"title":"SettingsScreen.js <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"LoginScreen.js <span style='color:#111;'> 501B </span>","children":null,"spread":false},{"title":"HomeScreen.js <span style='color:#111;'> 327B </span>","children":null,"spread":false},{"title":"DetailScreen.js <span style='color:#111;'> 466B </span>","children":null,"spread":false}],"spread":false},{"title":"context","children":[{"title":"ThemeContext.js <span style='color:#111;'> 948B </span>","children":null,"spread":false}],"spread":false},{"title":"navigation","children":[{"title":"TabNav.js <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"babel.config.js <span style='color:#111;'> 77B </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false},{"title":"metro.config.js <span style='color:#111;'> 300B </span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'> 280.38KB </span>","children":null,"spread":false},{"title":".eslintrc.js <span style='color:#111;'> 74B </span>","children":null,"spread":false},{"title":".prettierrc.js <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 422.73KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明