Extending the default breakpoints #31
Answered
by
barvian
mboisvertdupras
asked this question in
Help
-
This is more of a question than an issue but I was wondering how I could go about extending the screens provided by fluid-tailwind instead of overwriting them? For example, if I want to edit the 2xl breakpoint to be 100rem instead of 96rem. |
Beta Was this translation helpful? Give feedback.
Answered by
barvian
Jun 19, 2024
Replies: 1 comment 1 reply
-
Hi! You should be able to import fluid, { extract, screens } from 'fluid-tailwind'
export default {
theme: {
screens,
extend: {
screens: {
'2xl': '100rem'
}
}
}
// ...
} Let me know if that works as you'd expect. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mboisvertdupras
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! You should be able to
extend
them like so:Let me know if that works as you'd expect.