aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app')
-rw-r--r--frontend/app/shiki.bundle.ts3
-rw-r--r--frontend/app/tailwind.css9
2 files changed, 10 insertions, 2 deletions
diff --git a/frontend/app/shiki.bundle.ts b/frontend/app/shiki.bundle.ts
index 1d03de3..22b0ce2 100644
--- a/frontend/app/shiki.bundle.ts
+++ b/frontend/app/shiki.bundle.ts
@@ -10,12 +10,13 @@ import {
} from '@shikijs/core'
import { createJavaScriptRegexEngine } from '@shikijs/engine-javascript'
-type BundledLanguage = 'php'
+type BundledLanguage = 'php' | 'swift'
type BundledTheme = 'github-light'
type Highlighter = HighlighterGeneric<BundledLanguage, BundledTheme>
const bundledLanguages = {
php: () => import('@shikijs/langs/php'),
+ swift: () => import('@shikijs/langs/swift'),
} as Record<BundledLanguage, DynamicImportLanguageRegistration>
const bundledThemes = {
diff --git a/frontend/app/tailwind.css b/frontend/app/tailwind.css
index 1151645..ada2c29 100644
--- a/frontend/app/tailwind.css
+++ b/frontend/app/tailwind.css
@@ -5,5 +5,12 @@
}
@utility bg-iosdc-japan {
- background-image: linear-gradient(to right, #e03468, #ff523d, #f060b2, #a05cff, #008ccf);
+ background-image: linear-gradient(
+ to right,
+ #e03468,
+ #ff523d,
+ #f060b2,
+ #a05cff,
+ #008ccf
+ );
}