| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | */ |
| 7 | |
| 8 | const defaultTheme = require('tailwindcss/defaultTheme'); |
| 9 | const colors = require('./colors'); |
| 10 | |
| 11 | module.exports = { |
| 12 | content: [ |
| 13 | './app/**/*.{js,ts,jsx,tsx}', |
| 14 | './pages/**/*.{js,ts,jsx,tsx}', |
| 15 | './components/**/*.{js,ts,jsx,tsx}', |
| 16 | './lib/forgetMonacoDiagnostics.ts', |
| 17 | ], |
| 18 | theme: { |
| 19 | extend: { |
| 20 | colors, |
| 21 | width: { |
| 22 | toast: 'min(900px, 100vw - 40px)', |
| 23 | 'toast-body': 'calc(100% - 60px)', |
| 24 | 'toast-title': 'calc(100% - 40px)', |
| 25 | }, |
| 26 | height: { |
| 27 | content: 'calc(100vh - 45px)', |
| 28 | monaco: 'calc(100vh - 93px)', |
| 29 | monaco_small: 'calc(100vh - 129px)', |
| 30 | }, |
| 31 | fontFamily: { |
| 32 | sans: [ |
| 33 | 'Optimistic Display', |
| 34 | '-apple-system', |
| 35 | ...defaultTheme.fontFamily.sans, |
| 36 | ], |
| 37 | }, |
| 38 | }, |
| 39 | }, |
| 40 | plugins: [], |
| 41 | }; |