Commit 0afec90
Fix code block copy button (#1385)
* Fix code block copy button
* Add custom code style for RefCard
* Change code blocks with theme
* Unify syntax highlighting color; update light mode
* feature/code-block-language-header (#1389)
* feature/code-block-language-header
* Include none language
* Debug none language
* Hide language when none
* Use right padding
* Add header to Autofunctio code
* feature/code-block-description (#1390)
* feature/code-block-description
* Filename color
* Replace language with filename; optionally both
* Revert content changes
* Revert more content changes
* feature/try-it-code-block-button (#1391)
* feature/code-block-description
* Filename color
* Replace language with filename; optionally both
* Revert content changes
* Revert more content changes
* feature/try-it-code-block-button
* Use named target
* Design edits
* Fix gray code header in dark mode
* Remove filename
* Design tweaks
* Update Autofunction code block to match
* Fix the font-family used in inline code.
* Update styling for code blocks.
* Unrelated but make radius of Kapa dialog nicer.
* Unrelated but fix arrows and padding in component slider.
* Refactor <Code> and add nicer timeout for copy button
* Add example of code block without header.
* Fix hydration errors.
* Rename Bash->Terminal in code blocks.
* Fix rebase errors and improve design of `try it` button
* Fix bug where copy button wasn't showing. This will lead to hydration errors, though
* Add comment.
* Fix ref cards
* Add hideHeader boolean flag
---------
Co-authored-by: Thiago Teixeira <thiago.teixeira@snowflake.com>1 parent 0afbb2a commit 0afec90
File tree
19 files changed
+803
-452
lines changed- components
- blocks
- utilities
- content
- develop/concepts/configuration
- get-started/fundamentals
- pages
- styles
19 files changed
+803
-452
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
87 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
88 | 94 | | |
89 | 95 | | |
90 | 96 | | |
91 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
92 | 107 | | |
93 | | - | |
| 108 | + | |
94 | 109 | | |
95 | 110 | | |
96 | 111 | | |
97 | 112 | | |
| 113 | + | |
| 114 | + | |
98 | 115 | | |
99 | 116 | | |
100 | 117 | | |
| |||
536 | 553 | | |
537 | 554 | | |
538 | 555 | | |
539 | | - | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
540 | 562 | | |
541 | 563 | | |
542 | 564 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
58 | | - | |
| 62 | + | |
59 | 63 | | |
60 | 64 | | |
61 | | - | |
62 | | - | |
63 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
64 | 71 | | |
65 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
66 | 79 | | |
67 | | - | |
| 80 | + | |
68 | 81 | | |
69 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
70 | 90 | | |
71 | 91 | | |
72 | 92 | | |
73 | 93 | | |
| 94 | + | |
74 | 95 | | |
75 | 96 | | |
76 | 97 | | |
77 | 98 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
85 | 105 | | |
86 | 106 | | |
87 | | - | |
88 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
89 | 110 | | |
90 | 111 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
122 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | | - | |
126 | | - | |
127 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
128 | 138 | | |
129 | | - | |
130 | | - | |
131 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
132 | 144 | | |
133 | | - | |
134 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
135 | 148 | | |
136 | 149 | | |
137 | | - | |
138 | | - | |
| 150 | + | |
| 151 | + | |
139 | 152 | | |
140 | 153 | | |
141 | | - | |
142 | | - | |
143 | | - | |
| 154 | + | |
144 | 155 | | |
145 | 156 | | |
146 | 157 | | |
| |||
0 commit comments