{"id":1,"date":"2026-09-01T08:46:40","date_gmt":"2026-09-01T08:46:40","guid":{"rendered":"http:\/\/syntaxhorror.henix.be\/?p=1"},"modified":"2026-09-01T09:33:35","modified_gmt":"2026-09-01T09:33:35","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/syntaxhorror.henix.be\/index.php\/2026\/09\/01\/hello-world\/","title":{"rendered":"Abusing :not"},"content":{"rendered":"<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"SCSS\" data-shcb-language-slug=\"scss\"><span><code class=\"hljs language-scss shcb-code-table\"><mark class='shcb-loc'><span>    &amp; <span class=\"hljs-selector-tag\">button<\/span><span class=\"hljs-selector-class\">.o-simulateDarkTheme<\/span><span class=\"hljs-selector-class\">.o-hasBtnBg<\/span><span class=\"hljs-selector-pseudo\">:not<\/span>(<span class=\"hljs-selector-class\">.o-tag-DANGER<\/span>)<span class=\"hljs-selector-pseudo\">:not<\/span>(<span class=\"hljs-selector-class\">.o-tag-SUCCESS<\/span>)<span class=\"hljs-selector-pseudo\">:not<\/span>(<span class=\"hljs-selector-class\">.o-tag-PRIMARY<\/span>) {\n<\/span><\/mark><span class='shcb-loc'><span>        <span class=\"hljs-attribute\">background-color<\/span>: #{<span class=\"hljs-variable\">$gray-800<\/span>};\n<\/span><\/span><span class='shcb-loc'><span>        <span class=\"hljs-attribute\">border<\/span>: <span class=\"hljs-number\">1px<\/span> solid rgba(white, <span class=\"hljs-number\">0.1<\/span>);\n<\/span><\/span><span class='shcb-loc'><span>\n<\/span><\/span><span class='shcb-loc'><span>        &amp;<span class=\"hljs-selector-class\">.active<\/span> {\n<\/span><\/span><span class='shcb-loc'><span>            <span class=\"hljs-comment\">\/\/ Same colors than dark theme since dark theme is simulated for call view.<\/span>\n<\/span><\/span><span class='shcb-loc'><span>            <span class=\"hljs-attribute\">background-color<\/span>: <span class=\"hljs-number\">#17373b<\/span> <span class=\"hljs-meta\">!important<\/span>;\n<\/span><\/span><span class='shcb-loc'><span>            <span class=\"hljs-attribute\">border-color<\/span>: <span class=\"hljs-number\">#03f9e3<\/span> <span class=\"hljs-meta\">!important<\/span>;\n<\/span><\/span><span class='shcb-loc'><span>        }\n<\/span><\/span><span class='shcb-loc'><span>    }\n<\/span><\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SCSS<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">scss<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/syntaxhorror.henix.be\/index.php\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/syntaxhorror.henix.be\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/syntaxhorror.henix.be\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/syntaxhorror.henix.be\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/syntaxhorror.henix.be\/index.php\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":2,"href":"https:\/\/syntaxhorror.henix.be\/index.php\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":31,"href":"https:\/\/syntaxhorror.henix.be\/index.php\/wp-json\/wp\/v2\/posts\/1\/revisions\/31"}],"wp:attachment":[{"href":"https:\/\/syntaxhorror.henix.be\/index.php\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/syntaxhorror.henix.be\/index.php\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/syntaxhorror.henix.be\/index.php\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}