File tree 7 files changed +14104
-13294
lines changed
7 files changed +14104
-13294
lines changed Original file line number Diff line number Diff line change 17
17
},
18
18
"scripts" : {
19
19
"start" : " vitepress dev" ,
20
- "build" : " run-s clean generate:components build:doc copy:angular copy:vue" ,
20
+ "build" : " run-s clean generate:components build:doc copy:angular copy:vue copy:react " ,
21
21
"preview" : " vitepress preview" ,
22
22
"build:doc" : " vitepress build" ,
23
23
"copy:angular" : " cpy '../examples/angular/dist/demo-app-angular/**/*' ./.vitepress/dist/demo/angular/" ,
24
24
"copy:vue" : " cpy '../examples/vue/dist/**/*' ./.vitepress/dist/demo/vue/" ,
25
+ "copy:react" : " cpy '../examples/react/dist/**/*' ./.vitepress/dist/demo/react/" ,
25
26
"generate:components" : " node scripts/components.mjs" ,
26
27
"clean" : " rimraf examples components .vitepress/dist"
27
28
},
Original file line number Diff line number Diff line change
1
+ @import '@six-group/ui-library/dist/ui-library/ui-library.css' ;
2
+
1
3
: root {
2
4
--background : # ffffff ;
3
5
--foreground : # 171717 ;
@@ -19,11 +21,26 @@ body {
19
21
body {
20
22
color : var (--foreground );
21
23
background : var (--background );
22
- font-family : Arial, Helvetica, sans-serif;
23
24
-webkit-font-smoothing : antialiased;
24
25
-moz-osx-font-smoothing : grayscale;
25
26
}
26
27
28
+ input ,
29
+ button ,
30
+ textarea ,
31
+ select {
32
+ font-family : inherit;
33
+ font-feature-settings : inherit;
34
+ font-variation-settings : inherit;
35
+ font-size : 100% ;
36
+ font-weight : inherit;
37
+ line-height : inherit;
38
+ letter-spacing : inherit;
39
+ color : inherit;
40
+ margin : 0 ;
41
+ padding : 0 ;
42
+ }
43
+
27
44
* {
28
45
box-sizing : border-box;
29
46
padding : 0 ;
Original file line number Diff line number Diff line change 1
1
import type { Metadata } from 'next' ;
2
- import { Geist , Geist_Mono } from 'next/font/google' ;
3
2
import './globals.css' ;
4
- import '@six-group/ui-library/dist/ui-library/ui-library.css' ;
5
-
6
- const geistSans = Geist ( {
7
- variable : '--font-geist-sans' ,
8
- subsets : [ 'latin' ] ,
9
- } ) ;
10
-
11
- const geistMono = Geist_Mono ( {
12
- variable : '--font-geist-mono' ,
13
- subsets : [ 'latin' ] ,
14
- } ) ;
15
3
16
4
export const metadata : Metadata = {
17
5
title : 'Create Next App' ,
@@ -25,7 +13,7 @@ export default function RootLayout({
25
13
} > ) {
26
14
return (
27
15
< html lang = "en" >
28
- < body className = { ` ${ geistSans . variable } ${ geistMono . variable } ` } > { children } </ body >
16
+ < body > { children } </ body >
29
17
</ html >
30
18
) ;
31
19
}
Original file line number Diff line number Diff line change 13
13
min-height : 100svh ;
14
14
padding : 80px ;
15
15
gap : 64px ;
16
- font-family : var ( --font-geist-sans ) ;
16
+ font-family : inherit ;
17
17
}
18
18
19
19
@media (prefers-color-scheme : dark) {
35
35
}
36
36
37
37
.main ol {
38
- font-family : var ( --font-geist-mono ) ;
38
+ font-family : inherit ;
39
39
padding-left : 0 ;
40
40
margin : 0 ;
41
41
font-size : 14px ;
@@ -125,8 +125,7 @@ a.secondary {
125
125
126
126
@media (max-width : 600px ) {
127
127
.page {
128
- padding : 32px ;
129
- padding-bottom : 80px ;
128
+ padding : 32px 32px 80px ;
130
129
}
131
130
132
131
.main {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react" ,
3
- "version" : " 0.1 .0" ,
3
+ "version" : " 0.0 .0" ,
4
4
"private" : true ,
5
5
"scripts" : {
6
6
"dev" : " next dev" ,
Original file line number Diff line number Diff line change 52
52
"@stencil/react-output-target" : " ^0.8.2" ,
53
53
"@stencil/vue-output-target" : " 0.x" ,
54
54
"@stencil/sass" : " ^3.0.7" ,
55
- "@typescript-eslint/eslint-plugin" : " ^6.15 .0" ,
56
- "@typescript-eslint/parser" : " ^6.15 .0" ,
55
+ "@typescript-eslint/eslint-plugin" : " ^7.0 .0" ,
56
+ "@typescript-eslint/parser" : " ^7.0 .0" ,
57
57
"replace-in-file" : " ^6.3.5" ,
58
58
"rimraf" : " ^3.0.2"
59
59
},
You can’t perform that action at this time.
0 commit comments