Commit 2fecd59
authored
feat(docs): fix theme flicker (#4271)
* feat(desgn-tokens): build a data-theme css file
* feat(css-theme): add the index file for theme
* feat(css-theme): add the index file for theme
* feat(css-theme): added tests and working
* chore(ci): changeset
* feat(docs): added prop to theme provider table
* chore(ci): lint fix
* chore(ci): lint fix
* feat(docs): implement fix with CSS variables
* fix(docs): build1 parent b5e73f1 commit 2fecd59
File tree
8 files changed
+51
-12
lines changed- packages/paste-website
- src
- components
- color-swatch
- shortcodes/live-preview
- context
- hooks
- pages
8 files changed
+51
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
| 15 | + | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
| 19 | + | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | | - | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
114 | | - | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
36 | 52 | | |
37 | 53 | | |
38 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16312 | 16312 | | |
16313 | 16313 | | |
16314 | 16314 | | |
| 16315 | + | |
16315 | 16316 | | |
16316 | 16317 | | |
16317 | 16318 | | |
| |||
22379 | 22380 | | |
22380 | 22381 | | |
22381 | 22382 | | |
22382 | | - | |
| 22383 | + | |
22383 | 22384 | | |
22384 | 22385 | | |
22385 | 22386 | | |
| |||
35778 | 35779 | | |
35779 | 35780 | | |
35780 | 35781 | | |
| 35782 | + | |
| 35783 | + | |
| 35784 | + | |
| 35785 | + | |
| 35786 | + | |
| 35787 | + | |
| 35788 | + | |
| 35789 | + | |
| 35790 | + | |
| 35791 | + | |
35781 | 35792 | | |
35782 | 35793 | | |
35783 | 35794 | | |
| |||
41682 | 41693 | | |
41683 | 41694 | | |
41684 | 41695 | | |
| 41696 | + | |
| 41697 | + | |
| 41698 | + | |
| 41699 | + | |
| 41700 | + | |
| 41701 | + | |
| 41702 | + | |
41685 | 41703 | | |
41686 | 41704 | | |
41687 | 41705 | | |
| |||
0 commit comments