112 lines
2.8 KiB
TypeScript
112 lines
2.8 KiB
TypeScript
import {createBaseTheme} from '../base';
|
|
import type {ThemeColors} from '../types';
|
|
|
|
export const defaultLightColors: ThemeColors = {
|
|
themeName: 'default-light',
|
|
dark: false,
|
|
|
|
background: '#ffffff',
|
|
backgroundSecondary: '#f4f7fb',
|
|
|
|
foreground: '#24292e',
|
|
cursor: '#000000',
|
|
selection: '#77baff',
|
|
activeLine: '#0000000a',
|
|
lineNumber: '#00000040',
|
|
activeLineNumber: '#000000aa',
|
|
diffInserted: '#2da44e',
|
|
diffDeleted: '#d73a49',
|
|
diffChanged: '#c69026',
|
|
borderColor: '#d8dee4',
|
|
matchingBracket: '#00000019',
|
|
|
|
comment: '#6a737d',
|
|
lineComment: '#808a95',
|
|
blockComment: '#5c646f',
|
|
docComment: '#909ba8',
|
|
name: '#1f2329',
|
|
variableName: '#27313c',
|
|
typeName: '#5b32c2',
|
|
tagName: '#3d60c9',
|
|
propertyName: '#384252',
|
|
attributeName: '#7c3aed',
|
|
className: '#4c3ad7',
|
|
labelName: '#975400',
|
|
namespace: '#2f6f9f',
|
|
macroName: '#ae5f00',
|
|
literal: '#0b5cc5',
|
|
string: '#032f62',
|
|
docString: '#0a477f',
|
|
character: '#174f92',
|
|
attributeValue: '#8c4f00',
|
|
number: '#0f65c9',
|
|
integer: '#0075d6',
|
|
float: '#0086e6',
|
|
bool: '#b7410e',
|
|
regexp: '#2362a1',
|
|
escape: '#3383c5',
|
|
color: '#db6e00',
|
|
url: '#005cc5',
|
|
keyword: '#d73a49',
|
|
self: '#b92548',
|
|
null: '#be1347',
|
|
atom: '#8241c1',
|
|
unit: '#a75500',
|
|
modifier: '#c9245d',
|
|
operatorKeyword: '#c23143',
|
|
controlKeyword: '#bf213a',
|
|
definitionKeyword: '#d45563',
|
|
moduleKeyword: '#c2476a',
|
|
operator: '#c93a56',
|
|
derefOperator: '#cf4c67',
|
|
arithmeticOperator: '#c82a57',
|
|
logicOperator: '#c23a5e',
|
|
bitwiseOperator: '#c23f4d',
|
|
compareOperator: '#c9455b',
|
|
updateOperator: '#c2304d',
|
|
definitionOperator: '#ca3c6b',
|
|
typeOperator: '#a642d9',
|
|
controlOperator: '#bd3552',
|
|
punctuation: '#a37a00',
|
|
separator: '#a87700',
|
|
bracket: '#7c8ba1',
|
|
angleBracket: '#7a9fbd',
|
|
squareBracket: '#99a7c3',
|
|
paren: '#5c6e90',
|
|
brace: '#8d96a8',
|
|
content: '#1f2329',
|
|
heading: '#b35900',
|
|
heading1: '#b04a00',
|
|
heading2: '#b55e00',
|
|
heading3: '#b96f00',
|
|
heading4: '#bb7c00',
|
|
heading5: '#be8900',
|
|
heading6: '#c29500',
|
|
contentSeparator: '#c4b200',
|
|
list: '#566266',
|
|
quote: '#7c858f',
|
|
emphasis: '#1f2329',
|
|
strong: '#111217',
|
|
link: '#0a58ca',
|
|
monospace: '#3a434f',
|
|
strikethrough: '#5d6469',
|
|
inserted: '#2da44e',
|
|
deleted: '#d73a49',
|
|
changed: '#c69026',
|
|
invalid: '#cb2431',
|
|
meta: '#4c5a6b',
|
|
documentMeta: '#5e6977',
|
|
annotation: '#7f4cd6',
|
|
processingInstruction: '#4f5b63',
|
|
definition: '#30404d',
|
|
constant: '#0b5cc5',
|
|
function: '#005cc5',
|
|
standard: '#40566b',
|
|
local: '#2f3944',
|
|
special: '#a44500',
|
|
};
|
|
|
|
export function createLightTheme(colors: ThemeColors = defaultLightColors) {
|
|
return createBaseTheme({...colors, dark: false});
|
|
}
|