mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-06-21 22:28:42 +00:00
lint themes
This commit is contained in:
@@ -16,17 +16,17 @@ export default {
|
||||
edge : (side = 'bottom')=>{
|
||||
const styles = ()=>{
|
||||
switch (side) {
|
||||
case 'bottom':
|
||||
return `{width:100%,bottom:0%}`
|
||||
break;
|
||||
case 'top':
|
||||
return `{width:100%,top:0%}`
|
||||
break;
|
||||
default:
|
||||
return `{height:100%}`
|
||||
break;
|
||||
case 'bottom':
|
||||
return `{width:100%,bottom:0%}`;
|
||||
break;
|
||||
case 'top':
|
||||
return `{width:100%,top:0%}`;
|
||||
break;
|
||||
default:
|
||||
return `{height:100%}`;
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
const rotation = {
|
||||
'bottom' : 0,
|
||||
|
||||
@@ -93,7 +93,7 @@ export default EditorView.theme({
|
||||
'.cm-strong' : { color: '#309dd2', fontWeight: 'bold' },
|
||||
'.cm-em' : { fontStyle: 'italic' },
|
||||
'.cm-keyword' : { color: '#fff' },
|
||||
'.cm-atom, .cm-value, .cm-color' : { color: '#c1939a' },
|
||||
'.cm-atom, .cm-value, .cm-color' : { color: '#c1939a' },
|
||||
'.cm-number' : { color: '#2986cc' },
|
||||
'.cm-def' : { color: '#2986cc' },
|
||||
'.cm-list' : { color: '#3cbf30' },
|
||||
|
||||
Reference in New Issue
Block a user