From b4627af369d621e840e22866e0101fc69b07f5ed Mon Sep 17 00:00:00 2001 From: Runnas <84087888+therunnas@users.noreply.github.com> Date: Fri, 1 Aug 2025 10:02:59 -0300 Subject: [PATCH 1/7] Adiciona demo.html e suporte a prefers-reduced-motion no global.scss --- demo.html | 40 ++++++++++++++++++++++++++++++++++++++ src/components/global.scss | 10 ++++++++++ 2 files changed, 50 insertions(+) create mode 100644 demo.html diff --git a/demo.html b/demo.html new file mode 100644 index 0000000..71b56c3 --- /dev/null +++ b/demo.html @@ -0,0 +1,40 @@ + + + + + + Reseter.css Demo + + + + +

Reseter.css Demo

+ +
+

Listas

+ +
  1. Item A
  2. Item B
+
+ +
+

Formulário

+
+

+

+ +
+
+ +
+

Botões e Tipografia

+ +

Texto comum

+ Texto em negrito + Texto em itálico +
+ + diff --git a/src/components/global.scss b/src/components/global.scss index 3291d54..2b5da0d 100644 --- a/src/components/global.scss +++ b/src/components/global.scss @@ -24,3 +24,13 @@ :where(p + p) { margin-top: 1rem; } +// Acessibilidade: reduz animações para usuários que preferem menos movimento +@media (prefers-reduced-motion: reduce) { + *, *::before, *::after { + animation-duration: 0.001ms !important; + animation-iteration-count: 1 !important; + transition-duration: 0.001ms !important; + scroll-behavior: auto !important; + } +} + From 82334e65a72845b3dff36b1f6593139cab823587 Mon Sep 17 00:00:00 2001 From: Runnas <84087888+therunnas@users.noreply.github.com> Date: Wed, 13 Aug 2025 15:02:38 -0300 Subject: [PATCH 2/7] Create launch.json --- .vscode/launch.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..2ba986f --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "chrome", + "request": "launch", + "name": "Launch Chrome against localhost", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + } + ] +} \ No newline at end of file From 6e91d58525cf1ed00cc76efdda28f6365de6be18 Mon Sep 17 00:00:00 2001 From: Runnas Date: Sat, 16 Aug 2025 22:29:20 -0300 Subject: [PATCH 3/7] docs(demo): use Gardevoir CDN; fix button type | style: comment in English | chore: remove VSCode launch --- ...\200\272 remove VSCode launch\357\200\242" | 44 +++++++++++++++++++ .vscode/launch.json | 15 ------- demo.html | 6 +-- src/components/global.scss | 2 +- 4 files changed, 48 insertions(+), 19 deletions(-) create mode 100644 "(demo)\357\200\272 use Gardevoir CDN; fix button type \357\201\274 style\357\200\272 comment in English \357\201\274 chore\357\200\272 remove VSCode launch\357\200\242" delete mode 100644 .vscode/launch.json diff --git "a/(demo)\357\200\272 use Gardevoir CDN; fix button type \357\201\274 style\357\200\272 comment in English \357\201\274 chore\357\200\272 remove VSCode launch\357\200\242" "b/(demo)\357\200\272 use Gardevoir CDN; fix button type \357\201\274 style\357\200\272 comment in English \357\201\274 chore\357\200\272 remove VSCode launch\357\200\242" new file mode 100644 index 0000000..234ff3b --- /dev/null +++ "b/(demo)\357\200\272 use Gardevoir CDN; fix button type \357\201\274 style\357\200\272 comment in English \357\201\274 chore\357\200\272 remove VSCode launch\357\200\242" @@ -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 +diff --git a/demo.html b/demo.html +index 71b56c3..a3b977d 100644 +--- a/demo.html ++++ b/demo.html +@@ -4,7 +4,7 @@ +  +  + Reseter.css Demo +-  ++  +