| 1234567891011121314151617181920212223242526272829303132 |
- /*
- * Copyright 2026 Alessandro Chiapparini <sprint_planer_web@chiapparini.org>
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * See the LICENSE file in the project root for the full license text.
- */
- /** @type {import('tailwindcss').Config} */
- module.exports = {
- darkMode: 'class',
- content: [
- './views/**/*.twig',
- './src/**/*.php',
- './public/assets/js/**/*.js',
- ],
- // Phase 18 status classes are interpolated server-side
- // ("assign-status-{{ st }}"), so Tailwind's content scanner can't see
- // the literal class names and would otherwise prune the rules from
- // assets/css/input.css's @layer components block. The safelist keeps
- // them in the build.
- safelist: [
- 'assign-status-zugewiesen',
- 'assign-status-gestartet',
- 'assign-status-abgeschlossen',
- 'assign-status-abgebrochen',
- ],
- theme: {
- extend: {},
- },
- plugins: [],
- };
|