@use '@lucas-labs/lui-micro/color' as color;
@use '@lucas-labs/lui-micro/var' as var;
@mixin base {
:root {
// ┌───────┐
// │ fonts │
// └───────┘
--fonts-proportional: #{var.get('font-family')};
--fonts-monospace: #{var.get('code-font-family')};
--fonts-emoji: #{var.get('emoji-font-family')};
// ┌───────┬───────────────────┐
// │ fonts │ weights & heights │
// └───────┴───────────────────┘
--font-weight-light: 300;
--font-weight-normal: 400;
--font-weight-medium: 500;
--font-weight-semibold: 600;
--font-weight-bold: 700;
--line-height-default: normal;
// ┌────────┐
// │ images │
// └────────┘
--checkbox-mask-checked: url('data:image/svg+xml;utf8,');
--checkbox-mask-indeterminate: url('data:image/svg+xml;utf8,');
--octicon-chevron-right: url('data:image/svg+xml;utf8,');
// ┌────────┐
// │ radius │
// └────────┘
--border-radius: #{var.get('measure/.5x')};
--border-radius-medium: #{var.get('measure/1x')};
--border-radius-full: calc(infinity * 1px);
// ┌────────┐
// │ others │
// └────────┘
--opacity-disabled: 0.55;
--height-loading: 16rem;
--min-height-textarea: 132px; // padding + 6 lines + border = calc(1.57142em + 6lh + 2px), but lh is not fully supported
--checkbox-size: 15px; // height and width of checkbox and radio inputs
--page-spacing: 24px; // space between page elements
--page-margin-x: 32px; // minimum space on left and right side of page
--tab-size: 4;
}
@media (min-width: 768px) and (max-width: 1200px) {
:root {
--page-margin-x: 24px;
}
}
@media (max-width: 767.98px) {
:root {
--page-margin-x: 16px;
}
}
}