]> git.r.bdr.sh - rbdr/forum/blobdiff - tailwind.config.cjs
Add font stacks to tailwind
[rbdr/forum] / tailwind.config.cjs
index 327f3df1187e5fd9d2df517915e20155c1f9b00f..2f633410f1265f0a06fa0c8deca0ef5289a8726c 100644 (file)
@@ -1,6 +1,42 @@
 module.exports = {
-  content: ['./src/**/*.{html,js,svelte,ts}'],
-  plugins: [
-    require('@tailwindcss/typography'), require('daisyui')
-  ]
+       theme: {
+               fontFamily: {
+                       serif: [
+                               '"ヒラギノ明朝 ProN"',
+                               '"Hiragino Mincho ProN"',
+                               '"游明朝"',
+                               '"游明朝体"',
+                               'YuMincho',
+                               '"Yu Mincho"',
+                               '"MS 明朝"',
+                               '"MS Mincho"',
+                               'HiraMinProN-W3',
+                               '"TakaoEx明朝"',
+                               'TakaoExMincho',
+                               'MotoyaLCedar',
+                               '"Droid Sans Japanese"',
+                               'serif'
+                       ],
+                       sans: [
+                               '"ヒラギノ角ゴ ProN"',
+                               '"Hiragino Kaku Gothic ProN"',
+                               '"游ゴシック"',
+                               '"游ゴシック体"',
+                               'YuGothic',
+                               '"Yu Gothic"',
+                               '"メイリオ"',
+                               'Meiryo',
+                               '"MS ゴシック"',
+                               '"MS Gothic"',
+                               'HiraKakuProN-W3',
+                               '"TakaoExゴシック"',
+                               'TakaoExGothic',
+                               'MotoyaLCedar',
+                               '"Droid Sans Japanese"',
+                               'sans-serif'
+                       ]
+               }
+       },
+       content: ['./src/**/*.{html,js,svelte,ts}'],
+       plugins: [require('@tailwindcss/typography'), require('daisyui')]
 };