diff options
| author | Volpeon <git@volpeon.ink> | 2024-04-23 17:07:37 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2024-04-23 17:07:37 +0200 |
| commit | 3231a198468ba0ab0ac5ebf9a4f7b1a6753b3a31 (patch) | |
| tree | 2ee75957a37466ce43994276920a9942f9563721 /src/objects/_button.scss | |
| parent | Update (diff) | |
| download | iro-design-3231a198468ba0ab0ac5ebf9a4f7b1a6753b3a31.tar.gz iro-design-3231a198468ba0ab0ac5ebf9a4f7b1a6753b3a31.tar.bz2 iro-design-3231a198468ba0ab0ac5ebf9a4f7b1a6753b3a31.zip | |
Update
Diffstat (limited to 'src/objects/_button.scss')
| -rw-r--r-- | src/objects/_button.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/objects/_button.scss b/src/objects/_button.scss index ee895a3..b830475 100644 --- a/src/objects/_button.scss +++ b/src/objects/_button.scss | |||
| @@ -46,6 +46,11 @@ | |||
| 46 | --pad-x: fn.global-dim(--size --225), | 46 | --pad-x: fn.global-dim(--size --225), |
| 47 | --pad-y: fn.global-dim(--size --100), | 47 | --pad-y: fn.global-dim(--size --100), |
| 48 | --rounding: 10em, | 48 | --rounding: 10em, |
| 49 | |||
| 50 | --lg: ( | ||
| 51 | --pad-x: fn.global-dim(--size --300), | ||
| 52 | --pad-y: fn.global-dim(--size --150), | ||
| 53 | ), | ||
| 49 | ), | 54 | ), |
| 50 | ), 'dims'); | 55 | ), 'dims'); |
| 51 | 56 | ||
| @@ -141,6 +146,10 @@ | |||
| 141 | background-color: transparent; | 146 | background-color: transparent; |
| 142 | box-shadow: none; | 147 | box-shadow: none; |
| 143 | } | 148 | } |
| 149 | |||
| 150 | @include iro.bem-modifier('lg') { | ||
| 151 | padding: fn.dim(--lg --pad-y) fn.dim(--lg --pad-x); | ||
| 152 | } | ||
| 144 | 153 | ||
| 145 | @include button-variant('secondary'); | 154 | @include button-variant('secondary'); |
| 146 | 155 | ||
