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