nativescript-theme-core
Advanced tools
Changelog
2.0.14 beta (2019-09-03)
<a name="2.0.13 beta"></a>
Changelog
2.0.12 beta (2019-09-03)
import Theme from 'nativescript-theme-core';
Theme.toggleMode(); // to toggle between the modes
// or
Theme.toggleMode(true); // to ensure dark mode
Theme.toggleMode(false); // to ensure light mode
<a name="2.0.11 beta"></a>
Changelog
2.0.11 beta (2019-09-01)
<a name="2.0.10 beta"></a>
Changelog
2.0.10 beta (2019-09-01)
<a name="2.0.9 beta"></a>
Changelog
2.0.9 beta (2019-08-29)
Add small API for setMode. Usage:
import Theme from "nativescript-theme-core";
Theme.setMode(Theme.Dark); // Or Theme.Light
It would set light or dark mode even before the app is initialized.
<a name="2.0.8 beta"></a>
Changelog
2.0.8 beta (2019-08-28)
<a name="2.0.7 beta"></a>
Changelog
2.0.7 beta (2019-08-28)
<a name="2.0.6 beta"></a>
Changelog
2.0.6 beta (2019-08-22)
<a name="2.0.5 beta"></a>
Changelog
2.0.5 beta (2019-07-30)
<a name="2.0.4 beta"></a>