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

1 line
14 KiB
Text
Raw Permalink 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%2067Pgbb%3E","file:///Users/ket/Documents/work/dsfr/module/color/mixin/_accent.scss"],"names":[],"mappings":"AAAA;;GAAA;ACKA;ECGE;ICiCE,cAAA;IAAA,sBAAA;ECrCF;;EFQE;IC6BA,cAAA;IAAA,yBAAA;ECjCF;;EFSE;ICwBA,cAAA;IAAA,yBAAA;EC7BF;;EFUE;ICmBA,cAAA;IAAA,yBAAA;ECzBF;;EFWE;ICcA,cAAA;IAAA,yBAAA;ECrBF;;EFYE;ICSA,cAAA;IAAA,yBAAA;ECjBF;;ECdI;IF+BF,cAAA;IAAA,yBAAA;ECbF;;EClBI;IF+BF,cAAA;IAAA,yBAAA;ECTF;;ECtBI;IF+BF,cAAA;IAAA,yBAAA;ECLF;;EC1BI;IF+BF,cAAA;IAAA,yBAAA;ECDF;;EC9BI;IF+BF,cAAA;IAAA,yBAAA;ECGF;;EClCI;IF+BF,cAAA;IAAA,yBAAA;ECOF;;ECtCI;IF+BF,cAAA;IAAA,yBAAA;ECWF;;EC1CI;IF+BF,cAAA;IAAA,yBAAA;ECeF;;EC9CI;IF+BF,cAAA;IAAA,yBAAA;ECmBF;;EClDI;IF+BF,cAAA;IAAA,yBAAA;ECuBF;;ECtDI;IF+BF,cAAA;IAAA,yBAAA;EC2BF;;EC1DI;IF+BF,cAAA;IAAA,yBAAA;EC+BF;;EC9DI;IF+BF,cAAA;IAAA,yBAAA;ECmCF;;EClEI;IF+BF,cAAA;IAAA,yBAAA;ECuCF;;ECtEI;IF+BF,cAAA;IAAA,yBAAA;EC2CF;;EC1EI;IF+BF,cAAA;IAAA,yBAAA;EC+CF;;EC9EI;IF+BF,cAAA;IAAA,yBAAA;ECmDF;AACF","file":"badge.print.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