Files
medusa-store/www/apps/book/tailwind.config.js
Shahed Nasser 0a37675f0e docs: add routing page (#9550)
- Add a new homepage to `book` project for the routing page
- Move all main doc pages to be under `/v2/learn` (and added redirects + fixed links across docs)
- Other: add admin components to resources dropdown + fixes to search on mobile.

Closes DX-955

Preview: https://docs-v2-git-docs-router-page-medusajs.vercel.app/v2
2024-10-18 08:24:34 +00:00

40 lines
1.3 KiB
JavaScript

import coreConfig from "tailwind"
/** @type {import('tailwindcss').Config} */
module.exports = {
...coreConfig,
content: [
...coreConfig.content,
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./layouts/**/*.{js,ts,jsx,tsx,mdx}",
"./providers/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
...coreConfig.theme,
extend: {
...coreConfig.theme.extend,
container: {
center: true,
screens: {
"2xl": "1400px",
},
},
},
backgroundImage: {
...coreConfig.theme.backgroundImage,
"search-hit": "url('/images/search-hit-light.svg')",
"search-hit-dark": "url('/images/search-hit.svg')",
"search-arrow": "url('/images/search-hit-arrow-light.svg')",
"search-arrow-dark": "url('/images/search-hit-arrow.svg')",
"search-no-result": "url('/images/search-no-result-light.svg')",
"search-no-result-dark": "url('/images/search-no-result.svg')",
"magnifying-glass": "url('/images/magnifying-glass.svg')",
"magnifying-glass-dark": "url('/images/magnifying-glass-dark.svg')",
"bg-stripes": "url('/v2/images/bg-stripes.png')",
"bg-stripes-dark": "url('/v2/images/bg-stripes-dark.png')",
},
},
}