Skip to content

Commit

Permalink
Lib: %stack, %stack-self, %no-transition, round $font-size
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiriVulpes committed Nov 16, 2024
1 parent 2b303a2 commit 9f3cfad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/default/mixins.chiri
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#each in font-sizes as var i, var font-size:
%font-#{i + 1}:
$font-size: calc(#{font-size}rem / $font-scale-factor)
$font-size: round(calc(#{font-size}rem / $font-scale-factor), 1px)
$font-scaling: #{font-size}
font-size: $font-size

Expand Down Expand Up @@ -370,6 +370,9 @@ $$translate-y!length-percentage
%columns-subgrid: grid-template-columns: subgrid
%rows-subgrid: grid-template-rows: subgrid

%stack: grid-template-areas: "stack"
%stack-self: grid-area: stack

#do:
#var cursor-values=[
"auto
Expand Down Expand Up @@ -569,6 +572,7 @@ $$gradient-mask-height!length-percentage
%scheme-light-dark: colour-scheme: light dark

%transition-discrete: transition-behaviour: allow-discrete
%no-transition: transition: none

%outline-none: outline: none
%no-outline: outline: none
Expand Down

0 comments on commit 9f3cfad

Please sign in to comment.