Sha256: 971d25999536068aaea8019e3bb1ca0ecc62f009b9a48342c53c4ddcc360a2e2
Contents?: true
Size: 567 Bytes
Versions: 38
Compression:
Stored size: 567 Bytes
Contents
/** @type {import('tailwindcss').Config} */ const merge = require("lodash/merge"); const defaultTheme = require("tailwindcss/defaultTheme"); const baseConfig = require("./tailwind.base.config.cjs"); const { fontSize, fontFamily, colors, screens } = require("./tokens.cjs").book; module.exports = merge(baseConfig, { theme: { colors, screens, fontFamily: { display: [fontFamily.displaySans, ...defaultTheme.fontFamily.sans], body: [fontFamily.bodySans, ...defaultTheme.fontFamily.sans], }, extend: { fontSize, }, }, });
Version data entries
38 entries across 38 versions & 1 rubygems