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

@totvs/mobile-theme

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@totvs/mobile-theme

Totvs Mobile Theme

  • 12.1.18-alpha.18
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

THF Mobile

Instale o Ionic e o Cordova

$ npm install -g ionic
$ npm install -g cordova

Nota: Para usuários linux utilizar sudo para instalações globais (-g)

Crie um novo projeto utilizando o Ionic

$ ionic start "myApp" blank

Nota: myApp - nome do diretório que irá armazenar os aquivos do aplicativo Nota: blank - template utilizado para criação do aplicativo (para ver outros tamplates: ionic start template --list)

Instalando o package @totvs/mobile-theme

$ npm install --save @totvs/mobile-theme

Aplicando o Guia de Estilo da TOTVS

Navegue até o diretório myApp/src/theme e abra o arquivo variables.scss

Remova as cores default do Ionic, basta deletar o vetor:

$colors: (
  primary:    #488aff ,
  secondary:  #32db64 ,
  danger:     #f53d3d ,
  light:      #f4f4f4 ,
  dark:       #222
);

Altere o seguinte trecho:

@import "ionic.theme.default"

para

@import "node_modules/@totvs/mobile-theme/totvs.mobile.theme"

Rodando sua app no browser

Para testar seu aplicativo de uma maneira simples e rápida, recomendamos utilizar o seguinte comando:

$ ionic serve --lab

Keywords

FAQs

Package last updated on 08 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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