Add Tailwind integration, custom asset output, image loader fixes, and theme/theme variable updates - #9
Open
alaster-t34 wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
assets/folder with stable hashed filenames for GitHub Pages compatibility.Description
@astrojs/tailwindinastro.config.mjs, addbuild.assetssetting and customize Vite/RollupassetFileNames,chunkFileNames, andentryFileNamesto output intoassets/with safe names usingnode:path..nojekyllinpublic/to prevent Jekyll processing on GitHub Pages.postcss.config.mjsto only includepostcss-importand remove direct Tailwind/PostCSS nesting plugin usage.pathimports withnode:pathand updateImageWrapper.astroto typeimgasImageMetadata, expandimport.meta.globto searchassetsandcontentdirectories, normalize paths, and improve error logging.MainGridLayout.astro, wire upImageWrapperandTOC, and tidy prop destructuring andmainPanelTopcalculation.src/styles/main.cssto use a background image and simplified navbar/card backdrop styles, tweak markdown link styling insrc/styles/markdown.css, and substantially refactor theme tokens insrc/styles/variables.stylto usevar(--hue)and new Oklch-based tokens; also change--radius-large.src/utils/content-utils.tsand bump default theme hue insrc/config.tsfrom205to250.Testing
npm run build) to validate the Astro/Vite build pipeline and asset emission, which completed successfully.npm test(none present).Codex Task