UNPKG

@codegouvfr/react-dsfr

Version:

French State Design System React integration library

1 lines 73 kB
{"version":3,"sources":["<no source>","%3Cinput%20css%20dC6dh_%3E","file:///Users/ket/Documents/work/dsfr/src/component/toggle/main.scss","file:///Users/ket/Documents/work/dsfr/src/component/toggle/style/module/_default.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_position.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/_size.scss","file:///Users/ket/Documents/work/dsfr/module/color/mixin/_element.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_pseudo.scss","file:///Users/ket/Documents/work/dsfr/module/color/mixin/_data-uri-svg.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_space.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/display/tool/_display.scss","file:///Users/ket/Documents/work/dsfr/src/component/toggle/style/module/_variants.scss","file:///Users/ket/Documents/work/dsfr/src/component/toggle/style/module/_group.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/typography/tool/_list.scss","file:///Users/ket/Documents/work/dsfr/module/utilities/mixin/_nest.scss","file:///Users/ket/Documents/work/dsfr/src/component/toggle/style/_scheme.scss","file:///Users/ket/Documents/work/dsfr/module/disabled/mixin/_selector.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/preference/mixin/_forced-colors.scss","file:///Users/ket/Documents/work/dsfr/module/legacy/mixin/_legacy.scss","file:///Users/ket/Documents/work/dsfr/src/component/toggle/style/_legacy.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/icon/tool/_legacy.scss","file:///Users/ket/Documents/work/dsfr/src/component/toggle/print.scss","file:///Users/ket/Documents/work/dsfr/src/component/toggle/style/_print.scss"],"names":[],"mappings":"AAAA;;GAAA;ACAA,gBAAgB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A;EN8jBF;;EgBplBS;IVsBP,mCAAA;ENikBF;;Ee/jBM;ITFJ,yBAAA;ENokBF;;EO7lBA;IDyBE,cAAA;ENukBF;;EOhmBA;IDyBE,cAAA;IAAA,mCAAA;EN2kBF;;Ee9iBE;IT7BA,WAAA;IFfF,eAAA;IAGE,mBAAA;EJ0lBF;;Ee7iBE;ITjCA,iCAAA;ENilBF;;EO1mBA;IAGI,WQ4DgB;ITtClB,yBAAA;ENqlBF;;EO9mBA;IAGI,WQkEgB;IT5ClB,yBAAA;ENylBF;;EeriBE;;ITpDA,cAAA;EN6lBF;;EOtnBA;;IDyBE,cAAA;ENimBF;;EO1nBA;;IDyBE,mCAAA;ENqmBF;;EevhBE;;IT9EA,cAAA;ENymBF;;EOloBA;;IDyBE,cAAA;EN6mBF;;EOtoBA;;IDyBE,mCAAA;ENinBF;AAWF","file":"toggle.css","sourcesContent":[null,"@charset \"UTF-8\";\n/* ¯¯¯¯¯¯¯¯¯ *\\\n TOGGLE\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-toggle {\n display: flex;\n flex-wrap: wrap;\n position: relative;\n --text-spacing: 0;\n --title-spacing: 0;\n}\n.fr-toggle input[type=checkbox] {\n width: 2.5rem;\n height: 1.5rem;\n position: absolute;\n opacity: 0;\n}\n.fr-toggle input[type=checkbox]:checked ~ .fr-toggle__label[data-fr-unchecked-label][data-fr-checked-label]::before {\n content: attr(data-fr-checked-label);\n}\n@media (-ms-high-contrast: active), (forced-colors: active) {\n .fr-toggle input[type=checkbox]:checked ~ .fr-toggle__label::before {\n border: 2px solid highlight;\n background-color: transparent;\n background-image: none;\n forced-color-adjust: none;\n color: canvastext;\n }\n}\n.fr-toggle input[type=checkbox]:checked ~ .fr-toggle__label::after {\n transform: translateX(1rem);\n}\n@media (-ms-high-contrast: active), (forced-colors: active) {\n .fr-toggle input[type=checkbox]:checked ~ .fr-toggle__label::after {\n background-image: url(\"data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10 15.17l9.2-9.2 1.4 1.42L10 18l-6.36-6.36 1.4-1.42z'/></svg>\");\n border: 2px solid highlight;\n background-color: highlight;\n }\n}\n@media (-ms-high-contrast: active), (forced-colors: active) {\n .fr-toggle input[type=checkbox]:focus ~ .fr-toggle__label::before {\n outline-color: graytext;\n }\n}\n@media (-ms-high-contrast: active), (forced-colors: active) {\n .fr-toggle input[type=checkbox]:disabled ~ .fr-toggle__label {\n color: graytext;\n }\n}\n@media (-ms-high-contrast: active), (forced-colors: active) {\n .fr-toggle input[type=checkbox]:disabled ~ .fr-toggle__label::before, .fr-toggle input[type=checkbox]:disabled ~ .fr-toggle__label::after {\n background-image: none;\n border: 2px solid graytext;\n box-shadow: none;\n color: graytext;\n }\n}\n@media (-ms-high-contrast: active), (forced-colors: active) {\n .fr-toggle input[type=checkbox]:disabled:checked ~ .fr-toggle__label::before, .fr-toggle input[type=checkbox]:disabled:checked ~ .fr-toggle__label::after {\n background-image: none;\n border: 2px solid graytext;\n box-shadow: none;\n }\n}\n@media (-ms-high-contrast: active), (forced-colors: active) {\n .fr-toggle input[type=checkbox]:disabled:checked ~ .fr-toggle__label::after {\n background-color: graytext;\n background-image: url(\"data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10 15.17l9.2-9.2 1.4 1.42L10 18l-6.36-6.36 1.4-1.42z'/></svg>\");\n }\n}\n\n.fr-toggle label {\n --toggle-status-width: auto;\n display: inline-flex;\n width: calc(100% - 2rem);\n min-height: 1.5rem;\n font-size: 1rem;\n line-height: 1.5rem;\n}\n.fr-toggle label[data-fr-unchecked-label][data-fr-checked-label] {\n padding-left: 0;\n}\n.fr-toggle label[data-fr-unchecked-label][data-fr-checked-label]::before {\n content: attr(data-fr-unchecked-label);\n margin-right: calc(var(--toggle-status-width)- 0.5rem);\n margin-bottom: 1rem;\n word-wrap: normal;\n}\n@media (-ms-high-contrast: active), (forced-colors: active) {\n .fr-toggle label[data-fr-unchecked-label][data-fr-checked-label]::before {\n background-image: none;\n color: canvastext;\n }\n}\n.fr-toggle label[data-fr-unchecked-label][data-fr-checked-label] + .fr-hint-text {\n margin-top: 0.5rem;\n}\n.fr-toggle label::before {\n content: \"\";\n display: block;\n flex-shrink: 0;\n height: calc(1.25rem + 1px);\n padding-top: 1.75rem;\n font-size: 0.75rem;\n line-height: 1.25rem;\n border-radius: 0.75rem;\n margin-right: 2rem;\n min-width: 2.5rem;\n max-width: 2.5rem;\n background-repeat: no-repeat;\n}\n@media (-ms-high-contrast: active), (forced-colors: active) {\n .fr-toggle label::before {\n height: 1.5rem;\n background-image: none;\n border: 2px solid buttontext;\n background-color: transparent;\n forced-color-adjust: none;\n padding-top: 1.25rem;\n }\n}\n.fr-toggle label::after {\n content: \"\";\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n left: 0;\n width: 1.5rem;\n height: 1.5rem;\n border-radius: 50%;\n background-repeat: no-repeat;\n background-size: 1rem;\n background-position: center;\n}\n@media (-ms-high-contrast: active), (forced-colors: active) {\n .fr-toggle label::after {\n box-shadow: none;\n border: 2px solid buttontext;\n forced-color-adjust: none;\n background-color: transparent;\n }\n}\n.fr-toggle .fr-hint-text {\n display: block;\n margin-top: 1rem;\n margin-bottom: 0;\n font-size: 0.75rem;\n line-height: 1.25rem;\n flex-basis: 100%;\n}\n.fr-toggle--border-bottom {\n padding-bottom: 1rem;\n}\n.fr-toggle--valid::before, .fr-toggle--error::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: -0.75rem;\n width: 2px;\n height: 100%;\n}\n.fr-toggle .fr-message:first-child {\n margin-top: 1rem;\n}\n\n.fr-toggle--label-left .fr-toggle__input {\n order: 1;\n margin: 0 0 0 auto;\n}\n.fr-toggle--label-left .fr-toggle__input + label[data-fr-checked-label]::before {\n margin-right: 0;\n margin-left: calc(var(--toggle-status-width)- 0.5rem);\n}\n.fr-toggle--label-left .fr-toggle__label {\n justify-content: space-between;\n padding-left: 0;\n width: calc(100% - 2rem);\n flex: 1;\n}\n.fr-toggle--label-left .fr-toggle__label::before {\n flex-shrink: 0;\n order: 1;\n margin-left: 1rem;\n margin-right: 0;\n text-align: right;\n direction: rtl;\n}\n.fr-toggle--label-left .fr-toggle__label::after {\n left: auto;\n right: 1rem;\n}\n.fr-toggle--label-left .fr-hint-text {\n order: 2;\n}\n\n.fr-toggle__list {\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.fr-fieldset .fr-toggle__list li {\n margin-bottom: 1rem;\n}\n.fr-fieldset .fr-toggle__list li:last-child {\n margin-bottom: 0;\n}\n\n.fr-toggle label {\n color: var(--text-label-grey);\n}\n.fr-toggle label::before {\n color: var(--text-active-blue-france);\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg width='40' stroke='%23000091' height='24' viewBox='0 0 40 24' fill='transparent' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='39' height='23' rx='11.5' /></svg>\");\n background-image: var(--data-uri-svg);\n}\n:root[data-fr-theme=dark] .fr-toggle label::before {\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg width='40' stroke='%238585f6' height='24' viewBox='0 0 40 24' fill='transparent' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='39' height='23' rx='11.5' /></svg>\");\n}\n\n.fr-toggle label::after {\n color: var(--text-active-blue-france);\n box-shadow: inset 0 0 0 1px var(--border-action-high-blue-france);\n background-color: var(--background-default-grey);\n --idle: transparent;\n --hover: var(--background-default-grey-hover);\n --active: var(--background-default-grey-active);\n}\n.fr-toggle input[type=checkbox] {\n box-shadow: inset 0 0 0 1px var(--border-action-high-blue-france);\n}\n.fr-toggle input[type=checkbox]:checked {\n background-color: var(--background-active-blue-france);\n --idle: transparent;\n --hover: var(--background-active-blue-france-hover);\n --active: var(--background-active-blue-france-active);\n}\n.fr-toggle input[type=checkbox]:checked ~ .fr-toggle__label::before {\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg width='40' stroke='%23000091' height='24' viewBox='0 0 40 24' fill='%23000091' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='39' height='23' rx='11.5' /></svg>\");\n background-image: var(--data-uri-svg);\n}\n:root[data-fr-theme=dark] .fr-toggle input[type=checkbox]:checked ~ .fr-toggle__label::before {\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg width='40' stroke='%238585f6' height='24' viewBox='0 0 40 24' fill='%238585f6' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='39' height='23' rx='11.5' /></svg>\");\n}\n\n.fr-toggle input[type=checkbox]:checked ~ .fr-toggle__label::after {\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23000091' d='M10 15.17l9.2-9.2 1.4 1.42L10 18l-6.36-6.36 1.4-1.42z'/></svg>\");\n background-image: var(--data-uri-svg);\n}\n:root[data-fr-theme=dark] .fr-toggle input[type=checkbox]:checked ~ .fr-toggle__label::after {\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%238585f6' d='M10 15.17l9.2-9.2 1.4 1.42L10 18l-6.36-6.36 1.4-1.42z'/></svg>\");\n}\n\n.fr-toggle input[type=checkbox]:disabled {\n box-shadow: inset 0 0 0 1px var(--border-disabled-grey);\n}\n.fr-toggle input[type=checkbox]:disabled:checked {\n background-color: var(--background-disabled-grey);\n --idle: transparent;\n --hover: var(--background-disabled-grey-hover);\n --active: var(--background-disabled-grey-active);\n}\n.fr-toggle input[type=checkbox]:disabled:checked ~ .fr-toggle__label::before {\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg width='40' stroke='%23e5e5e5' height='24' viewBox='0 0 40 24' fill='%23e5e5e5' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='39' height='23' rx='11.5' /></svg>\");\n background-image: var(--data-uri-svg);\n}\n:root[data-fr-theme=dark] .fr-toggle input[type=checkbox]:disabled:checked ~ .fr-toggle__label::before {\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg width='40' stroke='%232a2a2a' height='24' viewBox='0 0 40 24' fill='%232a2a2a' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='39' height='23' rx='11.5' /></svg>\");\n}\n\n.fr-toggle input[type=checkbox]:disabled:checked ~ .fr-toggle__label::after {\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23929292' d='M10 15.17l9.2-9.2 1.4 1.42L10 18l-6.36-6.36 1.4-1.42z'/></svg>\");\n background-image: var(--data-uri-svg);\n}\n:root[data-fr-theme=dark] .fr-toggle input[type=checkbox]:disabled:checked ~ .fr-toggle__label::after {\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23666' d='M10 15.17l9.2-9.2 1.4 1.42L10 18l-6.36-6.36 1.4-1.42z'/></svg>\");\n}\n\n.fr-toggle input[type=checkbox]:disabled ~ .fr-toggle__label::before {\n color: var(--text-disabled-grey);\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg width='40' stroke='%23e5e5e5' height='24' viewBox='0 0 40 24' fill='transparent' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='39' height='23' rx='11.5' /></svg>\");\n background-image: var(--data-uri-svg);\n}\n:root[data-fr-theme=dark] .fr-toggle input[type=checkbox]:disabled ~ .fr-toggle__label::before {\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg width='40' stroke='%232a2a2a' height='24' viewBox='0 0 40 24' fill='transparent' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='39' height='23' rx='11.5' /></svg>\");\n}\n\n.fr-toggle input[type=checkbox]:disabled ~ .fr-toggle__label::after {\n color: var(--text-disabled-grey);\n box-shadow: inset 0 0 0 1px var(--border-disabled-grey);\n}\n\n.fr-toggle .fr-hint-text {\n color: var(--text-mention-grey);\n}\n.fr-toggle--border-bottom {\n box-shadow: inset 0 -1px 0 0 var(--border-default-grey);\n}\n.fr-toggle--valid::before {\n content: \"\";\n background-color: var(--border-plain-success);\n --idle: transparent;\n --hover: var(--border-plain-success-hover);\n --active: var(--border-plain-success-active);\n}\n.fr-toggle--error::before {\n content: \"\";\n background-color: var(--border-plain-error);\n --idle: transparent;\n --hover: var(--border-plain-error-hover);\n --active: var(--border-plain-error-active);\n}\n\n.fr-toggle--error label,\n.fr-fieldset--error .fr-toggle label {\n color: var(--text-default-error);\n}\n.fr-toggle--error label::before,\n.fr-fieldset--error .fr-toggle label::before {\n color: var(--text-default-error);\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg width='40' stroke='%23ce0500' height='24' viewBox='0 0 40 24' fill='transparent' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='39' height='23' rx='11.5' /></svg>\");\n background-image: var(--data-uri-svg);\n}\n:root[data-fr-theme=dark] .fr-toggle--error label::before, :root[data-fr-theme=dark] .fr-fieldset--error .fr-toggle label::before {\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg width='40' stroke='%23ff5655' height='24' viewBox='0 0 40 24' fill='transparent' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='39' height='23' rx='11.5' /></svg>\");\n}\n\n.fr-toggle--error label::after,\n.fr-fieldset--error .fr-toggle label::after {\n box-shadow: inset 0 0 0 1px var(--border-plain-error);\n}\n.fr-toggle--error input[type=checkbox]:checked ~ .fr-toggle__label::before,\n.fr-fieldset--error .fr-toggle input[type=checkbox]:checked ~ .fr-toggle__label::before {\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg width='40' stroke='%23ce0500' height='24' viewBox='0 0 40 24' fill='%23000091' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='39' height='23' rx='11.5' /></svg>\");\n background-image: var(--data-uri-svg);\n}\n:root[data-fr-theme=dark] .fr-toggle--error input[type=checkbox]:checked ~ .fr-toggle__label::before, :root[data-fr-theme=dark] .fr-fieldset--error .fr-toggle input[type=checkbox]:checked ~ .fr-toggle__label::before {\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg width='40' stroke='%23ff5655' height='24' viewBox='0 0 40 24' fill='%238585f6' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='39' height='23' rx='11.5' /></svg>\");\n}\n\n.fr-toggle--valid label,\n.fr-fieldset--valid .fr-toggle label {\n color: var(--text-default-success);\n}\n.fr-toggle--valid label::before,\n.fr-fieldset--valid .fr-toggle label::before {\n color: var(--text-default-success);\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg width='40' stroke='%2318753c' height='24' viewBox='0 0 40 24' fill='transparent' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='39' height='23' rx='11.5' /></svg>\");\n background-image: var(--data-uri-svg);\n}\n:root[data-fr-theme=dark] .fr-toggle--valid label::before, :root[data-fr-theme=dark] .fr-fieldset--valid .fr-toggle label::before {\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg width='40' stroke='%2327a658' height='24' viewBox='0 0 40 24' fill='transparent' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='39' height='23' rx='11.5' /></svg>\");\n}\n\n.fr-toggle--valid label::after,\n.fr-fieldset--valid .fr-toggle label::after {\n box-shadow: inset 0 0 0 1px var(--border-plain-success);\n}\n.fr-toggle--valid input[type=checkbox]:checked ~ .fr-toggle__label::before,\n.fr-fieldset--valid .fr-toggle input[type=checkbox]:checked ~ .fr-toggle__label::before {\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg width='40' stroke='%2318753c' height='24' viewBox='0 0 40 24' fill='%23000091' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='39' height='23' rx='11.5' /></svg>\");\n background-image: var(--data-uri-svg);\n}\n:root[data-fr-theme=dark] .fr-toggle--valid input[type=checkbox]:checked ~ .fr-toggle__label::before, :root[data-fr-theme=dark] .fr-fieldset--valid .fr-toggle input[type=checkbox]:checked ~ .fr-toggle__label::before {\n --data-uri-svg: url(\"data:image/svg+xml;charset=utf-8,<svg width='40' stroke='%2327a658' height='24' viewBox='0 0 40 24' fill='%238585f6' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='39' height='23' rx='11.5' /></svg>\");\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 screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle input[type=checkbox]::-ms-check {\n display: none;\n }\n .fr-toggle input[type=checkbox]:checked::before, .fr-toggle input[type=checkbox]:checked::after {\n background-color: transparent;\n background-size: 100%;\n background-repeat: no-repeat;\n }\n .fr-toggle input[type=checkbox]:checked::before, .fr-toggle input[type=checkbox]:checked::after {\n background-image: url(\"../../icons/system/check-line.svg\");\n }\n .fr-toggle input[type=checkbox]:checked::before, .fr-toggle input[type=checkbox]:checked::after {\n width: 1.5rem;\n height: 1.5rem;\n }\n .fr-toggle__list {\n list-style: none;\n padding: 0;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle label {\n color: #161616;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle label::before {\n color: #000091;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle label::before {\n background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='40' stroke='%23000091' height='24' viewBox='0 0 40 24' fill='transparent' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='39' height='23' rx='11.5' /%3E%3C/svg%3E\");\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle label::after {\n color: #000091;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle label::after {\n box-shadow: inset 0 0 0 1px #000091;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle label::after {\n background-color: #fff;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle input[type=checkbox] {\n box-shadow: inset 0 0 0 1px #000091;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle input[type=checkbox]:checked {\n background-color: #000091;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle input[type=checkbox]:checked ~ .fr-toggle__label::before {\n background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='40' stroke='%23000091' height='24' viewBox='0 0 40 24' fill='%23000091' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='39' height='23' rx='11.5' /%3E%3C/svg%3E\");\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle input[type=checkbox]:checked ~ .fr-toggle__label::after {\n background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000091' d='M10 15.17l9.2-9.2 1.4 1.42L10 18l-6.36-6.36 1.4-1.42z'/%3E%3C/svg%3E\");\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle input[type=checkbox]:disabled {\n box-shadow: inset 0 0 0 1px #e5e5e5;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle input[type=checkbox]:disabled:checked {\n background-color: #e5e5e5;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle input[type=checkbox]:disabled:checked ~ .fr-toggle__label::before {\n background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='40' stroke='%23e5e5e5' height='24' viewBox='0 0 40 24' fill='%23e5e5e5' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='39' height='23' rx='11.5' /%3E%3C/svg%3E\");\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle input[type=checkbox]:disabled:checked ~ .fr-toggle__label::after {\n background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23929292' d='M10 15.17l9.2-9.2 1.4 1.42L10 18l-6.36-6.36 1.4-1.42z'/%3E%3C/svg%3E\");\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle input[type=checkbox]:disabled ~ .fr-toggle__label::before {\n color: #929292;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle input[type=checkbox]:disabled ~ .fr-toggle__label::before {\n background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='40' stroke='%23e5e5e5' height='24' viewBox='0 0 40 24' fill='transparent' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='39' height='23' rx='11.5' /%3E%3C/svg%3E\");\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle input[type=checkbox]:disabled ~ .fr-toggle__label::after {\n color: #929292;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle input[type=checkbox]:disabled ~ .fr-toggle__label::after {\n box-shadow: inset 0 0 0 1px #e5e5e5;\n }\n}\n\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle .fr-hint-text {\n color: #666;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle--border-bottom {\n box-shadow: inset 0 -1px 0 0 #ddd;\n }\n}\n.fr-toggle--valid::before {\n content: \"\";\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle--valid::before {\n background-color: #18753c;\n }\n}\n.fr-toggle--error::before {\n content: \"\";\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle--error::before {\n background-color: #ce0500;\n }\n}\n\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle--error label,\n .fr-fieldset--error .fr-toggle label {\n color: #ce0500;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle--error label::before,\n .fr-fieldset--error .fr-toggle label::before {\n color: #ce0500;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle--error label::before,\n .fr-fieldset--error .fr-toggle label::before {\n background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='40' stroke='%23ce0500' height='24' viewBox='0 0 40 24' fill='transparent' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='39' height='23' rx='11.5' /%3E%3C/svg%3E\");\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle--error label::after,\n .fr-fieldset--error .fr-toggle label::after {\n box-shadow: inset 0 0 0 1px #ce0500;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle--error input[type=checkbox]:checked ~ .fr-toggle__label::before,\n .fr-fieldset--error .fr-toggle input[type=checkbox]:checked ~ .fr-toggle__label::before {\n background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='40' stroke='%23ce0500' height='24' viewBox='0 0 40 24' fill='%23000091' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='39' height='23' rx='11.5' /%3E%3C/svg%3E\");\n }\n}\n\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle--valid label,\n .fr-fieldset--valid .fr-toggle label {\n color: #18753c;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle--valid label::before,\n .fr-fieldset--valid .fr-toggle label::before {\n color: #18753c;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle--valid label::before,\n .fr-fieldset--valid .fr-toggle label::before {\n background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='40' stroke='%2318753c' height='24' viewBox='0 0 40 24' fill='transparent' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='39' height='23' rx='11.5' /%3E%3C/svg%3E\");\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle--valid label::after,\n .fr-fieldset--valid .fr-toggle label::after {\n box-shadow: inset 0 0 0 1px #18753c;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-toggle--valid input[type=checkbox]:checked ~ .fr-toggle__label::before,\n .fr-fieldset--valid .fr-toggle input[type=checkbox]:checked ~ .fr-toggle__label::before {\n background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='40' stroke='%2318753c' height='24' viewBox='0 0 40 24' fill='%23000091' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='39' height='23' rx='11.5' /%3E%3C/svg%3E\");\n }\n}\n\n@media print {\n .fr-toggle label {\n color: #161616;\n }\n .fr-toggle label::before {\n color: #000091;\n }\n .fr-toggle label::after {\n color: #000091;\n box-shadow: inset 0 0 0 1px #000091;\n background-color: #fff;\n }\n .fr-toggle input[type=checkbox] {\n box-shadow: inset 0 0 0 1px #000091;\n }\n .fr-toggle input[type=checkbox]:checked {\n background-color: #000091;\n }\n .fr-toggle input[type=checkbox]:disabled {\n box-shadow: inset 0 0 0 1px #e5e5e5;\n }\n .fr-toggle input[type=checkbox]:disabled:checked {\n background-color: #e5e5e5;\n }\n .fr-toggle input[type=checkbox]:disabled ~ .fr-toggle__label::before {\n color: #929292;\n }\n .fr-toggle input[type=checkbox]:disabled ~ .fr-toggle__label::after {\n color: #929292;\n box-shadow: inset 0 0 0 1px #e5e5e5;\n }\n .fr-toggle .fr-hint-text {\n color: #666;\n }\n .fr-toggle--border-bottom {\n box-shadow: inset 0 -1px 0 0 #ddd;\n }\n .fr-toggle--valid::before {\n content: \"\";\n background-color: #18753c;\n }\n .fr-toggle--error::before {\n content: \"\";\n background-color: #ce0500;\n }\n .fr-toggle--error label,\n .fr-fieldset--error .fr-toggle label {\n color: #ce0500;\n }\n .fr-toggle--error label::before,\n .fr-fieldset--error .fr-toggle label::before {\n color: #ce0500;\n }\n .fr-toggle--error label::after,\n .fr-fieldset--error .fr-toggle label::after {\n box-shadow: inset 0 0 0 1px #ce0500;\n }\n .fr-toggle--valid label,\n .fr-fieldset--valid .fr-toggle label {\n color: #18753c;\n }\n .fr-toggle--valid label::before,\n .fr-fieldset--valid .fr-toggle label::before {\n color: #18753c;\n }\n .fr-toggle--valid label::after,\n .fr-fieldset--valid .fr-toggle label::after {\n box-shadow: inset 0 0 0 1px #18753c;\n }\n .fr-toggle label::before {\n content: \"\";\n display: block;\n font-size: 1rem;\n line-height: 1.5rem;\n }\n .fr-toggle .fr-hint-text {\n font-size: 1rem;\n line-height: 1.5rem;\n }\n}","////\n/// Toggle Main\n/// @group toggle\n////\n\n/* ¯¯¯¯¯¯¯¯¯ *\\\n TOGGLE\n\\* ˍˍˍˍˍˍˍˍˍ */\n\n@use 'module/path';\n@use 'module/shame/media-query';\n\n@include path.to-dist(2);\n@include media-query.order;\n\n@import 'index';\n@import 'style/module';\n@import 'style/scheme';\n\n@include _toggle-scheme;\n","////\n/// Toggle Module : toggle\n/// @group toggle\n////\n\n@use 'module/spacing';\n@use 'module/preference';\n@use 'module/disabled';\n\n#{ns(toggle)} {\n display: flex;\n flex-wrap: wrap;\n @include relative;\n @include set-text-margin(0);\n @include set-title-margin(0);\n\n input[type=\"checkbox\"] {\n @include size(10v, 6v);\n @include absolute;\n opacity: 0;\n\n &:checked {\n ~#{ns(toggle__label)} {\n &#{ns-attr(unchecked-label)}#{ns-attr(checked-label)} {\n @include before(attr(#{ns-attr(checked-label, null, true)}));\n }\n\n @include before {\n @include preference.forced-colors {\n border: 2px solid highlight;\n background-color: transparent;\n background-image: none;\n forced-color-adjust: none;\n color: canvastext;\n }\n }\n\n @include after {\n transform: translateX(space(4v));\n @include z-index(higher);\n\n @include preference.forced-colors {\n background-image: url(\"data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10 15.17l9.2-9.2 1.4 1.42L10 18l-6.36-6.36 1.4-1.42z'/></svg>\");\n border: 2px solid highlight;\n background-color: highlight;\n }\n }\n }\n }\n\n &:focus {\n ~#{ns(toggle__label)} {\n @include before {\n @include preference.forced-colors {\n outline-color: graytext;\n }\n }\n }\n }\n\n @include disabled.selector {\n ~#{ns(toggle__label)} {\n @include preference.forced-colors {\n color: graytext;\n }\n\n @include _pseudo(before after) {\n @include preference.forced-colors {\n background-image: none;\n border: 2px solid graytext;\n box-shadow: none;\n color: graytext;\n }\n }\n }\n\n &:checked {\n ~#{ns(toggle__label)} {\n @include _pseudo(before after) {\n @include preference.forced-colors {\n background-image: none;\n border: 2px solid graytext;\n box-shadow: none;\n }\n }\n\n @include after {\n @include preference.forced-colors {\n background-color: graytext;\n background-image: url(\"data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10 15.17l9.2-9.2 1.4 1.42L10 18l-6.36-6.36 1.4-1.42z'/></svg>\");\n }\n }\n }\n }\n }\n }\n\n label {\n --toggle-status-width: auto;\n display: inline-flex;\n width: spacing.space(calc(100% - 8v));\n min-height: spacing.space(6v);\n @include text-style(md);\n\n &#{ns-attr(unchecked-label)}#{ns-attr(checked-label)} {\n @include padding-left(0);\n\n @include before(attr(#{ns-attr(unchecked-label, null, true)})) {\n @include margin-right(calc(var(--toggle-status-width) - #{spacing.space(2v)}));\n @include margin-bottom(4v);\n word-wrap: normal;\n\n @include preference.forced-colors {\n background-image: none;\n color: canvastext;\n }\n }\n\n +#{ns(hint-text)} {\n @include margin-top(2v);\n }\n }\n\n @include before('', block) {\n flex-shrink: 0;\n height: spacing.space(calc(5v + 1px));\n @include padding-top(7v);\n @include text-style(xs);\n border-radius: spacing.space(3v);\n @include margin-right(8v);\n min-width: spacing.space(10v);\n max-width: spacing.space(10v);\n background-repeat: no-repeat;\n\n @include preference.forced-colors {\n @include height(6v);\n background-image: none;\n border: 2px solid buttontext;\n background-color: transparent;\n forced-color-adjust: none;\n @include padding-top(5v);\n }\n }\n\n @include after('') {\n @include display-flex(null, center, center);\n @include absolute(0, null, null, 0, 6v, 6v);\n border-radius: 50%;\n background-repeat: no-repeat;\n background-size: spacing.space(4v);\n background-position: center;\n\n @include preference.forced-colors {\n box-shadow: none;\n border: 2px solid buttontext;\n forced-color-adjust: none;\n background-color: transparent;\n }\n }\n }\n\n #{ns(hint-text)} {\n display: block;\n @include margin-top(4v);\n @include margin-bottom(0);\n @include text-style(xs);\n flex-basis: 100%;\n }\n\n &--border-bottom {\n @include padding-bottom(4v);\n }\n\n &--valid,\n &--error {\n @include before('') {\n @include absolute(0, null, null, -3v, 2px, 100%);\n }\n }\n\n #{ns(message)} {\n &:first-child {\n @include margin-top(4v);\n }\n }\n}\n","////\n/// Core Tool : Spacing position\n/// @group core\n////\n\n@use 'module/spacing';\n\n@mixin position($position, $top: null, $right: null, $bottom: null, $left: null, $width: null, $height: null) {\n position: #{$position};\n @if $top != null {\n top: #{space($top)};\n }\n @if $right != null {\n right: #{space($right)};\n }\n @if $bottom != null {\n bottom: #{space($bottom)};\n }\n @if $left != null {\n left: #{space($left)};\n }\n\n @include size($width, $height);\n\n @content;\n}\n\n@mixin relative($top: null, $right: null, $bottom: null, $left: null, $width: null, $height: null) {\n @include position(relative, $top, $right, $bottom, $left, $width, $height);\n}\n\n@mixin absolute($top: null, $right: null, $bottom: null, $left: null, $width: null, $height: null) {\n @include position(absolute, $top, $right, $bottom, $left, $width, $height);\n}\n\n@mixin fixed($top: null, $right: null, $bottom: null, $left: null, $width: null, $height: null) {\n @include position(fixed, $top, $right, $bottom, $left, $width, $height);\n}\n\n@mixin sticky($top: null, $right: null, $bottom: null, $left: null, $width: null, $height: null) {\n @include position(sticky, $top, $right, $bottom, $left, $width, $height);\n}\n\n@mixin top($top) {\n top: spacing.space($top);\n}\n\n@mixin right($top) {\n right: spacing.space($top);\n}\n\n@mixin bottom($top) {\n bottom: spacing.space($top);\n}\n\n@mixin left($top) {\n left: spacing.space($top);\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 : 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","@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,