]> git.r.bdr.sh - rbdr/forum/commitdiff
Add font stacks to tailwind
authorRuben Beltran del Rio <redacted>
Sun, 1 May 2022 13:02:56 +0000 (15:02 +0200)
committerRuben Beltran del Rio <redacted>
Sun, 1 May 2022 13:02:56 +0000 (15:02 +0200)
tailwind.config.cjs

index 790ce271379c0a15720151b2d3d17a7b937661c7..2f633410f1265f0a06fa0c8deca0ef5289a8726c 100644 (file)
@@ -1,4 +1,42 @@
 module.exports = {
+       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')]
 };