v2.0.0-beta.1
·
50 commits
to master
since this release
Webpixels CSS v2.0, comes with some major changes and improvements. We will drop some of the custom components in favor of utility classes and added support for the custom properties (CSS variables) introduced in the latest Bootstrap update.
Highlights
- Modified and simplified the project's architecture
Avatars
- UPDATE: modified Sass variable from
$avatar-widthto$avatar-size
Buttons
- UPDATE: modified variable from
$btn-square-widthto$btn-square-size - DEPRECATED: removed
btn-appcomponent
List Groups
- NEW: added a new checkable list group option
Forms
- NEW:
form-colorchecks for choosing color options
Dropdowns
- UPDATE:
.dropdown-itemhas a new style - NEW: added
.dropdown-bodyas an alternative todropdown-item(useful when you don't need a clickable item) - DEPRECATED: removed the
$dropdown-helper-colorSass variable
Variables
- DEPRECATED: removed the social media colors (facebook, instagram, etc.)
- DEPRECATED: removed the
bg-soft-*colors in favor of the new Bootstrap subtle color options - DEPRECATED: removed the
bg-surface-*colors in favor of the new Bootstrap body color options - DEPRECATED:
$tertiarycolor option has been removed
Utilities
- the
.overlap-*utitlies were replace with the new Bootstrap.z-*classes - removed the
.min-heightutilities - height utilities class changed from
.h-*to.h-rem-* - position values were changed to match the default ones one Bootstrap
- opacity values have been reduced and now matching the default ones in Bootstrap
- the
.overlapclass for addin z-index on elements has been removed in favor of the newly add.z-*class from Bootstrap - removed the
.font-*utilities in favor of the default Bootstrap.fw-*and.fst-*classes .max-w-*became.mw-*
Migration Guide
Widths
.w-1/4 ->.w-25`,.w-1/2 ->.w-50: 50%,.w-1/2 ->.w-75: 75%,.w-100 ->.w-100: 100%,.w-110 ->.w-110: 110%,.w-120 ->.w-120: 120%,.w-130 ->.w-130: 130%
Spacings (margin and pagging)
- Replace position values like
.top-2to.top-0 mt-2
Z-index
- Replace overlap classes:
.overlap-10to.z-1
Transform
.translate-x-1/2became.translate-y-50- skew utilities are now optional
Line Heights
.lh-none->.lh-1.lh-tighter->.lh-xxs.lh-tight->.lh-xs.lh-snug->.lh-sm.lh-normal->.lh-base.lh-relaxed->.lh-lg.lh-loose->.lh-xl