mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 04:15:40 +00:00
fix: resolve dark mode code blocks and JavaScript errors after Tailwind migration
- Fix dark mode code block styling in chroma.css (background stays bright issue) - Resolve JavaScript errors with window.hbb object initialization - Fix Mermaid.js color parsing errors with proper CSS variable fallbacks - Move inline JavaScript to external files for CSP compliance - Create dedicated hb-search.js for search functionality - Add proper error handling and validation for PagefindUI initialization - Update .stylelintrc.yaml to disable no-descending-specificity rule - Fix remaining lint issues: flex-flow shorthand and kebab-case IDs - Ensure theme toggler functionality works correctly Resolves regressions introduced during Tailwind 3→4 migration. All functionality now works in both light and dark modes.
This commit is contained in:
1 parent
f1bd41ffa2
commit
3b314fe4b2
20 files changed
+146
-110
No files matched your search
@@ -3,7 +3,7 @@
|
||||
html {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
text-rendering: optimizeLegibility;
|
||||
text-rendering: optimizelegibility;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
Reference in new issue
Block a user