Skip to main content

rbtr-lang-scss

SCSS / Sass support for rbtr. Optional plugin — install with pip install rbtr[scss].

What it ingests

SCSS extends CSS with the Sass preprocessor constructs. Definitions map onto rbtr's capture conventions by shape:

  • Variables — $-prefixed declarations ($primary: #333;).
  • Routines — @mixin and @function definitions → functions.
  • Rule sets & at-rule blocks — selectors (incl. %placeholder), @media, @keyframes → classes (a named collection of declarations).
  • Directives — @charset → config key.
  • Imports — @use / @forward / @import → imports (for cross-file edges).

Chunks produced

name is the declaration/selector; scope is the ancestor rule-set selectors for a nested rule (CSS-family nesting), else empty.

$primary: #333;                /* variable "$primary"                   */
@mixin flex($dir) { … }        /* function "flex"                       */
@function rem($px) { … }       /* function "rem"                        */
%card { … }                    /* class "%card"                         */
.btn { … }                     /* class ".btn"                          */
@keyframes slide { … }         /* class "slide"                         */
@use "config";                 /* import, metadata {module: "config"}   */

Embedded / injected chunks

None. SCSS does not embed other languages (it is embedded by the SFC plugins).

Grammar & dependencies

Uses the tree-sitter-scss grammar. Depends on rbtr-lang-css — it reuses that plugin's public css_nesting_scope helper for CSS-family rule nesting.

Metadata

Release files for rbtr-lang-scss 2026.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rbtr-lang-scss 2026.9.0
File Size Uploaded
rbtr_lang_scss-2026.9.0.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rbtr-lang-scss 2026.9.0
File Interpreter ABI Platform
rbtr_lang_scss-2026.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.0 kB

Release files / rbtr_lang_scss-2026.9.0.tar.gz

Download URL rbtr_lang_scss-2026.9.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3912852cc606850d8cbb6ba38f328a51a3ec3e96682a11e03f18bfb00fc86e1d
BLAKE2b-256 checksum
How to use checksums
9f36fb0f99ef931e25899495fe6f059be6a01c268955716208d81bd8f77e094a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / rbtr_lang_scss-2026.9.0-py3-none-any.whl

Download URL rbtr_lang_scss-2026.9.0-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
061151dd44f24bd9aaa358e65db9ec38097374674fa51a509bcfb0f5febd365d
BLAKE2b-256 checksum
How to use checksums
b736ec2276f7b01e8b90705beee92233289c1bb116f8c6a02be224fc26746e17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page