Skip to content

Commit

Permalink
feat(css): add missing css functions (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Dec 17, 2024
1 parent ba25aa2 commit a93d2bb
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions css/functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,14 @@
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/hue-rotate"
},
"hwb()": {
"syntax": "hwb( [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )",
"groups": [
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/hwb"
},
"image()": {
"syntax": "image( <image-tags>? [ <image-src>? , <color>? ]! )",
"groups": [
Expand Down Expand Up @@ -224,13 +232,45 @@
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/invert"
},
"lab()": {
"syntax": "lab( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
"groups": [
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/lab"
},
"layer()": {
"syntax": "layer( <layer-name> )",
"groups": [
"CSS Cascading and Inheritance"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@import/layer_function"
},
"lch()": {
"syntax": "lch( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )",
"groups": [
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/lch"
},
"leader()": {
"syntax": "leader( <leader-type> )",
"groups": [
"CSS Miscellaneous"
],
"status": "nonstandard"
},
"light-dark()": {
"syntax": "light-dark( <color>, <color> )",
"groups": [
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/light-dark"
},
"linear-gradient()": {
"syntax": "linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )",
"groups": [
Expand Down Expand Up @@ -366,6 +406,15 @@
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/ray"
},
"repeating-conic-gradient()": {
"syntax": "repeating-conic-gradient( [ from <angle> ]? [ at <position> ]?, <angular-color-stop-list> )",
"groups": [
"CSS Backgrounds and Borders",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/repeating-conic-gradient"
},
"repeating-linear-gradient()": {
"syntax": "repeating-linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )",
"groups": [
Expand Down

0 comments on commit a93d2bb

Please sign in to comment.