@formatica/vue 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/style.css +2 -33
  2. package/package.json +1 -1
package/dist/style.css CHANGED
@@ -572,36 +572,5 @@
572
572
  background-color: color-mix(in srgb, var(--_primary) 20%, #1f2937) !important;
573
573
  }
574
574
 
575
- /* ═══════════════════════════════════════════════════════════════════
576
- 16. DARK MODE — media query variant (prefers-color-scheme)
577
- For projects that use `darkMode: 'media'` in Tailwind config.
578
- ═══════════════════════════════════════════════════════════════════ */
579
-
580
- @media (prefers-color-scheme: dark) {
581
- .fc-form-builder:not(.light)
582
- input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]),
583
- .fc-form-builder:not(.light) textarea,
584
- .fc-form-builder:not(.light) select {
585
- background-color: #1f2937;
586
- color: #ffffff;
587
- border-color: #4b5563;
588
- }
589
-
590
- .fc-form-builder:not(.light)
591
- input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"])::placeholder,
592
- .fc-form-builder:not(.light) textarea::placeholder {
593
- color: #6b7280;
594
- }
595
-
596
- .fc-form-builder:not(.light) [role="combobox"] {
597
- background-color: #1f2937;
598
- color: #ffffff;
599
- border-color: #4b5563;
600
- }
601
-
602
- .fc-form-builder:not(.light) button[type="reset"] {
603
- background-color: #1f2937;
604
- color: #d1d5db;
605
- border-color: #4b5563;
606
- }
607
- }
575
+ /* Dark mode uses `.dark` class strategy only (Tailwind darkMode: 'class').
576
+ No @media (prefers-color-scheme) — the page controls dark mode, not the OS. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatica/vue",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Schema-driven, fully-typed form builder for Vue 3",
5
5
  "type": "module",
6
6
  "main": "./dist/formatica.umd.cjs",