|
1 | 1 | / https://github.com/tailwindlabs/tailwindcss/pull/17051#issuecomment-2711181352
|
2 |
| - ^^^^^^^^^^^^^^^^^^^^^^^ |
3 | 2 | - star_styles = "size-[800px] mask mask-star bg-gradient-to-r from-secondary via-cyan-400 to-lime-400"
|
4 |
| - ^^^^^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ |
| 3 | + ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ |
5 | 4 | - crazy_text_styles = "italic font-black bg-gradient-to-r via-60% to-90% from-orange-500 via-secondary to-primary text-transparent bg-clip-text inline-block py-2"
|
6 | 5 | ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^
|
7 | 6 |
|
|
67 | 66 | = succeed ',' do
|
68 | 67 | ^^^^^^^ ^^
|
69 | 68 | = daisy_link("ViewComponent", "https://viewcomponent.org", target: "_blank")
|
70 |
| - ^^^^^^^^^^ ^^^ ^^^^^^ |
| 69 | + ^^^ ^^^^^^ |
71 | 70 | = succeed ', and' do
|
72 | 71 | ^^^^^^^ ^^^ ^^
|
73 | 72 | = daisy_link "DaisyUI", "https://daisyui.com/", target: "_blank"
|
|
80 | 79 | ^^^ ^^^^^^^ ^^ ^^
|
81 | 80 |
|
82 | 81 | = doc_example(css: "mt-8 lg:mt-0 lg:basis-3/5 h-44") do
|
83 |
| - ^^^^^^^^^^^ ^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^ |
| 82 | + ^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^ |
84 | 83 | .flex.flex-col.sm:flex-row.items-center.gap-4
|
85 | 84 | ^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^
|
86 | 85 | = daisy_button "Accent Button", css: "btn-accent"
|
87 | 86 | ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^
|
88 | 87 | = daisy_tip("Click to Swap") do
|
89 |
| - ^^^^^^^^^ ^^ ^^ |
| 88 | + ^^ ^^ |
90 | 89 | = daisy_swap off: "🌚", on: "🌞", css: "swap-rotate text-4xl"
|
91 | 90 | ^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^ ^^^^^^^^
|
92 | 91 | = daisy_badge "Large Badge", css: "badge-secondary badge-lg"
|
|
105 | 104 | ^^^^
|
106 | 105 | Utlize
|
107 | 106 | = daisy_link("HAML", "https://haml.info/", target: "_blank")
|
108 |
| - ^^^^^^^^^^ ^^^^^^ |
| 107 | + ^^^^^^ |
109 | 108 | so your views are simple, concise, and easy to understand.
|
110 | 109 | ^^ ^^^^ ^^^^^ ^^^ ^^^ ^^^^ ^^ ^^^^^^^^^^
|
111 | 110 |
|
|
131 | 130 | .flex.flex-col.xl:flex.xl:flex-row.w-full
|
132 | 131 | ^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^
|
133 | 132 | = doc_code(css: "grow", code_css: "xl:pl-2 xl:pr-0 xl:rounded-r-none", language: "erb") do
|
134 |
| - ^^^^^^^^ ^^^ ^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^ |
| 133 | + ^^^ ^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^ |
135 | 134 | :escaped
|
136 | 135 | <% # Ruby %>
|
137 | 136 |
|
|
151 | 150 | ^^^
|
152 | 151 |
|
153 | 152 | = doc_code(css: "grow mt-8 xl:mt-0", pre_css: "xl:h-full", code_css: "xl:pl-0 xl:pr-2 xl:h-full xl:rounded-l-none") do
|
154 |
| - ^^^^^^^^ ^^^ ^^^^ ^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^ |
| 153 | + ^^^ ^^^^ ^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^ |
155 | 154 | :escaped
|
156 | 155 | - # HAML
|
157 | 156 |
|
158 | 157 | - 5.times do |i|
|
159 | 158 | ^^^^^ ^^
|
160 | 159 | - if i.even?
|
161 |
| - ^^ ^ |
| 160 | + ^^ |
162 | 161 | %p.odd Number \#{i}
|
163 | 162 | ^^^ ^
|
164 | 163 | - else
|
|
182 | 181 | ^^^^ ^^^^^^^ ^^^^^^^^^^^^
|
183 | 182 | %div
|
184 | 183 | = doc_code(language: "ruby") do
|
185 |
| - ^^^^^^^^ ^^^^^^^^ ^^^^ ^^ |
| 184 | + ^^^^^^^^ ^^^^ ^^ |
186 | 185 | :escaped
|
187 | 186 | # app/components/application_component.rb
|
188 | 187 | ^^
|
|
194 | 193 | ^^^
|
195 | 194 |
|
196 | 195 | = doc_code(language: "haml", css: "mt-8") do
|
197 |
| - ^^^^^^^^ ^^^^^^^^ ^^^^ ^^^ ^^^^ ^^ |
| 196 | + ^^^^^^^^ ^^^^ ^^^ ^^^^ ^^ |
198 | 197 | :escaped
|
199 | 198 | - # app/components/character_component.html.haml
|
200 |
| - ^^^^ ^^^^ |
| 199 | + ^^^^ |
201 | 200 | = part(:component) do
|
202 |
| - ^^^^ ^^ |
| 201 | + ^^ |
203 | 202 | = part(:head)
|
204 |
| - ^^^^ |
205 | 203 | = part(:body) do
|
206 |
| - ^^^^ ^^ |
| 204 | + ^^ |
207 | 205 | = content
|
208 | 206 | ^^^^^^^
|
209 | 207 | = part(:legs)
|
210 |
| - ^^^^ |
211 | 208 |
|
212 | 209 | %div.mt-8.xl:mt-0
|
213 | 210 | ^^^^ ^^^^^^^
|
214 | 211 | = doc_code(language: "ruby") do
|
215 |
| - ^^^^^^^^ ^^^^^^^^ ^^^^ ^^ |
| 212 | + ^^^^^^^^ ^^^^ ^^ |
216 | 213 | :escaped
|
217 | 214 | # app/components/character_component.rb
|
218 | 215 | ^^
|
|
0 commit comments