@whatsaaaa/design-system 0.5.0 → 0.6.1
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/README.md +18 -18
- package/dist/css/base.css +21 -1
- package/dist/css/callout.css +10 -0
- package/dist/css/code.css +24 -0
- package/dist/css/ghost.css +24 -0
- package/dist/css/icons.css +12 -0
- package/dist/css/pairs.css +26 -0
- package/dist/css/prose.css +20 -1
- package/dist/css/segmented.css +20 -0
- package/dist/css/terminal.css +158 -9
- package/dist/css/theme.css +20 -0
- package/dist/index.css +304 -11
- package/dist/shortcuts/index.d.ts +11 -9
- package/dist/shortcuts/index.js +12 -10
- package/dist/shortcuts/init.js +2 -2
- package/dist/tailwind/theme.css +206 -0
- package/dist/tailwind/variants.css +43 -0
- package/dist/tailwind.css +42 -0
- package/dist/vitepress-config/index.js +2 -1
- package/docs/usage.md +102 -7
- package/package.json +10 -1
- package/src/vitepress/styles/nav.css +13 -6
|
@@ -84,18 +84,25 @@
|
|
|
84
84
|
line-height: inherit;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
/*
|
|
88
|
+
* the number names the key that goes to the tab, so it is drawn only while the keys are on.
|
|
89
|
+
* While the head script waits for the shortcuts module it keeps its place unseen.
|
|
90
|
+
*/
|
|
91
|
+
:is([data-ws-keys='on'], [data-ws-keys='pending']) .VPNav .VPNavBarMenu .VPNavBarMenuLink::before,
|
|
92
|
+
:is([data-ws-keys='on'], [data-ws-keys='pending'])
|
|
93
|
+
.VPNav
|
|
94
|
+
.VPNavBarMenu
|
|
95
|
+
.VPNavBarMenuGroup
|
|
96
|
+
.button::before {
|
|
89
97
|
color: var(--ws-color-text-faint);
|
|
90
98
|
font-weight: var(--ws-font-weight-bold);
|
|
91
99
|
content: counter(ws-tab);
|
|
92
100
|
content: counter(ws-tab) / '';
|
|
93
101
|
}
|
|
94
102
|
|
|
95
|
-
|
|
96
|
-
[data-ws-keys='
|
|
97
|
-
|
|
98
|
-
content: none;
|
|
103
|
+
[data-ws-keys='pending'] .VPNav .VPNavBarMenu .VPNavBarMenuLink::before,
|
|
104
|
+
[data-ws-keys='pending'] .VPNav .VPNavBarMenu .VPNavBarMenuGroup .button::before {
|
|
105
|
+
visibility: hidden;
|
|
99
106
|
}
|
|
100
107
|
|
|
101
108
|
.VPNav .VPNavBarMenu .VPNavBarMenuLink:hover,
|