Photoshop-UI-Manager (Node.js Module)

Upload Photoshop Scripts, download Photoshop Scripts, Discussion and Support of Photoshop Scripts

Moderators: Tom, Kukurykus

User avatar
AntonioGomez
Posts: 8
Joined: Fri Jul 29, 2016 7:05 am
Location: San Jose, CA

Photoshop-UI-Manager (Node.js Module)

Post by AntonioGomez »

A node.js module that listens to the working area brightness change event and loads a designated CSS stylesheet so the running extension (custom panel) always matches any of the four shades of gray that can be set as the application user interface.

No dependencies needed.

Install:

Code: Select all

npm install photoshop-ui-manager --save
Usage:

Code: Select all


var photoshopUIManager = require('photoshop-ui-manager');

photoshopUIManager.init({
'darkGray' : 'css/dark-gray-ui.css',
'mediumGray' : 'css/medium-gray-ui.css',
'lightGray' : 'css/light-gray-ui.css',
'original' : 'css/original-ui.css'
});
Example:
https://github.com/antonio-gomez/photos ... er/example