react-dockable-desktop 7.2.0 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -1
- package/dist/styles.css +369 -309
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# React Dockable Desktop
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/react-dockable-desktop)
|
|
4
4
|
[](https://www.typescriptlang.org/)
|
|
5
5
|
[](#touch--mobile)
|
|
6
6
|
[](#license)
|
|
@@ -417,6 +417,16 @@ All built-in skins include dark and light variants, and each brings its own font
|
|
|
417
417
|
|
|
418
418
|
Point them at your UI framework's theme to follow it: `var(--bs-primary)` (Bootstrap), `var(--mui-palette-primary-main)` (MUI with CSS variables), `var(--mat-sys-primary)` (Angular Material 3). See [Brand your app](https://felipecarrillo100.github.io/react-dockable-desktop/guide/theming#brand-your-app).
|
|
419
419
|
|
|
420
|
+
Your own surfaces and corner shape, too (7.3.0):
|
|
421
|
+
|
|
422
|
+
```css
|
|
423
|
+
:root:not([data-color-scheme="light"]) { /* dark: the attribute's absence */
|
|
424
|
+
--rdd-brand-surface: #0b1f3a; /* app background — panels, bars and borders are derived from it */
|
|
425
|
+
--rdd-brand-text: #e8eef7; /* main text — set both, or neither */
|
|
426
|
+
}
|
|
427
|
+
:root { --rdd-radius-scale: 0; } /* 0 square · 1 each skin's own · 1.5 rounder */
|
|
428
|
+
```
|
|
429
|
+
|
|
420
430
|
Create your own skin by overriding CSS custom properties under a `[data-rdd-skin="myskin"]` selector. See the [Theming Guide](https://felipecarrillo100.github.io/react-dockable-desktop/guide/theming) for the full variable reference and the [Per-skin active state guide](https://felipecarrillo100.github.io/react-dockable-desktop/guide/theming#per-skin-active-state-design-language) to customise the sidebar/toolbar active indicator in your own skin.
|
|
421
431
|
|
|
422
432
|
---
|