Releases: NativeScript/theme
Releases · NativeScript/theme
2.0.15 beta
Fixes
- Fix TextField borders
- Compat fixes
2.0.14
2.0.13 beta
Fixes
- Workaround the folder issue in Playground
2.0.12 beta
Features
- Add scss/variables folder with SCSS skin variables for easier import
- Add variable map for generic variables, accessible with const()
- Add toggleMode to the API with optional boolean state enforcer, used like this:
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
Fixes
- Fix dark mode for Switches and several other components
- Fix ActionBar Label title background, fix dark buttons
- Fix the colorize function to produce better organized code, to work with consts and to properly
prepend .ns-dark on root classes
2.0.11 beta
Features
- Add JS transpilation to work in non-transpiling projects and Playground
Fixes
- Fix setMode in Playground
- Move bootstrap-based skin outside of theme-core to make the theme importable in Playground
2.0.10 beta
Features
- Revise the Button styling, now all buttons have elevation in Android
Fixes
- Fix the missing root view crash
- Only load root class modifier if no support in core modules
- Fix the jumping iOS Switch
- Fix the Switch styling
2.0.9 beta
Features
-
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.
Fixes
- Simplify ClassList, use Set
- Fix dark mode for TabView, BottomNavigation and Tabs if they are root views
2.0.8 beta
Fixes
- Remove folder imports while the Playground has issues with them
2.0.7 beta
Fixes
- Fix headings
- Fix the RadAutoCompleteTextView iOS TokenClearButton
- Fix compat .btn styling, other compat fixes
2.0.6 beta
Features
- Add styling and demo for nativescript-ui-autocomplete
Maintenance
- Fix the bootstrap links in the bootstrap-based theme (Playground compatibility)
- Update dependencies