@codelitdev/design-system 0.1.0-alpha.1 → 0.1.0-alpha.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codelitdev/design-system",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.2",
|
|
4
4
|
"description": "Shared CodeLit design tokens, Tailwind preset, and React primitives for CourseLit, MediaLit, SendLit, and FrontLit.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "CodeLit",
|
|
@@ -29,7 +29,12 @@ body {
|
|
|
29
29
|
-webkit-font-smoothing: antialiased;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
a
|
|
33
|
-
a
|
|
32
|
+
/* No global `a` styling — this stylesheet is imported by full apps where bare
|
|
33
|
+
<a>/<Link> are routinely used for navigation and clickable cards, and a
|
|
34
|
+
blanket hover-underline breaks that UX. Opt in explicitly with .cl-link for
|
|
35
|
+
inline text links (prose, footnotes, etc.); interactive apps should use the
|
|
36
|
+
Button `link` variant / registry Button instead. */
|
|
37
|
+
.cl-link { color: var(--primary); text-decoration: none; }
|
|
38
|
+
.cl-link:hover { color: var(--primary-hover); text-decoration: underline; }
|
|
34
39
|
|
|
35
40
|
code, kbd, pre { font: var(--text-code); }
|