mirror of
https://github.com/tiennm99/mathmax.git
synced 2026-06-17 16:49:01 +00:00
a0da079500
- Add pure geom-engine module (vec, triangle, circle, ticks) with 34 vitest tests
- Add 3 lessons under /hinh-hoc/: tam-giac-bang-nhau (SSS), tam-giac-dong-dang (similarity), goc-noi-tiep (inscribed angle)
- Add reactive draggable Svelte action with arrow-key a11y
- Add per-lesson colocated i18n + site chrome + lesson registry
- Enable Hình học topic card on landing; keep Số học/Đại số as Sắp ra mắt
- Codify pedagogical tick palette as Tailwind colors.pair.{1,2,3}
- Add Be Vietnam Pro via @fontsource
21 lines
456 B
JavaScript
21 lines
456 B
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: ['./src/**/*.{html,js,svelte}'],
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
sans: ['"Be Vietnam Pro"', 'system-ui', 'sans-serif'],
|
|
},
|
|
colors: {
|
|
// Pedagogical tick palette — one color per side-correspondence pair.
|
|
pair: {
|
|
1: '#D7263D',
|
|
2: '#1B998B',
|
|
3: '#F46036',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
};
|