TP_JO2024/home/dist/component/badge/badge.print.min.css.map

1 line
14 KiB
Text
Raw Normal View History

2024-03-27 17:19:37 +01:00
{"version":3,"sources":["<no source>","file:///Users/ket/Documents/work/dsfr/src/component/badge/print.scss","file:///Users/ket/Documents/work/dsfr/src/component/badge/style/_scheme.scss","file:///Users/ket/Documents/work/dsfr/module/color/mixin/_element.scss","%3Cinput%20css%20Pz4w1Z%3E","file:///Users/ket/Documents/work/dsfr/module/color/mixin/_accent.scss"],"names":[],"mappings":"AAAA;;GAAA,ACKA,aCGE,UCiCE,qBAAA,CAAA,aCrCF,CFQE,gBC6BA,wBAAA,CAAA,aCjCF,CFSE,iBCwBA,wBAAA,CAAA,aC7BF,CFUE,mBCmBA,wBAAA,CAAA,aCzBF,CFWE,mBCcA,wBAAA,CAAA,aCrBF,CFYE,eCSA,wBAAA,CAAA,aCjBF,CCdI,kCF+BF,wBAAA,CAAA,aCbF,CClBI,0BF+BF,wBAAA,CAAA,aCTF,CCtBI,0BF+BF,wBAAA,CAAA,aCLF,CC1BI,wBF+BF,wBAAA,CAAA,aCDF,CC9BI,0BF+BF,wBAAA,CAAA,aCGF,CClCI,sBF+BF,wBAAA,CAAA,aCOF,CCtCI,wBF+BF,wBAAA,CAAA,aCWF,CC1CI,0BF+BF,wBAAA,CAAA,aCeF,CC9CI,wBF+BF,wBAAA,CAAA,aCmBF,CClDI,sBF+BF,wBAAA,CAAA,aCuBF,CCtDI,4BF+BF,wBAAA,CAAA,aC2BF,CC1DI,2BF+BF,wBAAA,CAAA,aC+BF,CC9DI,+BF+BF,wBAAA,CAAA,aCmCF,CClEI,4BF+BF,wBAAA,CAAA,aCuCF,CCtEI,yBF+BF,wBAAA,CAAA,aC2CF,CC1EI,uBF+BF,wBAAA,CAAA,aC+CF,CC9EI,4BF+BF,wBAAA,CAAA,aCmDF,CACF","file":"badge.print.min.css","sourcesContent":[null,"////\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","////\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: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