|
|
@ -13,7 +13,7 @@ export const FONTS = [
|
|
|
|
{ id: 'Monoid', name: 'Monoid' },
|
|
|
|
{ id: 'Monoid', name: 'Monoid' },
|
|
|
|
{ id: 'Source Code Pro', name: 'Source Code Pro' },
|
|
|
|
{ id: 'Source Code Pro', name: 'Source Code Pro' },
|
|
|
|
{ id: 'Space Mono', name: 'Space Mono' },
|
|
|
|
{ id: 'Space Mono', name: 'Space Mono' },
|
|
|
|
{ id: 'Ubuntu Mono', name: 'Ubuntu Mono' }
|
|
|
|
{ id: 'Ubuntu Mono', name: 'Ubuntu Mono' },
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
export const HIGHLIGHT_KEYS = [
|
|
|
|
export const HIGHLIGHT_KEYS = [
|
|
|
@ -28,7 +28,7 @@ export const HIGHLIGHT_KEYS = [
|
|
|
|
'number',
|
|
|
|
'number',
|
|
|
|
'string',
|
|
|
|
'string',
|
|
|
|
'comment',
|
|
|
|
'comment',
|
|
|
|
'meta'
|
|
|
|
'meta',
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
export const THEMES = [
|
|
|
|
export const THEMES = [
|
|
|
@ -47,8 +47,8 @@ export const THEMES = [
|
|
|
|
number: '#a16a94',
|
|
|
|
number: '#a16a94',
|
|
|
|
string: '#fded02',
|
|
|
|
string: '#fded02',
|
|
|
|
comment: '#cdab53',
|
|
|
|
comment: '#cdab53',
|
|
|
|
meta: '#555'
|
|
|
|
meta: '#555',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'a11y-dark',
|
|
|
|
id: 'a11y-dark',
|
|
|
@ -66,8 +66,8 @@ export const THEMES = [
|
|
|
|
string: '#ffd700',
|
|
|
|
string: '#ffd700',
|
|
|
|
comment: '#d4d0ab',
|
|
|
|
comment: '#d4d0ab',
|
|
|
|
meta: '#d4d0ab',
|
|
|
|
meta: '#d4d0ab',
|
|
|
|
tag: '#dcc6e0'
|
|
|
|
tag: '#dcc6e0',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'blackboard',
|
|
|
|
id: 'blackboard',
|
|
|
@ -85,8 +85,8 @@ export const THEMES = [
|
|
|
|
string: '#61CE3C',
|
|
|
|
string: '#61CE3C',
|
|
|
|
comment: '#AEAEAE',
|
|
|
|
comment: '#AEAEAE',
|
|
|
|
meta: '#D8FA3C',
|
|
|
|
meta: '#D8FA3C',
|
|
|
|
tag: '#8DA6CE'
|
|
|
|
tag: '#8DA6CE',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'base16-dark',
|
|
|
|
id: 'base16-dark',
|
|
|
@ -104,8 +104,8 @@ export const THEMES = [
|
|
|
|
string: '#f4bf75',
|
|
|
|
string: '#f4bf75',
|
|
|
|
comment: '#8f5536',
|
|
|
|
comment: '#8f5536',
|
|
|
|
meta: '#555',
|
|
|
|
meta: '#555',
|
|
|
|
tag: '#ac4142'
|
|
|
|
tag: '#ac4142',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'base16-light',
|
|
|
|
id: 'base16-light',
|
|
|
@ -124,8 +124,8 @@ export const THEMES = [
|
|
|
|
string: '#f4bf75',
|
|
|
|
string: '#f4bf75',
|
|
|
|
comment: '#8f5536',
|
|
|
|
comment: '#8f5536',
|
|
|
|
meta: '#555',
|
|
|
|
meta: '#555',
|
|
|
|
tag: '#ac4142'
|
|
|
|
tag: '#ac4142',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'cobalt',
|
|
|
|
id: 'cobalt',
|
|
|
@ -143,8 +143,8 @@ export const THEMES = [
|
|
|
|
string: '#3ad900',
|
|
|
|
string: '#3ad900',
|
|
|
|
comment: '#08f',
|
|
|
|
comment: '#08f',
|
|
|
|
meta: '#ff9d00',
|
|
|
|
meta: '#ff9d00',
|
|
|
|
tag: '#9effff'
|
|
|
|
tag: '#9effff',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'dracula',
|
|
|
|
id: 'dracula',
|
|
|
@ -162,8 +162,8 @@ export const THEMES = [
|
|
|
|
string: '#f1fa8c',
|
|
|
|
string: '#f1fa8c',
|
|
|
|
comment: '#6272a4',
|
|
|
|
comment: '#6272a4',
|
|
|
|
meta: '#f8f8f2',
|
|
|
|
meta: '#f8f8f2',
|
|
|
|
tag: '#ff79c6'
|
|
|
|
tag: '#ff79c6',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'duotone-dark',
|
|
|
|
id: 'duotone-dark',
|
|
|
@ -181,8 +181,8 @@ export const THEMES = [
|
|
|
|
string: '#ffb870',
|
|
|
|
string: '#ffb870',
|
|
|
|
comment: '#6c6783',
|
|
|
|
comment: '#6c6783',
|
|
|
|
meta: '#555',
|
|
|
|
meta: '#555',
|
|
|
|
tag: '#eeebff'
|
|
|
|
tag: '#eeebff',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'hopscotch',
|
|
|
|
id: 'hopscotch',
|
|
|
@ -200,8 +200,8 @@ export const THEMES = [
|
|
|
|
string: '#fdcc59',
|
|
|
|
string: '#fdcc59',
|
|
|
|
comment: '#b33508',
|
|
|
|
comment: '#b33508',
|
|
|
|
meta: '#555',
|
|
|
|
meta: '#555',
|
|
|
|
tag: '#dd464c'
|
|
|
|
tag: '#dd464c',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'lucario',
|
|
|
|
id: 'lucario',
|
|
|
@ -219,8 +219,8 @@ export const THEMES = [
|
|
|
|
string: '#E6DB74',
|
|
|
|
string: '#E6DB74',
|
|
|
|
comment: '#5c98cd',
|
|
|
|
comment: '#5c98cd',
|
|
|
|
meta: '#f8f8f2',
|
|
|
|
meta: '#f8f8f2',
|
|
|
|
tag: '#ff6541'
|
|
|
|
tag: '#ff6541',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'material',
|
|
|
|
id: 'material',
|
|
|
@ -238,8 +238,8 @@ export const THEMES = [
|
|
|
|
string: '#C3E88D',
|
|
|
|
string: '#C3E88D',
|
|
|
|
comment: '#546E7A',
|
|
|
|
comment: '#546E7A',
|
|
|
|
meta: '#80CBC4',
|
|
|
|
meta: '#80CBC4',
|
|
|
|
tag: 'rgba(255, 83, 112, 1)'
|
|
|
|
tag: 'rgba(255, 83, 112, 1)',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'monokai',
|
|
|
|
id: 'monokai',
|
|
|
@ -257,8 +257,8 @@ export const THEMES = [
|
|
|
|
string: '#e6db74',
|
|
|
|
string: '#e6db74',
|
|
|
|
comment: '#75715e',
|
|
|
|
comment: '#75715e',
|
|
|
|
meta: '#555',
|
|
|
|
meta: '#555',
|
|
|
|
tag: '#bc6283'
|
|
|
|
tag: '#bc6283',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'night-owl',
|
|
|
|
id: 'night-owl',
|
|
|
@ -275,8 +275,8 @@ export const THEMES = [
|
|
|
|
number: '#F78C6C',
|
|
|
|
number: '#F78C6C',
|
|
|
|
string: '#ecc48d',
|
|
|
|
string: '#ecc48d',
|
|
|
|
comment: '#5c6370',
|
|
|
|
comment: '#5c6370',
|
|
|
|
meta: '#7fdbca'
|
|
|
|
meta: '#7fdbca',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'nord',
|
|
|
|
id: 'nord',
|
|
|
@ -294,8 +294,8 @@ export const THEMES = [
|
|
|
|
string: '#A3BE8C',
|
|
|
|
string: '#A3BE8C',
|
|
|
|
comment: '#4C566A',
|
|
|
|
comment: '#4C566A',
|
|
|
|
meta: '#81A1C1',
|
|
|
|
meta: '#81A1C1',
|
|
|
|
tag: '#81A1C1'
|
|
|
|
tag: '#81A1C1',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'oceanic-next',
|
|
|
|
id: 'oceanic-next',
|
|
|
@ -313,8 +313,8 @@ export const THEMES = [
|
|
|
|
string: '#99C794',
|
|
|
|
string: '#99C794',
|
|
|
|
comment: '#65737E',
|
|
|
|
comment: '#65737E',
|
|
|
|
meta: '#555',
|
|
|
|
meta: '#555',
|
|
|
|
tag: '#C594C5'
|
|
|
|
tag: '#C594C5',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'one-light',
|
|
|
|
id: 'one-light',
|
|
|
@ -333,8 +333,8 @@ export const THEMES = [
|
|
|
|
string: '#50a14f',
|
|
|
|
string: '#50a14f',
|
|
|
|
comment: '#a0a1a7',
|
|
|
|
comment: '#a0a1a7',
|
|
|
|
meta: '#383a42',
|
|
|
|
meta: '#383a42',
|
|
|
|
tag: '#e45649'
|
|
|
|
tag: '#e45649',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'one-dark',
|
|
|
|
id: 'one-dark',
|
|
|
@ -352,8 +352,8 @@ export const THEMES = [
|
|
|
|
string: '#98c379',
|
|
|
|
string: '#98c379',
|
|
|
|
comment: '#5c6370',
|
|
|
|
comment: '#5c6370',
|
|
|
|
meta: '#abb2bf',
|
|
|
|
meta: '#abb2bf',
|
|
|
|
tag: '#e06c75'
|
|
|
|
tag: '#e06c75',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'panda-syntax',
|
|
|
|
id: 'panda-syntax',
|
|
|
@ -371,8 +371,8 @@ export const THEMES = [
|
|
|
|
string: '#19F9D8',
|
|
|
|
string: '#19F9D8',
|
|
|
|
comment: '#676B79',
|
|
|
|
comment: '#676B79',
|
|
|
|
meta: '#b084eb',
|
|
|
|
meta: '#b084eb',
|
|
|
|
tag: '#ff2c6d'
|
|
|
|
tag: '#ff2c6d',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'paraiso-dark',
|
|
|
|
id: 'paraiso-dark',
|
|
|
@ -390,8 +390,8 @@ export const THEMES = [
|
|
|
|
string: '#fec418',
|
|
|
|
string: '#fec418',
|
|
|
|
comment: '#e96ba8',
|
|
|
|
comment: '#e96ba8',
|
|
|
|
meta: '#555',
|
|
|
|
meta: '#555',
|
|
|
|
tag: '#ef6155'
|
|
|
|
tag: '#ef6155',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'seti',
|
|
|
|
id: 'seti',
|
|
|
@ -409,8 +409,8 @@ export const THEMES = [
|
|
|
|
string: '#55b5db',
|
|
|
|
string: '#55b5db',
|
|
|
|
comment: '#41535b',
|
|
|
|
comment: '#41535b',
|
|
|
|
meta: '#55b5db',
|
|
|
|
meta: '#55b5db',
|
|
|
|
tag: '#55b5db'
|
|
|
|
tag: '#55b5db',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'shades-of-purple',
|
|
|
|
id: 'shades-of-purple',
|
|
|
@ -428,8 +428,8 @@ export const THEMES = [
|
|
|
|
string: '#A5FF90',
|
|
|
|
string: '#A5FF90',
|
|
|
|
comment: '#B362FF',
|
|
|
|
comment: '#B362FF',
|
|
|
|
meta: '#FF9D00',
|
|
|
|
meta: '#FF9D00',
|
|
|
|
tag: '#9EFFFF'
|
|
|
|
tag: '#9EFFFF',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'solarized dark',
|
|
|
|
id: 'solarized dark',
|
|
|
@ -448,8 +448,8 @@ export const THEMES = [
|
|
|
|
string: '#859900',
|
|
|
|
string: '#859900',
|
|
|
|
comment: '#586e75',
|
|
|
|
comment: '#586e75',
|
|
|
|
meta: '#859900',
|
|
|
|
meta: '#859900',
|
|
|
|
tag: '#93a1a1'
|
|
|
|
tag: '#93a1a1',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'solarized light',
|
|
|
|
id: 'solarized light',
|
|
|
@ -469,8 +469,8 @@ export const THEMES = [
|
|
|
|
string: '#859900',
|
|
|
|
string: '#859900',
|
|
|
|
comment: '#586e75',
|
|
|
|
comment: '#586e75',
|
|
|
|
meta: '#859900',
|
|
|
|
meta: '#859900',
|
|
|
|
tag: '#93a1a1'
|
|
|
|
tag: '#93a1a1',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'synthwave-84',
|
|
|
|
id: 'synthwave-84',
|
|
|
@ -488,8 +488,8 @@ export const THEMES = [
|
|
|
|
string: '#ff8b39',
|
|
|
|
string: '#ff8b39',
|
|
|
|
comment: '#6d77b3',
|
|
|
|
comment: '#6d77b3',
|
|
|
|
meta: '#ff8b39',
|
|
|
|
meta: '#ff8b39',
|
|
|
|
tag: '#f92aad'
|
|
|
|
tag: '#f92aad',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'twilight',
|
|
|
|
id: 'twilight',
|
|
|
@ -507,8 +507,8 @@ export const THEMES = [
|
|
|
|
string: '#8f9d6a',
|
|
|
|
string: '#8f9d6a',
|
|
|
|
comment: '#777',
|
|
|
|
comment: '#777',
|
|
|
|
meta: '#f7f7f7',
|
|
|
|
meta: '#f7f7f7',
|
|
|
|
tag: '#997643'
|
|
|
|
tag: '#997643',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'verminal',
|
|
|
|
id: 'verminal',
|
|
|
@ -526,8 +526,8 @@ export const THEMES = [
|
|
|
|
string: '#98c379',
|
|
|
|
string: '#98c379',
|
|
|
|
comment: '#5c6370',
|
|
|
|
comment: '#5c6370',
|
|
|
|
meta: '#abb2bf',
|
|
|
|
meta: '#abb2bf',
|
|
|
|
tag: '#e06c75'
|
|
|
|
tag: '#e06c75',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'vscode',
|
|
|
|
id: 'vscode',
|
|
|
@ -545,8 +545,8 @@ export const THEMES = [
|
|
|
|
string: '#CE9178',
|
|
|
|
string: '#CE9178',
|
|
|
|
comment: '#6A9955',
|
|
|
|
comment: '#6A9955',
|
|
|
|
meta: '#D4D4D4',
|
|
|
|
meta: '#D4D4D4',
|
|
|
|
tag: '#569cd6'
|
|
|
|
tag: '#569cd6',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'yeti',
|
|
|
|
id: 'yeti',
|
|
|
@ -565,8 +565,8 @@ export const THEMES = [
|
|
|
|
string: '#96c0d8',
|
|
|
|
string: '#96c0d8',
|
|
|
|
comment: '#d4c8be',
|
|
|
|
comment: '#d4c8be',
|
|
|
|
meta: '#96c0d8',
|
|
|
|
meta: '#96c0d8',
|
|
|
|
tag: '#96c0d8'
|
|
|
|
tag: '#96c0d8',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'zenburn',
|
|
|
|
id: 'zenburn',
|
|
|
@ -584,9 +584,9 @@ export const THEMES = [
|
|
|
|
string: '#cc9393',
|
|
|
|
string: '#cc9393',
|
|
|
|
comment: '#7f9f7f',
|
|
|
|
comment: '#7f9f7f',
|
|
|
|
meta: '#f0dfaf',
|
|
|
|
meta: '#f0dfaf',
|
|
|
|
tag: '#93e0e3'
|
|
|
|
tag: '#93e0e3',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
}
|
|
|
|
},
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
export const THEMES_HASH = toHash(THEMES)
|
|
|
|
export const THEMES_HASH = toHash(THEMES)
|
|
|
@ -594,404 +594,404 @@ export const THEMES_HASH = toHash(THEMES)
|
|
|
|
export const LANGUAGES = [
|
|
|
|
export const LANGUAGES = [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Auto',
|
|
|
|
name: 'Auto',
|
|
|
|
mode: 'auto'
|
|
|
|
mode: 'auto',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Apache',
|
|
|
|
name: 'Apache',
|
|
|
|
mode: 'apache',
|
|
|
|
mode: 'apache',
|
|
|
|
mime: 'text/apache',
|
|
|
|
mime: 'text/apache',
|
|
|
|
custom: true,
|
|
|
|
custom: true,
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Bash',
|
|
|
|
name: 'Bash',
|
|
|
|
mode: 'shell',
|
|
|
|
mode: 'shell',
|
|
|
|
mime: 'application/x-sh',
|
|
|
|
mime: 'application/x-sh',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Plain Text',
|
|
|
|
name: 'Plain Text',
|
|
|
|
mode: 'text'
|
|
|
|
mode: 'text',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'C',
|
|
|
|
name: 'C',
|
|
|
|
mode: 'clike',
|
|
|
|
mode: 'clike',
|
|
|
|
mime: 'text/x-csrc',
|
|
|
|
mime: 'text/x-csrc',
|
|
|
|
short: 'c'
|
|
|
|
short: 'c',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'C++',
|
|
|
|
name: 'C++',
|
|
|
|
mode: 'clike',
|
|
|
|
mode: 'clike',
|
|
|
|
mime: 'text/x-c++src',
|
|
|
|
mime: 'text/x-c++src',
|
|
|
|
short: 'cpp',
|
|
|
|
short: 'cpp',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'C#',
|
|
|
|
name: 'C#',
|
|
|
|
mode: 'clike',
|
|
|
|
mode: 'clike',
|
|
|
|
mime: 'text/x-csharp',
|
|
|
|
mime: 'text/x-csharp',
|
|
|
|
short: 'cs',
|
|
|
|
short: 'cs',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Clojure',
|
|
|
|
name: 'Clojure',
|
|
|
|
mode: 'clojure',
|
|
|
|
mode: 'clojure',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'COBOL',
|
|
|
|
name: 'COBOL',
|
|
|
|
mode: 'cobol'
|
|
|
|
mode: 'cobol',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'CoffeeScript',
|
|
|
|
name: 'CoffeeScript',
|
|
|
|
mode: 'coffeescript',
|
|
|
|
mode: 'coffeescript',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Crystal',
|
|
|
|
name: 'Crystal',
|
|
|
|
mode: 'crystal',
|
|
|
|
mode: 'crystal',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'CSS',
|
|
|
|
name: 'CSS',
|
|
|
|
mode: 'css',
|
|
|
|
mode: 'css',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'D',
|
|
|
|
name: 'D',
|
|
|
|
mode: 'd',
|
|
|
|
mode: 'd',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Dart',
|
|
|
|
name: 'Dart',
|
|
|
|
mode: 'dart',
|
|
|
|
mode: 'dart',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Diff',
|
|
|
|
name: 'Diff',
|
|
|
|
mode: 'diff',
|
|
|
|
mode: 'diff',
|
|
|
|
mime: 'text/x-diff',
|
|
|
|
mime: 'text/x-diff',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Django',
|
|
|
|
name: 'Django',
|
|
|
|
mode: 'django',
|
|
|
|
mode: 'django',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Docker',
|
|
|
|
name: 'Docker',
|
|
|
|
mode: 'dockerfile',
|
|
|
|
mode: 'dockerfile',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Elixir',
|
|
|
|
name: 'Elixir',
|
|
|
|
mode: 'elixir',
|
|
|
|
mode: 'elixir',
|
|
|
|
custom: true,
|
|
|
|
custom: true,
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Elm',
|
|
|
|
name: 'Elm',
|
|
|
|
mode: 'elm',
|
|
|
|
mode: 'elm',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Erlang',
|
|
|
|
name: 'Erlang',
|
|
|
|
mode: 'erlang',
|
|
|
|
mode: 'erlang',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Fortran',
|
|
|
|
name: 'Fortran',
|
|
|
|
mode: 'fortran',
|
|
|
|
mode: 'fortran',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Gherkin',
|
|
|
|
name: 'Gherkin',
|
|
|
|
mode: 'gherkin',
|
|
|
|
mode: 'gherkin',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'GraphQL',
|
|
|
|
name: 'GraphQL',
|
|
|
|
mode: 'graphql',
|
|
|
|
mode: 'graphql',
|
|
|
|
custom: true
|
|
|
|
custom: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Go',
|
|
|
|
name: 'Go',
|
|
|
|
mode: 'go',
|
|
|
|
mode: 'go',
|
|
|
|
mime: 'text/x-go',
|
|
|
|
mime: 'text/x-go',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Groovy',
|
|
|
|
name: 'Groovy',
|
|
|
|
mode: 'groovy',
|
|
|
|
mode: 'groovy',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Handlebars',
|
|
|
|
name: 'Handlebars',
|
|
|
|
mode: 'handlebars',
|
|
|
|
mode: 'handlebars',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Haskell',
|
|
|
|
name: 'Haskell',
|
|
|
|
mode: 'haskell',
|
|
|
|
mode: 'haskell',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'HTML/XML',
|
|
|
|
name: 'HTML/XML',
|
|
|
|
mode: 'htmlmixed'
|
|
|
|
mode: 'htmlmixed',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Java',
|
|
|
|
name: 'Java',
|
|
|
|
mode: 'clike',
|
|
|
|
mode: 'clike',
|
|
|
|
mime: 'text/x-java',
|
|
|
|
mime: 'text/x-java',
|
|
|
|
short: 'java',
|
|
|
|
short: 'java',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'JavaScript',
|
|
|
|
name: 'JavaScript',
|
|
|
|
mode: 'javascript',
|
|
|
|
mode: 'javascript',
|
|
|
|
short: 'javascript',
|
|
|
|
short: 'javascript',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'JSON',
|
|
|
|
name: 'JSON',
|
|
|
|
mode: 'javascript',
|
|
|
|
mode: 'javascript',
|
|
|
|
mime: 'application/json',
|
|
|
|
mime: 'application/json',
|
|
|
|
short: 'json',
|
|
|
|
short: 'json',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'JSX',
|
|
|
|
name: 'JSX',
|
|
|
|
mode: 'jsx',
|
|
|
|
mode: 'jsx',
|
|
|
|
short: 'jsx'
|
|
|
|
short: 'jsx',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Julia',
|
|
|
|
name: 'Julia',
|
|
|
|
mode: 'julia',
|
|
|
|
mode: 'julia',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Kotlin',
|
|
|
|
name: 'Kotlin',
|
|
|
|
mode: 'clike',
|
|
|
|
mode: 'clike',
|
|
|
|
mime: 'text/x-kotlin',
|
|
|
|
mime: 'text/x-kotlin',
|
|
|
|
short: 'kotlin',
|
|
|
|
short: 'kotlin',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'LaTeX',
|
|
|
|
name: 'LaTeX',
|
|
|
|
mode: 'stex'
|
|
|
|
mode: 'stex',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Lisp',
|
|
|
|
name: 'Lisp',
|
|
|
|
mode: 'commonlisp'
|
|
|
|
mode: 'commonlisp',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Lua',
|
|
|
|
name: 'Lua',
|
|
|
|
mode: 'lua',
|
|
|
|
mode: 'lua',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Markdown',
|
|
|
|
name: 'Markdown',
|
|
|
|
mode: 'markdown',
|
|
|
|
mode: 'markdown',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Mathematica',
|
|
|
|
name: 'Mathematica',
|
|
|
|
mode: 'mathematica',
|
|
|
|
mode: 'mathematica',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'MATLAB/Octave',
|
|
|
|
name: 'MATLAB/Octave',
|
|
|
|
mode: 'octave',
|
|
|
|
mode: 'octave',
|
|
|
|
mime: 'text/x-octave'
|
|
|
|
mime: 'text/x-octave',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'MySQL',
|
|
|
|
name: 'MySQL',
|
|
|
|
mode: 'sql',
|
|
|
|
mode: 'sql',
|
|
|
|
mime: 'text/x-mysql',
|
|
|
|
mime: 'text/x-mysql',
|
|
|
|
short: 'mysql'
|
|
|
|
short: 'mysql',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'N-Triples',
|
|
|
|
name: 'N-Triples',
|
|
|
|
mode: 'ntriples',
|
|
|
|
mode: 'ntriples',
|
|
|
|
mime: 'application/n-triples'
|
|
|
|
mime: 'application/n-triples',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'NGINX',
|
|
|
|
name: 'NGINX',
|
|
|
|
mode: 'nginx',
|
|
|
|
mode: 'nginx',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Nim',
|
|
|
|
name: 'Nim',
|
|
|
|
mode: 'nimrod',
|
|
|
|
mode: 'nimrod',
|
|
|
|
custom: true,
|
|
|
|
custom: true,
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Objective C',
|
|
|
|
name: 'Objective C',
|
|
|
|
mode: 'clike',
|
|
|
|
mode: 'clike',
|
|
|
|
mime: 'text/x-objectivec',
|
|
|
|
mime: 'text/x-objectivec',
|
|
|
|
short: 'objectivec',
|
|
|
|
short: 'objectivec',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'OCaml/F#',
|
|
|
|
name: 'OCaml/F#',
|
|
|
|
mode: 'mllike'
|
|
|
|
mode: 'mllike',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Pascal',
|
|
|
|
name: 'Pascal',
|
|
|
|
mode: 'pascal'
|
|
|
|
mode: 'pascal',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Perl',
|
|
|
|
name: 'Perl',
|
|
|
|
mode: 'perl',
|
|
|
|
mode: 'perl',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'PHP',
|
|
|
|
name: 'PHP',
|
|
|
|
mode: 'php',
|
|
|
|
mode: 'php',
|
|
|
|
mime: 'text/x-php',
|
|
|
|
mime: 'text/x-php',
|
|
|
|
short: 'php',
|
|
|
|
short: 'php',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'PowerShell',
|
|
|
|
name: 'PowerShell',
|
|
|
|
mode: 'powershell',
|
|
|
|
mode: 'powershell',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Python',
|
|
|
|
name: 'Python',
|
|
|
|
mode: 'python',
|
|
|
|
mode: 'python',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'R',
|
|
|
|
name: 'R',
|
|
|
|
mode: 'r',
|
|
|
|
mode: 'r',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'RISC-V',
|
|
|
|
name: 'RISC-V',
|
|
|
|
mode: 'riscv',
|
|
|
|
mode: 'riscv',
|
|
|
|
custom: true
|
|
|
|
custom: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Ruby',
|
|
|
|
name: 'Ruby',
|
|
|
|
mode: 'ruby',
|
|
|
|
mode: 'ruby',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Rust',
|
|
|
|
name: 'Rust',
|
|
|
|
mode: 'rust',
|
|
|
|
mode: 'rust',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Sass',
|
|
|
|
name: 'Sass',
|
|
|
|
mode: 'sass'
|
|
|
|
mode: 'sass',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Scala',
|
|
|
|
name: 'Scala',
|
|
|
|
mode: 'clike',
|
|
|
|
mode: 'clike',
|
|
|
|
mime: 'text/x-scala',
|
|
|
|
mime: 'text/x-scala',
|
|
|
|
short: 'scala',
|
|
|
|
short: 'scala',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Smalltalk',
|
|
|
|
name: 'Smalltalk',
|
|
|
|
mode: 'smalltalk',
|
|
|
|
mode: 'smalltalk',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Solidity',
|
|
|
|
name: 'Solidity',
|
|
|
|
mode: 'solidity',
|
|
|
|
mode: 'solidity',
|
|
|
|
custom: true
|
|
|
|
custom: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'SPARQL',
|
|
|
|
name: 'SPARQL',
|
|
|
|
mode: 'sparql',
|
|
|
|
mode: 'sparql',
|
|
|
|
mime: 'application/sparql-query'
|
|
|
|
mime: 'application/sparql-query',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'SQL',
|
|
|
|
name: 'SQL',
|
|
|
|
mode: 'sql',
|
|
|
|
mode: 'sql',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Stylus',
|
|
|
|
name: 'Stylus',
|
|
|
|
mode: 'stylus',
|
|
|
|
mode: 'stylus',
|
|
|
|
mime: 'stylus',
|
|
|
|
mime: 'stylus',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Swift',
|
|
|
|
name: 'Swift',
|
|
|
|
mode: 'swift',
|
|
|
|
mode: 'swift',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'TCL',
|
|
|
|
name: 'TCL',
|
|
|
|
mode: 'tcl',
|
|
|
|
mode: 'tcl',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'TOML',
|
|
|
|
name: 'TOML',
|
|
|
|
mode: 'toml'
|
|
|
|
mode: 'toml',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Turtle',
|
|
|
|
name: 'Turtle',
|
|
|
|
mode: 'turtle',
|
|
|
|
mode: 'turtle',
|
|
|
|
mime: 'text/turtle'
|
|
|
|
mime: 'text/turtle',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'TypeScript',
|
|
|
|
name: 'TypeScript',
|
|
|
|
mode: 'javascript',
|
|
|
|
mode: 'javascript',
|
|
|
|
mime: 'application/typescript',
|
|
|
|
mime: 'application/typescript',
|
|
|
|
short: 'typescript',
|
|
|
|
short: 'typescript',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'TSX',
|
|
|
|
name: 'TSX',
|
|
|
|
mode: 'jsx',
|
|
|
|
mode: 'jsx',
|
|
|
|
mime: 'text/typescript-jsx',
|
|
|
|
mime: 'text/typescript-jsx',
|
|
|
|
short: 'tsx'
|
|
|
|
short: 'tsx',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Twig',
|
|
|
|
name: 'Twig',
|
|
|
|
mode: 'twig',
|
|
|
|
mode: 'twig',
|
|
|
|
mime: 'text/x-twig',
|
|
|
|
mime: 'text/x-twig',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'VB.NET',
|
|
|
|
name: 'VB.NET',
|
|
|
|
mode: 'vb'
|
|
|
|
mode: 'vb',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Verilog',
|
|
|
|
name: 'Verilog',
|
|
|
|
mode: 'verilog',
|
|
|
|
mode: 'verilog',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'VHDL',
|
|
|
|
name: 'VHDL',
|
|
|
|
mode: 'vhdl',
|
|
|
|
mode: 'vhdl',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Vue',
|
|
|
|
name: 'Vue',
|
|
|
|
mode: 'vue'
|
|
|
|
mode: 'vue',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'XQuery',
|
|
|
|
name: 'XQuery',
|
|
|
|
mode: 'xquery',
|
|
|
|
mode: 'xquery',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'YAML',
|
|
|
|
name: 'YAML',
|
|
|
|
mode: 'yaml',
|
|
|
|
mode: 'yaml',
|
|
|
|
highlight: true
|
|
|
|
highlight: true,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
export const EXPORT_SIZES = [
|
|
|
|
export const EXPORT_SIZES = [
|
|
|
|
{ id: '1x', name: '1x', value: 1 },
|
|
|
|
{ id: '1x', name: '1x', value: 1 },
|
|
|
|
{ id: '2x', name: '2x', value: 2 },
|
|
|
|
{ id: '2x', name: '2x', value: 2 },
|
|
|
|
{ id: '4x', name: '4x', value: 4 }
|
|
|
|
{ id: '4x', name: '4x', value: 4 },
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
export const EXPORT_SIZES_HASH = toHash(EXPORT_SIZES)
|
|
|
|
export const EXPORT_SIZES_HASH = toHash(EXPORT_SIZES)
|
|
|
@ -1015,7 +1015,7 @@ export const COLORS = {
|
|
|
|
PURPLE: '#C198FB',
|
|
|
|
PURPLE: '#C198FB',
|
|
|
|
DARK_PURPLE: '#55436F',
|
|
|
|
DARK_PURPLE: '#55436F',
|
|
|
|
RED: '#ff5f56',
|
|
|
|
RED: '#ff5f56',
|
|
|
|
BLUE: '#57b5f9'
|
|
|
|
BLUE: '#57b5f9',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export const DEFAULT_CODE = `const pluckDeep = key => obj => key.split('.').reduce((accum, key) => accum[key], obj)
|
|
|
|
export const DEFAULT_CODE = `const pluckDeep = key => obj => key.split('.').reduce((accum, key) => accum[key], obj)
|
|
|
@ -1053,14 +1053,14 @@ export const DEFAULT_SETTINGS = {
|
|
|
|
exportSize: '2x',
|
|
|
|
exportSize: '2x',
|
|
|
|
watermark: false,
|
|
|
|
watermark: false,
|
|
|
|
squaredImage: false,
|
|
|
|
squaredImage: false,
|
|
|
|
hiddenCharacters: false
|
|
|
|
hiddenCharacters: false,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export const DEFAULT_PRESETS = [
|
|
|
|
export const DEFAULT_PRESETS = [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
|
icon: '/static/presets/4.png',
|
|
|
|
icon: '/static/presets/4.png',
|
|
|
|
id: 'preset:4'
|
|
|
|
id: 'preset:4',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
@ -1070,7 +1070,7 @@ export const DEFAULT_PRESETS = [
|
|
|
|
fontFamily: 'Fira Code',
|
|
|
|
fontFamily: 'Fira Code',
|
|
|
|
lineHeight: '152%',
|
|
|
|
lineHeight: '152%',
|
|
|
|
icon: '/static/presets/7.png',
|
|
|
|
icon: '/static/presets/7.png',
|
|
|
|
id: 'preset:7'
|
|
|
|
id: 'preset:7',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
@ -1080,7 +1080,7 @@ export const DEFAULT_PRESETS = [
|
|
|
|
fontFamily: 'Fira Code',
|
|
|
|
fontFamily: 'Fira Code',
|
|
|
|
lineHeight: '152%',
|
|
|
|
lineHeight: '152%',
|
|
|
|
icon: '/static/presets/8.png',
|
|
|
|
icon: '/static/presets/8.png',
|
|
|
|
id: 'preset:8'
|
|
|
|
id: 'preset:8',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
@ -1090,7 +1090,7 @@ export const DEFAULT_PRESETS = [
|
|
|
|
windowTheme: 'bw',
|
|
|
|
windowTheme: 'bw',
|
|
|
|
lineHeight: '152%',
|
|
|
|
lineHeight: '152%',
|
|
|
|
icon: '/static/presets/9.png',
|
|
|
|
icon: '/static/presets/9.png',
|
|
|
|
id: 'preset:9'
|
|
|
|
id: 'preset:9',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
@ -1102,7 +1102,7 @@ export const DEFAULT_PRESETS = [
|
|
|
|
fontSize: '14px',
|
|
|
|
fontSize: '14px',
|
|
|
|
lineHeight: '143%',
|
|
|
|
lineHeight: '143%',
|
|
|
|
icon: '/static/presets/0.png',
|
|
|
|
icon: '/static/presets/0.png',
|
|
|
|
id: 'preset:0'
|
|
|
|
id: 'preset:0',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
@ -1110,7 +1110,7 @@ export const DEFAULT_PRESETS = [
|
|
|
|
theme: 'one-light',
|
|
|
|
theme: 'one-light',
|
|
|
|
lineHeight: '143%',
|
|
|
|
lineHeight: '143%',
|
|
|
|
icon: '/static/presets/1.png',
|
|
|
|
icon: '/static/presets/1.png',
|
|
|
|
id: 'preset:1'
|
|
|
|
id: 'preset:1',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
@ -1120,7 +1120,7 @@ export const DEFAULT_PRESETS = [
|
|
|
|
lineHeight: '143%',
|
|
|
|
lineHeight: '143%',
|
|
|
|
windowControls: false,
|
|
|
|
windowControls: false,
|
|
|
|
icon: '/static/presets/2.png',
|
|
|
|
icon: '/static/presets/2.png',
|
|
|
|
id: 'preset:2'
|
|
|
|
id: 'preset:2',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
@ -1129,7 +1129,7 @@ export const DEFAULT_PRESETS = [
|
|
|
|
fontFamily: 'IBM Plex Mono',
|
|
|
|
fontFamily: 'IBM Plex Mono',
|
|
|
|
lineHeight: '143%',
|
|
|
|
lineHeight: '143%',
|
|
|
|
icon: '/static/presets/3.png',
|
|
|
|
icon: '/static/presets/3.png',
|
|
|
|
id: 'preset:3'
|
|
|
|
id: 'preset:3',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1137,7 +1137,7 @@ export const DEFAULT_PRESETS = [
|
|
|
|
backgroundColor: 'rgba(222,171,99,1)',
|
|
|
|
backgroundColor: 'rgba(222,171,99,1)',
|
|
|
|
theme: 'duotone-dark',
|
|
|
|
theme: 'duotone-dark',
|
|
|
|
icon: '/static/presets/5.png',
|
|
|
|
icon: '/static/presets/5.png',
|
|
|
|
id: 'preset:5'
|
|
|
|
id: 'preset:5',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
|
...DEFAULT_SETTINGS,
|
|
|
@ -1147,6 +1147,6 @@ export const DEFAULT_PRESETS = [
|
|
|
|
theme: 'solarized light',
|
|
|
|
theme: 'solarized light',
|
|
|
|
windowTheme: 'sharp',
|
|
|
|
windowTheme: 'sharp',
|
|
|
|
icon: '/static/presets/6.png',
|
|
|
|
icon: '/static/presets/6.png',
|
|
|
|
id: 'preset:6'
|
|
|
|
id: 'preset:6',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
]
|
|
|
|
]
|
|
|
|