Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nativescript-theme-core

Package Overview
Dependencies
Maintainers
3
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-theme-core - npm Package Versions

13
6

2.0.14

Diff

Changelog

Source

2.0.14 beta (2019-09-03)

Features

  • Add typings to make Angular projects in Playground happy

Fixes

  • Fix setMode resets the classes set manually on root

<a name="2.0.13 beta"></a>

tns-bot
published 2.0.13 •

Changelog

Source

2.0.13 beta (2019-09-03)

Fixes

  • Workaround the folder issue in Playground

<a name="2.0.12 beta"></a>

tns-bot
published 2.0.12 •

Changelog

Source

2.0.12 beta (2019-09-03)

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

<a name="2.0.11 beta"></a>

tns-bot
published 2.0.11 •

Changelog

Source

2.0.11 beta (2019-09-01)

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

<a name="2.0.10 beta"></a>

tns-bot
published 2.0.10 •

Changelog

Source

2.0.10 beta (2019-09-01)

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

<a name="2.0.9 beta"></a>

tns-bot
published 2.0.9 •

Changelog

Source

2.0.9 beta (2019-08-29)

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

<a name="2.0.8 beta"></a>

tns-bot
published 2.0.8 •

Changelog

Source

2.0.8 beta (2019-08-28)

Fixes

  • Remove folder imports while the Playground has issues with them

<a name="2.0.7 beta"></a>

tns-bot
published 2.0.7 •

Changelog

Source

2.0.7 beta (2019-08-28)

Fixes

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

<a name="2.0.6 beta"></a>

tns-bot
published 2.0.6 •

Changelog

Source

2.0.6 beta (2019-08-22)

Features

  • Add styling and demo for nativescript-ui-autocomplete

Maintenance

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

<a name="2.0.5 beta"></a>

tns-bot
published 2.0.5 •

Changelog

Source

2.0.5 beta (2019-07-30)

Maintenance

  • Remove PostCSS loader, as it doesn't do anything at this point
  • Fix the repo URL

<a name="2.0.4 beta"></a>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc