@jesscss/fns 1.0.8-alpha.8 → 2.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -5
- package/lib/__tests__/color-adjustments.test.d.ts +1 -0
- package/lib/__tests__/color-adjustments.test.js +137 -0
- package/lib/__tests__/color-adjustments.test.js.map +1 -0
- package/lib/__tests__/color-components.test.d.ts +1 -0
- package/lib/__tests__/color-components.test.js +76 -0
- package/lib/__tests__/color-components.test.js.map +1 -0
- package/lib/__tests__/color.test.d.ts +1 -0
- package/lib/__tests__/color.test.js +41 -0
- package/lib/__tests__/color.test.js.map +1 -0
- package/lib/__tests__/floor.test.d.ts +1 -0
- package/lib/__tests__/floor.test.js +38 -0
- package/lib/__tests__/floor.test.js.map +1 -0
- package/lib/__tests__/iif.d.ts +1 -0
- package/lib/__tests__/iif.js +38 -0
- package/lib/__tests__/iif.test.d.ts +1 -0
- package/lib/__tests__/iif.test.js +34 -0
- package/lib/__tests__/iif.test.js.map +1 -0
- package/lib/__tests__/math.d.ts +1 -0
- package/lib/__tests__/math.js +45 -0
- package/lib/__tests__/math.test.d.ts +1 -0
- package/lib/__tests__/math.test.js +46 -0
- package/lib/__tests__/math.test.js.map +1 -0
- package/lib/conversions.d.ts +46 -0
- package/lib/conversions.js +142 -0
- package/lib/conversions.js.map +1 -0
- package/lib/index.d.ts +1 -5
- package/lib/index.js +3 -17
- package/lib/index.js.map +1 -0
- package/lib/less/__tests__/advanced-blend-modes.test.d.ts +1 -0
- package/lib/less/__tests__/advanced-blend-modes.test.js +29 -0
- package/lib/less/__tests__/advanced-blend-modes.test.js.map +1 -0
- package/lib/less/__tests__/alpha-adjustments.test.d.ts +1 -0
- package/lib/less/__tests__/alpha-adjustments.test.js +36 -0
- package/lib/less/__tests__/alpha-adjustments.test.js.map +1 -0
- package/lib/less/__tests__/argb.test.d.ts +1 -0
- package/lib/less/__tests__/argb.test.js +15 -0
- package/lib/less/__tests__/argb.test.js.map +1 -0
- package/lib/less/__tests__/blend-modes.test.d.ts +1 -0
- package/lib/less/__tests__/blend-modes.test.js +27 -0
- package/lib/less/__tests__/blend-modes.test.js.map +1 -0
- package/lib/less/__tests__/contrast.test.d.ts +1 -0
- package/lib/less/__tests__/contrast.test.js +29 -0
- package/lib/less/__tests__/contrast.test.js.map +1 -0
- package/lib/less/__tests__/convert.test.d.ts +1 -0
- package/lib/less/__tests__/convert.test.js +25 -0
- package/lib/less/__tests__/convert.test.js.map +1 -0
- package/lib/less/__tests__/e.test.d.ts +1 -0
- package/lib/less/__tests__/e.test.js +12 -0
- package/lib/less/__tests__/e.test.js.map +1 -0
- package/lib/less/__tests__/extract.test.d.ts +1 -0
- package/lib/less/__tests__/extract.test.js +32 -0
- package/lib/less/__tests__/extract.test.js.map +1 -0
- package/lib/less/__tests__/format.test.d.ts +1 -0
- package/lib/less/__tests__/format.test.js +20 -0
- package/lib/less/__tests__/format.test.js.map +1 -0
- package/lib/less/__tests__/get-unit.test.d.ts +1 -0
- package/lib/less/__tests__/get-unit.test.js +15 -0
- package/lib/less/__tests__/get-unit.test.js.map +1 -0
- package/lib/less/__tests__/hsl-branches.test.d.ts +1 -0
- package/lib/less/__tests__/hsl-branches.test.js +27 -0
- package/lib/less/__tests__/hsl-branches.test.js.map +1 -0
- package/lib/less/__tests__/hsl-relative-errors.test.d.ts +1 -0
- package/lib/less/__tests__/hsl-relative-errors.test.js +97 -0
- package/lib/less/__tests__/hsl-relative-errors.test.js.map +1 -0
- package/lib/less/__tests__/hsla-fallback.test.d.ts +1 -0
- package/lib/less/__tests__/hsla-fallback.test.js +29 -0
- package/lib/less/__tests__/hsla-fallback.test.js.map +1 -0
- package/lib/less/__tests__/hsv-family.test.d.ts +1 -0
- package/lib/less/__tests__/hsv-family.test.js +43 -0
- package/lib/less/__tests__/hsv-family.test.js.map +1 -0
- package/lib/less/__tests__/isdefined.test.d.ts +1 -0
- package/lib/less/__tests__/isdefined.test.js +18 -0
- package/lib/less/__tests__/isdefined.test.js.map +1 -0
- package/lib/less/__tests__/isruleset.test.d.ts +1 -0
- package/lib/less/__tests__/isruleset.test.js +22 -0
- package/lib/less/__tests__/isruleset.test.js.map +1 -0
- package/lib/less/__tests__/length.test.d.ts +1 -0
- package/lib/less/__tests__/length.test.js +16 -0
- package/lib/less/__tests__/length.test.js.map +1 -0
- package/lib/less/__tests__/luma-luminance-hsv-channels.test.d.ts +1 -0
- package/lib/less/__tests__/luma-luminance-hsv-channels.test.js +35 -0
- package/lib/less/__tests__/luma-luminance-hsv-channels.test.js.map +1 -0
- package/lib/less/__tests__/max.test.d.ts +1 -0
- package/lib/less/__tests__/max.test.js +35 -0
- package/lib/less/__tests__/max.test.js.map +1 -0
- package/lib/less/__tests__/min.test.d.ts +1 -0
- package/lib/less/__tests__/min.test.js +37 -0
- package/lib/less/__tests__/min.test.js.map +1 -0
- package/lib/less/__tests__/mix.test.d.ts +1 -0
- package/lib/less/__tests__/mix.test.js +25 -0
- package/lib/less/__tests__/mix.test.js.map +1 -0
- package/lib/less/__tests__/mod.test.d.ts +1 -0
- package/lib/less/__tests__/mod.test.js +11 -0
- package/lib/less/__tests__/mod.test.js.map +1 -0
- package/lib/less/__tests__/percentage.test.d.ts +1 -0
- package/lib/less/__tests__/percentage.test.js +12 -0
- package/lib/less/__tests__/percentage.test.js.map +1 -0
- package/lib/less/__tests__/pow.test.d.ts +1 -0
- package/lib/less/__tests__/pow.test.js +11 -0
- package/lib/less/__tests__/pow.test.js.map +1 -0
- package/lib/less/__tests__/reexports-smoke.test.d.ts +1 -0
- package/lib/less/__tests__/reexports-smoke.test.js +26 -0
- package/lib/less/__tests__/reexports-smoke.test.js.map +1 -0
- package/lib/less/__tests__/replace.test.d.ts +1 -0
- package/lib/less/__tests__/replace.test.js +22 -0
- package/lib/less/__tests__/replace.test.js.map +1 -0
- package/lib/less/__tests__/rgb-relative-errors.test.d.ts +1 -0
- package/lib/less/__tests__/rgb-relative-errors.test.js +98 -0
- package/lib/less/__tests__/rgb-relative-errors.test.js.map +1 -0
- package/lib/less/__tests__/rgb-rgba-branches.test.d.ts +1 -0
- package/lib/less/__tests__/rgb-rgba-branches.test.js +49 -0
- package/lib/less/__tests__/rgb-rgba-branches.test.js.map +1 -0
- package/lib/less/__tests__/rgba-fallback.test.d.ts +1 -0
- package/lib/less/__tests__/rgba-fallback.test.js +29 -0
- package/lib/less/__tests__/rgba-fallback.test.js.map +1 -0
- package/lib/less/__tests__/shade.test.d.ts +1 -0
- package/lib/less/__tests__/shade.test.js +19 -0
- package/lib/less/__tests__/shade.test.js.map +1 -0
- package/lib/less/__tests__/spin.test.d.ts +1 -0
- package/lib/less/__tests__/spin.test.js +26 -0
- package/lib/less/__tests__/spin.test.js.map +1 -0
- package/lib/less/__tests__/tint.test.d.ts +1 -0
- package/lib/less/__tests__/tint.test.js +19 -0
- package/lib/less/__tests__/tint.test.js.map +1 -0
- package/lib/less/__tests__/types.test.d.ts +1 -0
- package/lib/less/__tests__/types.test.js +28 -0
- package/lib/less/__tests__/types.test.js.map +1 -0
- package/lib/less/__tests__/unit.test.d.ts +1 -0
- package/lib/less/__tests__/unit.test.js +17 -0
- package/lib/less/__tests__/unit.test.js.map +1 -0
- package/lib/less/abs.d.ts +7 -0
- package/lib/less/abs.js +8 -0
- package/lib/less/abs.js.map +1 -0
- package/lib/less/acos.d.ts +440 -0
- package/lib/less/acos.js +3 -0
- package/lib/less/acos.js.map +1 -0
- package/lib/less/alpha.d.ts +7 -0
- package/lib/less/alpha.js +8 -0
- package/lib/less/alpha.js.map +1 -0
- package/lib/less/argb.d.ts +441 -0
- package/lib/less/argb.js +17 -0
- package/lib/less/argb.js.map +1 -0
- package/lib/less/asin.d.ts +440 -0
- package/lib/less/asin.js +3 -0
- package/lib/less/asin.js.map +1 -0
- package/lib/less/atan.d.ts +440 -0
- package/lib/less/atan.js +3 -0
- package/lib/less/atan.js.map +1 -0
- package/lib/less/average.d.ts +601 -0
- package/lib/less/average.js +17 -0
- package/lib/less/average.js.map +1 -0
- package/lib/less/blue.d.ts +7 -0
- package/lib/less/blue.js +8 -0
- package/lib/less/blue.js.map +1 -0
- package/lib/less/ceil.d.ts +7 -0
- package/lib/less/ceil.js +8 -0
- package/lib/less/ceil.js.map +1 -0
- package/lib/less/color.d.ts +441 -0
- package/lib/less/color.js +33 -0
- package/lib/less/color.js.map +1 -0
- package/lib/less/contrast.d.ts +1427 -0
- package/lib/less/contrast.js +57 -0
- package/lib/less/contrast.js.map +1 -0
- package/lib/less/convert.d.ts +600 -0
- package/lib/less/convert.js +45 -0
- package/lib/less/convert.js.map +1 -0
- package/lib/less/cos.d.ts +440 -0
- package/lib/less/cos.js +3 -0
- package/lib/less/cos.js.map +1 -0
- package/lib/less/darken.d.ts +980 -0
- package/lib/less/darken.js +29 -0
- package/lib/less/darken.js.map +1 -0
- package/lib/less/desaturate.d.ts +980 -0
- package/lib/less/desaturate.js +29 -0
- package/lib/less/desaturate.js.map +1 -0
- package/lib/less/difference.d.ts +601 -0
- package/lib/less/difference.js +18 -0
- package/lib/less/difference.js.map +1 -0
- package/lib/less/e.d.ts +444 -0
- package/lib/less/e.js +17 -0
- package/lib/less/e.js.map +1 -0
- package/lib/less/each.d.ts +615 -0
- package/lib/less/each.js +64 -0
- package/lib/less/each.js.map +1 -0
- package/lib/less/exclusion.d.ts +601 -0
- package/lib/less/exclusion.js +18 -0
- package/lib/less/exclusion.js.map +1 -0
- package/lib/less/extract.d.ts +625 -0
- package/lib/less/extract.js +43 -0
- package/lib/less/extract.js.map +1 -0
- package/lib/less/fade.d.ts +600 -0
- package/lib/less/fade.js +28 -0
- package/lib/less/fade.js.map +1 -0
- package/lib/less/fadein.d.ts +980 -0
- package/lib/less/fadein.js +37 -0
- package/lib/less/fadein.js.map +1 -0
- package/lib/less/fadeout.d.ts +980 -0
- package/lib/less/fadeout.js +36 -0
- package/lib/less/fadeout.js.map +1 -0
- package/lib/less/floor.d.ts +7 -0
- package/lib/less/floor.js +8 -0
- package/lib/less/floor.js.map +1 -0
- package/lib/less/format.d.ts +1821 -0
- package/lib/less/format.js +44 -0
- package/lib/less/format.js.map +1 -0
- package/lib/less/get-unit.d.ts +441 -0
- package/lib/less/get-unit.js +11 -0
- package/lib/less/get-unit.js.map +1 -0
- package/lib/less/green.d.ts +7 -0
- package/lib/less/green.js +8 -0
- package/lib/less/green.js.map +1 -0
- package/lib/less/greyscale.d.ts +441 -0
- package/lib/less/greyscale.js +18 -0
- package/lib/less/greyscale.js.map +1 -0
- package/lib/less/hardlight.d.ts +601 -0
- package/lib/less/hardlight.js +19 -0
- package/lib/less/hardlight.js.map +1 -0
- package/lib/less/hsl.d.ts +1063 -0
- package/lib/less/hsl.js +257 -0
- package/lib/less/hsl.js.map +1 -0
- package/lib/less/hsla.d.ts +354 -0
- package/lib/less/hsla.js +31 -0
- package/lib/less/hsla.js.map +1 -0
- package/lib/less/hsv.d.ts +723 -0
- package/lib/less/hsv.js +20 -0
- package/lib/less/hsv.js.map +1 -0
- package/lib/less/hsva.d.ts +991 -0
- package/lib/less/hsva.js +53 -0
- package/lib/less/hsva.js.map +1 -0
- package/lib/less/hsvhue.d.ts +441 -0
- package/lib/less/hsvhue.js +11 -0
- package/lib/less/hsvhue.js.map +1 -0
- package/lib/less/hsvsaturation.d.ts +441 -0
- package/lib/less/hsvsaturation.js +12 -0
- package/lib/less/hsvsaturation.js.map +1 -0
- package/lib/less/hsvvalue.d.ts +441 -0
- package/lib/less/hsvvalue.js +11 -0
- package/lib/less/hsvvalue.js.map +1 -0
- package/lib/less/hue.d.ts +441 -0
- package/lib/less/hue.js +11 -0
- package/lib/less/hue.js.map +1 -0
- package/lib/less/iif.d.ts +1033 -0
- package/lib/less/iif.js +30 -0
- package/lib/less/iif.js.map +1 -0
- package/lib/less/index.d.ts +75 -0
- package/lib/less/index.js +76 -0
- package/lib/less/index.js.map +1 -0
- package/lib/less/isdefined.d.ts +466 -0
- package/lib/less/isdefined.js +21 -0
- package/lib/less/isdefined.js.map +1 -0
- package/lib/less/isruleset.d.ts +466 -0
- package/lib/less/isruleset.js +24 -0
- package/lib/less/isruleset.js.map +1 -0
- package/lib/less/length.d.ts +441 -0
- package/lib/less/length.js +21 -0
- package/lib/less/length.js.map +1 -0
- package/lib/less/lighten.d.ts +980 -0
- package/lib/less/lighten.js +29 -0
- package/lib/less/lighten.js.map +1 -0
- package/lib/less/lightness.d.ts +441 -0
- package/lib/less/lightness.js +11 -0
- package/lib/less/lightness.js.map +1 -0
- package/lib/less/luma.d.ts +441 -0
- package/lib/less/luma.js +14 -0
- package/lib/less/luma.js.map +1 -0
- package/lib/less/luminance.d.ts +441 -0
- package/lib/less/luminance.js +16 -0
- package/lib/less/luminance.js.map +1 -0
- package/lib/less/math-factory.d.ts +774 -0
- package/lib/less/math-factory.js +18 -0
- package/lib/less/math-factory.js.map +1 -0
- package/lib/less/mathv1.d.ts +0 -0
- package/lib/less/mathv1.js +209 -0
- package/lib/less/mathv1.js.map +1 -0
- package/lib/less/max.d.ts +466 -0
- package/lib/less/max.js +85 -0
- package/lib/less/max.js.map +1 -0
- package/lib/less/min.d.ts +466 -0
- package/lib/less/min.js +85 -0
- package/lib/less/min.js.map +1 -0
- package/lib/less/mix.d.ts +980 -0
- package/lib/less/mix.js +39 -0
- package/lib/less/mix.js.map +1 -0
- package/lib/less/mod.d.ts +600 -0
- package/lib/less/mod.js +16 -0
- package/lib/less/mod.js.map +1 -0
- package/lib/less/multiply.d.ts +601 -0
- package/lib/less/multiply.js +18 -0
- package/lib/less/multiply.js.map +1 -0
- package/lib/less/negation.d.ts +601 -0
- package/lib/less/negation.js +18 -0
- package/lib/less/negation.js.map +1 -0
- package/lib/less/overlay.d.ts +601 -0
- package/lib/less/overlay.js +23 -0
- package/lib/less/overlay.js.map +1 -0
- package/lib/less/percentage.d.ts +441 -0
- package/lib/less/percentage.js +11 -0
- package/lib/less/percentage.js.map +1 -0
- package/lib/less/pi.d.ts +332 -0
- package/lib/less/pi.js +3 -0
- package/lib/less/pi.js.map +1 -0
- package/lib/less/pow.d.ts +600 -0
- package/lib/less/pow.js +16 -0
- package/lib/less/pow.js.map +1 -0
- package/lib/less/range.d.ts +1038 -0
- package/lib/less/range.js +40 -0
- package/lib/less/range.js.map +1 -0
- package/lib/less/red.d.ts +7 -0
- package/lib/less/red.js +8 -0
- package/lib/less/red.js.map +1 -0
- package/lib/less/replace.d.ts +1264 -0
- package/lib/less/replace.js +32 -0
- package/lib/less/replace.js.map +1 -0
- package/lib/less/rgb.d.ts +1063 -0
- package/lib/less/rgb.js +266 -0
- package/lib/less/rgb.js.map +1 -0
- package/lib/less/rgba.d.ts +354 -0
- package/lib/less/rgba.js +31 -0
- package/lib/less/rgba.js.map +1 -0
- package/lib/less/round.d.ts +7 -0
- package/lib/less/round.js +8 -0
- package/lib/less/round.js.map +1 -0
- package/lib/less/saturate.d.ts +980 -0
- package/lib/less/saturate.js +29 -0
- package/lib/less/saturate.js.map +1 -0
- package/lib/less/saturation.d.ts +441 -0
- package/lib/less/saturation.js +12 -0
- package/lib/less/saturation.js.map +1 -0
- package/lib/less/screen.d.ts +601 -0
- package/lib/less/screen.js +18 -0
- package/lib/less/screen.js.map +1 -0
- package/lib/less/shade.d.ts +600 -0
- package/lib/less/shade.js +26 -0
- package/lib/less/shade.js.map +1 -0
- package/lib/less/sin.d.ts +440 -0
- package/lib/less/sin.js +3 -0
- package/lib/less/sin.js.map +1 -0
- package/lib/less/softlight.d.ts +601 -0
- package/lib/less/softlight.js +25 -0
- package/lib/less/softlight.js.map +1 -0
- package/lib/less/spin.d.ts +600 -0
- package/lib/less/spin.js +22 -0
- package/lib/less/spin.js.map +1 -0
- package/lib/less/sqrt.d.ts +440 -0
- package/lib/less/sqrt.js +3 -0
- package/lib/less/sqrt.js.map +1 -0
- package/lib/less/tan.d.ts +440 -0
- package/lib/less/tan.js +3 -0
- package/lib/less/tan.js.map +1 -0
- package/lib/less/tint.d.ts +600 -0
- package/lib/less/tint.js +26 -0
- package/lib/less/tint.js.map +1 -0
- package/lib/less/types.d.ts +4112 -0
- package/lib/less/types.js +53 -0
- package/lib/less/types.js.map +1 -0
- package/lib/less/unit.d.ts +753 -0
- package/lib/less/unit.js +20 -0
- package/lib/less/unit.js.map +1 -0
- package/lib/sass/__tests__/hsl-channels.test.d.ts +1 -0
- package/lib/sass/__tests__/hsl-channels.test.js +85 -0
- package/lib/sass/__tests__/hsl-channels.test.js.map +1 -0
- package/lib/sass/__tests__/list-advanced.test.d.ts +1 -0
- package/lib/sass/__tests__/list-advanced.test.js +157 -0
- package/lib/sass/__tests__/list-advanced.test.js.map +1 -0
- package/lib/sass/__tests__/list-functions.test.d.ts +1 -0
- package/lib/sass/__tests__/list-functions.test.js +153 -0
- package/lib/sass/__tests__/list-functions.test.js.map +1 -0
- package/lib/sass/__tests__/map-functions.test.d.ts +1 -0
- package/lib/sass/__tests__/map-functions.test.js +208 -0
- package/lib/sass/__tests__/map-functions.test.js.map +1 -0
- package/lib/sass/__tests__/math-functions.test.d.ts +1 -0
- package/lib/sass/__tests__/math-functions.test.js +73 -0
- package/lib/sass/__tests__/math-functions.test.js.map +1 -0
- package/lib/sass/__tests__/math-remaining.test.d.ts +1 -0
- package/lib/sass/__tests__/math-remaining.test.js +113 -0
- package/lib/sass/__tests__/math-remaining.test.js.map +1 -0
- package/lib/sass/__tests__/opacity.test.d.ts +1 -0
- package/lib/sass/__tests__/opacity.test.js +53 -0
- package/lib/sass/__tests__/opacity.test.js.map +1 -0
- package/lib/sass/__tests__/string-functions.test.d.ts +1 -0
- package/lib/sass/__tests__/string-functions.test.js +109 -0
- package/lib/sass/__tests__/string-functions.test.js.map +1 -0
- package/lib/sass/__tests__/string-remaining.test.d.ts +1 -0
- package/lib/sass/__tests__/string-remaining.test.js +131 -0
- package/lib/sass/__tests__/string-remaining.test.js.map +1 -0
- package/lib/sass/adjust-hue.d.ts +10 -0
- package/lib/sass/adjust-hue.js +11 -0
- package/lib/sass/adjust-hue.js.map +1 -0
- package/lib/sass/color/index.d.ts +22 -0
- package/lib/sass/color/index.js +43 -0
- package/lib/sass/color/index.js.map +1 -0
- package/lib/sass/color/red.d.ts +7 -0
- package/lib/sass/color/red.js +8 -0
- package/lib/sass/color/red.js.map +1 -0
- package/lib/sass/compatible.d.ts +610 -0
- package/lib/sass/compatible.js +62 -0
- package/lib/sass/compatible.js.map +1 -0
- package/lib/sass/complement.d.ts +450 -0
- package/lib/sass/complement.js +28 -0
- package/lib/sass/complement.js.map +1 -0
- package/lib/sass/fade-in.d.ts +10 -0
- package/lib/sass/fade-in.js +11 -0
- package/lib/sass/fade-in.js.map +1 -0
- package/lib/sass/fade-out.d.ts +10 -0
- package/lib/sass/fade-out.js +11 -0
- package/lib/sass/fade-out.js.map +1 -0
- package/lib/sass/grayscale.d.ts +10 -0
- package/lib/sass/grayscale.js +11 -0
- package/lib/sass/grayscale.js.map +1 -0
- package/lib/sass/hue.d.ts +450 -0
- package/lib/sass/hue.js +24 -0
- package/lib/sass/hue.js.map +1 -0
- package/lib/sass/ie-hex-str.d.ts +10 -0
- package/lib/sass/ie-hex-str.js +11 -0
- package/lib/sass/ie-hex-str.js.map +1 -0
- package/lib/sass/index.d.ts +64 -0
- package/lib/sass/index.js +90 -0
- package/lib/sass/index.js.map +1 -0
- package/lib/sass/invert.d.ts +813 -0
- package/lib/sass/invert.js +36 -0
- package/lib/sass/invert.js.map +1 -0
- package/lib/sass/lightness.d.ts +450 -0
- package/lib/sass/lightness.js +24 -0
- package/lib/sass/lightness.js.map +1 -0
- package/lib/sass/list/append.d.ts +989 -0
- package/lib/sass/list/append.js +54 -0
- package/lib/sass/list/append.js.map +1 -0
- package/lib/sass/list/index.d.ts +21 -0
- package/lib/sass/list/index.js +24 -0
- package/lib/sass/list/index.js.map +1 -0
- package/lib/sass/list/is-bracketed.d.ts +450 -0
- package/lib/sass/list/is-bracketed.js +30 -0
- package/lib/sass/list/is-bracketed.js.map +1 -0
- package/lib/sass/list/join.d.ts +1354 -0
- package/lib/sass/list/join.js +66 -0
- package/lib/sass/list/join.js.map +1 -0
- package/lib/sass/list/length.d.ts +450 -0
- package/lib/sass/list/length.js +22 -0
- package/lib/sass/list/length.js.map +1 -0
- package/lib/sass/list/list-index.d.ts +609 -0
- package/lib/sass/list/list-index.js +49 -0
- package/lib/sass/list/list-index.js.map +1 -0
- package/lib/sass/list/nth.d.ts +634 -0
- package/lib/sass/list/nth.js +36 -0
- package/lib/sass/list/nth.js.map +1 -0
- package/lib/sass/list/separator.d.ts +451 -0
- package/lib/sass/list/separator.js +36 -0
- package/lib/sass/list/separator.js.map +1 -0
- package/lib/sass/list/set-nth.d.ts +756 -0
- package/lib/sass/list/set-nth.js +42 -0
- package/lib/sass/list/set-nth.js.map +1 -0
- package/lib/sass/list/zip.d.ts +474 -0
- package/lib/sass/list/zip.js +46 -0
- package/lib/sass/list/zip.js.map +1 -0
- package/lib/sass/map/get.d.ts +757 -0
- package/lib/sass/map/get.js +79 -0
- package/lib/sass/map/get.js.map +1 -0
- package/lib/sass/map/has-key.d.ts +757 -0
- package/lib/sass/map/has-key.js +76 -0
- package/lib/sass/map/has-key.js.map +1 -0
- package/lib/sass/map/index.d.ts +19 -0
- package/lib/sass/map/index.js +23 -0
- package/lib/sass/map/index.js.map +1 -0
- package/lib/sass/map/keys.d.ts +449 -0
- package/lib/sass/map/keys.js +39 -0
- package/lib/sass/map/keys.js.map +1 -0
- package/lib/sass/map/merge.d.ts +608 -0
- package/lib/sass/map/merge.js +54 -0
- package/lib/sass/map/merge.js.map +1 -0
- package/lib/sass/map/remove.d.ts +633 -0
- package/lib/sass/map/remove.js +41 -0
- package/lib/sass/map/remove.js.map +1 -0
- package/lib/sass/map/set.d.ts +731 -0
- package/lib/sass/map/set.js +72 -0
- package/lib/sass/map/set.js.map +1 -0
- package/lib/sass/map/values.d.ts +449 -0
- package/lib/sass/map/values.js +30 -0
- package/lib/sass/map/values.js.map +1 -0
- package/lib/sass/math/abs.d.ts +7 -0
- package/lib/sass/math/abs.js +8 -0
- package/lib/sass/math/abs.js.map +1 -0
- package/lib/sass/math/index.d.ts +18 -0
- package/lib/sass/math/index.js +43 -0
- package/lib/sass/math/index.js.map +1 -0
- package/lib/sass/opacify.d.ts +11 -0
- package/lib/sass/opacify.js +12 -0
- package/lib/sass/opacify.js.map +1 -0
- package/lib/sass/opacity.d.ts +451 -0
- package/lib/sass/opacity.js +33 -0
- package/lib/sass/opacity.js.map +1 -0
- package/lib/sass/percentage.d.ts +449 -0
- package/lib/sass/percentage.js +26 -0
- package/lib/sass/percentage.js.map +1 -0
- package/lib/sass/quote.d.ts +449 -0
- package/lib/sass/quote.js +27 -0
- package/lib/sass/quote.js.map +1 -0
- package/lib/sass/random.d.ts +534 -0
- package/lib/sass/random.js +37 -0
- package/lib/sass/random.js.map +1 -0
- package/lib/sass/saturation.d.ts +450 -0
- package/lib/sass/saturation.js +24 -0
- package/lib/sass/saturation.js.map +1 -0
- package/lib/sass/str-index.d.ts +609 -0
- package/lib/sass/str-index.js +34 -0
- package/lib/sass/str-index.js.map +1 -0
- package/lib/sass/str-insert.d.ts +756 -0
- package/lib/sass/str-insert.js +61 -0
- package/lib/sass/str-insert.js.map +1 -0
- package/lib/sass/str-slice.d.ts +1039 -0
- package/lib/sass/str-slice.js +95 -0
- package/lib/sass/str-slice.js.map +1 -0
- package/lib/sass/string/index.d.ts +18 -0
- package/lib/sass/string/index.js +25 -0
- package/lib/sass/string/index.js.map +1 -0
- package/lib/sass/string/length.d.ts +450 -0
- package/lib/sass/string/length.js +32 -0
- package/lib/sass/string/length.js.map +1 -0
- package/lib/sass/to-lower-case.d.ts +449 -0
- package/lib/sass/to-lower-case.js +23 -0
- package/lib/sass/to-lower-case.js.map +1 -0
- package/lib/sass/to-upper-case.d.ts +449 -0
- package/lib/sass/to-upper-case.js +23 -0
- package/lib/sass/to-upper-case.js.map +1 -0
- package/lib/sass/transparentize.d.ts +11 -0
- package/lib/sass/transparentize.js +12 -0
- package/lib/sass/transparentize.js.map +1 -0
- package/lib/sass/unique-id.d.ts +341 -0
- package/lib/sass/unique-id.js +23 -0
- package/lib/sass/unique-id.js.map +1 -0
- package/lib/sass/unit.d.ts +762 -0
- package/lib/sass/unit.js +37 -0
- package/lib/sass/unit.js.map +1 -0
- package/lib/sass/unitless.d.ts +450 -0
- package/lib/sass/unitless.js +23 -0
- package/lib/sass/unitless.js.map +1 -0
- package/lib/sass/unquote.d.ts +449 -0
- package/lib/sass/unquote.js +27 -0
- package/lib/sass/unquote.js.map +1 -0
- package/lib/shared/color/alpha.d.ts +441 -0
- package/lib/shared/color/alpha.js +10 -0
- package/lib/shared/color/alpha.js.map +1 -0
- package/lib/shared/color/blue.d.ts +441 -0
- package/lib/shared/color/blue.js +10 -0
- package/lib/shared/color/blue.js.map +1 -0
- package/lib/shared/color/green.d.ts +441 -0
- package/lib/shared/color/green.js +10 -0
- package/lib/shared/color/green.js.map +1 -0
- package/lib/shared/color/red.d.ts +441 -0
- package/lib/shared/color/red.js +10 -0
- package/lib/shared/color/red.js.map +1 -0
- package/lib/shared/index.d.ts +16 -0
- package/lib/shared/index.js +19 -0
- package/lib/shared/index.js.map +1 -0
- package/lib/shared/math/__tests__/max.test.d.ts +1 -0
- package/lib/shared/math/__tests__/max.test.js +12 -0
- package/lib/shared/math/__tests__/max.test.js.map +1 -0
- package/lib/shared/math/__tests__/min.test.d.ts +1 -0
- package/lib/shared/math/__tests__/min.test.js +12 -0
- package/lib/shared/math/__tests__/min.test.js.map +1 -0
- package/lib/shared/math/__tests__/round.test.d.ts +1 -0
- package/lib/shared/math/__tests__/round.test.js +10 -0
- package/lib/shared/math/__tests__/round.test.js.map +1 -0
- package/lib/shared/math/abs.d.ts +441 -0
- package/lib/shared/math/abs.js +11 -0
- package/lib/shared/math/abs.js.map +1 -0
- package/lib/shared/math/ceil.d.ts +441 -0
- package/lib/shared/math/ceil.js +11 -0
- package/lib/shared/math/ceil.js.map +1 -0
- package/lib/shared/math/floor.d.ts +441 -0
- package/lib/shared/math/floor.js +11 -0
- package/lib/shared/math/floor.js.map +1 -0
- package/lib/shared/math/max.d.ts +469 -0
- package/lib/shared/math/max.js +22 -0
- package/lib/shared/math/max.js.map +1 -0
- package/lib/shared/math/min.d.ts +469 -0
- package/lib/shared/math/min.js +22 -0
- package/lib/shared/math/min.js.map +1 -0
- package/lib/shared/math/round.d.ts +778 -0
- package/lib/shared/math/round.js +17 -0
- package/lib/shared/math/round.js.map +1 -0
- package/lib/util/colorHelper.d.ts +2 -0
- package/lib/util/colorHelper.js +32 -0
- package/lib/util/colorHelper.js.map +1 -0
- package/lib/util/get-color-func-values.d.ts +5 -0
- package/lib/util/get-color-func-values.js +28 -0
- package/lib/util/get-color-func-values.js.map +1 -0
- package/lib/util/get-hsla.d.ts +10 -0
- package/lib/util/get-hsla.js +38 -0
- package/lib/util/get-hsla.js.map +1 -0
- package/lib/util/get-luma.d.ts +2 -0
- package/lib/util/get-luma.js +10 -0
- package/lib/util/get-luma.js.map +1 -0
- package/lib/util/index.d.ts +5 -0
- package/lib/util/index.js +17 -0
- package/lib/util/index.js.map +1 -0
- package/lib/util/mathHelper.d.ts +4 -0
- package/lib/util/mathHelper.js +45 -0
- package/lib/util/mathHelper.js.map +1 -0
- package/lib/util/number.d.ts +4 -0
- package/lib/util/number.js +23 -0
- package/lib/util/number.js.map +1 -0
- package/lib/util/relative-color.d.ts +54 -0
- package/lib/util/relative-color.js +268 -0
- package/lib/util/relative-color.js.map +1 -0
- package/lib/util/serialize-node.d.ts +2 -0
- package/lib/util/serialize-node.js +8 -0
- package/lib/util/serialize-node.js.map +1 -0
- package/lib/util/to-hsl.d.ts +7 -0
- package/lib/util/to-hsl.js +6 -0
- package/lib/util/to-hsl.js.map +1 -0
- package/lib/util/to-hsv.d.ts +7 -0
- package/lib/util/to-hsv.js +73 -0
- package/lib/util/to-hsv.js.map +1 -0
- package/package.json +39 -16
- package/lib/color-blending.d.ts +0 -9
- package/lib/color-blending.js +0 -83
- package/lib/color.d.ts +0 -42
- package/lib/color.js +0 -407
- package/lib/each.d.ts +0 -14
- package/lib/each.js +0 -35
- package/lib/iif.d.ts +0 -4
- package/lib/iif.js +0 -10
- package/lib/math.d.ts +0 -13
- package/lib/math.js +0 -199
|
@@ -0,0 +1,1427 @@
|
|
|
1
|
+
import { Color, Dimension } from '@jesscss/core';
|
|
2
|
+
declare const contrast: {
|
|
3
|
+
(args_0: Color | (Partial<{
|
|
4
|
+
readonly dark?: Color | undefined;
|
|
5
|
+
readonly light?: Color | undefined;
|
|
6
|
+
readonly threshold?: Dimension | undefined;
|
|
7
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
8
|
+
[x: string]: never;
|
|
9
|
+
readonly color: Dimension | Color;
|
|
10
|
+
dark: Dimension | Color;
|
|
11
|
+
light: Dimension | Color;
|
|
12
|
+
threshold: Dimension | Color;
|
|
13
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
14
|
+
readonly dark?: Color | undefined;
|
|
15
|
+
readonly light?: Color | undefined;
|
|
16
|
+
readonly threshold?: Dimension | undefined;
|
|
17
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
18
|
+
[x: string]: never;
|
|
19
|
+
readonly color: Dimension | Color;
|
|
20
|
+
dark: Dimension | Color;
|
|
21
|
+
light: Dimension | Color;
|
|
22
|
+
threshold: Dimension | Color;
|
|
23
|
+
}>, "dark" | "light" | "threshold">), args_1?: Color | (Partial<{
|
|
24
|
+
readonly dark?: Color | undefined;
|
|
25
|
+
readonly light?: Color | undefined;
|
|
26
|
+
readonly threshold?: Dimension | undefined;
|
|
27
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
28
|
+
[x: string]: never;
|
|
29
|
+
readonly color: Dimension | Color;
|
|
30
|
+
dark: Dimension | Color;
|
|
31
|
+
light: Dimension | Color;
|
|
32
|
+
threshold: Dimension | Color;
|
|
33
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
34
|
+
dark?: Dimension | Color | undefined;
|
|
35
|
+
light?: Dimension | Color | undefined;
|
|
36
|
+
threshold?: Dimension | Color | undefined;
|
|
37
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
38
|
+
[x: string]: never;
|
|
39
|
+
}>, "dark" | "light" | "threshold">) | undefined, args_2?: Color | (Partial<{
|
|
40
|
+
readonly dark?: Color | undefined;
|
|
41
|
+
readonly light?: Color | undefined;
|
|
42
|
+
readonly threshold?: Dimension | undefined;
|
|
43
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
44
|
+
[x: string]: never;
|
|
45
|
+
readonly color: Dimension | Color;
|
|
46
|
+
dark: Dimension | Color;
|
|
47
|
+
light: Dimension | Color;
|
|
48
|
+
threshold: Dimension | Color;
|
|
49
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
50
|
+
light?: Dimension | Color | undefined;
|
|
51
|
+
threshold?: Dimension | Color | undefined;
|
|
52
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
53
|
+
[x: string]: never;
|
|
54
|
+
}>, "light" | "threshold">) | undefined, args_3?: Dimension | (Partial<{
|
|
55
|
+
readonly dark?: Color | undefined;
|
|
56
|
+
readonly light?: Color | undefined;
|
|
57
|
+
readonly threshold?: Dimension | undefined;
|
|
58
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
59
|
+
[x: string]: never;
|
|
60
|
+
readonly color: Dimension | Color;
|
|
61
|
+
dark: Dimension | Color;
|
|
62
|
+
light: Dimension | Color;
|
|
63
|
+
threshold: Dimension | Color;
|
|
64
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
65
|
+
threshold?: Dimension | undefined;
|
|
66
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
67
|
+
[x: string]: never;
|
|
68
|
+
}>, "threshold">) | undefined): Color;
|
|
69
|
+
(record: {
|
|
70
|
+
readonly dark?: Color | undefined;
|
|
71
|
+
readonly light?: Color | undefined;
|
|
72
|
+
readonly threshold?: Dimension | undefined;
|
|
73
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
74
|
+
[x: string]: never;
|
|
75
|
+
readonly color: Dimension | Color;
|
|
76
|
+
dark: Dimension | Color;
|
|
77
|
+
light: Dimension | Color;
|
|
78
|
+
threshold: Dimension | Color;
|
|
79
|
+
}>, "dark" | "light" | "threshold">): Color;
|
|
80
|
+
name: string;
|
|
81
|
+
params: readonly [{
|
|
82
|
+
readonly name: "color";
|
|
83
|
+
readonly type: typeof Color;
|
|
84
|
+
}, {
|
|
85
|
+
readonly name: "dark";
|
|
86
|
+
readonly type: typeof Color;
|
|
87
|
+
readonly optional: true;
|
|
88
|
+
}, {
|
|
89
|
+
readonly name: "light";
|
|
90
|
+
readonly type: typeof Color;
|
|
91
|
+
readonly optional: true;
|
|
92
|
+
}, {
|
|
93
|
+
readonly name: "threshold";
|
|
94
|
+
readonly type: typeof Dimension;
|
|
95
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
96
|
+
readonly optional: true;
|
|
97
|
+
}];
|
|
98
|
+
} & {
|
|
99
|
+
(arg1: Color | (Partial<{
|
|
100
|
+
readonly dark?: Color | undefined;
|
|
101
|
+
readonly light?: Color | undefined;
|
|
102
|
+
readonly threshold?: Dimension | undefined;
|
|
103
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
104
|
+
[x: string]: never;
|
|
105
|
+
readonly color: Dimension | Color;
|
|
106
|
+
dark: Dimension | Color;
|
|
107
|
+
light: Dimension | Color;
|
|
108
|
+
threshold: Dimension | Color;
|
|
109
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
110
|
+
readonly dark?: Color | undefined;
|
|
111
|
+
readonly light?: Color | undefined;
|
|
112
|
+
readonly threshold?: Dimension | undefined;
|
|
113
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
114
|
+
[x: string]: never;
|
|
115
|
+
readonly color: Dimension | Color;
|
|
116
|
+
dark: Dimension | Color;
|
|
117
|
+
light: Dimension | Color;
|
|
118
|
+
threshold: Dimension | Color;
|
|
119
|
+
}>, "dark" | "light" | "threshold">), arg2: Color | (Partial<{
|
|
120
|
+
readonly dark?: Color | undefined;
|
|
121
|
+
readonly light?: Color | undefined;
|
|
122
|
+
readonly threshold?: Dimension | undefined;
|
|
123
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
124
|
+
[x: string]: never;
|
|
125
|
+
readonly color: Dimension | Color;
|
|
126
|
+
dark: Dimension | Color;
|
|
127
|
+
light: Dimension | Color;
|
|
128
|
+
threshold: Dimension | Color;
|
|
129
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
130
|
+
dark?: Dimension | Color | undefined;
|
|
131
|
+
light?: Dimension | Color | undefined;
|
|
132
|
+
threshold?: Dimension | Color | undefined;
|
|
133
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
134
|
+
[x: string]: never;
|
|
135
|
+
}>, "dark" | "light" | "threshold">) | undefined, arg3: Color | (Partial<{
|
|
136
|
+
readonly dark?: Color | undefined;
|
|
137
|
+
readonly light?: Color | undefined;
|
|
138
|
+
readonly threshold?: Dimension | undefined;
|
|
139
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
140
|
+
[x: string]: never;
|
|
141
|
+
readonly color: Dimension | Color;
|
|
142
|
+
dark: Dimension | Color;
|
|
143
|
+
light: Dimension | Color;
|
|
144
|
+
threshold: Dimension | Color;
|
|
145
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
146
|
+
light?: Dimension | Color | undefined;
|
|
147
|
+
threshold?: Dimension | Color | undefined;
|
|
148
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
149
|
+
[x: string]: never;
|
|
150
|
+
}>, "light" | "threshold">) | undefined): Color;
|
|
151
|
+
(arg1: Color | (Partial<{
|
|
152
|
+
readonly dark?: Color | undefined;
|
|
153
|
+
readonly light?: Color | undefined;
|
|
154
|
+
readonly threshold?: Dimension | undefined;
|
|
155
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
156
|
+
[x: string]: never;
|
|
157
|
+
readonly color: Dimension | Color;
|
|
158
|
+
dark: Dimension | Color;
|
|
159
|
+
light: Dimension | Color;
|
|
160
|
+
threshold: Dimension | Color;
|
|
161
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
162
|
+
readonly dark?: Color | undefined;
|
|
163
|
+
readonly light?: Color | undefined;
|
|
164
|
+
readonly threshold?: Dimension | undefined;
|
|
165
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
166
|
+
[x: string]: never;
|
|
167
|
+
readonly color: Dimension | Color;
|
|
168
|
+
dark: Dimension | Color;
|
|
169
|
+
light: Dimension | Color;
|
|
170
|
+
threshold: Dimension | Color;
|
|
171
|
+
}>, "dark" | "light" | "threshold">), arg2: Color | (Partial<{
|
|
172
|
+
readonly dark?: Color | undefined;
|
|
173
|
+
readonly light?: Color | undefined;
|
|
174
|
+
readonly threshold?: Dimension | undefined;
|
|
175
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
176
|
+
[x: string]: never;
|
|
177
|
+
readonly color: Dimension | Color;
|
|
178
|
+
dark: Dimension | Color;
|
|
179
|
+
light: Dimension | Color;
|
|
180
|
+
threshold: Dimension | Color;
|
|
181
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
182
|
+
dark?: Dimension | Color | undefined;
|
|
183
|
+
light?: Dimension | Color | undefined;
|
|
184
|
+
threshold?: Dimension | Color | undefined;
|
|
185
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
186
|
+
[x: string]: never;
|
|
187
|
+
}>, "dark" | "light" | "threshold">) | undefined, arg3: Color | (Partial<{
|
|
188
|
+
readonly dark?: Color | undefined;
|
|
189
|
+
readonly light?: Color | undefined;
|
|
190
|
+
readonly threshold?: Dimension | undefined;
|
|
191
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
192
|
+
[x: string]: never;
|
|
193
|
+
readonly color: Dimension | Color;
|
|
194
|
+
dark: Dimension | Color;
|
|
195
|
+
light: Dimension | Color;
|
|
196
|
+
threshold: Dimension | Color;
|
|
197
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
198
|
+
light?: Dimension | Color | undefined;
|
|
199
|
+
threshold?: Dimension | Color | undefined;
|
|
200
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
201
|
+
[x: string]: never;
|
|
202
|
+
}>, "light" | "threshold">) | undefined, arg4: Dimension | (Partial<{
|
|
203
|
+
readonly dark?: Color | undefined;
|
|
204
|
+
readonly light?: Color | undefined;
|
|
205
|
+
readonly threshold?: Dimension | undefined;
|
|
206
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
207
|
+
[x: string]: never;
|
|
208
|
+
readonly color: Dimension | Color;
|
|
209
|
+
dark: Dimension | Color;
|
|
210
|
+
light: Dimension | Color;
|
|
211
|
+
threshold: Dimension | Color;
|
|
212
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
213
|
+
threshold?: Dimension | undefined;
|
|
214
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
215
|
+
[x: string]: never;
|
|
216
|
+
}>, "threshold">) | undefined): Color;
|
|
217
|
+
} & {
|
|
218
|
+
call(thisArg: any, ...args: Parameters<{
|
|
219
|
+
(...args: [Color | (Partial<{
|
|
220
|
+
readonly dark?: Color | undefined;
|
|
221
|
+
readonly light?: Color | undefined;
|
|
222
|
+
readonly threshold?: Dimension | undefined;
|
|
223
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
224
|
+
[x: string]: never;
|
|
225
|
+
readonly color: Dimension | Color;
|
|
226
|
+
dark: Dimension | Color;
|
|
227
|
+
light: Dimension | Color;
|
|
228
|
+
threshold: Dimension | Color;
|
|
229
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
230
|
+
readonly dark?: Color | undefined;
|
|
231
|
+
readonly light?: Color | undefined;
|
|
232
|
+
readonly threshold?: Dimension | undefined;
|
|
233
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
234
|
+
[x: string]: never;
|
|
235
|
+
readonly color: Dimension | Color;
|
|
236
|
+
dark: Dimension | Color;
|
|
237
|
+
light: Dimension | Color;
|
|
238
|
+
threshold: Dimension | Color;
|
|
239
|
+
}>, "dark" | "light" | "threshold">), (Color | (Partial<{
|
|
240
|
+
readonly dark?: Color | undefined;
|
|
241
|
+
readonly light?: Color | undefined;
|
|
242
|
+
readonly threshold?: Dimension | undefined;
|
|
243
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
244
|
+
[x: string]: never;
|
|
245
|
+
readonly color: Dimension | Color;
|
|
246
|
+
dark: Dimension | Color;
|
|
247
|
+
light: Dimension | Color;
|
|
248
|
+
threshold: Dimension | Color;
|
|
249
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
250
|
+
dark?: Dimension | Color | undefined;
|
|
251
|
+
light?: Dimension | Color | undefined;
|
|
252
|
+
threshold?: Dimension | Color | undefined;
|
|
253
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
254
|
+
[x: string]: never;
|
|
255
|
+
}>, "dark" | "light" | "threshold">) | undefined)?, (Color | (Partial<{
|
|
256
|
+
readonly dark?: Color | undefined;
|
|
257
|
+
readonly light?: Color | undefined;
|
|
258
|
+
readonly threshold?: Dimension | undefined;
|
|
259
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
260
|
+
[x: string]: never;
|
|
261
|
+
readonly color: Dimension | Color;
|
|
262
|
+
dark: Dimension | Color;
|
|
263
|
+
light: Dimension | Color;
|
|
264
|
+
threshold: Dimension | Color;
|
|
265
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
266
|
+
light?: Dimension | Color | undefined;
|
|
267
|
+
threshold?: Dimension | Color | undefined;
|
|
268
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
269
|
+
[x: string]: never;
|
|
270
|
+
}>, "light" | "threshold">) | undefined)?, (Dimension | (Partial<{
|
|
271
|
+
readonly dark?: Color | undefined;
|
|
272
|
+
readonly light?: Color | undefined;
|
|
273
|
+
readonly threshold?: Dimension | undefined;
|
|
274
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
275
|
+
[x: string]: never;
|
|
276
|
+
readonly color: Dimension | Color;
|
|
277
|
+
dark: Dimension | Color;
|
|
278
|
+
light: Dimension | Color;
|
|
279
|
+
threshold: Dimension | Color;
|
|
280
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
281
|
+
threshold?: Dimension | undefined;
|
|
282
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
283
|
+
[x: string]: never;
|
|
284
|
+
}>, "threshold">) | undefined)?]): Color;
|
|
285
|
+
(record: {
|
|
286
|
+
readonly dark?: Color | undefined;
|
|
287
|
+
readonly light?: Color | undefined;
|
|
288
|
+
readonly threshold?: Dimension | undefined;
|
|
289
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
290
|
+
[x: string]: never;
|
|
291
|
+
readonly color: Dimension | Color;
|
|
292
|
+
dark: Dimension | Color;
|
|
293
|
+
light: Dimension | Color;
|
|
294
|
+
threshold: Dimension | Color;
|
|
295
|
+
}>, "dark" | "light" | "threshold">): Color;
|
|
296
|
+
name: string;
|
|
297
|
+
params: readonly [{
|
|
298
|
+
readonly name: "color";
|
|
299
|
+
readonly type: typeof Color;
|
|
300
|
+
}, {
|
|
301
|
+
readonly name: "dark";
|
|
302
|
+
readonly type: typeof Color;
|
|
303
|
+
readonly optional: true;
|
|
304
|
+
}, {
|
|
305
|
+
readonly name: "light";
|
|
306
|
+
readonly type: typeof Color;
|
|
307
|
+
readonly optional: true;
|
|
308
|
+
}, {
|
|
309
|
+
readonly name: "threshold";
|
|
310
|
+
readonly type: typeof Dimension;
|
|
311
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
312
|
+
readonly optional: true;
|
|
313
|
+
}];
|
|
314
|
+
} & (readonly [{
|
|
315
|
+
readonly name: "color";
|
|
316
|
+
readonly type: typeof Color;
|
|
317
|
+
}, {
|
|
318
|
+
readonly name: "dark";
|
|
319
|
+
readonly type: typeof Color;
|
|
320
|
+
readonly optional: true;
|
|
321
|
+
}, {
|
|
322
|
+
readonly name: "light";
|
|
323
|
+
readonly type: typeof Color;
|
|
324
|
+
readonly optional: true;
|
|
325
|
+
}, {
|
|
326
|
+
readonly name: "threshold";
|
|
327
|
+
readonly type: typeof Dimension;
|
|
328
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
329
|
+
readonly optional: true;
|
|
330
|
+
}] extends readonly [{
|
|
331
|
+
name: string;
|
|
332
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
333
|
+
optional: true;
|
|
334
|
+
}] ? {
|
|
335
|
+
(): Color;
|
|
336
|
+
(arg1: never): Color;
|
|
337
|
+
} : readonly [{
|
|
338
|
+
readonly name: "color";
|
|
339
|
+
readonly type: typeof Color;
|
|
340
|
+
}, {
|
|
341
|
+
readonly name: "dark";
|
|
342
|
+
readonly type: typeof Color;
|
|
343
|
+
readonly optional: true;
|
|
344
|
+
}, {
|
|
345
|
+
readonly name: "light";
|
|
346
|
+
readonly type: typeof Color;
|
|
347
|
+
readonly optional: true;
|
|
348
|
+
}, {
|
|
349
|
+
readonly name: "threshold";
|
|
350
|
+
readonly type: typeof Dimension;
|
|
351
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
352
|
+
readonly optional: true;
|
|
353
|
+
}] extends readonly [{
|
|
354
|
+
name: string;
|
|
355
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
356
|
+
optional?: boolean;
|
|
357
|
+
}] ? (arg1: never) => Color : readonly [{
|
|
358
|
+
readonly name: "color";
|
|
359
|
+
readonly type: typeof Color;
|
|
360
|
+
}, {
|
|
361
|
+
readonly name: "dark";
|
|
362
|
+
readonly type: typeof Color;
|
|
363
|
+
readonly optional: true;
|
|
364
|
+
}, {
|
|
365
|
+
readonly name: "light";
|
|
366
|
+
readonly type: typeof Color;
|
|
367
|
+
readonly optional: true;
|
|
368
|
+
}, {
|
|
369
|
+
readonly name: "threshold";
|
|
370
|
+
readonly type: typeof Dimension;
|
|
371
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
372
|
+
readonly optional: true;
|
|
373
|
+
}] extends readonly [{
|
|
374
|
+
name: string;
|
|
375
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
376
|
+
optional: true;
|
|
377
|
+
}, {
|
|
378
|
+
name: string;
|
|
379
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
380
|
+
optional: true;
|
|
381
|
+
}] ? {
|
|
382
|
+
(): Color;
|
|
383
|
+
(arg1: never): Color;
|
|
384
|
+
(arg1: never, arg2: never): Color;
|
|
385
|
+
} : readonly [{
|
|
386
|
+
readonly name: "color";
|
|
387
|
+
readonly type: typeof Color;
|
|
388
|
+
}, {
|
|
389
|
+
readonly name: "dark";
|
|
390
|
+
readonly type: typeof Color;
|
|
391
|
+
readonly optional: true;
|
|
392
|
+
}, {
|
|
393
|
+
readonly name: "light";
|
|
394
|
+
readonly type: typeof Color;
|
|
395
|
+
readonly optional: true;
|
|
396
|
+
}, {
|
|
397
|
+
readonly name: "threshold";
|
|
398
|
+
readonly type: typeof Dimension;
|
|
399
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
400
|
+
readonly optional: true;
|
|
401
|
+
}] extends readonly [{
|
|
402
|
+
name: string;
|
|
403
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
404
|
+
optional?: boolean;
|
|
405
|
+
}, {
|
|
406
|
+
name: string;
|
|
407
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
408
|
+
optional: true;
|
|
409
|
+
}] ? {
|
|
410
|
+
(arg1: never): Color;
|
|
411
|
+
(arg1: never, arg2: never): Color;
|
|
412
|
+
} : readonly [{
|
|
413
|
+
readonly name: "color";
|
|
414
|
+
readonly type: typeof Color;
|
|
415
|
+
}, {
|
|
416
|
+
readonly name: "dark";
|
|
417
|
+
readonly type: typeof Color;
|
|
418
|
+
readonly optional: true;
|
|
419
|
+
}, {
|
|
420
|
+
readonly name: "light";
|
|
421
|
+
readonly type: typeof Color;
|
|
422
|
+
readonly optional: true;
|
|
423
|
+
}, {
|
|
424
|
+
readonly name: "threshold";
|
|
425
|
+
readonly type: typeof Dimension;
|
|
426
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
427
|
+
readonly optional: true;
|
|
428
|
+
}] extends readonly [{
|
|
429
|
+
name: string;
|
|
430
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
431
|
+
optional?: boolean;
|
|
432
|
+
}, {
|
|
433
|
+
name: string;
|
|
434
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
435
|
+
optional?: boolean;
|
|
436
|
+
}] ? {
|
|
437
|
+
(arg1: never): Color;
|
|
438
|
+
(arg1: never, arg2: never): Color;
|
|
439
|
+
} : readonly [{
|
|
440
|
+
readonly name: "color";
|
|
441
|
+
readonly type: typeof Color;
|
|
442
|
+
}, {
|
|
443
|
+
readonly name: "dark";
|
|
444
|
+
readonly type: typeof Color;
|
|
445
|
+
readonly optional: true;
|
|
446
|
+
}, {
|
|
447
|
+
readonly name: "light";
|
|
448
|
+
readonly type: typeof Color;
|
|
449
|
+
readonly optional: true;
|
|
450
|
+
}, {
|
|
451
|
+
readonly name: "threshold";
|
|
452
|
+
readonly type: typeof Dimension;
|
|
453
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
454
|
+
readonly optional: true;
|
|
455
|
+
}] extends readonly [{
|
|
456
|
+
name: string;
|
|
457
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
458
|
+
optional?: boolean;
|
|
459
|
+
}, {
|
|
460
|
+
name: string;
|
|
461
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
462
|
+
optional?: boolean;
|
|
463
|
+
}, {
|
|
464
|
+
name: string;
|
|
465
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
466
|
+
optional: true;
|
|
467
|
+
}] ? {
|
|
468
|
+
(arg1: never, arg2: never): Color;
|
|
469
|
+
(arg1: never, arg2: never, arg3: never): Color;
|
|
470
|
+
} : readonly [{
|
|
471
|
+
readonly name: "color";
|
|
472
|
+
readonly type: typeof Color;
|
|
473
|
+
}, {
|
|
474
|
+
readonly name: "dark";
|
|
475
|
+
readonly type: typeof Color;
|
|
476
|
+
readonly optional: true;
|
|
477
|
+
}, {
|
|
478
|
+
readonly name: "light";
|
|
479
|
+
readonly type: typeof Color;
|
|
480
|
+
readonly optional: true;
|
|
481
|
+
}, {
|
|
482
|
+
readonly name: "threshold";
|
|
483
|
+
readonly type: typeof Dimension;
|
|
484
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
485
|
+
readonly optional: true;
|
|
486
|
+
}] extends readonly [{
|
|
487
|
+
name: string;
|
|
488
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
489
|
+
optional?: boolean;
|
|
490
|
+
}, {
|
|
491
|
+
name: string;
|
|
492
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
493
|
+
optional?: boolean;
|
|
494
|
+
}, {
|
|
495
|
+
name: string;
|
|
496
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
497
|
+
optional?: boolean;
|
|
498
|
+
}] ? (arg1: never, arg2: never, arg3: never) => Color : readonly [{
|
|
499
|
+
readonly name: "color";
|
|
500
|
+
readonly type: typeof Color;
|
|
501
|
+
}, {
|
|
502
|
+
readonly name: "dark";
|
|
503
|
+
readonly type: typeof Color;
|
|
504
|
+
readonly optional: true;
|
|
505
|
+
}, {
|
|
506
|
+
readonly name: "light";
|
|
507
|
+
readonly type: typeof Color;
|
|
508
|
+
readonly optional: true;
|
|
509
|
+
}, {
|
|
510
|
+
readonly name: "threshold";
|
|
511
|
+
readonly type: typeof Dimension;
|
|
512
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
513
|
+
readonly optional: true;
|
|
514
|
+
}] extends readonly [{
|
|
515
|
+
name: string;
|
|
516
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
517
|
+
optional?: boolean;
|
|
518
|
+
}, {
|
|
519
|
+
name: string;
|
|
520
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
521
|
+
optional?: boolean;
|
|
522
|
+
}, {
|
|
523
|
+
name: string;
|
|
524
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
525
|
+
optional?: boolean;
|
|
526
|
+
}, {
|
|
527
|
+
name: string;
|
|
528
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
529
|
+
optional: true;
|
|
530
|
+
}] ? {
|
|
531
|
+
(arg1: Color | (Partial<{
|
|
532
|
+
readonly dark?: Color | undefined;
|
|
533
|
+
readonly light?: Color | undefined;
|
|
534
|
+
readonly threshold?: Dimension | undefined;
|
|
535
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
536
|
+
[x: string]: never;
|
|
537
|
+
readonly color: Dimension | Color;
|
|
538
|
+
dark: Dimension | Color;
|
|
539
|
+
light: Dimension | Color;
|
|
540
|
+
threshold: Dimension | Color;
|
|
541
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
542
|
+
readonly dark?: Color | undefined;
|
|
543
|
+
readonly light?: Color | undefined;
|
|
544
|
+
readonly threshold?: Dimension | undefined;
|
|
545
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
546
|
+
[x: string]: never;
|
|
547
|
+
readonly color: Dimension | Color;
|
|
548
|
+
dark: Dimension | Color;
|
|
549
|
+
light: Dimension | Color;
|
|
550
|
+
threshold: Dimension | Color;
|
|
551
|
+
}>, "dark" | "light" | "threshold">), arg2: Color | (Partial<{
|
|
552
|
+
readonly dark?: Color | undefined;
|
|
553
|
+
readonly light?: Color | undefined;
|
|
554
|
+
readonly threshold?: Dimension | undefined;
|
|
555
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
556
|
+
[x: string]: never;
|
|
557
|
+
readonly color: Dimension | Color;
|
|
558
|
+
dark: Dimension | Color;
|
|
559
|
+
light: Dimension | Color;
|
|
560
|
+
threshold: Dimension | Color;
|
|
561
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
562
|
+
dark?: Dimension | Color | undefined;
|
|
563
|
+
light?: Dimension | Color | undefined;
|
|
564
|
+
threshold?: Dimension | Color | undefined;
|
|
565
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
566
|
+
[x: string]: never;
|
|
567
|
+
}>, "dark" | "light" | "threshold">) | undefined, arg3: Color | (Partial<{
|
|
568
|
+
readonly dark?: Color | undefined;
|
|
569
|
+
readonly light?: Color | undefined;
|
|
570
|
+
readonly threshold?: Dimension | undefined;
|
|
571
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
572
|
+
[x: string]: never;
|
|
573
|
+
readonly color: Dimension | Color;
|
|
574
|
+
dark: Dimension | Color;
|
|
575
|
+
light: Dimension | Color;
|
|
576
|
+
threshold: Dimension | Color;
|
|
577
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
578
|
+
light?: Dimension | Color | undefined;
|
|
579
|
+
threshold?: Dimension | Color | undefined;
|
|
580
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
581
|
+
[x: string]: never;
|
|
582
|
+
}>, "light" | "threshold">) | undefined): Color;
|
|
583
|
+
(arg1: Color | (Partial<{
|
|
584
|
+
readonly dark?: Color | undefined;
|
|
585
|
+
readonly light?: Color | undefined;
|
|
586
|
+
readonly threshold?: Dimension | undefined;
|
|
587
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
588
|
+
[x: string]: never;
|
|
589
|
+
readonly color: Dimension | Color;
|
|
590
|
+
dark: Dimension | Color;
|
|
591
|
+
light: Dimension | Color;
|
|
592
|
+
threshold: Dimension | Color;
|
|
593
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
594
|
+
readonly dark?: Color | undefined;
|
|
595
|
+
readonly light?: Color | undefined;
|
|
596
|
+
readonly threshold?: Dimension | undefined;
|
|
597
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
598
|
+
[x: string]: never;
|
|
599
|
+
readonly color: Dimension | Color;
|
|
600
|
+
dark: Dimension | Color;
|
|
601
|
+
light: Dimension | Color;
|
|
602
|
+
threshold: Dimension | Color;
|
|
603
|
+
}>, "dark" | "light" | "threshold">), arg2: Color | (Partial<{
|
|
604
|
+
readonly dark?: Color | undefined;
|
|
605
|
+
readonly light?: Color | undefined;
|
|
606
|
+
readonly threshold?: Dimension | undefined;
|
|
607
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
608
|
+
[x: string]: never;
|
|
609
|
+
readonly color: Dimension | Color;
|
|
610
|
+
dark: Dimension | Color;
|
|
611
|
+
light: Dimension | Color;
|
|
612
|
+
threshold: Dimension | Color;
|
|
613
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
614
|
+
dark?: Dimension | Color | undefined;
|
|
615
|
+
light?: Dimension | Color | undefined;
|
|
616
|
+
threshold?: Dimension | Color | undefined;
|
|
617
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
618
|
+
[x: string]: never;
|
|
619
|
+
}>, "dark" | "light" | "threshold">) | undefined, arg3: Color | (Partial<{
|
|
620
|
+
readonly dark?: Color | undefined;
|
|
621
|
+
readonly light?: Color | undefined;
|
|
622
|
+
readonly threshold?: Dimension | undefined;
|
|
623
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
624
|
+
[x: string]: never;
|
|
625
|
+
readonly color: Dimension | Color;
|
|
626
|
+
dark: Dimension | Color;
|
|
627
|
+
light: Dimension | Color;
|
|
628
|
+
threshold: Dimension | Color;
|
|
629
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
630
|
+
light?: Dimension | Color | undefined;
|
|
631
|
+
threshold?: Dimension | Color | undefined;
|
|
632
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
633
|
+
[x: string]: never;
|
|
634
|
+
}>, "light" | "threshold">) | undefined, arg4: Dimension | (Partial<{
|
|
635
|
+
readonly dark?: Color | undefined;
|
|
636
|
+
readonly light?: Color | undefined;
|
|
637
|
+
readonly threshold?: Dimension | undefined;
|
|
638
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
639
|
+
[x: string]: never;
|
|
640
|
+
readonly color: Dimension | Color;
|
|
641
|
+
dark: Dimension | Color;
|
|
642
|
+
light: Dimension | Color;
|
|
643
|
+
threshold: Dimension | Color;
|
|
644
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
645
|
+
threshold?: Dimension | undefined;
|
|
646
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
647
|
+
[x: string]: never;
|
|
648
|
+
}>, "threshold">) | undefined): Color;
|
|
649
|
+
} : readonly [{
|
|
650
|
+
readonly name: "color";
|
|
651
|
+
readonly type: typeof Color;
|
|
652
|
+
}, {
|
|
653
|
+
readonly name: "dark";
|
|
654
|
+
readonly type: typeof Color;
|
|
655
|
+
readonly optional: true;
|
|
656
|
+
}, {
|
|
657
|
+
readonly name: "light";
|
|
658
|
+
readonly type: typeof Color;
|
|
659
|
+
readonly optional: true;
|
|
660
|
+
}, {
|
|
661
|
+
readonly name: "threshold";
|
|
662
|
+
readonly type: typeof Dimension;
|
|
663
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
664
|
+
readonly optional: true;
|
|
665
|
+
}] extends readonly [{
|
|
666
|
+
name: string;
|
|
667
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
668
|
+
optional?: boolean;
|
|
669
|
+
}, {
|
|
670
|
+
name: string;
|
|
671
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
672
|
+
optional?: boolean;
|
|
673
|
+
}, {
|
|
674
|
+
name: string;
|
|
675
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
676
|
+
optional?: boolean;
|
|
677
|
+
}, {
|
|
678
|
+
name: string;
|
|
679
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
680
|
+
optional?: boolean;
|
|
681
|
+
}] ? (arg1: Color | (Partial<{
|
|
682
|
+
readonly dark?: Color | undefined;
|
|
683
|
+
readonly light?: Color | undefined;
|
|
684
|
+
readonly threshold?: Dimension | undefined;
|
|
685
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
686
|
+
[x: string]: never;
|
|
687
|
+
readonly color: Dimension | Color;
|
|
688
|
+
dark: Dimension | Color;
|
|
689
|
+
light: Dimension | Color;
|
|
690
|
+
threshold: Dimension | Color;
|
|
691
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
692
|
+
readonly dark?: Color | undefined;
|
|
693
|
+
readonly light?: Color | undefined;
|
|
694
|
+
readonly threshold?: Dimension | undefined;
|
|
695
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
696
|
+
[x: string]: never;
|
|
697
|
+
readonly color: Dimension | Color;
|
|
698
|
+
dark: Dimension | Color;
|
|
699
|
+
light: Dimension | Color;
|
|
700
|
+
threshold: Dimension | Color;
|
|
701
|
+
}>, "dark" | "light" | "threshold">), arg2: Color | (Partial<{
|
|
702
|
+
readonly dark?: Color | undefined;
|
|
703
|
+
readonly light?: Color | undefined;
|
|
704
|
+
readonly threshold?: Dimension | undefined;
|
|
705
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
706
|
+
[x: string]: never;
|
|
707
|
+
readonly color: Dimension | Color;
|
|
708
|
+
dark: Dimension | Color;
|
|
709
|
+
light: Dimension | Color;
|
|
710
|
+
threshold: Dimension | Color;
|
|
711
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
712
|
+
dark?: Dimension | Color | undefined;
|
|
713
|
+
light?: Dimension | Color | undefined;
|
|
714
|
+
threshold?: Dimension | Color | undefined;
|
|
715
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
716
|
+
[x: string]: never;
|
|
717
|
+
}>, "dark" | "light" | "threshold">) | undefined, arg3: Color | (Partial<{
|
|
718
|
+
readonly dark?: Color | undefined;
|
|
719
|
+
readonly light?: Color | undefined;
|
|
720
|
+
readonly threshold?: Dimension | undefined;
|
|
721
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
722
|
+
[x: string]: never;
|
|
723
|
+
readonly color: Dimension | Color;
|
|
724
|
+
dark: Dimension | Color;
|
|
725
|
+
light: Dimension | Color;
|
|
726
|
+
threshold: Dimension | Color;
|
|
727
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
728
|
+
light?: Dimension | Color | undefined;
|
|
729
|
+
threshold?: Dimension | Color | undefined;
|
|
730
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
731
|
+
[x: string]: never;
|
|
732
|
+
}>, "light" | "threshold">) | undefined, arg4: Dimension | (Partial<{
|
|
733
|
+
readonly dark?: Color | undefined;
|
|
734
|
+
readonly light?: Color | undefined;
|
|
735
|
+
readonly threshold?: Dimension | undefined;
|
|
736
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
737
|
+
[x: string]: never;
|
|
738
|
+
readonly color: Dimension | Color;
|
|
739
|
+
dark: Dimension | Color;
|
|
740
|
+
light: Dimension | Color;
|
|
741
|
+
threshold: Dimension | Color;
|
|
742
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
743
|
+
threshold?: Dimension | undefined;
|
|
744
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
745
|
+
[x: string]: never;
|
|
746
|
+
}>, "threshold">) | undefined) => Color : readonly [{
|
|
747
|
+
readonly name: "color";
|
|
748
|
+
readonly type: typeof Color;
|
|
749
|
+
}, {
|
|
750
|
+
readonly name: "dark";
|
|
751
|
+
readonly type: typeof Color;
|
|
752
|
+
readonly optional: true;
|
|
753
|
+
}, {
|
|
754
|
+
readonly name: "light";
|
|
755
|
+
readonly type: typeof Color;
|
|
756
|
+
readonly optional: true;
|
|
757
|
+
}, {
|
|
758
|
+
readonly name: "threshold";
|
|
759
|
+
readonly type: typeof Dimension;
|
|
760
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
761
|
+
readonly optional: true;
|
|
762
|
+
}] extends readonly [{
|
|
763
|
+
name: string;
|
|
764
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
765
|
+
optional?: boolean;
|
|
766
|
+
}, {
|
|
767
|
+
name: string;
|
|
768
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
769
|
+
optional?: boolean;
|
|
770
|
+
}, {
|
|
771
|
+
name: string;
|
|
772
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
773
|
+
optional?: boolean;
|
|
774
|
+
}, {
|
|
775
|
+
name: string;
|
|
776
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
777
|
+
optional?: boolean;
|
|
778
|
+
}, {
|
|
779
|
+
name: string;
|
|
780
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
781
|
+
optional: true;
|
|
782
|
+
}] ? {
|
|
783
|
+
(arg1: never, arg2: never, arg3: never, arg4: never): Color;
|
|
784
|
+
(arg1: never, arg2: never, arg3: never, arg4: never, arg5: never): Color;
|
|
785
|
+
} : readonly [{
|
|
786
|
+
readonly name: "color";
|
|
787
|
+
readonly type: typeof Color;
|
|
788
|
+
}, {
|
|
789
|
+
readonly name: "dark";
|
|
790
|
+
readonly type: typeof Color;
|
|
791
|
+
readonly optional: true;
|
|
792
|
+
}, {
|
|
793
|
+
readonly name: "light";
|
|
794
|
+
readonly type: typeof Color;
|
|
795
|
+
readonly optional: true;
|
|
796
|
+
}, {
|
|
797
|
+
readonly name: "threshold";
|
|
798
|
+
readonly type: typeof Dimension;
|
|
799
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
800
|
+
readonly optional: true;
|
|
801
|
+
}] extends readonly [{
|
|
802
|
+
name: string;
|
|
803
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
804
|
+
optional?: boolean;
|
|
805
|
+
}, {
|
|
806
|
+
name: string;
|
|
807
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
808
|
+
optional?: boolean;
|
|
809
|
+
}, {
|
|
810
|
+
name: string;
|
|
811
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
812
|
+
optional?: boolean;
|
|
813
|
+
}, {
|
|
814
|
+
name: string;
|
|
815
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
816
|
+
optional?: boolean;
|
|
817
|
+
}, {
|
|
818
|
+
name: string;
|
|
819
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
820
|
+
optional?: boolean;
|
|
821
|
+
}] ? (arg1: never, arg2: never, arg3: never, arg4: never, arg5: never) => Color : 4 extends number ? 4 extends 0 | 1 | 2 | 3 | 4 | 5 ? {} : (...args: any[]) => Color : {}) & any>): Color;
|
|
822
|
+
apply(thisArg: any, args: Parameters<{
|
|
823
|
+
(...args: [Color | (Partial<{
|
|
824
|
+
readonly dark?: Color | undefined;
|
|
825
|
+
readonly light?: Color | undefined;
|
|
826
|
+
readonly threshold?: Dimension | undefined;
|
|
827
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
828
|
+
[x: string]: never;
|
|
829
|
+
readonly color: Dimension | Color;
|
|
830
|
+
dark: Dimension | Color;
|
|
831
|
+
light: Dimension | Color;
|
|
832
|
+
threshold: Dimension | Color;
|
|
833
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
834
|
+
readonly dark?: Color | undefined;
|
|
835
|
+
readonly light?: Color | undefined;
|
|
836
|
+
readonly threshold?: Dimension | undefined;
|
|
837
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
838
|
+
[x: string]: never;
|
|
839
|
+
readonly color: Dimension | Color;
|
|
840
|
+
dark: Dimension | Color;
|
|
841
|
+
light: Dimension | Color;
|
|
842
|
+
threshold: Dimension | Color;
|
|
843
|
+
}>, "dark" | "light" | "threshold">), (Color | (Partial<{
|
|
844
|
+
readonly dark?: Color | undefined;
|
|
845
|
+
readonly light?: Color | undefined;
|
|
846
|
+
readonly threshold?: Dimension | undefined;
|
|
847
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
848
|
+
[x: string]: never;
|
|
849
|
+
readonly color: Dimension | Color;
|
|
850
|
+
dark: Dimension | Color;
|
|
851
|
+
light: Dimension | Color;
|
|
852
|
+
threshold: Dimension | Color;
|
|
853
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
854
|
+
dark?: Dimension | Color | undefined;
|
|
855
|
+
light?: Dimension | Color | undefined;
|
|
856
|
+
threshold?: Dimension | Color | undefined;
|
|
857
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
858
|
+
[x: string]: never;
|
|
859
|
+
}>, "dark" | "light" | "threshold">) | undefined)?, (Color | (Partial<{
|
|
860
|
+
readonly dark?: Color | undefined;
|
|
861
|
+
readonly light?: Color | undefined;
|
|
862
|
+
readonly threshold?: Dimension | undefined;
|
|
863
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
864
|
+
[x: string]: never;
|
|
865
|
+
readonly color: Dimension | Color;
|
|
866
|
+
dark: Dimension | Color;
|
|
867
|
+
light: Dimension | Color;
|
|
868
|
+
threshold: Dimension | Color;
|
|
869
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
870
|
+
light?: Dimension | Color | undefined;
|
|
871
|
+
threshold?: Dimension | Color | undefined;
|
|
872
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
873
|
+
[x: string]: never;
|
|
874
|
+
}>, "light" | "threshold">) | undefined)?, (Dimension | (Partial<{
|
|
875
|
+
readonly dark?: Color | undefined;
|
|
876
|
+
readonly light?: Color | undefined;
|
|
877
|
+
readonly threshold?: Dimension | undefined;
|
|
878
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
879
|
+
[x: string]: never;
|
|
880
|
+
readonly color: Dimension | Color;
|
|
881
|
+
dark: Dimension | Color;
|
|
882
|
+
light: Dimension | Color;
|
|
883
|
+
threshold: Dimension | Color;
|
|
884
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
885
|
+
threshold?: Dimension | undefined;
|
|
886
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
887
|
+
[x: string]: never;
|
|
888
|
+
}>, "threshold">) | undefined)?]): Color;
|
|
889
|
+
(record: {
|
|
890
|
+
readonly dark?: Color | undefined;
|
|
891
|
+
readonly light?: Color | undefined;
|
|
892
|
+
readonly threshold?: Dimension | undefined;
|
|
893
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
894
|
+
[x: string]: never;
|
|
895
|
+
readonly color: Dimension | Color;
|
|
896
|
+
dark: Dimension | Color;
|
|
897
|
+
light: Dimension | Color;
|
|
898
|
+
threshold: Dimension | Color;
|
|
899
|
+
}>, "dark" | "light" | "threshold">): Color;
|
|
900
|
+
name: string;
|
|
901
|
+
params: readonly [{
|
|
902
|
+
readonly name: "color";
|
|
903
|
+
readonly type: typeof Color;
|
|
904
|
+
}, {
|
|
905
|
+
readonly name: "dark";
|
|
906
|
+
readonly type: typeof Color;
|
|
907
|
+
readonly optional: true;
|
|
908
|
+
}, {
|
|
909
|
+
readonly name: "light";
|
|
910
|
+
readonly type: typeof Color;
|
|
911
|
+
readonly optional: true;
|
|
912
|
+
}, {
|
|
913
|
+
readonly name: "threshold";
|
|
914
|
+
readonly type: typeof Dimension;
|
|
915
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
916
|
+
readonly optional: true;
|
|
917
|
+
}];
|
|
918
|
+
} & (readonly [{
|
|
919
|
+
readonly name: "color";
|
|
920
|
+
readonly type: typeof Color;
|
|
921
|
+
}, {
|
|
922
|
+
readonly name: "dark";
|
|
923
|
+
readonly type: typeof Color;
|
|
924
|
+
readonly optional: true;
|
|
925
|
+
}, {
|
|
926
|
+
readonly name: "light";
|
|
927
|
+
readonly type: typeof Color;
|
|
928
|
+
readonly optional: true;
|
|
929
|
+
}, {
|
|
930
|
+
readonly name: "threshold";
|
|
931
|
+
readonly type: typeof Dimension;
|
|
932
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
933
|
+
readonly optional: true;
|
|
934
|
+
}] extends readonly [{
|
|
935
|
+
name: string;
|
|
936
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
937
|
+
optional: true;
|
|
938
|
+
}] ? {
|
|
939
|
+
(): Color;
|
|
940
|
+
(arg1: never): Color;
|
|
941
|
+
} : readonly [{
|
|
942
|
+
readonly name: "color";
|
|
943
|
+
readonly type: typeof Color;
|
|
944
|
+
}, {
|
|
945
|
+
readonly name: "dark";
|
|
946
|
+
readonly type: typeof Color;
|
|
947
|
+
readonly optional: true;
|
|
948
|
+
}, {
|
|
949
|
+
readonly name: "light";
|
|
950
|
+
readonly type: typeof Color;
|
|
951
|
+
readonly optional: true;
|
|
952
|
+
}, {
|
|
953
|
+
readonly name: "threshold";
|
|
954
|
+
readonly type: typeof Dimension;
|
|
955
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
956
|
+
readonly optional: true;
|
|
957
|
+
}] extends readonly [{
|
|
958
|
+
name: string;
|
|
959
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
960
|
+
optional?: boolean;
|
|
961
|
+
}] ? (arg1: never) => Color : readonly [{
|
|
962
|
+
readonly name: "color";
|
|
963
|
+
readonly type: typeof Color;
|
|
964
|
+
}, {
|
|
965
|
+
readonly name: "dark";
|
|
966
|
+
readonly type: typeof Color;
|
|
967
|
+
readonly optional: true;
|
|
968
|
+
}, {
|
|
969
|
+
readonly name: "light";
|
|
970
|
+
readonly type: typeof Color;
|
|
971
|
+
readonly optional: true;
|
|
972
|
+
}, {
|
|
973
|
+
readonly name: "threshold";
|
|
974
|
+
readonly type: typeof Dimension;
|
|
975
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
976
|
+
readonly optional: true;
|
|
977
|
+
}] extends readonly [{
|
|
978
|
+
name: string;
|
|
979
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
980
|
+
optional: true;
|
|
981
|
+
}, {
|
|
982
|
+
name: string;
|
|
983
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
984
|
+
optional: true;
|
|
985
|
+
}] ? {
|
|
986
|
+
(): Color;
|
|
987
|
+
(arg1: never): Color;
|
|
988
|
+
(arg1: never, arg2: never): Color;
|
|
989
|
+
} : readonly [{
|
|
990
|
+
readonly name: "color";
|
|
991
|
+
readonly type: typeof Color;
|
|
992
|
+
}, {
|
|
993
|
+
readonly name: "dark";
|
|
994
|
+
readonly type: typeof Color;
|
|
995
|
+
readonly optional: true;
|
|
996
|
+
}, {
|
|
997
|
+
readonly name: "light";
|
|
998
|
+
readonly type: typeof Color;
|
|
999
|
+
readonly optional: true;
|
|
1000
|
+
}, {
|
|
1001
|
+
readonly name: "threshold";
|
|
1002
|
+
readonly type: typeof Dimension;
|
|
1003
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
1004
|
+
readonly optional: true;
|
|
1005
|
+
}] extends readonly [{
|
|
1006
|
+
name: string;
|
|
1007
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1008
|
+
optional?: boolean;
|
|
1009
|
+
}, {
|
|
1010
|
+
name: string;
|
|
1011
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1012
|
+
optional: true;
|
|
1013
|
+
}] ? {
|
|
1014
|
+
(arg1: never): Color;
|
|
1015
|
+
(arg1: never, arg2: never): Color;
|
|
1016
|
+
} : readonly [{
|
|
1017
|
+
readonly name: "color";
|
|
1018
|
+
readonly type: typeof Color;
|
|
1019
|
+
}, {
|
|
1020
|
+
readonly name: "dark";
|
|
1021
|
+
readonly type: typeof Color;
|
|
1022
|
+
readonly optional: true;
|
|
1023
|
+
}, {
|
|
1024
|
+
readonly name: "light";
|
|
1025
|
+
readonly type: typeof Color;
|
|
1026
|
+
readonly optional: true;
|
|
1027
|
+
}, {
|
|
1028
|
+
readonly name: "threshold";
|
|
1029
|
+
readonly type: typeof Dimension;
|
|
1030
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
1031
|
+
readonly optional: true;
|
|
1032
|
+
}] extends readonly [{
|
|
1033
|
+
name: string;
|
|
1034
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1035
|
+
optional?: boolean;
|
|
1036
|
+
}, {
|
|
1037
|
+
name: string;
|
|
1038
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1039
|
+
optional?: boolean;
|
|
1040
|
+
}] ? {
|
|
1041
|
+
(arg1: never): Color;
|
|
1042
|
+
(arg1: never, arg2: never): Color;
|
|
1043
|
+
} : readonly [{
|
|
1044
|
+
readonly name: "color";
|
|
1045
|
+
readonly type: typeof Color;
|
|
1046
|
+
}, {
|
|
1047
|
+
readonly name: "dark";
|
|
1048
|
+
readonly type: typeof Color;
|
|
1049
|
+
readonly optional: true;
|
|
1050
|
+
}, {
|
|
1051
|
+
readonly name: "light";
|
|
1052
|
+
readonly type: typeof Color;
|
|
1053
|
+
readonly optional: true;
|
|
1054
|
+
}, {
|
|
1055
|
+
readonly name: "threshold";
|
|
1056
|
+
readonly type: typeof Dimension;
|
|
1057
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
1058
|
+
readonly optional: true;
|
|
1059
|
+
}] extends readonly [{
|
|
1060
|
+
name: string;
|
|
1061
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1062
|
+
optional?: boolean;
|
|
1063
|
+
}, {
|
|
1064
|
+
name: string;
|
|
1065
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1066
|
+
optional?: boolean;
|
|
1067
|
+
}, {
|
|
1068
|
+
name: string;
|
|
1069
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1070
|
+
optional: true;
|
|
1071
|
+
}] ? {
|
|
1072
|
+
(arg1: never, arg2: never): Color;
|
|
1073
|
+
(arg1: never, arg2: never, arg3: never): Color;
|
|
1074
|
+
} : readonly [{
|
|
1075
|
+
readonly name: "color";
|
|
1076
|
+
readonly type: typeof Color;
|
|
1077
|
+
}, {
|
|
1078
|
+
readonly name: "dark";
|
|
1079
|
+
readonly type: typeof Color;
|
|
1080
|
+
readonly optional: true;
|
|
1081
|
+
}, {
|
|
1082
|
+
readonly name: "light";
|
|
1083
|
+
readonly type: typeof Color;
|
|
1084
|
+
readonly optional: true;
|
|
1085
|
+
}, {
|
|
1086
|
+
readonly name: "threshold";
|
|
1087
|
+
readonly type: typeof Dimension;
|
|
1088
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
1089
|
+
readonly optional: true;
|
|
1090
|
+
}] extends readonly [{
|
|
1091
|
+
name: string;
|
|
1092
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1093
|
+
optional?: boolean;
|
|
1094
|
+
}, {
|
|
1095
|
+
name: string;
|
|
1096
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1097
|
+
optional?: boolean;
|
|
1098
|
+
}, {
|
|
1099
|
+
name: string;
|
|
1100
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1101
|
+
optional?: boolean;
|
|
1102
|
+
}] ? (arg1: never, arg2: never, arg3: never) => Color : readonly [{
|
|
1103
|
+
readonly name: "color";
|
|
1104
|
+
readonly type: typeof Color;
|
|
1105
|
+
}, {
|
|
1106
|
+
readonly name: "dark";
|
|
1107
|
+
readonly type: typeof Color;
|
|
1108
|
+
readonly optional: true;
|
|
1109
|
+
}, {
|
|
1110
|
+
readonly name: "light";
|
|
1111
|
+
readonly type: typeof Color;
|
|
1112
|
+
readonly optional: true;
|
|
1113
|
+
}, {
|
|
1114
|
+
readonly name: "threshold";
|
|
1115
|
+
readonly type: typeof Dimension;
|
|
1116
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
1117
|
+
readonly optional: true;
|
|
1118
|
+
}] extends readonly [{
|
|
1119
|
+
name: string;
|
|
1120
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1121
|
+
optional?: boolean;
|
|
1122
|
+
}, {
|
|
1123
|
+
name: string;
|
|
1124
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1125
|
+
optional?: boolean;
|
|
1126
|
+
}, {
|
|
1127
|
+
name: string;
|
|
1128
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1129
|
+
optional?: boolean;
|
|
1130
|
+
}, {
|
|
1131
|
+
name: string;
|
|
1132
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1133
|
+
optional: true;
|
|
1134
|
+
}] ? {
|
|
1135
|
+
(arg1: Color | (Partial<{
|
|
1136
|
+
readonly dark?: Color | undefined;
|
|
1137
|
+
readonly light?: Color | undefined;
|
|
1138
|
+
readonly threshold?: Dimension | undefined;
|
|
1139
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1140
|
+
[x: string]: never;
|
|
1141
|
+
readonly color: Dimension | Color;
|
|
1142
|
+
dark: Dimension | Color;
|
|
1143
|
+
light: Dimension | Color;
|
|
1144
|
+
threshold: Dimension | Color;
|
|
1145
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
1146
|
+
readonly dark?: Color | undefined;
|
|
1147
|
+
readonly light?: Color | undefined;
|
|
1148
|
+
readonly threshold?: Dimension | undefined;
|
|
1149
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1150
|
+
[x: string]: never;
|
|
1151
|
+
readonly color: Dimension | Color;
|
|
1152
|
+
dark: Dimension | Color;
|
|
1153
|
+
light: Dimension | Color;
|
|
1154
|
+
threshold: Dimension | Color;
|
|
1155
|
+
}>, "dark" | "light" | "threshold">), arg2: Color | (Partial<{
|
|
1156
|
+
readonly dark?: Color | undefined;
|
|
1157
|
+
readonly light?: Color | undefined;
|
|
1158
|
+
readonly threshold?: Dimension | undefined;
|
|
1159
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1160
|
+
[x: string]: never;
|
|
1161
|
+
readonly color: Dimension | Color;
|
|
1162
|
+
dark: Dimension | Color;
|
|
1163
|
+
light: Dimension | Color;
|
|
1164
|
+
threshold: Dimension | Color;
|
|
1165
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
1166
|
+
dark?: Dimension | Color | undefined;
|
|
1167
|
+
light?: Dimension | Color | undefined;
|
|
1168
|
+
threshold?: Dimension | Color | undefined;
|
|
1169
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1170
|
+
[x: string]: never;
|
|
1171
|
+
}>, "dark" | "light" | "threshold">) | undefined, arg3: Color | (Partial<{
|
|
1172
|
+
readonly dark?: Color | undefined;
|
|
1173
|
+
readonly light?: Color | undefined;
|
|
1174
|
+
readonly threshold?: Dimension | undefined;
|
|
1175
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1176
|
+
[x: string]: never;
|
|
1177
|
+
readonly color: Dimension | Color;
|
|
1178
|
+
dark: Dimension | Color;
|
|
1179
|
+
light: Dimension | Color;
|
|
1180
|
+
threshold: Dimension | Color;
|
|
1181
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
1182
|
+
light?: Dimension | Color | undefined;
|
|
1183
|
+
threshold?: Dimension | Color | undefined;
|
|
1184
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1185
|
+
[x: string]: never;
|
|
1186
|
+
}>, "light" | "threshold">) | undefined): Color;
|
|
1187
|
+
(arg1: Color | (Partial<{
|
|
1188
|
+
readonly dark?: Color | undefined;
|
|
1189
|
+
readonly light?: Color | undefined;
|
|
1190
|
+
readonly threshold?: Dimension | undefined;
|
|
1191
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1192
|
+
[x: string]: never;
|
|
1193
|
+
readonly color: Dimension | Color;
|
|
1194
|
+
dark: Dimension | Color;
|
|
1195
|
+
light: Dimension | Color;
|
|
1196
|
+
threshold: Dimension | Color;
|
|
1197
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
1198
|
+
readonly dark?: Color | undefined;
|
|
1199
|
+
readonly light?: Color | undefined;
|
|
1200
|
+
readonly threshold?: Dimension | undefined;
|
|
1201
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1202
|
+
[x: string]: never;
|
|
1203
|
+
readonly color: Dimension | Color;
|
|
1204
|
+
dark: Dimension | Color;
|
|
1205
|
+
light: Dimension | Color;
|
|
1206
|
+
threshold: Dimension | Color;
|
|
1207
|
+
}>, "dark" | "light" | "threshold">), arg2: Color | (Partial<{
|
|
1208
|
+
readonly dark?: Color | undefined;
|
|
1209
|
+
readonly light?: Color | undefined;
|
|
1210
|
+
readonly threshold?: Dimension | undefined;
|
|
1211
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1212
|
+
[x: string]: never;
|
|
1213
|
+
readonly color: Dimension | Color;
|
|
1214
|
+
dark: Dimension | Color;
|
|
1215
|
+
light: Dimension | Color;
|
|
1216
|
+
threshold: Dimension | Color;
|
|
1217
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
1218
|
+
dark?: Dimension | Color | undefined;
|
|
1219
|
+
light?: Dimension | Color | undefined;
|
|
1220
|
+
threshold?: Dimension | Color | undefined;
|
|
1221
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1222
|
+
[x: string]: never;
|
|
1223
|
+
}>, "dark" | "light" | "threshold">) | undefined, arg3: Color | (Partial<{
|
|
1224
|
+
readonly dark?: Color | undefined;
|
|
1225
|
+
readonly light?: Color | undefined;
|
|
1226
|
+
readonly threshold?: Dimension | undefined;
|
|
1227
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1228
|
+
[x: string]: never;
|
|
1229
|
+
readonly color: Dimension | Color;
|
|
1230
|
+
dark: Dimension | Color;
|
|
1231
|
+
light: Dimension | Color;
|
|
1232
|
+
threshold: Dimension | Color;
|
|
1233
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
1234
|
+
light?: Dimension | Color | undefined;
|
|
1235
|
+
threshold?: Dimension | Color | undefined;
|
|
1236
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1237
|
+
[x: string]: never;
|
|
1238
|
+
}>, "light" | "threshold">) | undefined, arg4: Dimension | (Partial<{
|
|
1239
|
+
readonly dark?: Color | undefined;
|
|
1240
|
+
readonly light?: Color | undefined;
|
|
1241
|
+
readonly threshold?: Dimension | undefined;
|
|
1242
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1243
|
+
[x: string]: never;
|
|
1244
|
+
readonly color: Dimension | Color;
|
|
1245
|
+
dark: Dimension | Color;
|
|
1246
|
+
light: Dimension | Color;
|
|
1247
|
+
threshold: Dimension | Color;
|
|
1248
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
1249
|
+
threshold?: Dimension | undefined;
|
|
1250
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1251
|
+
[x: string]: never;
|
|
1252
|
+
}>, "threshold">) | undefined): Color;
|
|
1253
|
+
} : readonly [{
|
|
1254
|
+
readonly name: "color";
|
|
1255
|
+
readonly type: typeof Color;
|
|
1256
|
+
}, {
|
|
1257
|
+
readonly name: "dark";
|
|
1258
|
+
readonly type: typeof Color;
|
|
1259
|
+
readonly optional: true;
|
|
1260
|
+
}, {
|
|
1261
|
+
readonly name: "light";
|
|
1262
|
+
readonly type: typeof Color;
|
|
1263
|
+
readonly optional: true;
|
|
1264
|
+
}, {
|
|
1265
|
+
readonly name: "threshold";
|
|
1266
|
+
readonly type: typeof Dimension;
|
|
1267
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
1268
|
+
readonly optional: true;
|
|
1269
|
+
}] extends readonly [{
|
|
1270
|
+
name: string;
|
|
1271
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1272
|
+
optional?: boolean;
|
|
1273
|
+
}, {
|
|
1274
|
+
name: string;
|
|
1275
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1276
|
+
optional?: boolean;
|
|
1277
|
+
}, {
|
|
1278
|
+
name: string;
|
|
1279
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1280
|
+
optional?: boolean;
|
|
1281
|
+
}, {
|
|
1282
|
+
name: string;
|
|
1283
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1284
|
+
optional?: boolean;
|
|
1285
|
+
}] ? (arg1: Color | (Partial<{
|
|
1286
|
+
readonly dark?: Color | undefined;
|
|
1287
|
+
readonly light?: Color | undefined;
|
|
1288
|
+
readonly threshold?: Dimension | undefined;
|
|
1289
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1290
|
+
[x: string]: never;
|
|
1291
|
+
readonly color: Dimension | Color;
|
|
1292
|
+
dark: Dimension | Color;
|
|
1293
|
+
light: Dimension | Color;
|
|
1294
|
+
threshold: Dimension | Color;
|
|
1295
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
1296
|
+
readonly dark?: Color | undefined;
|
|
1297
|
+
readonly light?: Color | undefined;
|
|
1298
|
+
readonly threshold?: Dimension | undefined;
|
|
1299
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1300
|
+
[x: string]: never;
|
|
1301
|
+
readonly color: Dimension | Color;
|
|
1302
|
+
dark: Dimension | Color;
|
|
1303
|
+
light: Dimension | Color;
|
|
1304
|
+
threshold: Dimension | Color;
|
|
1305
|
+
}>, "dark" | "light" | "threshold">), arg2: Color | (Partial<{
|
|
1306
|
+
readonly dark?: Color | undefined;
|
|
1307
|
+
readonly light?: Color | undefined;
|
|
1308
|
+
readonly threshold?: Dimension | undefined;
|
|
1309
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1310
|
+
[x: string]: never;
|
|
1311
|
+
readonly color: Dimension | Color;
|
|
1312
|
+
dark: Dimension | Color;
|
|
1313
|
+
light: Dimension | Color;
|
|
1314
|
+
threshold: Dimension | Color;
|
|
1315
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
1316
|
+
dark?: Dimension | Color | undefined;
|
|
1317
|
+
light?: Dimension | Color | undefined;
|
|
1318
|
+
threshold?: Dimension | Color | undefined;
|
|
1319
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1320
|
+
[x: string]: never;
|
|
1321
|
+
}>, "dark" | "light" | "threshold">) | undefined, arg3: Color | (Partial<{
|
|
1322
|
+
readonly dark?: Color | undefined;
|
|
1323
|
+
readonly light?: Color | undefined;
|
|
1324
|
+
readonly threshold?: Dimension | undefined;
|
|
1325
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1326
|
+
[x: string]: never;
|
|
1327
|
+
readonly color: Dimension | Color;
|
|
1328
|
+
dark: Dimension | Color;
|
|
1329
|
+
light: Dimension | Color;
|
|
1330
|
+
threshold: Dimension | Color;
|
|
1331
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
1332
|
+
light?: Dimension | Color | undefined;
|
|
1333
|
+
threshold?: Dimension | Color | undefined;
|
|
1334
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1335
|
+
[x: string]: never;
|
|
1336
|
+
}>, "light" | "threshold">) | undefined, arg4: Dimension | (Partial<{
|
|
1337
|
+
readonly dark?: Color | undefined;
|
|
1338
|
+
readonly light?: Color | undefined;
|
|
1339
|
+
readonly threshold?: Dimension | undefined;
|
|
1340
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1341
|
+
[x: string]: never;
|
|
1342
|
+
readonly color: Dimension | Color;
|
|
1343
|
+
dark: Dimension | Color;
|
|
1344
|
+
light: Dimension | Color;
|
|
1345
|
+
threshold: Dimension | Color;
|
|
1346
|
+
}>, "dark" | "light" | "threshold">> & {
|
|
1347
|
+
threshold?: Dimension | undefined;
|
|
1348
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
1349
|
+
[x: string]: never;
|
|
1350
|
+
}>, "threshold">) | undefined) => Color : readonly [{
|
|
1351
|
+
readonly name: "color";
|
|
1352
|
+
readonly type: typeof Color;
|
|
1353
|
+
}, {
|
|
1354
|
+
readonly name: "dark";
|
|
1355
|
+
readonly type: typeof Color;
|
|
1356
|
+
readonly optional: true;
|
|
1357
|
+
}, {
|
|
1358
|
+
readonly name: "light";
|
|
1359
|
+
readonly type: typeof Color;
|
|
1360
|
+
readonly optional: true;
|
|
1361
|
+
}, {
|
|
1362
|
+
readonly name: "threshold";
|
|
1363
|
+
readonly type: typeof Dimension;
|
|
1364
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
1365
|
+
readonly optional: true;
|
|
1366
|
+
}] extends readonly [{
|
|
1367
|
+
name: string;
|
|
1368
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1369
|
+
optional?: boolean;
|
|
1370
|
+
}, {
|
|
1371
|
+
name: string;
|
|
1372
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1373
|
+
optional?: boolean;
|
|
1374
|
+
}, {
|
|
1375
|
+
name: string;
|
|
1376
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1377
|
+
optional?: boolean;
|
|
1378
|
+
}, {
|
|
1379
|
+
name: string;
|
|
1380
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1381
|
+
optional?: boolean;
|
|
1382
|
+
}, {
|
|
1383
|
+
name: string;
|
|
1384
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1385
|
+
optional: true;
|
|
1386
|
+
}] ? {
|
|
1387
|
+
(arg1: never, arg2: never, arg3: never, arg4: never): Color;
|
|
1388
|
+
(arg1: never, arg2: never, arg3: never, arg4: never, arg5: never): Color;
|
|
1389
|
+
} : readonly [{
|
|
1390
|
+
readonly name: "color";
|
|
1391
|
+
readonly type: typeof Color;
|
|
1392
|
+
}, {
|
|
1393
|
+
readonly name: "dark";
|
|
1394
|
+
readonly type: typeof Color;
|
|
1395
|
+
readonly optional: true;
|
|
1396
|
+
}, {
|
|
1397
|
+
readonly name: "light";
|
|
1398
|
+
readonly type: typeof Color;
|
|
1399
|
+
readonly optional: true;
|
|
1400
|
+
}, {
|
|
1401
|
+
readonly name: "threshold";
|
|
1402
|
+
readonly type: typeof Dimension;
|
|
1403
|
+
readonly convert: [import("@jesscss/core").ConversionPlugin, import("@jesscss/core").ConversionPlugin];
|
|
1404
|
+
readonly optional: true;
|
|
1405
|
+
}] extends readonly [{
|
|
1406
|
+
name: string;
|
|
1407
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1408
|
+
optional?: boolean;
|
|
1409
|
+
}, {
|
|
1410
|
+
name: string;
|
|
1411
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1412
|
+
optional?: boolean;
|
|
1413
|
+
}, {
|
|
1414
|
+
name: string;
|
|
1415
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1416
|
+
optional?: boolean;
|
|
1417
|
+
}, {
|
|
1418
|
+
name: string;
|
|
1419
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1420
|
+
optional?: boolean;
|
|
1421
|
+
}, {
|
|
1422
|
+
name: string;
|
|
1423
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
1424
|
+
optional?: boolean;
|
|
1425
|
+
}] ? (arg1: never, arg2: never, arg3: never, arg4: never, arg5: never) => Color : 4 extends number ? 4 extends 0 | 1 | 2 | 3 | 4 | 5 ? {} : (...args: any[]) => Color : {}) & any>): Color;
|
|
1426
|
+
};
|
|
1427
|
+
export default contrast;
|