mirror of
https://github.com/mathuo/dockview
synced 2025-09-02 07:26:21 +00:00
chore: theme docs
This commit is contained in:
parent
c0119d65c0
commit
e34fb43913
@ -6,7 +6,7 @@ title: Theme
|
||||
|
||||
|
||||
import { CSSVariablesTable, ThemeTable } from '@site/src/components/cssVariables';
|
||||
|
||||
import { DocRef } from '@site/src/components/ui/reference/docRef';
|
||||
|
||||
Dockview components accept a `theme` property which is highly customizable, the theme is largly controlled through CSS however some properties can only be adjusted
|
||||
by direct editing variables of the `theme` object.
|
||||
@ -55,6 +55,13 @@ const {className} = themeAbyss;
|
||||
The source code for all themes can be found [here](https://github.com/mathuo/dockview/blob/master/packages/dockview-core/src/theme.scss) and the associated CSS [here](https://github.com/mathuo/dockview/blob/master/packages/dockview-core/src/theme.scss).
|
||||
:::
|
||||
|
||||
## Build your own theme
|
||||
|
||||
You can define your own `DockviewTheme` object and pass it to the `theme` property.
|
||||
|
||||
<DocRef declaration="DockviewTheme" />
|
||||
|
||||
|
||||
## Customizing Theme
|
||||
|
||||
The provided themes are controlled primarily through a long list of CSS variables which can be modified by the user either entirely for a new theme
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user