mirror of
https://github.com/devonthesofa/obsidian-note-status.git
synced 2026-07-22 12:30:24 +00:00
46 lines
No EOL
1.6 KiB
TypeScript
46 lines
No EOL
1.6 KiB
TypeScript
import { NoteStatusSettings } from '../models/types';
|
|
import { DEFAULT_ENABLED_TEMPLATES } from '../constants/status-templates';
|
|
|
|
/**
|
|
* Default plugin settings
|
|
*/
|
|
export const DEFAULT_SETTINGS: NoteStatusSettings = {
|
|
statusColors: {
|
|
active: 'var(--text-success)',
|
|
onHold: 'var(--text-warning)',
|
|
completed: 'var(--text-accent)',
|
|
dropped: 'var(--text-error)',
|
|
unknown: 'var(--text-muted)'
|
|
},
|
|
showStatusDropdown: true,
|
|
showStatusBar: true,
|
|
dropdownPosition: 'top',
|
|
statusBarPosition: 'right',
|
|
autoHideStatusBar: false,
|
|
customStatuses: [
|
|
{ name: 'active', icon: '▶️', description: 'Currently working on this note' },
|
|
{ name: 'onHold', icon: '⏸️', description: 'Temporarily paused work' },
|
|
{ name: 'completed', icon: '✅', description: 'Finished work on this note' },
|
|
{ name: 'dropped', icon: '❌', description: 'No longer working on this' },
|
|
{ name: 'unknown', icon: '❓', description: 'Status not set' }
|
|
],
|
|
showStatusIconsInExplorer: true,
|
|
hideUnknownStatusInExplorer: false, // Default to show unknown status
|
|
collapsedStatuses: {},
|
|
compactView: false,
|
|
enabledTemplates: DEFAULT_ENABLED_TEMPLATES,
|
|
useCustomStatusesOnly: false,
|
|
useMultipleStatuses: true,
|
|
tagPrefix: 'obsidian-note-status'
|
|
};
|
|
|
|
/**
|
|
* Default colors in hexadecimal format for backup and reset
|
|
*/
|
|
export const DEFAULT_COLORS: Record<string, string> = {
|
|
active: '#00ff00', // Green for success
|
|
onHold: '#ffaa00', // Orange for warning
|
|
completed: '#00aaff', // Blue for accent
|
|
dropped: '#ff0000', // Red for error
|
|
unknown: '#888888' // Gray for muted
|
|
}; |