Xin c74d44492e
chore: migrate to Tailwind CSS v4.0 (#632)
* chore: migrate PostCSS configuration to v4

* chore: update dependencies in package.json and package-lock.json

- Bump versions for autoprefixer, postcss, postcss-cli, prettier, and tailwindcss.
- Remove unused dependencies to streamline the project.

* chore: add @tailwindcss/postcss and update package-lock.json

* fix: update import paths in CSS files for consistency

* fix: change prefix from `hx-` to `hx:`

* chore: migrate primary color theme variables to CSS

* fix: remove unnecessary text decoration property from anchor styles in typography CSS

* fix: update CSS styles for improved consistency and clarity across components

* chore: clean up package.json and package-lock.json, remove unused dependencies, and update CSS imports for better organization

* fix: bulk replace prefix `hx-` with `hx:`

* fix: update tailwind css prefix

* fix: styling consistent issues

- steps counter fix in v4
- removed tailwind.css
- update hr border colors
- fix button cursor in v4
- fix border colors in various places

* fix: update class prefixes for consistency in menu and sidebar components

* fix: refine CSS classes and transitions for navbar and sidebar components

- Updated hamburger menu styles for improved animation and structure.
- Adjusted sidebar transition duration for smoother effects.
- Standardized class prefixes for consistency across components.

* fix: update border color in hero badge component for improved styling consistency

* fix: update tab button cursor style for improved user interaction

* chore: recompile css

* fix: dark mode color not applied for before / after elements

* fix: docs navigation

* chore: recompile CSS

* chore: update Tailwind CSS and PostCSS dependencies to version 4.0.17, recompile CSS, and add safelist

* fix: typo in class name and add back decoration-from-font for typography a tags

* fix: update class syntax for Tailwind CSS compatibility in mermaid code block
2025-03-29 12:51:42 +00:00

3.6 KiB

title layout
Hextra テーマ hextra-home

{{< hextra/hero-badge >}}

無料、オープンソース {{< icon name="arrow-circle-right" attributes="height=14" >}} {{< /hextra/hero-badge >}}
{{< hextra/hero-headline >}} MarkdownとHugoで 
モダンなウェブサイトを構築 {{< /hextra/hero-headline >}}
{{< hextra/hero-subtitle >}} 美しい静的ウェブサイトを作るための 
高速でバッテリー同梱型のHugoテーマ {{< /hextra/hero-subtitle >}}
{{< hextra/hero-button text="始める" link="docs" >}}

{{< hextra/feature-grid >}} {{< hextra/feature-card title="高速かつ多機能" subtitle="シンプルで使いやすく、それでいて強力で豊富な機能を備えています。" class="hx:aspect-auto hx:md:aspect-[1.1/1] hx:max-md:min-h-[340px]" image="/images/hextra-doc.webp" imageClass="hx:top-[40%] hx:left-[24px] hx:w-[180%] hx:sm:w-[110%] hx:dark:opacity-80" style="background: radial-gradient(ellipse at 50% 80%,rgba(194,97,254,0.15),hsla(0,0%,100%,0));"

}} {{< hextra/feature-card title="MarkdownだけでOK" subtitle="Markdownだけで作成可能。ショートコードコンポーネントで充実させることもできます。" class="hx:aspect-auto hx:md:aspect-[1.1/1] hx:max-lg:min-h-[340px]" image="/images/hextra-markdown.webp" imageClass="hx:top-[40%] hx:left-[36px] hx:w-[180%] hx:sm:w-[110%] hx:dark:opacity-80" style="background: radial-gradient(ellipse at 50% 80%,rgba(142,53,74,0.15),hsla(0,0%,100%,0));" }} {{< hextra/feature-card title="全文検索" subtitle="FlexSearchによる全文検索が内蔵されており、追加の設定は不要です。" class="hx:aspect-auto hx:md:aspect-[1.1/1] hx:max-md:min-h-[340px]" image="/images/hextra-search.webp" imageClass="hx:top-[40%] hx:left-[36px] hx:w-[110%] hx:sm:w-[110%] hx:dark:opacity-80" style="background: radial-gradient(ellipse at 50% 80%,rgba(221,210,59,0.15),hsla(0,0%,100%,0));" }} {{< hextra/feature-card title="羽のように軽量" subtitle="Hextraを使用するために依存関係やNode.jsは必要ありません。Hugoによって動力を得ており、単一のバイナリで数秒でサイトを構築できます。" }} {{< hextra/feature-card title="レスポンシブ対応とダークモード" subtitle="さまざまな画面サイズで美しく見えます。内蔵のダークモードサポートにより、ユーザーのシステム設定に基づいて自動切り替えが可能です。" }} {{< hextra/feature-card title="無料で構築とホスティング" subtitle="GitHub Actionsを使って構築し、GitHub Pagesで無料でホスティングできます。また、他の静的ホスティングサービスでもホスティング可能です。" }} {{< hextra/feature-card title="簡単な多言語対応" subtitle="Markdownファイルにロケールサフィックスを追加するだけで多言語ページを作成できます。i18nサポートの追加も直感的です。" }} {{< hextra/feature-card title="さらに多くの機能" icon="sparkles" subtitle="構文ハイライト / 目次 / SEO / RSS / LaTeX / Mermaid / カスタマイズ可能 / など多数..." }} {{< /hextra/feature-grid >}}