1 line
21 KiB
Text
1 line
21 KiB
Text
|
{"version":3,"sources":["<no source>","file:///Users/ket/Documents/work/dsfr/src/component/highlight/style/_module.scss","file:///Users/ket/Documents/work/dsfr/module/color/mixin/_element.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/typography/tool/_styles.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_space.scss","%3Cinput%20css%20bERdCa%3E","file:///Users/ket/Documents/work/dsfr/module/color/mixin/_accent.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"],"names":[],"mappings":"AAAA;;GAAA,ACOA,cCkCI,0GAAA,CD5BF,uBAAA,CACA,2BAAA,CAFA,2BAAA,CEcA,cAAA,CAGE,kBAAA,CCAE,oBCNN,CCbM,sCJ+BF,gIGDJ,CC9BM,8BJ+BF,gHGGJ,CClCM,8BJ+BF,gHGOJ,CCtCM,4BJ+BF,4GGWJ,CC1CM,8BJ+BF,gHGeJ,CC9CM,0BJ+BF,wGGmBJ,CClDM,4BJ+BF,4GGuBJ,CCtDM,8BJ+BF,gHG2BJ,CC1DM,4BJ+BF,4GG+BJ,CC9DM,0BJ+BF,wGGmCJ,CClEM,gCJ+BF,oHGuCJ,CCtEM,+BJ+BF,kHG2CJ,CC1EM,mCJ+BF,0HG+CJ,CC9EM,gCJ+BF,oHGmDJ,CClFM,6BJ+BF,8GGuDJ,CCtFM,2BJ+BF,0GG2DJ,CC1FM,gCJ+BF,oHG+DJ,CEzFI;ECRI,cAAA,CHDR,CESI;ECRI,cAAA,CPAR,cGsBM,gBAXA,CAWA,oBCFJ,CAlBF,CEMI;ECRI,cAAA,CHKR,CEGI;ECRI,cAAA,CHQR","file":"highlight.main.min.css","sourcesContent":[null,"////\n/// Highlight Module\n/// @group Highlight\n////\n\n@use 'module/spacing';\n\n#{ns(highlight)} {\n @include padding-left(5v);\n @include text-style(md);\n @include padding-left(9v, md);\n @include margin-left(8v, md);\n background-size: spacing.space(1v 100%);\n background-position: 0 0;\n background-repeat: no-repeat;\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:
|