react-dockable-desktop 7.2.0 → 7.4.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # React Dockable Desktop
2
2
 
3
- [![npm version](https://img.shields.io/badge/npm-v7.2.0-blue.svg)](https://www.npmjs.com/package/react-dockable-desktop)
3
+ [![npm version](https://img.shields.io/badge/npm-v7.4.0-blue.svg)](https://www.npmjs.com/package/react-dockable-desktop)
4
4
  [![TypeScript](https://img.shields.io/badge/TypeScript-first-3178c6.svg)](https://www.typescriptlang.org/)
5
5
  [![Touch Ready](https://img.shields.io/badge/touch-iPad%20%7C%20Android-success.svg)](#touch--mobile)
6
6
  [![license](https://img.shields.io/badge/license-MIT-green.svg)](#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
  ---