X7ROOT File Manager
Current Path:
/lib/node_modules/npm/node_modules/gauge
lib
/
node_modules
/
npm
/
node_modules
/
gauge
/
π
..
π
CHANGELOG.md
(6.23 KB)
π
LICENSE
(751 B)
π
README.md
(14.72 KB)
π
base-theme.js
(395 B)
π
error.js
(616 B)
π
has-color.js
(292 B)
π
index.js
(6.83 KB)
π
node_modules
π
package.json
(2.13 KB)
π
plumbing.js
(1.24 KB)
π
process.js
(89 B)
π
progress-bar.js
(998 B)
π
render-template.js
(5.6 KB)
π
set-immediate.js
(139 B)
π
set-interval.js
(93 B)
π
spin.js
(105 B)
π
template-item.js
(1.86 KB)
π
theme-set.js
(3.61 KB)
π
themes.js
(1.51 KB)
π
wide-truncate.js
(828 B)
Editing: themes.js
'use strict' var consoleControl = require('console-control-strings') var ThemeSet = require('./theme-set.js') var themes = module.exports = new ThemeSet() themes.addTheme('ASCII', { preProgressbar: '[', postProgressbar: ']', progressbarTheme: { complete: '#', remaining: '.' }, activityIndicatorTheme: '-\\|/', preSubsection: '>' }) themes.addTheme('colorASCII', themes.getTheme('ASCII'), { progressbarTheme: { preComplete: consoleControl.color('inverse'), complete: ' ', postComplete: consoleControl.color('stopInverse'), preRemaining: consoleControl.color('brightBlack'), remaining: '.', postRemaining: consoleControl.color('reset') } }) themes.addTheme('brailleSpinner', { preProgressbar: 'βΈ¨', postProgressbar: 'βΈ©', progressbarTheme: { complete: 'β', remaining: 'β ' }, activityIndicatorTheme: 'β β β Ήβ Έβ Όβ ΄β ¦β §β β ', preSubsection: '>' }) themes.addTheme('colorBrailleSpinner', themes.getTheme('brailleSpinner'), { progressbarTheme: { preComplete: consoleControl.color('inverse'), complete: ' ', postComplete: consoleControl.color('stopInverse'), preRemaining: consoleControl.color('brightBlack'), remaining: 'β', postRemaining: consoleControl.color('reset') } }) themes.setDefault({}, 'ASCII') themes.setDefault({hasColor: true}, 'colorASCII') themes.setDefault({platform: 'darwin', hasUnicode: true}, 'brailleSpinner') themes.setDefault({platform: 'darwin', hasUnicode: true, hasColor: true}, 'colorBrailleSpinner')
Upload File
Create Folder