Skip to content

Commit 9fe4224

Browse files
committed
feat: add CSS class for subtle uppercased headings
1 parent bda015c commit 9fe4224

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

src/components/ModeSwitcherBtn.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
3-
import { draw } from 'svelte/transition';
3+
import { draw } from 'svelte/transition';
44
import { quintOut } from 'svelte/easing';
55
import ModeSwitcher from './ModeSwitcher.svelte'
66
import SvgIcon from './SvgIcon.svelte'

src/content/blog/introducing-astro-2.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This post marks the first public beta release of Astro. Missing features and bug
3838

3939
## Shell(Bash)
4040

41-
```bash title="example.js" {2-4}
41+
```bash
4242
# make a new project directory and jump into it
4343
mkdir my-astro-project && cd $_
4444

src/styles/global.css

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
@tailwind components;
1717
@tailwind utilities;
1818

19+
/* Ink specific styles */
20+
.ink-h {
21+
@apply inline-block text-sm font-bold uppercase drop-shadow-lg py-4 tracking-wider opacity-40 dark:opacity-70
22+
}
23+
1924
/** Code block **/
2025
.astro-code {
2126
@apply relative shadow-inner shadow-theme-primary/20 dark:shadow-theme-dark-primary/20 mt-0;

0 commit comments

Comments
 (0)