diff --git a/src/components/CodeBlock.astro b/src/components/CodeBlock.astro index bf8f19e..2c1a23a 100644 --- a/src/components/CodeBlock.astro +++ b/src/components/CodeBlock.astro @@ -10,6 +10,8 @@ interface Props { lightTheme?: string; /** Shiki theme for dark mode */ darkTheme?: string; + defaultColor?: boolean; + } const { @@ -17,8 +19,8 @@ const { lang, wrap = false, inline = false, - lightTheme = 'min-light', - darkTheme = 'night-owl', + lightTheme = 'nord', + darkTheme = 'nord', } = Astro.props as Props; --- @@ -33,6 +35,8 @@ const { wrap={wrap} inline={inline} theme={lightTheme} + defaultColor={false} + class="text-sm block dark:hidden" /> @@ -43,6 +47,7 @@ const { wrap={wrap} inline={inline} theme={darkTheme} + defaultColor={false} class="hidden dark:block text-sm" /> diff --git a/src/pages/index.astro b/src/pages/index.astro index 342379a..ea4add5 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -212,7 +212,7 @@ Lux # For Neovim`;
@@ -455,9 +456,11 @@ Lux # For Neovim`;
-
+
1
@@ -470,21 +473,21 @@ Lux # For Neovim`;

Download LuxVim to your local machine:

-
- + +
- -
+
2
@@ -497,21 +500,21 @@ Lux # For Neovim`;

The install script handles everything automatically:

-
- + +
- -
+
3
@@ -524,14 +527,12 @@ Lux # For Neovim`;

Start coding with your new setup:

-
- + +
@@ -539,15 +540,14 @@ Lux # For Neovim`;
-

- Requirements -

-
    -
  • +
    +
    + d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"> - Bash shell (Linux/macOS/WSL) +
    +

    + Requirements +

    +
    +
      +
    • +
      + + + +
      + Bash shell (Linux/macOS/WSL)
    • -
    • - +
      - - - Vim or Neovim (recent versions) + + + +
      + Vim or Neovim (recent versions)
    • -
    • - +
      - - - curl for downloading plugins + + + +
      + curl for downloading plugins
    -
    -

    - What the installer does: -

    -
      -
    • • Downloads and installs vim-plug
    • -
    • • Installs all plugins automatically
    • -
    • • Adds convenient shell aliases
    • -
    • • Keeps your existing Vim config safe
    • +
      +
      +
      + + + +
      +

      + What the installer does: +

      +
      +
        +
      • +
        + Downloads and installs vim-plug +
      • +
      • +
        + Installs all plugins automatically +
      • +
      • +
        + Adds convenient shell aliases +
      • +
      • +
        + Keeps your existing Vim config safe +