@unabridged/midwest 0.23.4 → 0.24.0

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.
@@ -14,4 +14,54 @@
14
14
  p {
15
15
  @apply text-gray-10 dark:text-gray-2;
16
16
  }
17
+
18
+ /*
19
+ * Bare-element palette — light/dark defaults for common HTML elements that
20
+ * no component owns. Every selector is scoped with :not([class]) so a Midwest
21
+ * component (which always carries a class) is never affected; this only
22
+ * reaches raw markup, e.g. content inside a prose region.
23
+ */
24
+
25
+ /* Text selection highlight */
26
+ ::selection {
27
+ @apply bg-theme-2 text-theme-12;
28
+ }
29
+
30
+ .dark ::selection {
31
+ @apply bg-theme-8 text-theme-0;
32
+ }
33
+
34
+ /* Horizontal rule / divider */
35
+ hr:not([class]) {
36
+ @apply border-0 border-t border-gray-2 dark:border-gray-9;
37
+ }
38
+
39
+ /* Bare links */
40
+ a:not([class]) {
41
+ @apply text-theme-7 dark:text-theme-4 underline underline-offset-2;
42
+
43
+ &:hover { @apply text-theme-8 dark:text-theme-3; }
44
+ }
45
+
46
+ /* Inline code and keyboard keys */
47
+ code:not([class]),
48
+ kbd:not([class]) {
49
+ @apply rounded px-1 py-0.5 text-[0.9em] bg-gray-1 text-gray-11 dark:bg-gray-10 dark:text-gray-2;
50
+ }
51
+
52
+ /* Blockquote */
53
+ blockquote:not([class]) {
54
+ @apply border-l-4 border-gray-2 dark:border-gray-9 pl-4 text-gray-9 dark:text-gray-3;
55
+ }
56
+
57
+ /* Bare tables */
58
+ table:not([class]) {
59
+ :is(th, td) {
60
+ @apply border-b border-gray-2 dark:border-gray-9;
61
+ }
62
+
63
+ thead th {
64
+ @apply text-gray-11 dark:text-gray-1;
65
+ }
66
+ }
17
67
  }