-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add stable classnames to child elements (#375)
- Loading branch information
1 parent
1474f64
commit 326f771
Showing
6 changed files
with
104 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
id: styling | ||
title: Styling | ||
--- | ||
|
||
# Styling | ||
|
||
Some common style changes can be made by setting CSS variables. | ||
|
||
These include: | ||
|
||
| Name | Default | Description | | ||
| :-------------------- | :-------------------------- | :----------------------------- | | ||
| `--focus-border` | `#007fd4` | Color of the sash when hovered | | ||
| ` --separator-border` | `rgba(128, 128, 128, 0.35)` | Color of the separator | | ||
|
||
For more involved styling you can target the component's child elements. | ||
|
||
| Class | Description | | ||
| :------------------------- | :------------------------------------------------------------- | | ||
| `.split-view` | Styles applied to the top-level container | | ||
| `.split-view-horizontal` | Styles applied to the top-level container if `vertical={false} | | ||
| `.split-view-vertical` | Styles applied to the top-level container if `vertical={true} | | ||
| `.sash-container` | Styles applied to the sash container | | ||
| `.sash` | Styles applied to the sash | | ||
| `.sash-active` | Styles applied to the sash if being dragged | | ||
| `.sash-disabled` | Styles applied to the sash if disabled | | ||
| `.sash-horizontal` | Styles applied to the sash if vertical={false}` | | ||
| `.sash-hover` | Styles applied to the sash if being hovered over | | ||
| `.sash-mac` | Styles applied to the sash if running under macos | | ||
| `.sash-maximum` | Styles applied to the sash if the pane is maximised | | ||
| `.sash-minimum` | Styles applied to the sash if the pane is minimised | | ||
| `.sash-vertical` | Styles applied to the sash if vertical={true}` | | ||
| `.split-view-container` | Styles applied to the split view container | | ||
| `.split-view-view` | Styles applied to the split view view | | ||
| `.split-view-view-visible` | Styles applied to the split view view if `visible={true}` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters