@guebbit/css-toolkit 1.2.0 → 1.2.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.
Files changed (54) hide show
  1. package/LICENSE +661 -661
  2. package/README.md +5 -5
  3. package/docs/.postcssrc.cjs +11 -11
  4. package/docs/.vitepress/config.ts +88 -88
  5. package/docs/.vitepress/dist/404.html +1 -1
  6. package/docs/.vitepress/dist/assets/{app.Cez_7bx7.js → app.BQiPqeST.js} +1 -1
  7. package/docs/.vitepress/dist/assets/chunks/@localSearchIndexroot.C9A3MdGo.js +1 -0
  8. package/docs/.vitepress/dist/assets/chunks/{VPLocalSearchBox.lfLgIsvm.js → VPLocalSearchBox.Bz_zRP0g.js} +1 -1
  9. package/docs/.vitepress/dist/assets/chunks/{theme.ZIndENJH.js → theme.DOuq-6g9.js} +2 -2
  10. package/docs/.vitepress/dist/colors/bootstrap.html +2 -2
  11. package/docs/.vitepress/dist/colors/brands.html +2 -2
  12. package/docs/.vitepress/dist/colors/customs.html +2 -2
  13. package/docs/.vitepress/dist/functions/colors.html +2 -2
  14. package/docs/.vitepress/dist/functions/helpers.html +2 -2
  15. package/docs/.vitepress/dist/functions/strings.html +2 -2
  16. package/docs/.vitepress/dist/index.html +2 -2
  17. package/docs/.vitepress/dist/mixins/build-aspect-ratio.html +2 -2
  18. package/docs/.vitepress/dist/mixins/build-compatibility.html +2 -2
  19. package/docs/.vitepress/dist/mixins/build-scrollbar.html +2 -2
  20. package/docs/.vitepress/dist/mixins/create-colors.html +2 -2
  21. package/docs/.vitepress/dist/mixins/create-helper-margin.html +2 -2
  22. package/docs/.vitepress/dist/mixins/create-helper-padding.html +2 -2
  23. package/docs/.vitepress/dist/mixins/create-instruction.html +2 -2
  24. package/docs/.vitepress/theme/index.js +11 -11
  25. package/docs/functions/colors.md +65 -65
  26. package/docs/logo.svg +55 -55
  27. package/docs/logotype.svg +149 -149
  28. package/docs/mixins/build-compatibility.md +22 -22
  29. package/docs/mixins/build-scrollbar.md +18 -18
  30. package/docs/mixins/create-helper-margin.md +25 -25
  31. package/docs/mixins/create-helper-padding.md +24 -24
  32. package/docs/mixins/create-instruction.md +32 -32
  33. package/package.json +61 -61
  34. package/src/colors/_bootstrap.scss +179 -179
  35. package/src/colors/_brands.scss +19 -19
  36. package/src/colors/_customs.scss +52 -52
  37. package/src/colors/_index.scss +199 -199
  38. package/src/functions/_colors.scss +133 -121
  39. package/src/functions/_helpers.scss +44 -42
  40. package/src/functions/_strings.scss +30 -30
  41. package/src/index.scss +12 -12
  42. package/src/mixins/_build-aspect-ratio.scss +36 -36
  43. package/src/mixins/_build-compatibility.scss +27 -27
  44. package/src/mixins/_build-scrollbar.scss +31 -31
  45. package/src/mixins/_create-colors.scss +118 -118
  46. package/src/mixins/_create-helper-margin.scss +38 -38
  47. package/src/mixins/_create-helper-padding.scss +40 -40
  48. package/src/mixins/_create-instructions.scss +11 -11
  49. package/test/compile.test.js +105 -105
  50. package/test/lint.test.js +48 -48
  51. package/test/test.css +104 -99
  52. package/test/test.scss +158 -158
  53. package/vite.config.ts +25 -25
  54. package/docs/.vitepress/dist/assets/chunks/@localSearchIndexroot.CkfJPSmi.js +0 -1
@@ -1 +0,0 @@
1
- const t='{"documentCount":31,"nextId":31,"documentIds":{"0":"/colors/bootstrap.html#todo","1":"/colors/brands.html#todo","2":"/colors/customs.html#todo","3":"/functions/colors.html#colors","4":"/functions/colors.html#color-brightness","5":"/functions/colors.html#color-contrast","6":"/functions/colors.html#color-hex2rgba","7":"/functions/colors.html#color-hex2rgbcore","8":"/functions/helpers.html#todo","9":"/functions/strings.html#todo","10":"/#css-toolkit","11":"/#todo","12":"/mixins/build-aspect-ratio.html#todo","13":"/mixins/build-compatibility.html#build-compatibility","14":"/mixins/build-compatibility.html#example","15":"/mixins/build-compatibility.html#code","16":"/mixins/build-compatibility.html#scss-variables","17":"/mixins/build-scrollbar.html#scrollbar","18":"/mixins/build-scrollbar.html#example","19":"/mixins/build-scrollbar.html#code","20":"/mixins/create-colors.html#todo","21":"/mixins/create-helper-margin.html#create-margin","22":"/mixins/create-helper-margin.html#example","23":"/mixins/create-helper-margin.html#code","24":"/mixins/create-helper-padding.html#create-padding","25":"/mixins/create-helper-padding.html#example","26":"/mixins/create-helper-padding.html#code","27":"/mixins/create-instruction.html#create-instruction","28":"/mixins/create-instruction.html#example","29":"/mixins/create-instruction.html#code","30":"/mixins/create-instruction.html#scss-variables"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,1],"1":[1,1,1],"2":[1,1,1],"3":[1,1,18],"4":[2,1,37],"5":[2,1,34],"6":[2,1,11],"7":[2,1,40],"8":[1,1,1],"9":[1,1,1],"10":[2,1,15],"11":[1,1,14],"12":[1,1,1],"13":[2,1,1],"14":[1,2,18],"15":[1,1,43],"16":[2,1,17],"17":[1,1,1],"18":[1,1,12],"19":[1,1,53],"20":[1,1,1],"21":[2,1,1],"22":[1,2,18],"23":[1,2,77],"24":[2,1,1],"25":[1,2,17],"26":[1,2,77],"27":[2,1,10],"28":[1,2,19],"29":[1,2,32],"30":[2,2,44]},"averageFieldLength":[1.354838709677419,1.2580645161290323,19.903225806451612],"storedFields":{"0":{"title":"TODO","titles":[]},"1":{"title":"TODO","titles":[]},"2":{"title":"TODO","titles":[]},"3":{"title":"Colors","titles":[]},"4":{"title":"color-brightness","titles":["Colors"]},"5":{"title":"color-contrast","titles":["Colors"]},"6":{"title":"color-hex2rgba","titles":["Colors"]},"7":{"title":"color-hex2rgbcore","titles":["Colors"]},"8":{"title":"TODO","titles":[]},"9":{"title":"TODO","titles":[]},"10":{"title":"css-toolkit","titles":[]},"11":{"title":"TODO","titles":[]},"12":{"title":"TODO","titles":[]},"13":{"title":"Build Compatibility","titles":[]},"14":{"title":"Example","titles":["Build Compatibility"]},"15":{"title":"Code","titles":[]},"16":{"title":"SCSS variables","titles":["Code"]},"17":{"title":"Scrollbar","titles":[]},"18":{"title":"Example","titles":["Scrollbar"]},"19":{"title":"Code","titles":["Scrollbar"]},"20":{"title":"TODO","titles":[]},"21":{"title":"Create Margin","titles":[]},"22":{"title":"Example","titles":["Create Margin"]},"23":{"title":"Code","titles":["Create Margin"]},"24":{"title":"Create Padding","titles":[]},"25":{"title":"Example","titles":["Create Padding"]},"26":{"title":"Code","titles":["Create Padding"]},"27":{"title":"Create Instruction","titles":[]},"28":{"title":"Example","titles":["Create Instruction"]},"29":{"title":"Code","titles":["Create Instruction"]},"30":{"title":"SCSS variables","titles":["Create Instruction"]}},"dirtCount":0,"index":[["75px",{"2":{"28":1}}],["75",{"2":{"28":2}}],["y",{"2":{"23":1,"26":1}}],["x3c",{"2":{"23":1,"26":1,"29":1}}],["x",{"2":{"23":1,"26":1}}],["x26",{"2":{"19":3}}],["36px",{"2":{"22":1,"25":1}}],["36",{"2":{"22":1,"25":1}}],["30",{"2":{"3":1}}],["6px",{"2":{"22":1,"25":1}}],["6",{"2":{"22":1,"25":1}}],["60",{"2":{"3":1}}],["width",{"2":{"19":1,"27":2,"28":1}}],["webkit",{"2":{"19":3}}],["white",{"2":{"7":1}}],["whichever",{"2":{"5":1,"7":1}}],["what",{"2":{"3":1}}],["48px",{"2":{"22":1,"25":1}}],["48",{"2":{"22":1,"25":1}}],["40",{"2":{"19":1}}],["4px",{"2":{"7":1,"18":1,"19":2}}],["p100",{"2":{"28":1}}],["p75",{"2":{"28":1}}],["p50",{"2":{"28":1}}],["p25",{"2":{"28":1}}],["prevent",{"2":{"23":1,"26":1,"30":1}}],["prefix",{"2":{"23":1,"26":1,"30":1}}],["property",{"2":{"23":1,"26":1}}],["postfix",{"2":{"23":1,"26":1,"29":1}}],["pixels",{"2":{"19":1}}],["padding",{"0":{"24":1},"1":{"25":1,"26":1},"2":{"25":1}}],["pairs",{"2":{"23":1,"26":1,"30":1}}],["param",{"2":{"15":1,"19":3,"23":1,"26":1,"29":1}}],["palette",{"2":{"3":1}}],["name",{"2":{"16":1,"23":4,"26":4,"27":1,"29":2,"30":2}}],["none",{"2":{"4":1,"15":2,"16":1,"30":1}}],["``",{"2":{"16":1,"23":1,"26":1,"30":1}}],["==",{"2":{"15":3,"19":1,"23":9,"26":9,"29":1}}],["\\tbuilder",{"2":{"19":1}}],["\\t",{"2":{"15":2,"19":3}}],["\\tcompatibility",{"2":{"15":1}}],["eventual",{"2":{"23":1,"26":1,"30":1}}],["every",{"2":{"11":1}}],["each",{"2":{"23":1,"26":1,"29":1}}],["element",{"2":{"18":1,"19":1}}],["edge",{"2":{"14":1,"15":2}}],["explorer",{"2":{"14":1,"15":1}}],["example",{"0":{"14":1,"18":1,"22":1,"25":1,"28":1},"2":{"27":1}}],["opera",{"2":{"14":1,"15":1}}],["or",{"2":{"11":1}}],["of",{"2":{"5":1,"7":1,"18":1,"19":4,"23":1,"26":1,"30":2}}],["single",{"2":{"29":1}}],["size",{"2":{"19":3,"27":1}}],["spacing",{"2":{"23":7,"26":7}}],["scrollbars",{"2":{"18":1,"19":1}}],["scrollbar",{"0":{"17":1},"1":{"18":1,"19":1},"2":{"18":1,"19":7}}],["scsscolor",{"2":{"6":1}}],["scssbackground",{"2":{"5":1}}],["scss",{"0":{"16":1,"30":1},"2":{"4":2,"5":1,"7":1,"10":1,"14":1,"15":1,"18":1,"19":1,"22":1,"23":1,"25":1,"26":1,"28":1,"29":1}}],["supports",{"2":{"15":2}}],["safari",{"2":{"14":1,"15":1}}],["style",{"2":{"16":1}}],["string",{"2":{"15":1,"16":1,"19":1,"23":1,"26":1,"30":3}}],["streamlining",{"2":{"10":1}}],["standardizing",{"2":{"10":1}}],["utilities",{"2":{"10":1}}],["using",{"2":{"3":1}}],["0",{"2":{"6":1}}],["00ff00",{"2":{"6":1,"7":1}}],["000",{"2":{"5":1,"7":1,"18":1}}],["final",{"2":{"30":1}}],["firefox",{"2":{"14":1,"15":2}}],["flag",{"2":{"30":1}}],["false",{"2":{"19":1,"23":2,"26":2,"29":1,"30":1}}],["for",{"2":{"10":1,"11":2,"14":1,"15":1,"23":7,"26":7}}],["fff",{"2":{"5":2,"7":1,"18":1,"19":3}}],["functions",{"2":{"10":1,"11":1}}],["function",{"2":{"4":1,"5":1,"11":1}}],["$delimiter",{"2":{"29":2,"30":1}}],["$dark",{"2":{"5":5,"7":1}}],["$instruction",{"2":{"29":3,"30":1}}],["$important",{"2":{"23":11,"26":11,"29":2,"30":1}}],["$val",{"2":{"23":10,"26":10,"29":2}}],["$name",{"2":{"23":8,"26":8,"29":2}}],["$prefix",{"2":{"23":9,"26":9,"29":2,"30":1}}],["$measure",{"2":{"23":3,"26":3,"29":2,"30":1}}],["$fallback",{"2":{"19":6}}],["$radius",{"2":{"19":3}}],["$size",{"2":{"19":5}}],["$bg",{"2":{"19":6}}],["$browser",{"2":{"15":5,"16":1}}],["$background",{"2":{"5":2,"19":1}}],["$light",{"2":{"5":5,"7":1}}],["$color",{"2":{"4":6,"5":5,"7":1,"19":4}}],["quot",{"2":{"5":2,"7":2}}],["my",{"2":{"23":1,"26":1}}],["mx",{"2":{"23":1,"26":1}}],["mr",{"2":{"23":1,"26":1}}],["ml",{"2":{"23":1,"26":1}}],["mb",{"2":{"23":1,"26":1}}],["mt",{"2":{"23":1,"26":1}}],["measure",{"2":{"23":1,"26":1,"29":1}}],["media",{"2":{"15":1}}],["ma",{"2":{"23":1,"26":1}}],["margin",{"0":{"21":1},"1":{"22":1,"23":1},"2":{"22":1,"23":14,"26":14}}],["math",{"2":{"4":1}}],["ms",{"2":{"15":3}}],["min",{"2":{"27":1}}],["microsoft",{"2":{"14":1,"15":1}}],["mixin",{"2":{"11":1,"15":1,"19":1,"23":1,"26":1,"29":1}}],["mixins",{"2":{"10":1}}],["moz",{"2":{"15":1}}],["mode",{"2":{"14":1,"15":1}}],["more",{"2":{"11":1}}],["most",{"2":{"5":1,"7":1}}],["array",{"2":{"23":2,"26":2,"29":1,"30":1}}],["arguments",{"2":{"5":1,"7":1}}],["applies",{"2":{"23":7,"26":7}}],["apply",{"2":{"7":2,"16":1}}],["appearance",{"2":{"15":1}}],["auto",{"2":{"15":1,"19":3,"22":2}}],["automatic",{"2":{"11":1}}],["align",{"2":{"15":1}}],["all",{"2":{"15":1,"23":1,"26":1}}],["active",{"2":{"15":1}}],["accepted",{"2":{"4":1,"7":1,"16":1,"19":1,"23":1,"26":1,"30":1}}],["an",{"2":{"11":1}}],["and",{"2":{"5":1,"7":1,"10":2,"15":1,"23":3,"26":3,"27":2,"29":1}}],["abs",{"2":{"5":2}}],["a",{"2":{"5":1,"7":1,"10":1,"23":1,"26":1}}],["value",{"2":{"23":3,"26":3,"29":1,"30":2}}],["value>",{"2":{"23":1,"26":1,"29":1}}],["values",{"2":{"4":1,"7":1,"16":1,"19":1,"23":1,"26":1,"30":1}}],["var",{"2":{"7":1}}],["variables",{"0":{"16":1,"30":1}}],["variable",{"2":{"4":1,"7":1,"16":1,"19":1,"23":1,"26":1,"30":1}}],["25px",{"2":{"28":1}}],["25",{"2":{"28":2}}],["255",{"2":{"4":1}}],["24px",{"2":{"22":1,"25":1}}],["24",{"2":{"22":1,"25":1}}],["299",{"2":{"4":1}}],["12px",{"2":{"22":1,"25":1}}],["12",{"2":{"22":1,"25":1}}],["114",{"2":{"4":1}}],["10px",{"2":{"18":1,"19":2}}],["100px",{"2":{"28":1}}],["100",{"2":{"4":1,"28":2}}],["10",{"2":{"3":1}}],["5",{"2":{"6":1}}],["587",{"2":{"4":1}}],["50px",{"2":{"28":1}}],["50",{"2":{"4":3,"28":2}}],["generator",{"2":{"29":1}}],["gt",{"2":{"23":2,"26":2,"30":2}}],["guebbit",{"2":{"14":1,"23":1,"26":1,"30":1}}],["gradients",{"2":{"11":1}}],["green",{"2":{"4":1}}],["given",{"2":{"5":1,"7":1,"27":1}}],["gives",{"2":{"4":1}}],["+",{"2":{"4":2}}],["right",{"2":{"23":4,"26":4}}],["r",{"2":{"23":1,"26":1}}],["radius",{"2":{"19":2}}],["rgba",{"2":{"6":1}}],["repository",{"2":{"10":1}}],["red",{"2":{"4":1}}],["returns",{"2":{"5":1,"7":1}}],["return",{"2":{"4":1,"5":1}}],["rule",{"2":{"3":1}}],[">",{"2":{"4":1,"5":1}}],["important",{"2":{"23":10,"26":10,"29":1,"30":1}}],["ime",{"2":{"15":1}}],["ie",{"2":{"14":1,"15":1}}],["insert",{"2":{"30":1}}],["instructions",{"2":{"27":1,"28":1,"29":2}}],["instruction",{"0":{"27":1},"1":{"28":1,"29":1,"30":1},"2":{"23":1,"26":1,"30":2}}],["in",{"2":{"19":1,"23":2,"26":2,"29":1}}],["include",{"2":{"14":1,"18":1,"22":1,"25":1,"28":1}}],["internet",{"2":{"14":1,"15":1}}],["if",{"2":{"4":1,"5":1,"15":3,"19":2,"23":10,"26":10,"29":1,"30":1}}],["is",{"2":{"4":1,"5":1,"7":1,"23":1,"26":1,"30":1}}],["directions",{"2":{"23":1,"26":1}}],["div",{"2":{"4":1}}],["dark",{"2":{"5":1,"7":2}}],["darker",{"2":{"4":1}}],["delimeter",{"2":{"30":1}}],["development",{"2":{"10":1}}],["default",{"2":{"4":1,"7":1,"16":1,"19":2,"23":1,"26":1,"30":1}}],["description",{"2":{"4":1,"7":1,"16":1,"19":1,"23":1,"26":1,"30":1}}],["design",{"2":{"3":1}}],["t",{"2":{"23":1,"26":1}}],["true",{"2":{"22":1,"23":9,"25":1,"26":9,"28":1,"29":1}}],["transparent",{"2":{"19":1}}],["target",{"2":{"15":1}}],["tests",{"2":{"11":1}}],["text",{"2":{"5":4}}],["thumb",{"2":{"19":1}}],["the",{"2":{"5":1,"7":1,"19":1,"23":8,"26":8,"30":1}}],["than",{"2":{"4":2}}],["top",{"2":{"23":4,"26":4}}],["toolkit",{"0":{"10":1}}],["to",{"2":{"4":1,"5":1,"6":1,"7":4,"16":1,"23":1,"26":1,"30":2}}],["todo",{"0":{"0":1,"1":1,"2":1,"8":1,"9":1,"11":1,"12":1,"20":1},"2":{"14":2,"15":2}}],["lt",{"2":{"23":2,"26":2,"30":2}}],["like",{"2":{"23":1,"26":1,"30":1}}],["list",{"2":{"23":5,"26":5,"29":3,"30":2}}],["lighten",{"2":{"19":1}}],["lighter",{"2":{"4":1}}],["light",{"2":{"5":1,"7":1}}],["left",{"2":{"23":4,"26":4}}],["less",{"2":{"4":2}}],["l",{"2":{"23":1,"26":1}}],["logrocket",{"2":{"3":2}}],["boolean",{"2":{"23":1,"26":1,"30":1}}],["both",{"2":{"23":2,"26":2}}],["bottom",{"2":{"23":4,"26":4}}],["border",{"2":{"19":1}}],["b",{"2":{"23":1,"26":1}}],["background",{"2":{"19":7}}],["bg",{"2":{"19":4}}],["browser",{"2":{"15":1,"16":1}}],["browsers",{"2":{"14":1,"15":1}}],["brightness",{"0":{"4":1},"2":{"4":2,"5":10}}],["build",{"0":{"13":1},"1":{"14":1},"2":{"15":1,"18":1,"19":1}}],["building",{"2":{"3":1}}],["blue",{"2":{"4":1}}],["blog",{"2":{"3":2}}],["better",{"2":{"4":1}}],["classnames",{"2":{"30":1}}],["create",{"0":{"21":1,"24":1,"27":1},"1":{"22":1,"23":1,"25":1,"26":1,"28":1,"29":1,"30":1},"2":{"11":1,"22":1,"23":1,"25":1,"26":1,"27":1,"28":1,"29":1}}],["custom",{"2":{"7":1,"30":1}}],["check",{"2":{"4":1,"7":1}}],["css",{"0":{"10":1},"2":{"3":2,"10":1,"16":1,"29":1,"30":1}}],["collisions",{"2":{"23":1,"26":1,"30":1}}],["color",{"0":{"4":1,"5":1,"6":1,"7":1},"2":{"3":1,"4":4,"5":8,"6":3,"7":8,"19":12}}],["colors",{"0":{"3":1},"1":{"4":1,"5":1,"6":1,"7":1},"2":{"3":1}}],["corner",{"2":{"19":1}}],["code",{"0":{"15":1,"19":1,"23":1,"26":1,"29":1},"1":{"16":1}}],["content",{"2":{"15":4,"16":2}}],["containing",{"2":{"10":1}}],["contrasty",{"2":{"5":1,"7":1}}],["contrast",{"0":{"5":1},"2":{"5":3,"7":1,"15":2}}],["convert",{"2":{"6":1}}],["compatibility",{"0":{"13":1},"1":{"14":1},"2":{"14":2,"15":1}}],["compares",{"2":{"5":1,"7":1}}],["com",{"2":{"3":2}}],["has",{"2":{"19":1}}],["high",{"2":{"15":2}}],["helper",{"2":{"22":1,"23":1,"25":1,"26":1}}],["helpful",{"2":{"10":1}}],["height",{"2":{"19":1}}],["hex2rgbcore",{"0":{"7":1},"2":{"7":1}}],["hex2rgba",{"0":{"6":1},"2":{"6":1}}],["hex",{"2":{"6":1}}],["hsl",{"2":{"3":2}}],["https",{"2":{"3":2}}]],"serializationVersion":2}';export{t as default};