From: Ruben Beltran del Rio Date: Sun, 1 May 2022 13:02:56 +0000 (+0200) Subject: Add font stacks to tailwind X-Git-Url: https://git.r.bdr.sh/rbdr/forum/commitdiff_plain/5ae12afbb94e0b029373a91622280d5a875272db?ds=sidebyside Add font stacks to tailwind --- diff --git a/tailwind.config.cjs b/tailwind.config.cjs index 790ce27..2f63341 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -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')] };