fix: distribution de tailwind.config.ts aux projets consommateurs avec paths content absolus
#31
@@ -30,3 +30,5 @@ Liste des évolutions de la librairie Malio layer UI
|
||||
### Changed
|
||||
|
||||
### Fixed
|
||||
* Hauteur des boutons de pagination du datatable alignée sur le select (40px)
|
||||
* Distribution de `tailwind.config.ts` aux projets consommateurs avec paths `content` absolus
|
||||
|
||||
@@ -35,6 +35,6 @@
|
||||
--m-site-yellow: 243 203 0; /* #F3CB00 - Jaune Saint-Jean */
|
||||
--m-site-green: 116 191 4; /* #74BF04 - Vert Pommevic */
|
||||
|
||||
--m-radius: 8px;
|
||||
--m-radius: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
variant="tertiary"
|
||||
label="Prev"
|
||||
:disabled="page <= 1"
|
||||
button-class="h-8 w-auto min-w-0 px-3 text-sm"
|
||||
button-class="h-10 w-auto min-w-0 px-3 text-sm"
|
||||
aria-label="Page précédente"
|
||||
data-test="prev-button"
|
||||
@click="goToPage(page - 1)"
|
||||
@@ -95,7 +95,7 @@
|
||||
<button
|
||||
v-else
|
||||
type="button"
|
||||
class="h-8 min-w-[2rem] rounded px-2 text-sm transition-colors"
|
||||
class="h-10 min-w-[2.5rem] rounded px-2 text-sm transition-colors"
|
||||
:class="p === page
|
||||
? 'bg-m-btn-primary text-white font-semibold'
|
||||
: 'text-m-text hover:bg-m-bg'"
|
||||
@@ -111,7 +111,7 @@
|
||||
variant="tertiary"
|
||||
label="Next"
|
||||
:disabled="page >= totalPages"
|
||||
button-class="h-8 w-auto min-w-0 px-3 text-sm"
|
||||
button-class="h-10 w-auto min-w-0 px-3 text-sm"
|
||||
aria-label="Page suivante"
|
||||
data-test="next-button"
|
||||
@click="goToPage(page + 1)"
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
"files": [
|
||||
"app/**",
|
||||
"nuxt.config.ts",
|
||||
"tailwind.config.ts",
|
||||
"README.md",
|
||||
"COMPONENTS.md"
|
||||
],
|
||||
|
||||
@@ -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