You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-21 23:17:42 +02:00
All: Refactored themes to allow using the same ones in both desktop and mobile version
Will also allow using them when exporting HTML or PDF from CLI.
This commit is contained in:
36
ReactNativeClient/lib/themes/dracula.js
Normal file
36
ReactNativeClient/lib/themes/dracula.js
Normal file
@ -0,0 +1,36 @@
|
||||
const draculaStyle = {
|
||||
appearance: 'dark',
|
||||
|
||||
backgroundColor: '#282a36',
|
||||
backgroundColorTransparent: 'rgba(40, 42, 54, 0.9)',
|
||||
oddBackgroundColor: '#282a36',
|
||||
color: '#f8f8f2', // For regular text
|
||||
colorError: '#ff5555',
|
||||
colorWarn: '#ffb86c',
|
||||
colorFaded: '#6272a4', // For less important text;
|
||||
colorBright: '#50fa7b', // For important text;
|
||||
dividerColor: '#bd93f9',
|
||||
selectedColor: '#44475a',
|
||||
urlColor: '#8be9fd',
|
||||
|
||||
backgroundColor2: '#21222C',
|
||||
color2: '#bd93f9',
|
||||
selectedColor2: '#44475a',
|
||||
colorError2: '#ff5555',
|
||||
|
||||
raisedBackgroundColor: '#44475a',
|
||||
raisedColor: '#bd93f9',
|
||||
|
||||
warningBackgroundColor: '#ffb86c',
|
||||
|
||||
tableBackgroundColor: '#6272a4',
|
||||
codeBackgroundColor: '#44475a',
|
||||
codeBorderColor: '#f8f8f2',
|
||||
codeColor: '#50fa7b',
|
||||
|
||||
aceEditorTheme: 'dracula',
|
||||
codeMirrorTheme: 'dracula',
|
||||
codeThemeCss: 'atom-one-dark-reasonable.css',
|
||||
};
|
||||
|
||||
module.exports = draculaStyle;
|
Reference in New Issue
Block a user