mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 05:06:55 +04:00
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
15 lines
631 B
SCSS
15 lines
631 B
SCSS
// Tests for `input-height-token()` in scss/mixins/_mixins.scss: the height of
|
|
// a control as a token that reads the `:root` scale while the input metrics
|
|
// keep their defaults.
|
|
|
|
@use 'sass:meta';
|
|
@use '../config' as *;
|
|
|
|
@include describe('input-height-token') {
|
|
@include it('reads the root scale for the default metrics') {
|
|
@include assert-equal(meta.inspect(input-height-token()), 'var(--btn-input-min-height)');
|
|
@include assert-equal(meta.inspect(input-height-token('sm')), 'var(--btn-input-sm-min-height)');
|
|
@include assert-equal(meta.inspect(input-height-token('lg')), 'var(--btn-input-lg-min-height)');
|
|
}
|
|
}
|