How to use the nexusui.colors function in nexusui

To help you get started, we’ve selected a few nexusui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SonyCSLParis / NONOTO / src / renderer / nexusColored.ts View on Github external
// Simple module to store and share the color parameters for Nexus UI

import * as Nexus from 'nexusui'

// TODO: use CSS classes!
// this will allow to share the colors with non-Nexus UI elements, e.g. icons

Nexus.colors.accent = 'lightpink';  // '#f40081';  //  light pink
Nexus.colors.fill = '#e5f5fd';  // light blue // '#f0f2ff';  // lilac triadic to '#

export = Nexus
github SonyCSLParis / NONOTO / unlock_voices.ts View on Github external
let UrlTimerangeChange = 'timerange-change';
import * as Nexus from 'nexusui';
import * as $ from "jquery";


import './styles/osmd.scss'
import './styles/main.scss'

Nexus.colors.accent = '#ffb6c1';  // '#f40081';  //  light pink
Nexus.colors.fill = '#e5f5fd';  // light blue // '#f0f2ff';  // lilac triadic to '#ffb6c1'

function set_font_size (nex_but, size) {
  nex_but.textElement.style.fontSize = size;
};

export function make_voices_lockets() {
      let voiceBar: HTMLDivElement = document.createElement('div')
      voiceBar.id = 'voice-controls';
      document.body.appendChild(voiceBar);

      let no_voice_locked = document.createElement('div')
      no_voice_locked.id = 'no_voice_locked';
      voiceBar.appendChild(no_voice_locked);
      var no_voice_button = new Nexus.TextButton('#no_voice_locked',{
          'size': [60, 40],
github SonyCSLParis / NONOTO / unlock_voices.ts View on Github external
let UrlTimerangeChange = 'timerange-change';
import * as Nexus from 'nexusui';
import * as $ from "jquery";


import './styles/osmd.scss'
import './styles/main.scss'

Nexus.colors.accent = '#ffb6c1';  // '#f40081';  //  light pink
Nexus.colors.fill = '#e5f5fd';  // light blue // '#f0f2ff';  // lilac triadic to '#ffb6c1'

function set_font_size (nex_but, size) {
  nex_but.textElement.style.fontSize = size;
};

export function make_voices_lockets() {
      let voiceBar: HTMLDivElement = document.createElement('div')
      voiceBar.id = 'voice-controls';
      document.body.appendChild(voiceBar);

      let no_voice_locked = document.createElement('div')
      no_voice_locked.id = 'no_voice_locked';
      voiceBar.appendChild(no_voice_locked);
      var no_voice_button = new Nexus.TextButton('#no_voice_locked',{
          'size': [60, 40],
          'state': false,
github SonyCSLParis / NONOTO / src / renderer / nexusColored.ts View on Github external
// Simple module to store and share the color parameters for Nexus UI

import * as Nexus from 'nexusui'

// TODO: use CSS classes!
// this will allow to share the colors with non-Nexus UI elements, e.g. icons

Nexus.colors.accent = 'lightpink';  // '#f40081';  //  light pink
Nexus.colors.fill = '#e5f5fd';  // light blue // '#f0f2ff';  // lilac triadic to '#

export = Nexus