-
-
Notifications
You must be signed in to change notification settings - Fork 93
docs(demo): add demo.html page in English (no global.scss changes) #358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
b4627af
82334e6
6e91d58
b98f4c6
36e9581
9fbf0f4
657e07d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,44 @@ | ||||||||
| warning: in the working copy of 'demo.html', LF will be replaced by CRLF the next time Git touches it | ||||||||
| warning: in the working copy of 'src/components/global.scss', LF will be replaced by CRLF the next time Git touches it | ||||||||
| [1mdiff --git a/demo.html b/demo.html[m | ||||||||
| [1mindex 71b56c3..a3b977d 100644[m | ||||||||
| [1m--- a/demo.html[m | ||||||||
| [1m+++ b/demo.html[m | ||||||||
| [36m@@ -4,7 +4,7 @@[m | ||||||||
| <meta charset="UTF-8" />[m | ||||||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" />[m | ||||||||
| <title>Reseter.css Demo</title>[m | ||||||||
| [31m- <link rel="stylesheet" href="reseter.css" />[m | ||||||||
| [32m+[m[32m <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gardevoir" />[m | ||||||||
| <style>[m | ||||||||
| body { padding: 2rem; font-family: sans-serif; }[m | ||||||||
| section { margin-bottom: 2rem; }[m | ||||||||
| [36m@@ -25,13 +25,13 @@[m | ||||||||
| <form>[m | ||||||||
| <label>Nome: <input type="text" /></label><br><br>[m | ||||||||
| <label>Email: <input type="email" /></label><br><br>[m | ||||||||
| [31m- <button>Enviar</button>[m | ||||||||
| [32m+[m[32m <button type="button">Enviar</button>[m | ||||||||
| </form>[m | ||||||||
| </section>[m | ||||||||
| [m | ||||||||
| <section>[m | ||||||||
| <h2>Botões e Tipografia</h2>[m | ||||||||
| [31m- <button>Clique Aqui</button>[m | ||||||||
| [32m+[m[32m <button type="button">Clique Aqui</button>[m | ||||||||
| <p>Texto comum</p>[m | ||||||||
| <strong>Texto em negrito</strong>[m | ||||||||
| <em>Texto em itálico</em>[m | ||||||||
| [1mdiff --git a/src/components/global.scss b/src/components/global.scss[m | ||||||||
| [1mindex 2b5da0d..95df3f5 100644[m | ||||||||
| [1m--- a/src/components/global.scss[m | ||||||||
| [1m+++ b/src/components/global.scss[m | ||||||||
| [36m@@ -24,7 +24,7 @@[m | ||||||||
| :where(p + p) {[m | ||||||||
| margin-top: 1rem;[m | ||||||||
| }[m | ||||||||
| [31m-// Acessibilidade: reduz animações para usuários que preferem menos movimento[m | ||||||||
| [32m+[m[32m// Accessibility: reduce motion for users who prefer less movement[m | ||||||||
|
Comment on lines
+40
to
+41
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Out of scope: revert global.scss change. PR description promises “No changes to global.scss”. Please drop this hunk or move it to a separate PR. -// Accessibility: reduce motion for users who prefer less movement
+// Acessibilidade: reduz animações para usuários que preferem menos movimento📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||
| @media (prefers-reduced-motion: reduce) {[m | ||||||||
| *, *::before, *::after {[m | ||||||||
| animation-duration: 0.001ms !important;[m | ||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,40 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <!DOCTYPE html> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <html lang="en"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <head> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <meta charset="UTF-8" /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <title>Reseter.css Demo</title> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reseter.css/reseter.min.css" /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <style> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| body { padding: 2rem; font-family: sans-serif; } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| section { margin-bottom: 2rem; } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| h2 { border-bottom: 1px solid #ccc; padding-bottom: 0.3rem; } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </style> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </head> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <body> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <h1>Reseter.css Demo</h1> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <section> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <h2>Listas</h2> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <ul><li>Item 1</li><li>Item 2</li></ul> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <ol><li>Item A</li><li>Item B</li></ol> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </section> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <section> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <h2>Formulário</h2> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <form> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <label>Nome: <input type="text" /></label><br><br> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <label>Email: <input type="email" /></label><br><br> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <button type="button">Enviar</button> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </form> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </section> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <section> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <h2>Botões e Tipografia</h2> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <button type="button">Clique Aqui</button> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <p>Texto comum</p> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <strong>Texto em negrito</strong> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <em>Texto em itálico</em> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </section> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+18
to
+38
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Translate all user‑visible strings to English (PR claims “entirely in English”). Several headings and labels remain in Portuguese. Please update to English for consistency. - <h2>Listas</h2>
+ <h2>Lists</h2>
@@
- <h2>Formulário</h2>
+ <h2>Form</h2>
@@
- <label>Nome: <input type="text" /></label><br><br>
+ <label>Name: <input type="text" /></label><br><br>
@@
- <button type="button">Enviar</button>
+ <button type="button">Submit</button>
@@
- <h2>Botões e Tipografia</h2>
+ <h2>Buttons and Typography</h2>
@@
- <button type="button">Clique Aqui</button>
+ <button type="button">Click Here</button>
@@
- <p>Texto comum</p>
- <strong>Texto em negrito</strong>
- <em>Texto em itálico</em>
+ <p>Body text</p>
+ <strong>Bold text</strong>
+ <em>Italic text</em>📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </body> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </html> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not switch to Gardevoir; keep Reseter.css for this repo’s demo.
This change replaces Reseter.css with Gardevoir in the root demo.html, which conflicts with the project scope and the new docs page using Reseter.css. Revert to Reseter.css (preferably pinned + SRI).
📝 Committable suggestion
🤖 Prompt for AI Agents