Skip to content

Commit 938560f

Browse files
committed
fixes?
1 parent 73ddf45 commit 938560f

4 files changed

Lines changed: 3 additions & 139 deletions

File tree

scss/_dropdown.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ $tokens: () !default;
1414
// stylelint-disable scss/dollar-variable-default
1515
$dropdown-tokens: map.merge(
1616
(
17+
// scss-docs-start dropdown-css-vars
1718
--dropdown-zindex: #{$zindex-dropdown},
1819
--dropdown-gap: .125rem,
1920
--dropdown-min-width: 10rem,
@@ -44,6 +45,7 @@ $dropdown-tokens: map.merge(
4445
--dropdown-header-color: var(--fg-2),
4546
--dropdown-header-padding-x: .75rem,
4647
--dropdown-header-padding-y: .25rem,
48+
// scss-docs-end dropdown-css-vars
4749
),
4850
$tokens
4951
);

site/src/components/shortcodes/DETAILS_README.md

Lines changed: 0 additions & 126 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Accessibility Tip: Using color to convey meaning"
2+
title: 'Accessibility Tip: Using color to convey meaning'
33
---
44

55
Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies like screen readers. Please ensure the meaning is obvious from the content itself (e.g., the visible text with a [_sufficient_ color contrast](/docs/[[config:docs_version]]/getting-started/accessibility/#color-contrast)) or is included through alternative means, such as additional text hidden with the `.visually-hidden` class.

site/src/content/docs/components/dropdown.mdx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -496,20 +496,8 @@ Dropdown items include at least one variable that is not set on `.dropdown`. Thi
496496
- `--bs-dropdown-item-border-radius`
497497
</Callout>
498498

499-
Customization through CSS variables can be seen on the `.dropdown-menu-dark` class where we override specific values without adding duplicate CSS selectors.
500-
501-
<ScssDocs name="dropdown-dark-css-vars" file="scss/_dropdown.scss" />
502-
503499
### Sass variables
504500

505-
Variables for all dropdowns:
506-
507-
<ScssDocs name="dropdown-variables" file="scss/_dropdown.scss" />
508-
509-
Variables for the [dark dropdown](#dark-dropdowns):
510-
511-
<ScssDocs name="dropdown-dark-variables" file="scss/_dropdown.scss" />
512-
513501
Variables for the CSS-based carets that indicate a dropdown’s interactivity:
514502

515503
<ScssDocs name="caret-variables" file="scss/mixins/_caret.scss" />

0 commit comments

Comments
 (0)