Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

symbols.js 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. 'use strict';
  2. const isWindows = process.platform === 'win32';
  3. const colors = require('ansi-colors');
  4. const utils = require('./utils');
  5. const symbols = {
  6. ...colors.symbols,
  7. upDownDoubleArrow: '⇕',
  8. upDownDoubleArrow2: '⬍',
  9. upDownArrow: '↕',
  10. asterisk: '*',
  11. asterism: '⁂',
  12. bulletWhite: '◦',
  13. electricArrow: '⌁',
  14. ellipsisLarge: '⋯',
  15. ellipsisSmall: '…',
  16. fullBlock: '█',
  17. identicalTo: '≡',
  18. indicator: colors.symbols.check,
  19. leftAngle: '‹',
  20. mark: '※',
  21. minus: '−',
  22. multiplication: '×',
  23. obelus: '÷',
  24. percent: '%',
  25. pilcrow: '¶',
  26. pilcrow2: '❡',
  27. pencilUpRight: '✐',
  28. pencilDownRight: '✎',
  29. pencilRight: '✏',
  30. plus: '+',
  31. plusMinus: '±',
  32. pointRight: '☞',
  33. rightAngle: '›',
  34. section: '§',
  35. hexagon: { off: '⬡', on: '⬢', disabled: '⬢' },
  36. ballot: { on: '☑', off: '☐', disabled: '☒' },
  37. stars: { on: '★', off: '☆', disabled: '☆' },
  38. folder: { on: '▼', off: '▶', disabled: '▶' },
  39. prefix: {
  40. pending: colors.symbols.question,
  41. submitted: colors.symbols.check,
  42. cancelled: colors.symbols.cross
  43. },
  44. separator: {
  45. pending: colors.symbols.pointerSmall,
  46. submitted: colors.symbols.middot,
  47. cancelled: colors.symbols.middot
  48. },
  49. radio: {
  50. off: isWindows ? '( )' : '◯',
  51. on: isWindows ? '(*)' : '◉',
  52. disabled: isWindows ? '(|)' : 'Ⓘ'
  53. },
  54. numbers: ['⓪', '①', '②', '③', '④', '⑤', '⑥', '⑦', '⑧', '⑨', '⑩', '⑪', '⑫', '⑬', '⑭', '⑮', '⑯', '⑰', '⑱', '⑲', '⑳', '㉑', '㉒', '㉓', '㉔', '㉕', '㉖', '㉗', '㉘', '㉙', '㉚', '㉛', '㉜', '㉝', '㉞', '㉟', '㊱', '㊲', '㊳', '㊴', '㊵', '㊶', '㊷', '㊸', '㊹', '㊺', '㊻', '㊼', '㊽', '㊾', '㊿']
  55. };
  56. symbols.merge = options => {
  57. let result = utils.merge({}, colors.symbols, symbols, options.symbols);
  58. delete result.merge;
  59. return result;
  60. };
  61. module.exports = symbols;