From 36089cc5d00217f55a80d2ed5b856f4ccef1ee47 Mon Sep 17 00:00:00 2001 From: pr Date: Mon, 24 Apr 2023 08:16:17 -0400 Subject: [PATCH] add more common properties/values to code_css (#4213) PineappleRind * add more CSS words * add more commonly used CSS properties/values * fix trailing comma... --- frontend/static/languages/code_css.json | 43 +++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/frontend/static/languages/code_css.json b/frontend/static/languages/code_css.json index ed3e4ef81..1d1cf96ee 100644 --- a/frontend/static/languages/code_css.json +++ b/frontend/static/languages/code_css.json @@ -9,25 +9,54 @@ "font", "font-size", "font-family", + "font-weight", "text-align", + "text-decoration", + "cursor", "float", "align", "width", "height", + "max-width", + "max-height", "padding", "margin", + "margin-left", + "margin-top", + "margin-right", + "margin-bottom", "solid", "border", + "border-radius", + "outline", "display", + "visibility", "inline", + "inline-block", "block", - "max-width", "auto", + "flex", + "flex-wrap", + "flex-direction", + "justify-content", + "justify-self", + "justify-items", + "align-items", + "align-self", + "grid", + "grid-template-columns", + "grid-template-rows", "position", + "static", + "absolute", + "fixed", + "relative", "srcset", "z-index", "left", "top", + "right", + "bottom", "overflow", "border-image", "background-image", @@ -35,6 +64,16 @@ "background-size", "background-origin", "transform", - "@media" + "translate", + "scale", + "rotate", + "transition", + "animation", + "filter", + "box-shadow", + "text-shadow", + "opacity", + "@media", + "@keyframes" ] }