react-theme:遵循Bootstrap方法的主题

时间:2024-05-19 21:02:32
【文件属性】:

文件名称:react-theme:遵循Bootstrap方法的主题

文件大小:12KB

文件格式:ZIP

更新时间:2024-05-19 21:02:32

react react-native JavaScript

React Native主题系统 概述 React Native主题系统将功能样式带给react-native。 它受到启发,并使用其比例尺和命名约定。 。 让我们看一下tachyons与传统样式的比较: 1.传统react-native风格: import {StyleSheet} from "react-native"; const s = StyleSheet.create({ view: { borderWidth: 1, justifyContent: "flex-start", padding: MAGIC_PIXEL_VALUE }, text: { color: "white", textAlign: "center" } }) <View style={[s.view]} <Text style={[s.t


【文件预览】:
react-theme-master
----README.md(9KB)
----util.js(1KB)
----package.json(380B)
----index.js(8KB)
----styles()
--------fontWeights.js(281B)
--------heights.js(540B)
--------spacing.js(560B)
--------borders.js(720B)
--------absolute.js(565B)
--------tracked.js(187B)
--------typeScale.js(230B)
--------lineHeight.js(172B)
--------opacity.js(306B)
--------images.js(162B)
--------flexbox.js(866B)
--------text.js(201B)
--------widths.js(534B)

网友评论