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
605 B
SCSS
24 lines
605 B
SCSS
// Form input mixins
|
|
|
|
@mixin input-field($height: auto, $padding: var(--spacing-sm) var(--spacing-md)) {
|
|
width: 100%;
|
|
padding: $padding;
|
|
font-size: var(--font-size-md);
|
|
font-family: inherit;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-bg);
|
|
color: var(--color-text);
|
|
outline: none;
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
|
|
@if $height != auto {
|
|
height: $height;
|
|
}
|
|
}
|
|
|
|
@mixin input-focus {
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 0 3px var(--color-primary-alpha);
|
|
}
|