/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
adev/tailwind.config.js
26 строк
636 B
Cheng-Hsuan Tsai
docs(docs-infra): enable using Tailwind CSS in code examples (#63583)
11 сен 2025, 02:01
11 сен 2025, 02:01
d9483fa
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ /** @type {import('tailwindcss').Config} */ module.exports = { content: [ // Only parse example templates. './src/content/examples/**/*.{html,ts}', ], // Scope utility classes to example previews. important: '.docs-example-viewer-preview', theme: { extend: {}, }, plugins: [], corePlugins: { // Disable Tailwind base styles. preflight: false, }, darkMode: ['selector', '.docs-dark-mode'], };