Skip to content

Releases: NativeScript/theme

2.0.15 beta

03 Sep 21:29
Compare
Choose a tag to compare
2.0.15 beta Pre-release
Pre-release

Fixes

  • Fix TextField borders
  • Compat fixes

2.0.14

03 Sep 14:48
Compare
Choose a tag to compare
2.0.14 Pre-release
Pre-release

Features

  • Add typings to make Angular projects in Playground happy

Fixes

  • Fix setMode resets the classes set manually on root

2.0.13 beta

03 Sep 13:15
Compare
Choose a tag to compare
2.0.13 beta Pre-release
Pre-release

Fixes

  • Workaround the folder issue in Playground

2.0.12 beta

03 Sep 12:32
Compare
Choose a tag to compare
2.0.12 beta Pre-release
Pre-release

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

01 Sep 14:32
Compare
Choose a tag to compare
2.0.11 beta Pre-release
Pre-release

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

01 Sep 07:06
Compare
Choose a tag to compare
2.0.10 beta Pre-release
Pre-release

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

29 Aug 14:12
Compare
Choose a tag to compare
2.0.9 beta Pre-release
Pre-release

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

28 Aug 09:43
Compare
Choose a tag to compare
2.0.8 beta Pre-release
Pre-release

Fixes

  • Remove folder imports while the Playground has issues with them

2.0.7 beta

28 Aug 08:37
Compare
Choose a tag to compare
2.0.7 beta Pre-release
Pre-release

Fixes

  • Fix headings
  • Fix the RadAutoCompleteTextView iOS TokenClearButton
  • Fix compat .btn styling, other compat fixes

2.0.6 beta

28 Aug 08:36
Compare
Choose a tag to compare
2.0.6 beta Pre-release
Pre-release

Features

  • Add styling and demo for nativescript-ui-autocomplete

Maintenance

  • Fix the bootstrap links in the bootstrap-based theme (Playground compatibility)
  • Update dependencies