Front end of the Slack clone application.

base-theme.js 395B

123456789101112131415
  1. 'use strict'
  2. var spin = require('./spin.js')
  3. var progressBar = require('./progress-bar.js')
  4. module.exports = {
  5. activityIndicator: function (values, theme, width) {
  6. if (values.spun == null) return
  7. return spin(theme, values.spun)
  8. },
  9. progressbar: function (values, theme, width) {
  10. if (values.completed == null) return
  11. return progressBar(theme, width, values.completed)
  12. }
  13. }