Skip to content

Commit eef44a2

Browse files
authored
DOC: Fix link to custom CSS example (#2025)
As pointed out in #2023 (comment) Fix #2023
1 parent 511fe62 commit eef44a2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/user_guide/styling.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ To add a custom stylesheet, follow these steps:
3535
3636
When you build your documentation, this stylesheet should now be activated.
3737

38+
.. _css-variables:
39+
3840
CSS theme variables
3941
===================
4042

docs/user_guide/web-components.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Here are some of the available button-style links, also using semantic colors:
139139
native button components such as using the correct `ARIA attributes
140140
<https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/button_role>`__.
141141

142-
If in your site's `custom CSS file <custom-css>`_ you override the `CSS custom properties <css-variables>`_ ``--pst-color-*`` (where ``*`` is one of the semantic color names, such as ``primary``, ``danger``), badges and buttons will automatically use the custom color.
142+
If in your site's :ref:`custom CSS file <custom-css>` you override the :ref:`CSS custom properties <css-variables>` ``--pst-color-*`` (where ``*`` is one of the semantic color names, such as ``primary``, ``danger``), badges and buttons will automatically use the custom color.
143143

144144
Cards
145145
=====

0 commit comments

Comments
 (0)