2020-09-15 15:01:07 +02:00
|
|
|
import { Theme, ThemeAppearance } from './type';
|
2021-07-16 12:32:29 +02:00
|
|
|
import lightTheme from './light';
|
2020-09-15 15:01:07 +02:00
|
|
|
|
|
|
|
// This is the default dark theme in Joplin
|
2020-11-12 21:13:28 +02:00
|
|
|
const theme: Theme = {
|
2021-07-16 12:32:29 +02:00
|
|
|
...lightTheme,
|
|
|
|
|
2020-09-15 15:01:07 +02:00
|
|
|
appearance: ThemeAppearance.Dark,
|
|
|
|
|
|
|
|
// Color scheme "1" is the basic one, like used to display the note
|
|
|
|
// content. It's basically dark gray text on white background
|
|
|
|
backgroundColor: '#1D2024',
|
|
|
|
backgroundColorTransparent: 'rgba(255,255,255,0.9)',
|
2021-08-05 13:23:10 +02:00
|
|
|
oddBackgroundColor: '#141517',
|
2020-09-15 15:01:07 +02:00
|
|
|
color: '#dddddd',
|
|
|
|
colorError: 'red',
|
2021-10-03 17:00:49 +02:00
|
|
|
colorCorrect: '#72b972',
|
2020-09-15 15:01:07 +02:00
|
|
|
colorWarn: '#9A5B00',
|
2021-06-21 20:30:20 +02:00
|
|
|
colorWarnUrl: '#ffff82',
|
2020-09-15 15:01:07 +02:00
|
|
|
colorFaded: '#999999', // For less important text
|
|
|
|
dividerColor: '#555555',
|
|
|
|
selectedColor: '#616161',
|
|
|
|
urlColor: 'rgb(166,166,255)',
|
|
|
|
|
|
|
|
// Color scheme "2" is used for the sidebar. It's white text over
|
|
|
|
// dark blue background.
|
|
|
|
backgroundColor2: '#181A1D',
|
|
|
|
color2: '#ffffff',
|
|
|
|
selectedColor2: '#013F74',
|
|
|
|
colorError2: '#ff6c6c',
|
2021-05-13 18:57:37 +02:00
|
|
|
colorWarn2: '#ffcb81',
|
2022-04-11 18:46:33 +02:00
|
|
|
colorWarn3: '#ffcb81',
|
2020-09-15 15:01:07 +02:00
|
|
|
|
|
|
|
// Color scheme "3" is used for the config screens for example/
|
|
|
|
// It's dark text over gray background.
|
|
|
|
backgroundColor3: '#2E3138',
|
|
|
|
backgroundColorHover3: '#4E4E4E',
|
|
|
|
color3: '#dddddd',
|
|
|
|
|
|
|
|
// Color scheme "4" is used for secondary-style buttons. It makes a white
|
|
|
|
// button with blue text.
|
|
|
|
backgroundColor4: '#1D2024',
|
|
|
|
color4: '#789FE9',
|
|
|
|
|
|
|
|
raisedBackgroundColor: '#474747',
|
|
|
|
raisedColor: '#ffffff',
|
|
|
|
searchMarkerBackgroundColor: '#F7D26E',
|
|
|
|
searchMarkerColor: 'black',
|
|
|
|
|
2020-12-09 01:44:54 +02:00
|
|
|
warningBackgroundColor: '#013F74',
|
2024-06-04 10:57:52 +02:00
|
|
|
destructiveColor: '#F07777',
|
2020-09-15 15:01:07 +02:00
|
|
|
|
|
|
|
tableBackgroundColor: 'rgb(40, 41, 42)',
|
|
|
|
codeBackgroundColor: 'rgb(47, 48, 49)',
|
|
|
|
codeBorderColor: 'rgb(70, 70, 70)',
|
|
|
|
codeColor: '#ffffff',
|
|
|
|
|
|
|
|
codeMirrorTheme: 'material-darker',
|
|
|
|
codeThemeCss: 'atom-one-dark-reasonable.css',
|
2024-04-11 09:35:20 +02:00
|
|
|
|
|
|
|
headerBackgroundColor: '#2D3136',
|
|
|
|
textSelectionColor: '#00AEFF',
|
2020-09-15 15:01:07 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
export default theme;
|