Leverege Platform

Leverege Platform

  • Overview
  • JSDocs
  • REST API
  • Help

›UI

Platform Overview

  • Overview
  • Architecture
  • Core Concepts

Guides

  • Platform Setup
  • Building a Project
  • API UI

Services

  • API Server
  • Message Processor
  • Transponder
  • Reason
  • Scheduler
  • Messenger
  • Emailer
  • Rest Server
  • DB Curator

API

  • API
  • Interface
  • Project
  • System
  • Device
  • Blueprint
  • Collection
  • Child
  • History
  • Scenario
  • Script
  • Template
  • Timer
  • User
  • Users

Server Libraries

  • Log
  • Messages
  • Message Queue
  • Cache
  • Lock
  • Limit
  • Cluster Manager
  • Error
  • Exit

Utilities

  • Promise
  • Data Store
  • Factory
  • Path
  • Reasoner
  • Object Util
  • Array Util
  • String Util
  • Base62 Util
  • Value Cache
  • Validator
  • Lol

UI

  • API Redux
  • UI Builder
  • UI Elements
  • UI Redux
  • UI Mapbox Elements
  • UI Active Theme
  • UI Color Elements
  • UI Linear View Elements

UI Active Theme

The UIActiveTheme is a theme at gets its values from UI Builder's firebase database.

Installation

npm install --save-dev @leverege/ui-active-library

Setup

import { Theme } from '@leverege/ui-elements'
import ActiveTheme from '@leverege/ui-active-theme'
import AppTheme from './theme' // this is the normal, exported theme.

let theme 
if ( process.env.NODE_ENV === 'development' ) {
  theme = new ActiveTheme( { altTheme : AppTheme, appearanceProjectId : <UUID> } )
} else {
  theme = AppTheme
}

...

<Theme theme={theme}>
  <MyApp />
</Theme>

← UI Mapbox ElementsUI Color Elements →
  • Installation
  • Setup
Leverege Platform
Docs
Overview
Connect
FacebookLinkedInTwitter
Facebook Open Source