Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): add missing tailwind @screen di…
Browse files Browse the repository at this point in the history
…rective in matcher

`@screen` is not documented in tailwind documentation as it is not a recommanded option, however it still works and they don't have plans to remove it.

tailwindlabs/tailwindcss#7516

Closes #26709

(cherry picked from commit b3c1991)
  • Loading branch information
alan-agius4 committed Dec 19, 2023
1 parent 0b48acc commit cf11cdf
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,15 @@ export interface StylesheetPluginOptions {
*
* Based on https://tailwindcss.com/docs/functions-and-directives
*/
const TAILWIND_KEYWORDS = ['@tailwind', '@layer', '@apply', '@config', 'theme(', 'screen('];
const TAILWIND_KEYWORDS = [
'@tailwind',
'@layer',
'@apply',
'@config',
'theme(',
'screen(',
'@screen', // Undocumented in version 3, see: https://github.com/tailwindlabs/tailwindcss/discussions/7516.
];

export interface StylesheetLanguage {
name: string;
Expand Down

0 comments on commit cf11cdf

Please sign in to comment.