Skip to content

Commit 45358fc

Browse files
committed
Add doc comment links to each individual variant
1 parent d7e925a commit 45358fc

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

packages/css/src/types.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,7 @@ export interface Theme {
645645
*
646646
* @see https://theme-ui.com/theme-spec
647647
* @see https://theme-ui.com/components/variants
648+
* @see https://theme-ui.com/components/grid#variants
648649
*/
649650
grids?: Record<string, ThemeUIStyleObject>
650651

@@ -656,6 +657,7 @@ export interface Theme {
656657
*
657658
* @see https://theme-ui.com/theme-spec
658659
* @see https://theme-ui.com/components/variants
660+
* @see https://theme-ui.com/components/button#variants
659661
*/
660662
buttons?: Record<string, ThemeUIStyleObject>
661663

@@ -667,6 +669,7 @@ export interface Theme {
667669
*
668670
* @see https://theme-ui.com/theme-spec
669671
* @see https://theme-ui.com/components/variants
672+
* @see https://theme-ui.com/components/text#variants
670673
*/
671674
text?: Record<string, ThemeUIStyleObject>
672675

@@ -678,6 +681,7 @@ export interface Theme {
678681
*
679682
* @see https://theme-ui.com/theme-spec
680683
* @see https://theme-ui.com/components/variants
684+
* @see https://theme-ui.com/components/link#variants
681685
*/
682686
links?: Record<string, ThemeUIStyleObject>
683687

@@ -689,6 +693,7 @@ export interface Theme {
689693
*
690694
* @see https://theme-ui.com/theme-spec
691695
* @see https://theme-ui.com/components/variants
696+
* @see https://theme-ui.com/components/image#variants
692697
*/
693698
images?: Record<string, ThemeUIStyleObject>
694699

@@ -700,6 +705,7 @@ export interface Theme {
700705
*
701706
* @see https://theme-ui.com/theme-spec
702707
* @see https://theme-ui.com/components/variants
708+
* @see https://theme-ui.com/components/card#variants
703709
*/
704710
cards?: Record<string, ThemeUIStyleObject>
705711

@@ -711,6 +717,7 @@ export interface Theme {
711717
*
712718
* @see https://theme-ui.com/theme-spec
713719
* @see https://theme-ui.com/components/variants
720+
* @see https://theme-ui.com/components/container#variants
714721
*/
715722
layout?: Record<string, ThemeUIStyleObject>
716723

@@ -722,6 +729,14 @@ export interface Theme {
722729
*
723730
* @see https://theme-ui.com/theme-spec
724731
* @see https://theme-ui.com/components/variants
732+
* @see https://theme-ui.com/components/label#variants
733+
* @see https://theme-ui.com/components/input#variants
734+
* @see https://theme-ui.com/components/select#variants
735+
* @see https://theme-ui.com/components/textarea#variants
736+
* @see https://theme-ui.com/components/radio#variants
737+
* @see https://theme-ui.com/components/checkbox#variants
738+
* @see https://theme-ui.com/components/slider#variants
739+
* @see https://theme-ui.com/components/field#variants
725740
*/
726741
forms?: Record<string, ThemeUIStyleObject>
727742

@@ -733,6 +748,7 @@ export interface Theme {
733748
*
734749
* @see https://theme-ui.com/theme-spec
735750
* @see https://theme-ui.com/components/variants
751+
* @see https://theme-ui.com/components/badge#variants
736752
*/
737753
badges?: Record<string, ThemeUIStyleObject>
738754

@@ -744,6 +760,7 @@ export interface Theme {
744760
*
745761
* @see https://theme-ui.com/theme-spec
746762
* @see https://theme-ui.com/components/variants
763+
* @see https://theme-ui.com/components/alert#variants
747764
*/
748765
alerts?: Record<string, ThemeUIStyleObject>
749766

@@ -755,6 +772,7 @@ export interface Theme {
755772
*
756773
* @see https://theme-ui.com/theme-spec
757774
* @see https://theme-ui.com/components/variants
775+
* @see https://theme-ui.com/components/message#variants
758776
*/
759777
messages?: Record<string, ThemeUIStyleObject>
760778
}

0 commit comments

Comments
 (0)