Socket
Book a DemoInstallSign in
Socket

@enact/template-theme

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enact/template-theme

A template generator for Enact theme libraries.

latest
Source
npmnpm
Version
4.8.0
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

@enact/template-theme

A template generator for @enact/cli to create Enact-based theme libraries.

Installation

The Enact CLI itself can install this via NPM or git URI.

enact template install @enact/template-theme

Usage

Once installed, you can specify the theme template in the creation command:

enact create -t theme uranium

This will create a new copy of the starter theme in the uranium directory. All references to the original theme's name, LESS variables, etc. will be updated to the appropriate values for uranium.

The starter theme comes with one skin, default-skin, and this can be updated on creation as well by passing the --skin flag:

enact create -t theme uranium --skin proton

Either way, the new theme is ready to be included as a dependency for your app. Its aptly named README contains other valuable information on modifying the theme, so be sure to give it a look.

FAQs

Package last updated on 20 Feb 2024

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