Skip to content

Commit

Permalink
DOC: Fix link to custom CSS example (#2025)
Browse files Browse the repository at this point in the history
As pointed out in
#2023 (comment)

Fix #2023
  • Loading branch information
pllim authored Oct 30, 2024
1 parent 511fe62 commit eef44a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/user_guide/styling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ To add a custom stylesheet, follow these steps:
When you build your documentation, this stylesheet should now be activated.

.. _css-variables:

CSS theme variables
===================

Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/web-components.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Here are some of the available button-style links, also using semantic colors:
native button components such as using the correct `ARIA attributes
<https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/button_role>`__.

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.
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.

Cards
=====
Expand Down

0 comments on commit eef44a2

Please sign in to comment.