File tree Expand file tree Collapse file tree 5 files changed +4
-41
lines changed
Expand file tree Collapse file tree 5 files changed +4
-41
lines changed Original file line number Diff line number Diff line change 7878 trunk serve --port 3000
7979 ```
8080
81- 1 . Uncomment this line:
82- https://github.com/opensass/sidebar/blob/7b63aedd42f9e317d9c3a8c41c2512bf74b9b4ea/examples/yew/index.html#L5
83-
8481Navigate to http://localhost:3000 to explore all available components.
Original file line number Diff line number Diff line change 1- [[hooks ]]
2- stage = " post_build"
3- command = " sh"
4- command_arguments = [" -c" , " npx tailwindcss@v3 -i ./css/tailwind.css -o ./dist/.stage/index.css" ]
1+ [tools ]
2+ tailwindcss = " 3.4.17"
Original file line number Diff line number Diff line change 22< html >
33 < head >
44 < meta charset ="utf-8 " />
5- <!-- < link data-trunk rel="css" href="./dist/index .css" type="text/css" /> -- >
5+ < link data-trunk rel ="tailwind- css " href ="src/tailwind .css "/ >
66 < title > Sidebar Yew Example</ title >
77 < link data-trunk rel ="copy-dir " href ="assets " />
88 < link data-trunk rel ="rust "/>
File renamed without changes.
Original file line number Diff line number Diff line change @@ -4,39 +4,7 @@ module.exports = {
44 "./index.html" ,
55 "./src/**/*.{rs,html}"
66 ] ,
7- theme : {
8- extend : {
9- colors : {
10- 'ct-dark-600' : '#222' ,
11- 'ct-dark-200' : '#e5e7eb' ,
12- 'ct-dark-100' : '#f5f6f7' ,
13- 'ct-blue-600' : '#2363eb' ,
14- 'ct-yellow-600' : '#f9d13e' ,
15- 'ct-red-500' : '#ef4444' ,
16- } ,
17- fontFamily : {
18- sans : [ 'Roboto' , 'sans-serif' ] ,
19- serif : [ 'Roboto' , 'serif' ] ,
20- } ,
21- container : {
22- center : true ,
23- padding : '1rem' ,
24- screens : {
25- sm : '480px' ,
26- md : '768px' ,
27- lg : '976px' ,
28- xl : '1440px' ,
29- } ,
30- spacing : {
31- '128' : '32rem' ,
32- '144' : '36rem' ,
33- } ,
34- borderRadius : {
35- '4xl' : '2rem' ,
36- }
37- } ,
38- } ,
39- } ,
7+ theme : { } ,
408 plugins : [ ] ,
419}
4210
You can’t perform that action at this time.
0 commit comments