- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Added Typescript support
- Minor changes
- Allow overriding of default typescale: https://github.com/tachyons-css/react-native-style-tachyons#typescale #77
- Add support for render-functions: #79
- Optimized rendering of subtrees: #81
- updated dependencies
- Fixed #65 (Line-Height) calculation which is a breaking change, there new major-version.
- Add
textDecorationLine
styles. Thank to @sbycrosz - Updated dependencies
- Add
fontRem
option for more flexibility on phone-screens. Thank to @peacechen
- Allow the
cls
property-name to be customized to something else. Thanks to @artificis
- bugfix for min-height
- updated dependencies
- added support for
tint-color
. Thanks to @mordaha
- updated dependencies
- upgraded dependencies
- removed yarn.lock
- added npm-5
package-lock.json
- added
line-height
andletter-spacing
options. Thanks to @luangch
- removed debug dependency, as it keeps making problems.
- upgraded readme
- upgraded dependencies
- added
absolute
styles
- bugfix
-
Wrapper can take functions now. Thanks to @stefnnn for PR#31.
const wrapped = NativeTachyons.wrap(() => <Text cls="b">Hi there!</Text>).
- updated dependencies
- added additional step for margins, paddings, heights and widths for
32rem
- added additional step
br5
- updated dependencies, fix #28
- Bugfix
- improved wrapper speed
- Initializing is now twice as fast.
- Dark/light color variants aren't created anymore, please specify them directly in the palette:
palette: {
light_green: "#00FF01"
}
Opacity-variants (e.g. bg-green-10
) are still available.
- The styles object contains only the underscore names, so
styles.flx_i
works, butstyles["flx-i"]
doesn't. The class-wrapping isn't changed, it's syntax is stillcls="flx-i"
. - The raw values of colors aren't exported anymore.
- added the
br
values to the exported sizes - added
fonts
option to set font-families
- updated readme
- Allow ad-hoc colors to be specified like
bg-#ffab12
- generate opacity variants for colors:
bg-green-20
and so on.
- access generated sizes via
import { sizes } from "react-native-style-tachyons"
- access generated colors via
import { colors } from "react-native-style-tachyons"
- updated readme
- specify
lighten: false
ordarken: false
to skip color variants
- support
minHeight
andmaxHeight
on the scale
- updated readme
- updated links
- updated keywords
- renamed
absolute--fill
toabsolute-fill
and explained the double hypens in the Readme. - removed
relative
,flx-col
,flx-nowrap
,ais
andjcfs
as those are default-values, and there's no inheritance in RN. - added
flx-row-reverse
andflx-col-reverse
- updated readme and dependencies
- moved package to tachyons-css
- renamed package to
react-native-style-tachyons
- all styles with hypened in their names now have version with underscores
- updated dependencies
- added
br--left
andbr--right
, which were accidentally omitted.
- Bugfixes
- Translation performance improved by a factor of 2
- removed
h-100
andw-100
. I consider this a bugfix under semver, since usingDimensions
is buggy on Android #3219. You can get the same behaviour withflx-i
andabsolute--fill
.
- added
absolute--fill
for easy full-screen views
- added
h-100
andw-100
for 100% height/width of window, needsDimensions
to be passed intoNativeTachyons.build()
- support opacities
- set react-native peer-dependency to 0.x
- support border-radii properties
- added more tests and a bugfix when merging existing styles
- added more properties and references
- fixed badge
- initial version