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

Version Path
coveragebook_components-0.9.1 config/tailwind.book.config.cjs
coveragebook_components-0.9.0 config/tailwind.book.config.cjs
coveragebook_components-0.8.9 config/tailwind.book.config.cjs
coveragebook_components-0.8.8 config/tailwind.book.config.cjs
coveragebook_components-0.8.7 config/tailwind.book.config.cjs
coveragebook_components-0.8.6 config/tailwind.book.config.cjs
coveragebook_components-0.8.5 config/tailwind.book.config.cjs
coveragebook_components-0.8.4 config/tailwind.book.config.cjs
coveragebook_components-0.8.3 config/tailwind.book.config.cjs
coveragebook_components-0.8.2 config/tailwind.book.config.cjs
coveragebook_components-0.8.1 config/tailwind.book.config.cjs
coveragebook_components-0.8.0 config/tailwind.book.config.cjs
coveragebook_components-0.8.0.beta.3 config/tailwind.book.config.cjs
coveragebook_components-0.8.0.beta.2 config/tailwind.book.config.cjs
coveragebook_components-0.8.0.beta.1 config/tailwind.book.config.cjs
coveragebook_components-0.7.10 config/tailwind.book.config.cjs
coveragebook_components-0.7.9 config/tailwind.book.config.cjs
coveragebook_components-0.7.8 config/tailwind.book.config.cjs
coveragebook_components-0.7.7 config/tailwind.book.config.cjs
coveragebook_components-0.7.6 config/tailwind.book.config.cjs