{"version":3,"sources":["","file:///Users/ket/Documents/work/dsfr/src/component/link/style/tool/_build.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/typography/tool/_styles.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/action/tool/_link.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/action/tool/_hover.scss","file:///Users/ket/Documents/work/dsfr/module/color/mixin/_element.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/display/tool/_display.scss","file:///Users/ket/Documents/work/dsfr/src/component/badge/style/module/_default.scss","file:///Users/ket/Documents/work/dsfr/src/component/link/style/tool/_size.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/typography/tool/_font-weight.scss","file:///Users/ket/Documents/work/dsfr/src/component/link/style/tool/_icon.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_size.scss","%3Cinput%20css%20FyhZVp%3E","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_pseudo.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_pattern.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/icon/tool/_default.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/display/tool/_mask-image.scss","file:///Users/ket/Documents/work/dsfr/src/component/badge/style/module/_group.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/typography/tool/_list.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_space.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_nest.scss","file:///Users/ket/Documents/work/dsfr/src/component/badge/style/_scheme.scss","file:///Users/ket/Documents/work/dsfr/module/color/mixin/_accent.scss","file:///Users/ket/Documents/work/dsfr/src/component/badge/deprecated/style/module/_group.scss","file:///Users/ket/Documents/work/dsfr/module/media-query/mixin/_respond-from.scss","file:///Users/ket/Documents/work/dsfr/module/shame/media-query/mixin/_order.scss","file:///Users/ket/Documents/work/dsfr/module/legacy/mixin/_legacy.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/icon/tool/_legac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F,CSxpBE,mBhBmBA,wBAAA,CAAA,aOyoBF,CSvpBE,mBhBcA,wBAAA,CAAA,aO6oBF,CStpBE,ehBSA,wBAAA,CAAA,aOipBF,CUhrBI,kCjB+BF,wBAAA,CAAA,aOqpBF,CUprBI,0BjB+BF,wBAAA,CAAA,aOypBF,CUxrBI,0BjB+BF,wBAAA,CAAA,aO6pBF,CU5rBI,wBjB+BF,wBAAA,CAAA,aOiqBF,CUhsBI,0BjB+BF,wBAAA,CAAA,aOqqBF,CUpsBI,sBjB+BF,wBAAA,CAAA,aOyqBF,CUxsBI,wBjB+BF,wBAAA,CAAA,aO6qBF,CU5sBI,0BjB+BF,wBAAA,CAAA,aOirBF,CUhtBI,wBjB+BF,wBAAA,CAAA,aOqrBF,CUptBI,sBjB+BF,wBAAA,CAAA,aOyrBF,CUxtBI,4BjB+BF,wBAAA,CAAA,aO6rBF,CU5tBI,2BjB+BF,wBAAA,CAAA,aOisBF,CUhuBI,+BjB+BF,wBAAA,CAAA,aOqsBF,CUpuBI,4BjB+BF,wBAAA,CAAA,aOysBF,CUxuBI,yBjB+BF,wBAAA,CAAA,aO6sBF,CU5uBI,uBjB+BF,wBAAA,CAAA,aOitBF,CUhvBI,4BjB+BF,wBAAA,CAAA,aOqtBF,CACF","file":"badge.min.css","sourcesContent":[null,"////\n/// Link Tool : build\n/// @group link\n////\n\n@mixin _link-class($base, $size: md, $place: null, $align-on-content: false, $append: '') {\n $selector: '';\n $base: '#{$base}';\n\n @if $size != md {\n $selector: '#{$base}--#{$size}';\n }\n\n @if $align-on-content {\n $selector: '#{$selector}#{$base}--align-on-content';\n }\n\n @if $place == only {\n @if $selector == '' {\n $selector: '#{$base}';\n }\n $selector: '#{$selector}:not([class*=\"#{str-slice($base, 2)}--icon-\"])';\n }\n @else if $place == left or $place == right {\n $selector: '#{$selector}#{$base}--icon-#{$place}';\n }\n\n @if $selector == '' {\n $selector: $base;\n }\n\n @if $append != '' {\n $selector: '#{$selector} #{$append}';\n }\n\n #{$selector} {\n @if $place != null {\n @include has-icon {\n @content;\n }\n }\n @else {\n @content;\n }\n }\n}\n\n@mixin _build-link-base {\n @include set-text-margin(0);\n @include set-title-margin(0);\n}\n\n@mixin _link-display($display) {\n @if $display == flex {\n @include display-flex(row, center, null, null, true);\n width: -moz-fit-content;\n width: fit-content;\n @include _pseudo(before after) {\n display: block;\n }\n }\n @else {\n display: inline;\n }\n}\n\n@mixin _build-link($settings) {\n $places: map_get($settings, places);\n $sizes: _link-sort-sizes(map_get($settings, sizes));\n $border-radius: map-get($settings, border-radius);\n $align-on-content: map-get($settings, align-on-content);\n $base: ns(map-get($settings, selector));\n $underline: map-get($settings, underline);\n $append: map-get($settings, append);\n\n #{$base} {\n @include _build-link-base;\n @include _link-display(map-get($settings, display));\n\n @if $underline != true {\n @include disable-underline;\n @include tint-enabled(true, null);\n }\n @content;\n }\n\n @if map_get($settings, no-modifier) != true {\n @each $size, $size-settings in $sizes {\n @include _link-class($base, $size, null, false, $append) {\n @include _build-link-size($size-settings, $border-radius);\n\n @if map_get($settings, blank) {\n @include target-blank(true) {\n @include _build-link-icon($size-settings, right, $size, false);\n }\n }\n }\n\n @if $align-on-content {\n @include _link-class($base, $size, null, true, $append) {\n @include _link-align-on-content($size, null, $size-settings);\n }\n }\n\n @if $places != null {\n @each $place in $places {\n @include _link-class($base, $size, $place, false, $append) {\n @include _build-link-icon($size-settings, $place, $size, true);\n }\n\n @if $align-on-content {\n @include _link-class($base, $size, $place, true, $append) {\n @include _link-align-on-content($size, $place, $size-settings);\n }\n }\n }\n\n @if index($places, only) == null {\n @include _link-class($base, $size, only, false, $append) {\n @include before(none);\n }\n }\n }\n }\n }\n}\n\n@mixin build-link() {\n @include _build-link($links-settings) {\n @content;\n }\n}\n","////\n/// Core Tool : Typography build\n/// @group core\n////\n\n@use 'module/spacing';\n\n@function get-text-style($font-size) {\n @return map-get($text-styles, $font-size);\n}\n\n@function get-title-style($font-size) {\n @return map-get($title-styles, $font-size);\n}\n\n@mixin _stylize($font-size, $styles, $prepend, $append) {\n $style: map-get($styles, $font-size);\n\n @if $prepend == null {\n $prepend: '';\n }\n\n @if $append == null {\n $append: '';\n }\n\n font-size: #{$prepend} spacing.space($font-size) #{$append};\n\n @if map-has-key($style, line-height) {\n line-height: #{$prepend} spacing.space(map-get($style, line-height)) #{$append};\n }\n}\n\n@mixin _responsive-styles($settings, $styles, $is-responsive, $prepend, $append) {\n $breakpoints: map-get($settings, breakpoints);\n\n @if map-has-key($settings, weight) {\n font-weight: #{$prepend} map-get($font-weight-scale, map-get($settings, weight)) #{$append};\n }\n\n @if $is-responsive {\n @each $breakpoint, $size in $breakpoints {\n @if $breakpoint == first {\n @include _stylize($size, $styles, $prepend, $append);\n }\n @else {\n @include respond-from($breakpoint) {\n @include _stylize($size, $styles, $prepend, $append);\n }\n }\n }\n }\n @else {\n @if map-has-key($breakpoints, md) {\n @include _stylize(map-get($breakpoints, md), $styles);\n }\n @else {\n @include _stylize(map-get($breakpoints, first), $styles);\n }\n }\n}\n\n@mixin _space-text($settings) {\n @include margin( var(#{'--' + map-get($settings, 'margin') + '-spacing'}) );\n}\n\n@mixin text-style($name, $with-spacing: false, $is-responsive: true, $prepend: null, $important: false) {\n $settings: map-get($text-settings, $name);\n @if $settings {\n $append: '';\n @if $important {\n $append: ' !important';\n }\n\n @include _responsive-styles($settings, $text-styles, $is-responsive, $prepend, $append);\n\n @if $with-spacing {\n @include _space-text($settings);\n }\n }\n}\n\n@mixin title-style($name, $with-spacing: false, $is-responsive: true, $prepend: null, $important: false) {\n $settings: map-get($title-settings, $name);\n @if $settings {\n $append: '';\n @if $important {\n $append: ' !important';\n }\n\n @include _responsive-styles($settings, $title-styles, $is-responsive, $prepend, $append);\n\n @if $with-spacing {\n @include _space-text($settings);\n }\n }\n}\n\n@mixin _set-typography-var($name, $value, $bp: null) {\n @if $bp != null {\n @include respond-from(#{$bp}) {\n --#{$name}-spacing: #{space($value)};\n }\n }\n @else {\n --#{$name}-spacing: #{space($value)};\n }\n}\n\n@mixin set-title-margin($margin, $bp:null) {\n @include _set-typography-var(title, $margin, $bp);\n}\n\n@mixin set-text-margin($margin, $bp:null) {\n @include _set-typography-var(text, $margin, $bp);\n}\n\n@mixin set-display-margin($margin, $bp:null) {\n @include _set-typography-var(display, $margin, $bp);\n}\n","////\n/// Core Tool : Reset\n/// @group core\n////\n\n$underline-thickness: 0.0625em;\n\n@mixin a-reset ($minimal: false) {\n text-decoration: var(--text-decoration);\n @if not $minimal {\n color: inherit;\n }\n}\n\n@mixin init-underline() {\n --underline-max-width: 100%;\n --underline-hover-width: 0;\n --underline-idle-width: var(--underline-max-width);\n --underline-x: calc(var(--underline-max-width) * 0);\n --underline-thickness: #{$underline-thickness};\n}\n\n@mixin enable-underline() {\n --underline-img: linear-gradient(0deg, currentColor, currentColor);\n}\n\n@mixin enable-underline-legacy() {\n [href] {\n text-decoration: underline;\n }\n}\n\n@mixin disable-underline() {\n --underline-img: none;\n}\n\n@mixin disable-underline-legacy() {\n [href] {\n text-decoration: none;\n }\n}\n\n@mixin link-underline() {\n background-image: var(--underline-img), var(--underline-img);\n background-position: var(--underline-x) 100%, var(--underline-x) calc(100% - var(--underline-thickness));\n background-repeat: no-repeat, no-repeat;\n transition: background-size 0s;\n background-size: var(--underline-hover-width) calc(var(--underline-thickness) * 2), var(--underline-idle-width) var(--underline-thickness);\n}\n\n@mixin link-underline-hover-only() {\n --underline-idle-width: 0;\n}\n\n@mixin hover-underline () {\n &:hover,\n &:active {\n --underline-hover-width: var(--underline-max-width);\n }\n}\n\n@mixin external-link() {\n @include icon-style(after);\n @include icon-size(sm, after);\n @include icon-image(external-link-line, after);\n @include after(var(--external-link-content)) {\n @include margin-left(1v);\n }\n}\n\n@mixin enable-external() {\n --external-link-content: '';\n}\n\n@mixin disable-external() {\n --external-link-content: none;\n}\n\n@mixin target-blank ($unify: false) {\n @if $unify and & {\n &[target=\"_blank\"] {\n @content;\n }\n }\n @else {\n [target=\"_blank\"] {\n @content;\n }\n }\n}\n","////\n/// Core Tool : Action Hover\n/// @group core\n////\n\n@mixin hover-media-query () {\n @media (hover: hover) and (pointer: fine) {\n @content;\n }\n}\n\n@mixin hover-type-selector($elements, $type: all, $check-disabled: false) {\n $selectors: ();\n\n @each $element, $setting in $elements {\n $hover: map-get($setting, hover);\n $selector: map-get($setting, selector);\n @if $hover {\n @if $type == map-get($hover, type) or $type == all {\n $nested: $selector;\n @if $check-disabled {\n $nested: nest($selector, map-get($hover, selector));\n }\n $associated: $nested;\n @if & != null and '#{&}' != ':root' {\n $associated: selector-associate('#{&}', $nested);\n }\n $selectors: append($selectors, $associated, 'comma');\n }\n }\n }\n\n @at-root #{$selectors} {\n @content;\n }\n}\n\n@mixin hover-tint () {\n &:hover {\n background-color: var(--hover-tint);\n }\n\n &:active {\n background-color: var(--active-tint);\n }\n}\n\n@mixin enable-tint () {\n @include tint-enabled(true, true);\n}\n\n@mixin disable-tint() {\n @include tint-enabled(false, false);\n}\n\n@mixin tint-enabled ($hover: null, $active: null) {\n @if $hover {\n --hover-tint: var(--hover);\n }\n @else if $hover == false {\n --hover-tint: var(--idle);\n }\n\n @if $active {\n --active-tint: var(--active);\n }\n @else if $active == false {\n --active-tint: var(--idle);\n }\n}\n\n@mixin hover-brighten ($element, $img) {\n @at-root #{$element} {\n &:hover {\n #{$img} {\n --brightness: calc(100% + var(--brighten) * #{$hover-brighten});\n }\n }\n\n &:active {\n #{$img} {\n --brightness: calc(100% + var(--brighten) * #{$hover-brighten * 2});\n }\n }\n }\n}\n\n@mixin hover-brighten-filter () {\n filter: brightness(var(--brightness));\n}\n","@use 'sass:list';\n@use 'sass:map';\n@use 'module/legacy';\n@use 'module/media-query';\n@use 'module/spacing';\n@use 'module/specificity';\n@use 'module/string';\n@use 'module/utilities';\n@use '../variable/constant';\n@use '../function/box-shadow' as bs;\n@use '../function/colors';\n@use '../function/result';\n@use '../function/token';\n\n$COLOR: constant.$value;\n\n@mixin element($prop, $context, $tokens, $options: (), $value: $COLOR) {\n $legacy: map.get($options, legacy);\n $important: map.get($options, important);\n $hover: map.get($options, hover);\n $standalone: map.get($options, standalone);\n\n $legacy-target: null;\n @if $legacy == true {\n $legacy-target: ie11;\n }\n\n $tokens: token.normalise($tokens, $context);\n $type: decision;\n $options: (var: true);\n\n @if $legacy or $standalone {\n $type: hex;\n $option: (theme: light);\n }\n\n $colors: colors.from-list($tokens, $type, $options);\n $result: result.get($colors, $value);\n $result: specificity.important($result, $important);\n\n @include legacy.is($legacy-target) {\n #{$prop}: #{string.unstringify($result)};\n }\n\n @if ($hover == true or ($hover == inherit and $legacy == false)) and ($context == background and list.length($tokens) == 1) {\n\n $token: nth($tokens, 1);\n @if $legacy or $standalone {\n @include _apply-pseudos($token, false, true, $legacy-target, $prop, $value, $important);\n }\n @else {\n @if $prop == background-color {\n --idle: transparent; // #{$result};\n @include _apply-pseudos($token, true, false, null, $prop, $value, $important);\n }\n @else {\n @include _apply-pseudos($token, true, true, null, $prop, $value, $important);\n }\n }\n }\n}\n\n@mixin _apply-pseudos($token, $decision: true, $pseudo: false, $target: null, $prop: background-color, $value: constant.$value, $important: false) {\n @include legacy.is($target) {\n @include _apply-pseudo($token, hover, $decision, $pseudo, $prop, $value, $important);\n @include _apply-pseudo($token, active, $decision, $pseudo, $prop, $value, $important);\n }\n}\n\n@mixin _apply-pseudo($token, $type, $decision: true, $pseudo: false, $prop: background-color, $value: constant.$value, $important: false) {\n $nest: null;\n $p: --#{$type};\n @if $pseudo {\n $nest: '&:#{$type}';\n $p: $prop;\n }\n\n $t: hex;\n $options: (#{$type}: true);\n @if $decision {\n $t: decision;\n $options: (var: true, #{$type}: true);\n }\n\n $color: colors.from($token, $t, $options);\n $result: result.get($color, $value);\n $result: specificity.important($result, $important);\n\n @include utilities.nest($nest) {\n #{$p}: #{string.unstringify($result)};\n }\n}\n\n/// Ajout d'une couleur de background sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n@mixin background($tokens, $options:()) {\n @if not map.has-key($options, hover) {\n $options: map.merge($options, (hover: inherit));\n }\n @include element(background-color, background, $tokens, $options);\n}\n\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n/// - hover {boolean}: si true, surcharge la valeur de blend pour être héritée\n@mixin transparent-background($options) {\n $legacy: map.get($options, legacy);\n $important: map.get($options, important);\n $hover: map.get($options, hover);\n $tokens: token.normalise(default grey, background);\n $value: specificity.important(transparent, $important);\n\n @if $legacy {\n @include legacy.is(ie11) {\n background-color: transparent;\n\n @if $hover {\n &:hover {\n background-color: rgba(0, 0, 0, 0.05);\n }\n\n &:active {\n background-color: rgba(0, 0, 0, 0.1);\n }\n }\n }\n }\n @else {\n background-color: #{$value};\n @if $hover {\n --hover: inherit;\n --active: inherit;\n }\n }\n}\n\n/// Ajout d'une couleur de background sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n@mixin background-image($tokens, $options, $value: linear-gradient(0deg, $COLOR, $COLOR)) {\n $d: token.length($tokens);\n @if $d > 1 and $value == linear-gradient(0deg, $COLOR, $COLOR) {\n $transformed: ();\n @for $i from 1 through $d {\n $c: string.unquote('$color##{$i}');\n $transformed: list.append($transformed, linear-gradient(0deg, $c, $c), comma);\n }\n $value: $transformed;\n }\n @include element(background-image, background, $tokens, $options, $value);\n}\n\n/// Ajout d'une couleur de texte sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n@mixin text($tokens, $options) {\n @include element(color, text, $tokens, $options);\n}\n\n/// Ajout d'une couleur de texte sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n@mixin text-fill($tokens, $options) {\n @include element(-webkit-text-fill-color, text, $tokens, $options);\n}\n\n/// Ajout d'une couleur de fill sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n@mixin fill($tokens, $options) {\n @include element(fill, background , $tokens, $options);\n}\n\n/// Ajout d'une couleur de border sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n/// - side {String}: le côté affecté. valeurs: top, right, bottom, left\n/// @param {List} $value - définition des propriétés de border\n@mixin border($tokens, $options, $value:1px solid $COLOR) {\n $prop:border;\n @if map.has-key($options, side) {\n $prop:border-#{map.get($options, side)};\n }\n @include element($prop, border, $tokens, $options, $value);\n}\n\n@mixin no-border($options: ()) {\n $breakpoint: map.get($options, breakpoint);\n $legacy: map.get($options, legacy);\n @include media-query.respond-from($breakpoint) {\n @if $legacy {\n @include legacy.is(ie11) {\n border: 0;\n }\n }\n @else {\n border: 0;\n }\n }\n}\n\n/// Ajout d'une couleur d'outline sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n/// @param {List} $value - définition des propriétés d'outline\n@mixin outline($tokens, $options, $value:1px solid $COLOR) {\n @include element(outline, border, $tokens, $options, $value);\n}\n\n/// Ajout d'une couleur de box-shadow sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n/// @param {List} $value - définition des propriétés de box-shadow\n@mixin box-shadow($tokens, $options, $value: all-1-in) {\n $has-keys: true;\n $transformed: ();\n $d: token.length($tokens);\n $i: 1;\n @each $v in $value {\n @if bs.has($v) {\n $transformed: append($transformed, bs.get($v, $i), comma);\n @if $i < $d {\n $i: $i + 1;\n }\n }\n @else {\n $has-keys: false;\n }\n }\n @if $has-keys {\n $value: $transformed;\n }\n @include element(box-shadow, border, $tokens, $options, spacing.space($value));\n}\n\n/// Supprime la shadow-box sur l'élément\n/// @access public\n/// @param {string} $breakpoint - la shadow-box est retiré à partir d'un breakpoint si celui-ci est défini\n@mixin no-box-shadow($options) {\n $breakpoint: map.get($options, breakpoint);\n $legacy: map.get($options, legacy);\n @include media-query.respond-from($breakpoint) {\n @if $legacy {\n @include legacy.is(ie11) {\n box-shadow: none;\n }\n }\n @else {\n box-shadow: none;\n }\n }\n}\n","////\n/// Core Tool : Display display\n/// @group core\n////\n\n@mixin display-flex($flex-direction: row, $align-items: null, $justify-content: null, $flex-wrap: null, $inline: false) {\n\n @if $inline == true {\n display: inline-flex;\n }\n @else {\n display: flex;\n }\n\n @if $flex-direction != null {\n flex-direction: #{$flex-direction};\n }\n\n @if $align-items != null {\n align-items: #{$align-items};\n }\n\n @if $justify-content != null {\n justify-content: #{$justify-content};\n }\n\n @if $flex-wrap != null {\n flex-wrap: #{$flex-wrap};\n }\n}\n","////\n/// Badge Module : default\n/// @group badge\n////\n\n@use 'module/spacing';\n\n@include build-badge();\n\n#{ns(badge)} {\n @include nest-badge(md, left, null, null, false);\n @include icon-style(before);\n @include font-weight(bold);\n @include max-width(100%);\n text-transform: uppercase;\n border-radius: spacing.space(1v);\n\n &--sm {\n @include nest-badge(sm, left, null, null, false);\n }\n\n &,\n &--sm {\n &#{ns(badge)}--info {\n @include icon-image(info-fill, before);\n }\n\n &#{ns(badge)}--success {\n @include icon-image(success-fill, before);\n }\n\n &#{ns(badge)}--error {\n @include icon-image(error-fill, before);\n }\n\n &#{ns(badge)}--warning {\n @include icon-image(warning-fill, before);\n }\n\n &#{ns(badge)}--new {\n @include icon-image(flashlight-fill, before);\n }\n\n &--info,\n &--success,\n &--error,\n &--warning,\n &--new {\n @include icon-content;\n }\n\n &#{ns(badge)}--no-icon {\n @include before {\n content: none;\n }\n }\n }\n}\n","////\n/// Link Tool : sizes\n/// @group link\n////\n\n@use \"sass:math\";\n@use 'module/spacing';\n\n@mixin _build-link-size($size-settings, $border-radius: false) {\n $font-size: map_get($size-settings, font-size);\n $style: get-text-style($font-size);\n $line-height: spacing.space(map_get($style, line-height));\n font-size: spacing.space($font-size);\n line-height: $line-height;\n\n $min-height: spacing.space(map_get($size-settings, min-height));\n @if $min-height > 0 {\n min-height: $min-height;\n }\n\n $max-icon-height: icon-size(md);\n\n @if map_has_key($size-settings, icon-only) {\n $max-icon-height: icon-size(map_get($size-settings, icon-only));\n }\n @else if map_has_key($size-settings, icon) {\n $max-icon-height: icon-size(map_get($size-settings, icon));\n }\n\n $space-y: math.max($line-height, $max-icon-height);\n $padding-x: spacing.space(map_get($size-settings, padding-x));\n $padding-y: math.max(($min-height - $space-y) * 0.5, 0);\n\n padding: #{$padding-y} #{$padding-x};\n\n @if $border-radius {\n border-radius: #{$min-height * 0.5};\n }\n}\n\n@function _link-icon-margin($size) {\n @return math.div(icon-size($size), 8);\n}\n\n@mixin _link-align-on-content($size, $place, $size-settings) {\n $padding-x: spacing.space(map_get($size-settings, padding-x));\n $icon-margin: _link-icon-margin(map_get($size-settings, icon));\n\n @if $place == null {\n margin-left: -($padding-x);\n margin-right: -($padding-x);\n }\n @else if $place == left {\n margin-left: -($padding-x - $icon-margin);\n margin-right: -($padding-x);\n }\n @else if $place == right {\n margin-left: -($padding-x);\n margin-right: -($padding-x - $icon-margin);\n }\n @else if $place == only {\n $icon-size: icon-size(map_get($size-settings, icon-only));\n $min-height: spacing.space(map_get($size-settings, min-height));\n $padding-x: ($min-height - $icon-size) * 0.5;\n\n margin-left: -($padding-x);\n margin-right: -($padding-x);\n }\n}\n","////\n/// Core Tool : Typography font-weight\n/// @group core\n////\n\n/// Return font-weight value from font-weight map.\n///\n/// @param {String} $scale ['regular'] - Type scale value from `$weight-scale` (Default to 'regular' = 400)\n///\n/// @example scss - Set font-weight to bold (700)\n/// .foo {\n/// font-weight: font-weight('bold');\n/// }\n\n@function font-weight($scale: regular) {\n @return map-get($font-weight-scale, $scale);\n}\n\n@mixin font-weight($scale) {\n font-weight: font-weight($scale);\n}\n\n@mixin build-utillity-font-weight() {\n $fontWeightValues: map-get($font-weight-vars, values);\n @if $fontWeightValues == 'all' {\n $fontWeightValues: map-keys($font-weight-names);\n }\n @each $weight in $fontWeightValues {\n $name: map-get($font-weight-names, $weight);\n #{ns('text--' + $name)} {\n font-weight: #{$weight} !important;\n }\n }\n}\n","////\n/// Link Tool : icons\n/// @group link\n////\n\n@use 'module/spacing';\n\n@mixin _build-link-icon($size-settings, $place, $size:md, $override-icon: true) {\n\n $icon-size: icon-size(map_get($size-settings, icon));\n\n @if $place == only {\n $icon-size: icon-size(map_get($size-settings, icon-only));\n }\n\n $icon-margin: _link-icon-margin(map_get($size-settings, icon));\n $icon-margin-x: spacing.space(map_get($size-settings, icon-margin-x));\n\n @if $place == left {\n overflow: initial;\n max-width: 100%;\n max-height: none;\n @include before {\n --icon-size: #{$icon-size};\n margin-left: -($icon-margin);\n margin-right: $icon-margin-x;\n }\n }\n @else if $place == right {\n overflow: initial;\n max-width: 100%;\n max-height: none;\n @include icon-content(false, $override-icon) {\n --icon-size: #{$icon-size};\n margin-right: -($icon-margin);\n margin-left: $icon-margin-x;\n }\n }\n @else if $place == only {\n $min-height: spacing.space(map_get($size-settings, min-height));\n $padding-x: ($min-height - $icon-size) * 0.5;\n\n overflow: hidden;\n white-space: nowrap;\n max-width: $min-height;\n max-height: $min-height;\n padding-left: $padding-x;\n padding-right: $padding-x;\n\n @include before {\n --icon-size: #{$icon-size};\n margin-left: 0;\n margin-right: $padding-x;\n }\n }\n}\n","////\n/// Core Tool : Spacing size\n/// @group core\n////\n\n@use '../../../../../module/spacing';\n\n@mixin width($width:null, $from: null) {\n @include respond-from($from) {\n @if $width != null {\n width: #{spacing.space($width)};\n }\n }\n}\n\n@mixin min-width($width:null, $from: null) {\n @include respond-from($from) {\n @if $width != null {\n min-width: #{spacing.space($width)};\n }\n }\n}\n\n@mixin max-width($width:null, $from: null) {\n @include respond-from($from) {\n @if $width != null {\n max-width: #{spacing.space($width)};\n }\n }\n}\n\n@mixin height($height:null, $from: null) {\n @include respond-from($from) {\n @if $height != null {\n height: #{spacing.space($height)};\n }\n }\n}\n\n@mixin min-height($height:null, $from: null) {\n @include respond-from($from) {\n @if $height != null {\n min-height: #{spacing.space($height)};\n }\n }\n}\n\n@mixin max-height($height:null, $from: null) {\n @include respond-from($from) {\n @if $height != null {\n max-height: #{spacing.space($height)};\n }\n }\n}\n\n@mixin size($width:null, $height:null, $from: null) {\n @include respond-from($from) {\n @if $width != null {\n width: #{spacing.space($width)};\n }\n @if $height != null {\n height: #{spacing.space($height)};\n }\n }\n}\n\n@mixin min-size($min-width:null, $min-height:null, $from: null) {\n @include respond-from($from) {\n @if $min-width != null {\n min-width: #{spacing.space($min-width)};\n }\n @if $min-height != null {\n min-height: #{spacing.space($min-height)};\n }\n }\n}\n\n@mixin max-size($max-width:null, $max-height:null, $from: null) {\n @include respond-from($from) {\n @if $max-width != null {\n max-width: #{spacing.space($max-width)};\n }\n @if $max-height != null {\n max-height: #{spacing.space($max-height)};\n }\n }\n}\n","/* ------------------------------------ *\\\n Badge\n\\* ------------------------------------ */\n@media (min-width: 36em) {\n /*! media sm */\n}\n@media (min-width: 48em) {\n /*! media md */\n}\n@media (min-width: 62em) {\n /*! media lg */\n}\n@media (min-width: 78em) {\n /*! media xl */\n}\n.fr-badge {\n --text-spacing: 0;\n --title-spacing: 0;\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n width: -moz-fit-content;\n width: fit-content;\n --underline-img: none;\n --hover-tint: var(--hover);\n}\n.fr-badge::before, .fr-badge::after {\n display: block;\n}\n\n.fr-badge {\n font-size: 0.875rem;\n line-height: 1.5rem;\n min-height: 1.5rem;\n padding: 0rem 0.5rem;\n}\n\n.fr-badge--icon-left[class^=fr-icon-], .fr-badge--icon-left[class*=\" fr-icon-\"], .fr-badge--icon-left[class^=fr-fi-], .fr-badge--icon-left[class*=\" fr-fi-\"] {\n overflow: initial;\n max-width: 100%;\n max-height: none;\n}\n.fr-badge--icon-left[class^=fr-icon-]::before, .fr-badge--icon-left[class*=\" fr-icon-\"]::before, .fr-badge--icon-left[class^=fr-fi-]::before, .fr-badge--icon-left[class*=\" fr-fi-\"]::before {\n --icon-size: 1rem;\n margin-left: -0.125rem;\n margin-right: 0.25rem;\n}\n\n.fr-badge[class^=fr-icon-]:not([class*=fr-badge--icon-])::before, .fr-badge[class*=\" fr-icon-\"]:not([class*=fr-badge--icon-])::before, .fr-badge[class^=fr-fi-]:not([class*=fr-badge--icon-])::before, .fr-badge[class*=\" fr-fi-\"]:not([class*=fr-badge--icon-])::before {\n content: none;\n}\n\n.fr-badge--sm {\n font-size: 0.75rem;\n line-height: 1.25rem;\n min-height: 1.125rem;\n padding: 0 0.375rem;\n}\n\n.fr-badge--sm.fr-badge--icon-left[class^=fr-icon-], .fr-badge--sm.fr-badge--icon-left[class*=\" fr-icon-\"], .fr-badge--sm.fr-badge--icon-left[class^=fr-fi-], .fr-badge--sm.fr-badge--icon-left[class*=\" fr-fi-\"] {\n overflow: initial;\n max-width: 100%;\n max-height: none;\n}\n.fr-badge--sm.fr-badge--icon-left[class^=fr-icon-]::before, .fr-badge--sm.fr-badge--icon-left[class*=\" fr-icon-\"]::before, .fr-badge--sm.fr-badge--icon-left[class^=fr-fi-]::before, .fr-badge--sm.fr-badge--icon-left[class*=\" fr-fi-\"]::before {\n --icon-size: 0.75rem;\n margin-left: -0.09375rem;\n margin-right: 0.25rem;\n}\n\n.fr-badge--sm[class^=fr-icon-]:not([class*=fr-badge--icon-])::before, .fr-badge--sm[class*=\" fr-icon-\"]:not([class*=fr-badge--icon-])::before, .fr-badge--sm[class^=fr-fi-]:not([class*=fr-badge--icon-])::before, .fr-badge--sm[class*=\" fr-fi-\"]:not([class*=fr-badge--icon-])::before {\n content: none;\n}\n\n.fr-badge {\n font-size: 0.875rem;\n line-height: 1.5rem;\n min-height: 1.5rem;\n padding: 0rem 0.5rem;\n overflow: initial;\n max-width: 100%;\n max-height: none;\n font-weight: 700;\n max-width: 100%;\n text-transform: uppercase;\n border-radius: 0.25rem;\n}\n.fr-badge::before {\n --icon-size: 1rem;\n margin-left: -0.125rem;\n margin-right: 0.25rem;\n}\n.fr-badge::before {\n flex: 0 0 auto;\n display: inline-block;\n vertical-align: calc((0.75em - var(--icon-size)) * 0.5);\n background-color: currentColor;\n width: var(--icon-size);\n height: var(--icon-size);\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n}\n.fr-badge--sm {\n font-size: 0.75rem;\n line-height: 1.25rem;\n min-height: 1.125rem;\n padding: 0 0.375rem;\n overflow: initial;\n max-width: 100%;\n max-height: none;\n}\n.fr-badge--sm::before {\n --icon-size: 0.75rem;\n margin-left: -0.09375rem;\n margin-right: 0.25rem;\n}\n.fr-badge.fr-badge--info::before, .fr-badge--sm.fr-badge--info::before {\n -webkit-mask-image: url(\"../../icons/system/fr--info-fill.svg\");\n mask-image: url(\"../../icons/system/fr--info-fill.svg\");\n}\n.fr-badge.fr-badge--success::before, .fr-badge--sm.fr-badge--success::before {\n -webkit-mask-image: url(\"../../icons/system/fr--success-fill.svg\");\n mask-image: url(\"../../icons/system/fr--success-fill.svg\");\n}\n.fr-badge.fr-badge--error::before, .fr-badge--sm.fr-badge--error::before {\n -webkit-mask-image: url(\"../../icons/system/fr--error-fill.svg\");\n mask-image: url(\"../../icons/system/fr--error-fill.svg\");\n}\n.fr-badge.fr-badge--warning::before, .fr-badge--sm.fr-badge--warning::before {\n -webkit-mask-image: url(\"../../icons/system/fr--warning-fill.svg\");\n mask-image: url(\"../../icons/system/fr--warning-fill.svg\");\n}\n.fr-badge.fr-badge--new::before, .fr-badge--sm.fr-badge--new::before {\n -webkit-mask-image: url(\"../../icons/weather/flashlight-fill.svg\");\n mask-image: url(\"../../icons/weather/flashlight-fill.svg\");\n}\n.fr-badge--info::before, .fr-badge--success::before, .fr-badge--error::before, .fr-badge--warning::before, .fr-badge--new::before, .fr-badge--sm--info::before, .fr-badge--sm--success::before, .fr-badge--sm--error::before, .fr-badge--sm--warning::before, .fr-badge--sm--new::before {\n content: \"\";\n}\n.fr-badge.fr-badge--no-icon::before, .fr-badge--sm.fr-badge--no-icon::before {\n content: none;\n}\n\n.fr-badges-group {\n --ul-type: none;\n --ol-type: none;\n --ul-start: 0;\n --ol-start: 0;\n --xl-block: 0;\n --li-bottom: 0;\n --ol-content: none;\n display: flex;\n flex-wrap: wrap;\n margin-left: -0.25rem;\n margin-right: -0.25rem;\n margin-bottom: 0;\n}\n.fr-badges-group > li {\n display: inline-flex;\n max-width: 100%;\n}\n.fr-badges-group .fr-badge {\n margin: 0 0.25rem 0.5rem 0.25rem;\n}\n.fr-badges-group--sm .fr-badge {\n font-size: 0.75rem;\n line-height: 1.25rem;\n min-height: 1.125rem;\n padding: 0 0.375rem;\n}\n.fr-badges-group--sm .fr-badge::before, .fr-badges-group--sm .fr-badge::after {\n --icon-size: 0.75rem;\n}\n\n.fr-badge {\n color: var(--text-default-grey);\n background-color: var(--background-contrast-grey);\n --idle: transparent;\n --hover: var(--background-contrast-grey-hover);\n --active: var(--background-contrast-grey-active);\n}\n.fr-badge--info {\n color: var(--text-default-info);\n background-color: var(--background-contrast-info);\n --idle: transparent;\n --hover: var(--background-contrast-info-hover);\n --active: var(--background-contrast-info-active);\n}\n.fr-badge--error {\n color: var(--text-default-error);\n background-color: var(--background-contrast-error);\n --idle: transparent;\n --hover: var(--background-contrast-error-hover);\n --active: var(--background-contrast-error-active);\n}\n.fr-badge--success {\n color: var(--text-default-success);\n background-color: var(--background-contrast-success);\n --idle: transparent;\n --hover: var(--background-contrast-success-hover);\n --active: var(--background-contrast-success-active);\n}\n.fr-badge--warning {\n color: var(--text-default-warning);\n background-color: var(--background-contrast-warning);\n --idle: transparent;\n --hover: var(--background-contrast-warning-hover);\n --active: var(--background-contrast-warning-active);\n}\n.fr-badge--new {\n color: var(--text-action-high-yellow-moutarde);\n background-color: var(--background-contrast-yellow-moutarde);\n --idle: transparent;\n --hover: var(--background-contrast-yellow-moutarde-hover);\n --active: var(--background-contrast-yellow-moutarde-active);\n}\n.fr-badge--green-tilleul-verveine {\n color: var(--text-label-green-tilleul-verveine);\n background-color: var(--background-contrast-green-tilleul-verveine);\n --idle: transparent;\n --hover: var(--background-contrast-green-tilleul-verveine-hover);\n --active: var(--background-contrast-green-tilleul-verveine-active);\n}\n\n.fr-badge--green-bourgeon {\n color: var(--text-label-green-bourgeon);\n background-color: var(--background-contrast-green-bourgeon);\n --idle: transparent;\n --hover: var(--background-contrast-green-bourgeon-hover);\n --active: var(--background-contrast-green-bourgeon-active);\n}\n\n.fr-badge--green-emeraude {\n color: var(--text-label-green-emeraude);\n background-color: var(--background-contrast-green-emeraude);\n --idle: transparent;\n --hover: var(--background-contrast-green-emeraude-hover);\n --active: var(--background-contrast-green-emeraude-active);\n}\n\n.fr-badge--green-menthe {\n color: var(--text-label-green-menthe);\n background-color: var(--background-contrast-green-menthe);\n --idle: transparent;\n --hover: var(--background-contrast-green-menthe-hover);\n --active: var(--background-contrast-green-menthe-active);\n}\n\n.fr-badge--green-archipel {\n color: var(--text-label-green-archipel);\n background-color: var(--background-contrast-green-archipel);\n --idle: transparent;\n --hover: var(--background-contrast-green-archipel-hover);\n --active: var(--background-contrast-green-archipel-active);\n}\n\n.fr-badge--blue-ecume {\n color: var(--text-label-blue-ecume);\n background-color: var(--background-contrast-blue-ecume);\n --idle: transparent;\n --hover: var(--background-contrast-blue-ecume-hover);\n --active: var(--background-contrast-blue-ecume-active);\n}\n\n.fr-badge--blue-cumulus {\n color: var(--text-label-blue-cumulus);\n background-color: var(--background-contrast-blue-cumulus);\n --idle: transparent;\n --hover: var(--background-contrast-blue-cumulus-hover);\n --active: var(--background-contrast-blue-cumulus-active);\n}\n\n.fr-badge--purple-glycine {\n color: var(--text-label-purple-glycine);\n background-color: var(--background-contrast-purple-glycine);\n --idle: transparent;\n --hover: var(--background-contrast-purple-glycine-hover);\n --active: var(--background-contrast-purple-glycine-active);\n}\n\n.fr-badge--pink-macaron {\n color: var(--text-label-pink-macaron);\n background-color: var(--background-contrast-pink-macaron);\n --idle: transparent;\n --hover: var(--background-contrast-pink-macaron-hover);\n --active: var(--background-contrast-pink-macaron-active);\n}\n\n.fr-badge--pink-tuile {\n color: var(--text-label-pink-tuile);\n background-color: var(--background-contrast-pink-tuile);\n --idle: transparent;\n --hover: var(--background-contrast-pink-tuile-hover);\n --active: var(--background-contrast-pink-tuile-active);\n}\n\n.fr-badge--yellow-tournesol {\n color: var(--text-label-yellow-tournesol);\n background-color: var(--background-contrast-yellow-tournesol);\n --idle: transparent;\n --hover: var(--background-contrast-yellow-tournesol-hover);\n --active: var(--background-contrast-yellow-tournesol-active);\n}\n\n.fr-badge--yellow-moutarde {\n color: var(--text-label-yellow-moutarde);\n background-color: var(--background-contrast-yellow-moutarde);\n --idle: transparent;\n --hover: var(--background-contrast-yellow-moutarde-hover);\n --active: var(--background-contrast-yellow-moutarde-active);\n}\n\n.fr-badge--orange-terre-battue {\n color: var(--text-label-orange-terre-battue);\n background-color: var(--background-contrast-orange-terre-battue);\n --idle: transparent;\n --hover: var(--background-contrast-orange-terre-battue-hover);\n --active: var(--background-contrast-orange-terre-battue-active);\n}\n\n.fr-badge--brown-cafe-creme {\n color: var(--text-label-brown-cafe-creme);\n background-color: var(--background-contrast-brown-cafe-creme);\n --idle: transparent;\n --hover: var(--background-contrast-brown-cafe-creme-hover);\n --active: var(--background-contrast-brown-cafe-creme-active);\n}\n\n.fr-badge--brown-caramel {\n color: var(--text-label-brown-caramel);\n background-color: var(--background-contrast-brown-caramel);\n --idle: transparent;\n --hover: var(--background-contrast-brown-caramel-hover);\n --active: var(--background-contrast-brown-caramel-active);\n}\n\n.fr-badge--brown-opera {\n color: var(--text-label-brown-opera);\n background-color: var(--background-contrast-brown-opera);\n --idle: transparent;\n --hover: var(--background-contrast-brown-opera-hover);\n --active: var(--background-contrast-brown-opera-active);\n}\n\n.fr-badge--beige-gris-galet {\n color: var(--text-label-beige-gris-galet);\n background-color: var(--background-contrast-beige-gris-galet);\n --idle: transparent;\n --hover: var(--background-contrast-beige-gris-galet-hover);\n --active: var(--background-contrast-beige-gris-galet-active);\n}\n\n.fr-badge-group {\n --ul-type: none;\n --ol-type: none;\n --ul-start: 0;\n --ol-start: 0;\n --xl-block: 0;\n --li-bottom: 0;\n --ol-content: none;\n display: flex;\n flex-wrap: wrap;\n margin-bottom: 0;\n}\n.fr-badge-group > li {\n display: inline-flex;\n max-width: 100%;\n}\n.fr-badge-group .fr-badge {\n margin-right: 0.5rem;\n margin-bottom: 0.5rem;\n}\n\n@media (min-width: 36em) {\n /*! media sm */\n}\n@media (min-width: 48em) {\n /*! media md */\n}\n@media (min-width: 62em) {\n /*! media lg */\n}\n@media (min-width: 78em) {\n /*! media xl */\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge::before, .fr-badge::after {\n background-color: transparent;\n background-size: 100%;\n background-repeat: no-repeat;\n }\n .fr-badge::before, .fr-badge::after {\n width: 1rem;\n height: 1rem;\n }\n .fr-badge--sm::before {\n width: 0.75rem;\n height: 0.75rem;\n }\n .fr-badge.fr-badge--info::before, .fr-badge.fr-badge--info::after, .fr-badge--sm.fr-badge--info::before, .fr-badge--sm.fr-badge--info::after {\n background-image: url(\"../../icons/system/fr--info-fill.svg\");\n }\n .fr-badge.fr-badge--success::before, .fr-badge.fr-badge--success::after, .fr-badge--sm.fr-badge--success::before, .fr-badge--sm.fr-badge--success::after {\n background-image: url(\"../../icons/system/fr--success-fill.svg\");\n }\n .fr-badge.fr-badge--error::before, .fr-badge.fr-badge--error::after, .fr-badge--sm.fr-badge--error::before, .fr-badge--sm.fr-badge--error::after {\n background-image: url(\"../../icons/system/fr--error-fill.svg\");\n }\n .fr-badge.fr-badge--warning::before, .fr-badge.fr-badge--warning::after, .fr-badge--sm.fr-badge--warning::before, .fr-badge--sm.fr-badge--warning::after {\n background-image: url(\"../../icons/system/fr--warning-fill.svg\");\n }\n .fr-badge.fr-badge--new::before, .fr-badge.fr-badge--new::after, .fr-badge--sm.fr-badge--new::before, .fr-badge--sm.fr-badge--new::after {\n background-image: url(\"../../icons/weather/flashlight-fill.svg\");\n }\n ul.fr-badges-group {\n list-style-type: none;\n }\n ol.fr-badges-group {\n list-style-type: none;\n }\n ul.fr-badges-group,\n ol.fr-badges-group {\n padding-left: 0;\n margin-top: 0;\n margin-bottom: 0;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge {\n color: #3a3a3a;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge {\n background-color: #eee;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--info {\n color: #0063cb;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--info {\n background-color: #e8edff;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--error {\n color: #ce0500;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--error {\n background-color: #ffe9e9;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--success {\n color: #18753c;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--success {\n background-color: #b8fec9;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--warning {\n color: #b34000;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--warning {\n background-color: #ffe9e6;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--new {\n color: #695240;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--new {\n background-color: #feebd0;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--green-tilleul-verveine {\n color: #66673d;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--green-tilleul-verveine {\n background-color: #fceeac;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--green-bourgeon {\n color: #447049;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--green-bourgeon {\n background-color: #c9fcac;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--green-emeraude {\n color: #297254;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--green-emeraude {\n background-color: #c3fad5;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--green-menthe {\n color: #37635f;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--green-menthe {\n background-color: #bafaee;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--green-archipel {\n color: #006a6f;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--green-archipel {\n background-color: #c7f6fc;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--blue-ecume {\n color: #2f4077;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--blue-ecume {\n background-color: #e9edfe;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--blue-cumulus {\n color: #3558a2;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--blue-cumulus {\n background-color: #e6eefe;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--purple-glycine {\n color: #6e445a;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--purple-glycine {\n background-color: #fee7fc;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--pink-macaron {\n color: #8d533e;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--pink-macaron {\n background-color: #fee9e6;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--pink-tuile {\n color: #a94645;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--pink-tuile {\n background-color: #fee9e7;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--yellow-tournesol {\n color: #716043;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--yellow-tournesol {\n background-color: #feecc2;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--yellow-moutarde {\n color: #695240;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--yellow-moutarde {\n background-color: #feebd0;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--orange-terre-battue {\n color: #755348;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--orange-terre-battue {\n background-color: #fee9e5;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--brown-cafe-creme {\n color: #685c48;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--brown-cafe-creme {\n background-color: #f7ecdb;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--brown-caramel {\n color: #845d48;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--brown-caramel {\n background-color: #f7ebe5;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--brown-opera {\n color: #745b47;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--brown-opera {\n background-color: #f7ece4;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--beige-gris-galet {\n color: #6a6156;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-badge--beige-gris-galet {\n background-color: #f3ede5;\n }\n}\n\n@media print {\n .fr-badge {\n color: #3a3a3a;\n background-color: #eee;\n }\n .fr-badge--info {\n color: #0063cb;\n background-color: #e8edff;\n }\n .fr-badge--error {\n color: #ce0500;\n background-color: #ffe9e9;\n }\n .fr-badge--success {\n color: #18753c;\n background-color: #b8fec9;\n }\n .fr-badge--warning {\n color: #b34000;\n background-color: #ffe9e6;\n }\n .fr-badge--new {\n color: #695240;\n background-color: #feebd0;\n }\n .fr-badge--green-tilleul-verveine {\n color: #66673d;\n background-color: #fceeac;\n }\n .fr-badge--green-bourgeon {\n color: #447049;\n background-color: #c9fcac;\n }\n .fr-badge--green-emeraude {\n color: #297254;\n background-color: #c3fad5;\n }\n .fr-badge--green-menthe {\n color: #37635f;\n background-color: #bafaee;\n }\n .fr-badge--green-archipel {\n color: #006a6f;\n background-color: #c7f6fc;\n }\n .fr-badge--blue-ecume {\n color: #2f4077;\n background-color: #e9edfe;\n }\n .fr-badge--blue-cumulus {\n color: #3558a2;\n background-color: #e6eefe;\n }\n .fr-badge--purple-glycine {\n color: #6e445a;\n background-color: #fee7fc;\n }\n .fr-badge--pink-macaron {\n color: #8d533e;\n background-color: #fee9e6;\n }\n .fr-badge--pink-tuile {\n color: #a94645;\n background-color: #fee9e7;\n }\n .fr-badge--yellow-tournesol {\n color: #716043;\n background-color: #feecc2;\n }\n .fr-badge--yellow-moutarde {\n color: #695240;\n background-color: #feebd0;\n }\n .fr-badge--orange-terre-battue {\n color: #755348;\n background-color: #fee9e5;\n }\n .fr-badge--brown-cafe-creme {\n color: #685c48;\n background-color: #f7ecdb;\n }\n .fr-badge--brown-caramel {\n color: #845d48;\n background-color: #f7ebe5;\n }\n .fr-badge--brown-opera {\n color: #745b47;\n background-color: #f7ece4;\n }\n .fr-badge--beige-gris-galet {\n color: #6a6156;\n background-color: #f3ede5;\n }\n}","////\n/// Core Tool : Selector pseudo\n/// @group core\n////\n\n@mixin _pseudo($type:before, $content:null, $display:null) {\n @if $type != after and $type != before and $type != marker and $type != (before after) {\n @error '$type must be before or after element';\n }\n\n $selector: ();\n\n @each $pseudo in $type {\n $selector: append($selector, '&::#{$pseudo}', 'comma');\n }\n\n #{$selector} {\n\n @if $content != null {\n content: $content;\n }\n\n @if $display != null {\n display: #{$display};\n }\n\n @content;\n }\n}\n\n@mixin before($content: null, $display: null) {\n @include _pseudo(before, $content, $display) {\n @content;\n }\n}\n\n@mixin after($content: null, $display: null) {\n @include _pseudo(after, $content, $display) {\n @content;\n }\n}\n\n@mixin marker($content: null, $display: null) {\n @include _pseudo(marker, $content, $display) {\n @content;\n }\n}\n","////\n/// Core Tool : Selector pattern\n/// @group core\n////\n\n@mixin _class-pattern($selector, $unify: true) {\n @if & == null {\n @at-root #{$selector} {\n @content;\n }\n }\n @else if $unify {\n @at-root #{selector-unify(&, $selector)} {\n @content;\n }\n }\n @else {\n #{$selector} {\n @content;\n }\n }\n}\n\n@mixin class-contains($unify: true, $patterns...) {\n\n @if length($patterns) == 1 and length(nth($patterns, 1)) > 1 {\n $patterns: nth($patterns, 1);\n }\n\n $selectors: '';\n\n @each $pattern in $patterns {\n $selectors: '#{$selectors}[class*=\"#{$pattern}\"]';\n }\n\n @include _class-pattern($selectors, $unify) {\n @content;\n }\n}\n\n@mixin class-not-contains($unify: true, $patterns...) {\n\n @if length($patterns) == 1 and length(nth($patterns, 1)) > 1 {\n $patterns: nth($patterns, 1);\n }\n\n $selectors: '';\n @each $pattern in $patterns {\n $selectors: '#{$selectors}:not([class*=\"#{$pattern}\"])';\n }\n\n @include _class-pattern($selectors, $unify) {\n @content;\n }\n}\n\n@mixin class-start-with($start, $unify: true) {\n @include _class-pattern(class-start-with($start), $unify) {\n @content;\n }\n}\n\n@mixin class-not-start-with($start, $unify: true) {\n @include _class-pattern(class-not-start-with($start), $unify) {\n @content;\n }\n}\n\n@mixin class-end-with($end, $unify: true) {\n @include _class-pattern(class-end-with($end), $unify) {\n @content;\n }\n}\n\n@mixin class-not-end-with($end, $unify: true) {\n @include _class-pattern(class-not-end-with($end), $unify) {\n @content;\n }\n}\n\n@mixin class-is-ns($unify: true) {\n @include class-start-with(ns('', ''), $unify) {\n @content;\n }\n}\n\n@mixin class-is-not-ns($unify: true) {\n @include class-not-start-with(ns('', ''), $unify) {\n @content;\n }\n}\n","////\n/// Core Tool : Icon default\n/// @group core\n////\n\n@use 'module/path';\n@use 'module/spacing';\n@use 'module/specificity';\n\n/// Return icon size from map\n/// @param {String} $size ['md'] - Icon size from `$icon-size-map` (Default to 'md' = 16px)\n///\n/// @example scss - Set icon size to `SM` (12px)\n/// .foo {\n/// width: icon-size(sm);\n/// height: icon-size(sm);\n/// }\n@function icon-size($size: md) {\n @return spacing.space(map-get($icon-size-map, $size));\n}\n\n@function get-icon-url($icon, $important: false) {\n $config: map-get($icons-config, $icon);\n $url: url('#{path.dist()}#{map-get($config, path)}');\n @return specificity.important($url, $important);\n}\n\n@function get-icon-pseudo($restrain) {\n @if $restrain == before or $restrain == after {\n @return $restrain;\n }\n @return before after;\n}\n\n@mixin _icon-pseudo ($restrain: null) {\n @include _pseudo(get-icon-pseudo($restrain)) {\n @content;\n }\n}\n\n@mixin icon-size ($size:md, $restrain: null) {\n @include _icon-pseudo($restrain) {\n --icon-size: #{icon-size($size)};\n @content;\n }\n}\n\n@mixin icon-image ($icon, $restrain: null, $important: false) {\n $url: get-icon-url($icon, $important);\n\n @include _icon-pseudo($restrain) {\n @include mask-image($url);\n }\n}\n\n@mixin icon-style($restrain: null) {\n @include _icon-pseudo($restrain) {\n flex: 0 0 auto;\n display: inline-block;\n vertical-align: calc((0.75em - var(--icon-size)) * 0.5);\n background-color: currentColor;\n @include size(var(--icon-size), var(--icon-size));\n @include mask-image-size(100% 100%);\n @content;\n }\n}\n\n@mixin icon-content($is-before: true, $override: false) {\n $pseudos: before after;\n @if not $is-before {\n $pseudos: after before;\n }\n @include _pseudo(nth($pseudos, 1), '') {\n @content;\n }\n @if $override {\n @include _pseudo(nth($pseudos, 2), none);\n }\n}\n\n@mixin icon($icon: null, $size: md, $restrain: null, $styling: true, $is-before: $restrain != after, $override: false) {\n @if $styling {\n @include icon-style($restrain);\n }\n\n @if $icon != null {\n @include icon-image($icon, $restrain);\n }\n\n @if $size != null {\n @include icon-size($size, $restrain);\n }\n\n @if $is-before != null {\n @include icon-content($is-before, $override) {\n @content;\n }\n }\n}\n\n@function filter-icons($category, $config: $icons-config) {\n $filtered: ();\n @each $icon, $setting in $config {\n @if map-get($setting, category) == $category {\n $filtered: map-merge($filtered, (#{$icon}: $setting));\n }\n }\n @return $filtered;\n}\n\n@mixin generate-icons($config: $icons-config) {\n @each $icon, $setting in $config {\n #{ns(icon-#{$icon})} {\n @include icon-image($icon);\n }\n }\n}\n","////\n/// Core Tool : mask-image\n/// @group core\n////\n\n@mixin mask-image($value) {\n -webkit-mask-image: $value;\n mask-image: $value;\n}\n\n@mixin mask-image-size($value) {\n -webkit-mask-size: $value;\n mask-size: $value;\n}\n\n@mixin mask-image-position($value) {\n -webkit-mask-position: $value;\n mask-position: $value;\n}\n\n@mixin mask-image-repeat($value) {\n -webkit-mask-repeat: $value;\n mask-repeat: $value;\n}\n","////\n/// Badge Module - group\n/// @group badge\n////\n\n#{ns-group(badges)} {\n @include disable-list-style;\n display: flex;\n flex-wrap: wrap;\n @include margin-x(-1v);\n @include margin-bottom(0);\n\n > li {\n display: inline-flex;\n @include max-width(100%);\n }\n\n #{ns(badge)} {\n @include margin(0 1v 2v 1v);\n }\n\n &--sm {\n @include nest-badge(sm);\n }\n}\n","////\n/// Core Tool : Reset list\n/// @group core\n////\n\n@mixin enable-list-style() {\n $selector: null;\n\n @if & == null {\n $selector: ':root';\n }\n\n @include nest($selector) {\n --ul-type: disc;\n --ol-type: decimal;\n --ul-start: #{space(4v)};\n --ol-start: #{space(6v)};\n --xl-block: #{space(2v)};\n --li-bottom: #{space(1v)};\n --xl-base: 1em;\n --ol-content: counters(li-counter, \".\") \".\\00a0\\00a0\";\n }\n}\n\n@mixin disable-list-style() {\n --ul-type: none;\n --ol-type: none;\n --ul-start: 0;\n --ol-start: 0;\n --xl-block: 0;\n --li-bottom: 0;\n --ol-content: none;\n}\n\n@mixin enable-list-style-legacy($unify: false) {\n $ul: ul;\n $ol: ol;\n\n @if $unify {\n $ul: selector-associate('&', 'ul');\n $ol: selector-associate('&', 'ol');\n }\n\n @at-root {\n #{$ul} {\n list-style-type: disc;\n }\n\n #{$ol} {\n list-style-type: decimal;\n }\n\n #{$ul},\n #{$ol} {\n @include padding-left(4v);\n @include margin-y(2v);\n }\n }\n}\n\n@mixin disable-list-style-legacy($unify: false) {\n $ul: '#{&} ul';\n $ol: '#{&} ol';\n\n @if $unify {\n $ul: selector-associate('#{&}', 'ul');\n $ol: selector-associate('#{&}', 'ol');\n }\n\n @at-root {\n #{$ul} {\n list-style-type: none;\n }\n\n #{$ol} {\n list-style-type: none;\n }\n\n #{$ul},\n #{$ol} {\n @include padding-left(0);\n @include margin-y(0);\n }\n }\n}\n","////\n/// Core Tool : Spacing space\n/// @group core\n////\n\n@use 'module/spacing';\n\n/// Set space property\n///\n/// @param {String} $property ['margin'] - propriété à appliquer à l'espacement `['margin', 'padding']`\n/// @param {Number | list} $value [2] - valeur de l'espacement en v ou w. peut être une liste si la direction n'est pas renseignée\n/// @param {String} $direction - direction de l'espacement `['x', 'y', 'top', 'right', 'bottom', 'left']`\n///\n/// @example scss - Set margin-bottom to 24px\n/// .foo {\n/// @include _spacing('margin', 6v, 'bottom');\n/// }\n@mixin _spacing($property: margin, $value: 0, $direction: null) {\n $v: spacing.space($value);\n @if $direction != null {\n @if $direction == 'x' {\n #{$property}-left: $v;\n #{$property}-right: $v;\n }\n @else if $direction == 'y' {\n #{$property}-top: $v;\n #{$property}-bottom: $v;\n }\n @else {\n #{$property}-#{$direction}: $v;\n }\n }\n @else {\n #{$property}: $v;\n }\n}\n\n@mixin _spacing-from($property: margin, $value: 0, $direction: null, $from: null) {\n @include respond-from($from) {\n @include _spacing($property, $value, $direction);\n }\n}\n\n@mixin padding($values: 0 0 0 0, $from: null) {\n @include _spacing-from(padding, $values, null, $from);\n}\n\n@mixin padding-x($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'x', $from);\n}\n\n@mixin padding-y($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'y', $from);\n}\n\n@mixin padding-top($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'top', $from);\n}\n\n@mixin padding-right($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'right', $from);\n}\n\n@mixin padding-bottom($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'bottom', $from);\n}\n\n@mixin padding-left($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'left', $from);\n}\n\n@mixin margin($values: 0 0 0 0, $from: null) {\n @include _spacing-from(margin, $values, null, $from);\n}\n\n@mixin margin-x($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'x', $from);\n}\n\n@mixin margin-y($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'y', $from);\n}\n\n@mixin margin-top($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'top', $from);\n}\n\n@mixin margin-right($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'right', $from);\n}\n\n@mixin margin-bottom($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'bottom', $from);\n}\n\n@mixin margin-left($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'left', $from);\n}\n","////\n/// Core Tool : Selector nest\n/// @group core\n////\n\n@mixin nest($selector: null) {\n @if $selector {\n #{$selector} {\n @content;\n }\n }\n @else {\n @content;\n }\n}\n","////\n/// Badge Module\n/// @group badge\n////\n\n@use 'module/color';\n\n@mixin _badge-scheme($legacy: false) {\n #{ns(badge)} {\n @include color.text(default grey, (legacy: $legacy));\n @include color.background(contrast grey, (legacy: $legacy));\n\n &--info {\n @include color.text(default info, (legacy: $legacy));\n @include color.background(contrast info, (legacy: $legacy));\n }\n\n &--error {\n @include color.text(default error, (legacy: $legacy));\n @include color.background(contrast error, (legacy: $legacy));\n }\n\n &--success {\n @include color.text(default success, (legacy: $legacy));\n @include color.background(contrast success, (legacy: $legacy));\n }\n\n &--warning {\n @include color.text(default warning, (legacy: $legacy));\n @include color.background(contrast warning, (legacy: $legacy));\n }\n\n &--new {\n @include color.text(action-high yellow-moutarde, (legacy: $legacy));\n @include color.background(contrast yellow-moutarde, (legacy: $legacy));\n }\n\n @include color.accentuate {\n @include color.text(label accent, (legacy: $legacy));\n @include color.background(contrast accent, (legacy: $legacy));\n }\n }\n}\n","@use 'sass:map';\n@use 'sass:list';\n@use '../variable/accent';\n@use '../variable/sets';\n\n@mixin accentuate () {\n $accents: map.get(sets.$values, accent);\n @at-root {\n @each $tint, $value in $accents {\n @include accent.set($tint);\n &--#{$tint} {\n @content;\n }\n }\n }\n @include accent.end();\n}\n","////\n/// Badge Module - group\n/// @group badge\n////\n\n#{ns-group(badge)} {\n @include disable-list-style;\n display: flex;\n flex-wrap: wrap;\n @include margin-bottom(0);\n\n > li {\n display: inline-flex;\n @include max-width(100%);\n }\n\n #{ns(badge)} {\n @include margin-right(2v);\n @include margin-bottom(2v);\n }\n}\n","@use '../variable/breakpoints';\n\n/// Set media query styles\n///\n/// @param {String} $media [md] - Layout size `['xs', 'sm', 'md', 'lg', 'xl']`\n///\n/// @example scss -\n/// .foo {\n/// @include respond-from(md) {\n/// }\n/// }\n@mixin respond-from($media) {\n $limits: map_get(breakpoints.$values, $media);\n\n @if $limits != null {\n @media (min-width: nth($limits, 1)) {\n @content;\n }\n }\n @else {\n @content;\n }\n}\n","@use 'module/media-query/variable/breakpoints';\n@use 'module/media-query';\n\n@mixin order () {\n @each $bp, $limits in breakpoints.$values {\n @if $bp != xs {\n @include media-query.respond-from($bp) {\n /*! media #{$bp} */\n }\n }\n }\n}\n","/// Styles spécifiques pour les plateformes antérieures\n///\n/// @example scss -\n/// .foo {\n/// @include ie-hack() {\n/// }\n/// }\n@mixin is($target) {\n @if $target == ie10 or $target == ie11 {\n @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n @content;\n }\n }\n @else {\n @content;\n }\n}\n\n/// Styles spécifiques pour les plateformes modernes, excluant les plateformes antérieures\n///\n/// @example scss -\n/// .foo {\n/// @include ie-hack() {\n/// }\n/// }\n@mixin is-not($target) {\n @if $target == ie10 or $target == ie11 {\n @supports not (-ms-high-contrast: none) {\n @content;\n }\n }\n}\n","////\n/// Core Tool : Icon legacy\n/// @group core\n////\n\n@mixin icon-size-legacy($size:md, $restrain: null) {\n @include _icon-pseudo($restrain) {\n $size: icon-size($size);\n @include size($size, $size);\n @content;\n }\n}\n\n@mixin icon-image-legacy($icon, $restrain: null, $important: false) {\n $url: get-icon-url($icon, $important);\n @include _icon-pseudo($restrain) {\n background-image: $url;\n }\n}\n\n@mixin icon-style-legacy($restrain: null) {\n @include _icon-pseudo($restrain) {\n background-color: transparent;\n background-size: 100%;\n background-repeat: no-repeat;\n @content;\n }\n}\n\n@mixin icon-legacy($icon: null, $size: md, $restrain: null, $styling: true) {\n @if $styling {\n @include icon-style-legacy($restrain);\n }\n\n @if $icon != null {\n @include icon-image-legacy($icon, $restrain);\n }\n\n @if $size != null {\n @include icon-size-legacy($size, $restrain);\n }\n\n @include _icon-pseudo($restrain) {\n @content;\n }\n}\n\n@mixin generate-icons-legacy($config: $icons-config) {\n @each $icon, $setting in $config {\n #{ns(icon-#{$icon})} {\n @include icon-image-legacy($icon);\n }\n }\n}\n","////\n/// Badge Print\n/// @group badge\n////\n\n@media print {\n @import 'index';\n @import 'style/scheme';\n\n @include _badge-scheme('print');\n}\n"]}