mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
feat(styles): create global styles entry point and organize global styles feat(styles): implement base HTML element styles and utility classes for flexbox feat(styles): establish layout, position, spacing, and text utility classes feat(styles): introduce mixins for animations, cards, dialogs, flexbox, grid, and responsive design test(quick_guide): add component and metadata validation tests for quick_guide package test(ui_level6): implement metadata validation tests for ui_level6 package
24 lines
426 B
SCSS
24 lines
426 B
SCSS
// Flexbox mixins
|
|
|
|
@mixin flex($direction: row, $justify: flex-start, $align: stretch, $gap: 0) {
|
|
display: flex;
|
|
flex-direction: $direction;
|
|
justify-content: $justify;
|
|
align-items: $align;
|
|
@if $gap != 0 {
|
|
gap: $gap;
|
|
}
|
|
}
|
|
|
|
@mixin flex-center {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
@mixin flex-between {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|