fix: distribution de tailwind.config.ts aux projets consommateurs avec paths content absolus (#31)
All checks were successful
Release / release (push) Successful in 1m8s
All checks were successful
Release / release (push) Successful in 1m8s
| Numéro du ticket | Titre du ticket | |------------------|-----------------| | | | ## Description de la PR ## Modification du .env ## Check list - [ ] Pas de régression - [ ] TU/TI/TF rédigée - [ ] TU/TI/TF OK - [ ] CHANGELOG modifié Co-authored-by: kevin <kevin@yuno.malio.fr> Co-authored-by: Kevin Boudet <kevin@yuno.malio.fr> Reviewed-on: #31 Co-authored-by: tristan <tristan@yuno.malio.fr> Co-committed-by: tristan <tristan@yuno.malio.fr>
This commit was merged in pull request #31.
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
import type {Config} from 'tailwindcss'
|
||||
import {fileURLToPath} from 'node:url'
|
||||
import {dirname, join} from 'node:path'
|
||||
|
||||
const dir = dirname(fileURLToPath(import.meta.url))
|
||||
|
||||
export default {
|
||||
content: [
|
||||
'./app/**/*.{vue,js,ts}',
|
||||
'./app/**/*.story.{vue,js,ts}',
|
||||
'./.playground/**/*.{vue,js,ts}',
|
||||
'./histoire.setup.ts',
|
||||
'./histoire.config.ts',
|
||||
join(dir, 'app/**/*.{vue,js,ts}'),
|
||||
join(dir, 'app/**/*.story.{vue,js,ts}'),
|
||||
join(dir, '.playground/**/*.{vue,js,ts}'),
|
||||
join(dir, 'histoire.setup.ts'),
|
||||
join(dir, 'histoire.config.ts'),
|
||||
],
|
||||
theme: {
|
||||
extend: {
|
||||
@@ -39,7 +43,7 @@ export default {
|
||||
},
|
||||
},
|
||||
fontFamily: {
|
||||
sans: ['"Inter"', 'Helvetica Neue', 'Helvetica', 'Arial', 'sans-serif'],
|
||||
sans: ['"Helvetica Neue"', 'Helvetica', 'Arial', 'sans-serif'],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user