-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e7f4fbf
commit 05c1f59
Showing
5 changed files
with
60 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: Divider | ||
description: Used to separate, organize, and refine content and page structure with a certain logic for organizational elements. | ||
spline: base | ||
isComponent: true | ||
toc: false | ||
--- | ||
|
||
### Base Divider | ||
|
||
The divider is mainly composed of a straight line and text. Pass in divider text or other custom content through slot, and control whether the separator is vertical or horizontal through layout. | ||
|
||
{{ base }} | ||
|
||
### Dashed Style | ||
|
||
{{ theme }} |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
@divider-color: #E7E7E7; | ||
@divider-text-color: rgba(0, 0, 0, .4); | ||
@divider-font-size: @font-size-s; | ||
@divider-color: var(--td-divider-color, @bg-color-component); | ||
@divider-content-color: var(--td-divider-content-color, @text-color-placeholder); | ||
@divider-content-font-size: var(--td-divider-content-font-size, 12px); | ||
@divider-content-line-height: var(--td-divider-content-line-height, 20px); | ||
@divider-content-line-style: var(--td-divider-content-line-style, solid); |