📜 Astro Themes Documentation
Back To Themes🚀 Styling
All my Astro themes uses Tailwind CSS v4 for the majority of theme styling.
// Colors
The theme’s color palette can be customized to match your project’s brand directly in the global.css file.
@theme {
/* COLORS */
--color-base-100: #1a1a1a;
--color-base-200: #1c1c1c;
--color-base-300: #1e1e1e;
--color-base-600: #282828;
--color-base-700: #848482;
--color-base-800: #d9d5cf;
--color-primary: #d4b376;
}
Updating the values of these CSS variables will automatically propagate the changes to all elements that reference them throughout the website.
⚠️ Warning: It is strongly advised not to modify variables related to spacing or breakpoints, as doing so may break the website’s layout and responsiveness.
// Fonts
All themes include open source fonts, sourced either as an installed package from Fontsource or via Google Fonts.
// Component Variants
Components found in the elements directory are designed to be reused across the website, and most expose multiple variants that control their visual styling.
For example, the Link component supports three variants — nav, button, and inline:
---
// Props
interface Props extends HTMLAttributes<"a"> {
href: string,
variant: "button" | "inline" | "nav",
newWindow?: boolean
}
---
To use a link anywhere on the website, simply specify the desired variant:
<Link variant={'button'} href={link.href} class="text-center"> ❔ Frequently Asked Questions
01. Who are these astro themes for?
These Astro themes are primarily built for freelance web developers who want to speed up their process when delivering a website to clients without compromising design and code quality.
02. Can each theme be used on multiple projects?
Yes, when purchasing a theme, it can be used for multiple projects. For more info, see the license page.
03. Do you offer technical support?
Yes, I provide support for paying customers, which includes answering questions on how the themes work, fixing bugs, solving issues, and more. Technical support does not include helping with knowledge on HTML, CSS and JavaScript.
04. Do I need to know HTML, CSS, and JavaScript?
Yes, basic knowledge in these languages is required to work with these themes. And of course, you also need basic knowledge working with Astro and Tailwind.
05. What JavaScript frameworks are used?
All themes are built without any JavaScript frameworks! I only use vanilla JavaScript sparingly for interactive components such as navbars, slideshows, etc. Most of the code will be HTML and Tailwind CSS.
06. Are design files included?
No. I focus on production-ready code, not static design files.
✉️ Contact
- Interested in working with me?
- Do you need a website?
- Are you having an issue with an Astro theme you bought from me?
I'd be happy to chat with you!