Skip to content

Commit

Permalink
fix: Update ref target
Browse files Browse the repository at this point in the history
  • Loading branch information
sarina committed Feb 10, 2025
1 parent a5c4632 commit ee5a772
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions oeps/best-practices/oep-0067-bp-tools-and-technology.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ Frontend Technology Selection
as of February 2025 is to use CSS variables instead of SCSS variables
wherever possible now that browsers support them directly.

See :ref:`use-css-variables`
See :ref:`CSS variables should be used to support runtime theming <use-css-variables>`

**Rationale**: Sass's SCSS syntax is an extension of CSS that adds power
and elegance to the basic language. It makes the maintenance of large
Expand All @@ -221,10 +221,10 @@ Frontend Technology Selection

You can find out more about Sass in the official `Sass documentation`_.

.. _use-css-variables:

#. **CSS variables should be used to support runtime theming**

.. _use-css-variables:

**Rationale**: SCSS variables are evaluated by the SASS preprocessor, and cannot be
changed afterwards. CSS variables are evaluated by the browser and
therefore can be changed at runtime, enabling dynamic theming support.
Expand Down

0 comments on commit ee5a772

Please sign in to comment.