Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support more breakpoints #202

Open
axos88 opened this issue Dec 30, 2023 · 2 comments
Open

Support more breakpoints #202

axos88 opened this issue Dec 30, 2023 · 2 comments

Comments

@axos88
Copy link

axos88 commented Dec 30, 2023

Is it possible to change the number of breakpoints? 4 is not too many, and different projects have different needs.

Bootstrap supports a dynamic number of breakpoints for example, that would be awesome!

@agertenbach
Copy link

+1 -- Also looking for the correct way to handle this in the latest versions of Primeflex -- the previously documented SCSS variables appear to have changed and we need to enable progressive support for larger breakpoints

@axos88
Copy link
Author

axos88 commented Jun 6, 2024

This works for me currently, but some proper documentation would be nice:

@import 'primeflex/core/variables';

$xxl: 1600px;
$fhd: 1920px;
$qhd: 2560px;

$breakpoints: (
  'sm': $sm,
  'md': $md,
  'lg': $lg,
  'xl': $xl,
  'xxl': $xxl,
  'fhd': $fhd,
  'qhd': $qhd
);

@import 'primeflex/primeflex.scss';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants