pathfinder / frontend /src /theme.js
kartheikiyer
slight tweaks to buttons/ui
be38df9
Raw History Blame Contribute Delete
3.89 kB
// frontend/src/theme.js — ported verbatim from the design doc
export const LIGHT = {
'--bg': '#FBFBF8', '--grad1': 'rgba(227,154,30,0.07)', '--grad2': 'rgba(12,122,134,0.05)',
'--text': '#1C1E25', '--head': '#0B0C0F', '--muted': '#565A68', '--muted2': '#565A68',
'--faint': '#868B99', '--faint2': '#A6AAB5', '--ver': '#B4B8C2',
'--abstract': '#3A3F4C', '--answer': '#26292F',
'--line': '#EAEAE3', '--line2': '#E0DFD6', '--line3': '#D8D8CE', '--linesoft': '#EFEEE8',
'--card': '#FFFFFF', '--card2': '#FFFFFF', '--surface': '#FFFFFF', '--popover': '#FFFFFF',
'--inset': '#F4F3EE', '--avatar': '#EFEEE8', '--track': '#E4E3DB',
'--example': '#FFFFFF', '--reasonbg': '#F4F3EE',
'--gold': '#E39A1E', '--goldhover': '#f2ab34', '--goldtext': '#A9640A', '--goldsoft': 'rgba(227,154,30,0.14)',
'--goldchip': 'rgba(227,154,30,0.12)', '--goldborder': 'rgba(227,154,30,0.5)', '--goldbtnborder': 'rgba(227,154,30,0.6)',
'--goldfaint': 'rgba(227,154,30,0.3)', '--goldglow': 'rgba(227,154,30,0.6)', '--ongold': '#241800',
'--answercardborder': 'rgba(227,154,30,0.35)', '--answercardbg': 'linear-gradient(180deg, rgba(227,154,30,0.06), rgba(227,154,30,0.015))',
'--cyan': '#0C7A86', '--cyanhover': '#0A5C66', '--green': '#1C8A4E', '--greensoft': 'rgba(28,138,78,0.1)',
'--greenring': 'rgba(28,138,78,0.4)', '--relevantbg': 'rgba(12,122,134,0.1)', '--relatedbg': 'rgba(0,0,0,0.05)',
'--ringoff': '#CFCEC5', '--knoboff': '#B0B0A8', '--topbar': 'rgba(251,251,248,0.86)',
'--slash': '#C4C3BA', '--mapbg': '#FCFCFA', '--corpusdot': '#C7C6BD',
'--railbtn': '#F4F3EE', '--railbtnhover': '#EFEEE8', '--popovershadow': '0 16px 44px -18px rgba(0,0,0,0.28)',
};
export const DARK = {
'--bg': '#0A0D17', '--grad1': 'rgba(244,183,64,0.06)', '--grad2': 'rgba(111,214,230,0.05)',
'--text': '#E9ECF7', '--head': '#F3F5FC', '--muted': '#9aa1bd', '--muted2': '#8991ae',
'--faint': '#626a88', '--faint2': '#4f587a', '--ver': '#3f4763',
'--abstract': '#b6bcd4', '--answer': '#dfe3f2',
'--line': 'rgba(233,236,247,0.08)', '--line2': 'rgba(233,236,247,0.14)', '--line3': 'rgba(233,236,247,0.16)', '--linesoft': 'rgba(233,236,247,0.06)',
'--card': '#0f1423', '--card2': '#0d1220', '--surface': '#101524', '--popover': '#12162a',
'--inset': '#0c1120', '--avatar': '#1a2135', '--track': '#1a2135',
'--example': '#0e1320', '--reasonbg': '#0d1220',
'--gold': '#F4B740', '--goldhover': '#ffca5e', '--goldtext': '#F4B740', '--goldsoft': 'rgba(244,183,64,0.16)',
'--goldchip': 'rgba(244,183,64,0.1)', '--goldborder': 'rgba(244,183,64,0.5)', '--goldbtnborder': 'rgba(244,183,64,0.55)',
'--goldfaint': 'rgba(244,183,64,0.25)', '--goldglow': '#F4B740', '--ongold': '#161200',
'--answercardborder': 'rgba(244,183,64,0.22)', '--answercardbg': 'linear-gradient(180deg, rgba(244,183,64,0.05), rgba(244,183,64,0.01))',
'--cyan': '#6fd6e6', '--cyanhover': '#9ee6f2', '--green': '#63cf87', '--greensoft': 'rgba(99,207,135,0.12)',
'--greenring': 'rgba(99,207,135,0.35)', '--relevantbg': 'rgba(111,214,230,0.1)', '--relatedbg': 'rgba(233,236,247,0.06)',
'--ringoff': 'rgba(233,236,247,0.2)', '--knoboff': '#5b6486', '--topbar': 'rgba(10,13,23,0.82)',
'--slash': '#3a4260', '--mapbg': '#0A0D17', '--corpusdot': '#39415f',
'--railbtn': '#151a2b', '--railbtnhover': '#1c2338', '--popovershadow': '0 16px 44px -18px rgba(0,0,0,0.6)',
};
export const PIPELINE = [
{ k: 'intent', label: 'Analyzing query intent' },
{ k: 'search', label: 'Searching the corpus' },
{ k: 'consensus', label: 'Evaluating consensus' },
{ k: 'compose', label: 'Composing grounded answer' },
];
export const EXAMPLES = [
'How does stellar feedback regulate star formation in dwarf galaxies?',
'Evidence for and against primordial non-Gaussianity from galaxy surveys',
'Can strong-lensing time delays resolve the Hubble tension?',
'JWST detections of quenched galaxies at z > 4',
];