Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///////////////////////////
- ///// Prompt /////
- ///////////////////////////
- const PromptValues = {
- text: 'Prompt Text', // Prompt text. Max width of the prompt is 200rem.
- color: 'white', // Text color. '#hex', valid color ('white'), 'rgba(0, 0, 0, 1)', etc. MUST BE A STRING.
- background: '#1e88e5', // Background color. '#hex', valid color ('white'), 'rgba(0, 0, 0, 1)', etc. MUST BE A STRING.
- };
- ///////////////////////////
- ///// Progbar /////
- ///////////////////////////
- const ProgbarValues = {
- time: 5000, // Time till completion in ms. Default: 5000
- text: 'Finding some bitches...', // Text to show on the progbar.
- type: 1, // 1 or 2 ONLY. See attached pics.
- // Optional. If not included, it will default to below.
- color: {
- text: 'rgb(154, 154, 154)', // Text color.
- fill: '#1e88e5', // Progress fill color.
- },
- };
- ///////////////////////////
- ///// Notification /////
- ///////////////////////////
- const NotificationValues = {
- // 'success': green, 'error': red, 'inform': blue, 'custom': custom
- style: 'success', // Use 'custom' to set message background
- duration: 5000, // Notification duration in ms.
- message: 'You just bought a phone!', // Notification message.
- color: 'white', // Text color. White or Black ONLY. Will default to white if not present.
- background: '#1e88e5', // [CAN ONLY BE USED WITH 'custom' style.] '#hex', valid color ('white'), 'rgba(0, 0, 0, 1)', etc. MUST BE A STRING.
- // Optional. If not present, will default to below.
- position: {
- x: 'right',
- y: 'top',
- },
- // Optional. If not present, no icon will show.
- icon: {
- name: 'fas fa-globe', // Font Awesome Icons.
- color: 'white', // Icon color. White or Black ONLY. Will default to white if not present.
- },
- };
Add Comment
Please, Sign In to add comment