Skip to content

Commit bbec039

Browse files
committed
test(tailwind.config): update tests
1 parent 8534ce3 commit bbec039

File tree

4 files changed

+20
-12
lines changed

4 files changed

+20
-12
lines changed

apps/component-tests/tailwind.config.cjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ const plugin = require('tailwindcss/plugin');
33

44
/** @type {import('tailwindcss').Config} */
55

6-
// RFC maiieul: I have added -base utility modifiers to start to have a good default specific to each utility based in each style.
7-
// This means using something non-standard that developers would have to learn.
8-
// Although it's not much and should be intuitive- and not knowing it doesn't break the tailwind design tokens system.
9-
106
module.exports = {
117
content: [
128
join(__dirname, 'src/**/*.{js,ts,jsx,tsx,mdx}'),
@@ -85,6 +81,10 @@ module.exports = {
8581
DEFAULT: 'hsl(var(--card))',
8682
foreground: 'hsl(var(--card-foreground))',
8783
},
84+
popover: {
85+
DEFAULT: 'hsl(var(--popover))',
86+
foreground: 'hsl(var(--popover-foreground))',
87+
},
8888
},
8989
borderRadius: {
9090
base: 'var(--border-radius)',

apps/website/tailwind.config.cjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ const plugin = require('tailwindcss/plugin');
33

44
/** @type {import('tailwindcss').Config} */
55

6-
// RFC maiieul: I have added -base utility modifiers to start to have a good default specific to each utility based in each style.
7-
// This means using something non-standard that developers would have to learn.
8-
// Although it's not much and should be intuitive- and not knowing it doesn't break the tailwind design tokens system.
9-
106
module.exports = {
117
content: [
128
join(__dirname, 'src/**/*.{js,ts,jsx,tsx,mdx}'),

packages/cli/src/generators/setup-tailwind/setup-tailwind-generator.spec.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ html {
149149
DEFAULT: 'hsl(var(--card))',
150150
foreground: 'hsl(var(--card-foreground))',
151151
},
152+
popover: {
153+
DEFAULT: 'hsl(var(--popover))',
154+
foreground: 'hsl(var(--popover-foreground))',
155+
},
152156
},
153157
borderRadius: {
154158
base: 'var(--border-radius)',
@@ -263,6 +267,10 @@ html {
263267
DEFAULT: 'hsl(var(--card))',
264268
foreground: 'hsl(var(--card-foreground))',
265269
},
270+
popover: {
271+
DEFAULT: 'hsl(var(--popover))',
272+
foreground: 'hsl(var(--popover-foreground))',
273+
},
266274
},
267275
borderRadius: {
268276
base: 'var(--border-radius)',
@@ -376,6 +384,10 @@ html {
376384
DEFAULT: 'hsl(var(--card))',
377385
foreground: 'hsl(var(--card-foreground))',
378386
},
387+
popover: {
388+
DEFAULT: 'hsl(var(--popover))',
389+
foreground: 'hsl(var(--popover-foreground))',
390+
},
379391
},
380392
borderRadius: {
381393
base: 'var(--border-radius)',

packages/kit-styled/src/templates/tailwind.config.cjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ const plugin = require('tailwindcss/plugin');
33

44
/** @type {import('tailwindcss').Config} */
55

6-
// RFC maiieul: I have added -base utility modifiers to start to have a good default specific to each utility based in each style.
7-
// This means using something non-standard that developers would have to learn.
8-
// Although it's not much and should be intuitive- and not knowing it doesn't break the tailwind design tokens system.
9-
106
module.exports = {
117
content: [
128
join(__dirname, 'src/**/*.{js,ts,jsx,tsx,mdx}'),
@@ -85,6 +81,10 @@ module.exports = {
8581
DEFAULT: 'hsl(var(--card))',
8682
foreground: 'hsl(var(--card-foreground))',
8783
},
84+
popover: {
85+
DEFAULT: 'hsl(var(--popover))',
86+
foreground: 'hsl(var(--popover-foreground))',
87+
},
8888
},
8989
borderRadius: {
9090
base: 'var(--border-radius)',

0 commit comments

Comments
 (0)