diff --git a/docs/app/components/snippets/styles-0.css b/docs/app/components/snippets/styles-0.css new file mode 100644 index 00000000..c7b8ce6e --- /dev/null +++ b/docs/app/components/snippets/styles-0.css @@ -0,0 +1,7 @@ +:root, +:host { + --ember-basic-dropdown-content-background-color: #fff; + --ember-basic-dropdown-content-z-index: 1000; + --ember-basic-dropdown-overlay-background: rgb(0 0 0 / 50%); + --ember-basic-dropdown-overlay-pointer-events: none; +} diff --git a/docs/app/templates/public-pages/docs/styles.gts b/docs/app/templates/public-pages/docs/styles.gts index 86d7bb5f..d442a04c 100644 --- a/docs/app/templates/public-pages/docs/styles.gts +++ b/docs/app/templates/public-pages/docs/styles.gts @@ -6,20 +6,14 @@ import CodeExample from '../../../components/code-example';
Since this component doesn't any visual theme, you can apply styles to it - just with plain CSS or even adding the classes your favourite CSS framework - gives you. + just with CSS variables, plain CSS or even adding the classes your favorite + CSS framework gives you.
-
- If don't use any css pre-processor this is all. If you do use SASS, the
- addon will know it and will have to
- @use
- the styles explicitly. This gives you the chance to set a few variables that
- Ember Basic Dropdown will use.
-
- There is only four variables you can tweak (Sass syntax) + If you use SASS you can override the default values by using the SASS syntax