-
Notifications
You must be signed in to change notification settings - Fork 156
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
Showing
16 changed files
with
123 additions
and
179 deletions.
There are no files selected for viewing
File renamed without changes.
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
9 changes: 9 additions & 0 deletions
9
.starters/default/content/3.components/4.docs/1.navigation.md
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,9 @@ | ||
# Navigation | ||
|
||
Component for rendering `Docs` tree navigation, from `content` folder structure. Could be nested and collapsible, depending on configuration. | ||
|
||
## Design Tokens | ||
|
||
::callout{icon=🚧} | ||
Tokenization is WIP | ||
:: |
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,9 @@ | ||
# Table of Contents | ||
|
||
A component for `Docs` article Table of Contents. | ||
|
||
## Design Tokens | ||
|
||
::callout{icon=🚧} | ||
Tokenization is WIP | ||
:: |
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,9 @@ | ||
# Table of Contents Links | ||
|
||
Renders `DocsToc` links tree. | ||
|
||
## Design Tokens | ||
|
||
::callout{icon=🚧} | ||
Tokenization is WIP | ||
:: |
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
# Content Bottom | ||
|
||
Component for rendering content bottom section. |
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,3 @@ | ||
# Edit On | ||
|
||
Component for rendering `EditOn` GitHub link. |
Empty file.
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,64 @@ | ||
# Prev Next | ||
|
||
Component for rendering `PrevNext` navigation links. | ||
|
||
## Design Tokens | ||
|
||
```ts [tokens.config.ts] | ||
import { defineTheme } from 'pinceau' | ||
|
||
export default defineTheme({ | ||
docus: { | ||
docs: { | ||
prevNext: { | ||
gap: '{space.8}', | ||
padding: '{space.6}', | ||
backgroundColor: { | ||
initial: '{color.gray.50}', | ||
dark: '{color.gray.900}' | ||
}, | ||
borderRadius: '{radii.2xs}', | ||
borderWidth: '1px', | ||
borderStyle: 'solid', | ||
borderColor: { | ||
initial: '{color.gray.200}', | ||
dark: '{color.gray.800}' | ||
}, | ||
boxShadow: { | ||
static: { | ||
initial: 'none', | ||
dark: 'inset 0.25px 0.5px 0px hsla(0,0%,100%,.1), inset -0.25px 0px 0px hsla(0,0%,100%,.1), {shadow.xs}' | ||
}, | ||
hover: { | ||
initial: 'none', | ||
dark: 'inset 0.25px 0.5px 0px hsla(0,0%,100%,.1), inset -0.25px 0px 0px hsla(0,0%,100%,.1), {shadow.lg}' | ||
} | ||
}, | ||
title: { | ||
color: { | ||
hover: '{color.primary.500}' | ||
}, | ||
fontWeight: '{fontWeight.medium}', | ||
marginBottom: '{space.2}' | ||
}, | ||
directory: { | ||
marginBottom: '{space.3}', | ||
fontSize: '{text.xs.fontSize}', | ||
lineHeight: '{text.xs.lineHeight}', | ||
fontWeight: '{fontWeight.medium}', | ||
color: '{color.gray.500}' | ||
}, | ||
icon: { | ||
size: '{space.8}', | ||
marginBottom: '{space.4}' | ||
}, | ||
description: { | ||
fontSize: '{text.sm.fontSize}', | ||
lineHeight: '{text.sm.lineHeight}', | ||
color: '{color.gray.500}' | ||
} | ||
} | ||
}, | ||
} | ||
}) | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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