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

Pixel and rem sizes in variables #56

Open
quintus-luis opened this issue Feb 16, 2022 · 0 comments
Open

Pixel and rem sizes in variables #56

quintus-luis opened this issue Feb 16, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@quintus-luis
Copy link
Collaborator

pixel and rem sizes should be in variables:

For example:

$MAX_CONTENT_WIDTH: 600px

-> The boxes can be used everywhere. But by allowing only certain "distance categories", this creates a uniform look
$BOX_XXS: 0.25rem; //4px
$BOX_XS: 0.5rem; //8px
$BOX_S: 0.75rem; //12px
$BOX_M: 1rem; //16px
$BOX_L: 1.5rem; //24px
$BOX_XL: 2rem; //32px
$BOX_XXL: 2.5rem; //40px
$BOX_XXXL: 3.5rem; //56px
$BOX_XXXXL: 5rem; //80px

$BORDERRADIUS_S: 4px;
$BORDERRADIUS_M: 8px;
$BORDERRADIUS_L: 16px;

@94726 94726 mentioned this issue Apr 2, 2022
1 task
@LeoTuet LeoTuet added the good first issue Good for newcomers label Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants