@beehexa/design-rules 2611.3.3 → 2611.5.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/README.md +1 -1
- package/dist/AGENTS.md +1 -7
- package/dist/catalog.json +703 -321
- package/dist/docs/public/_redirects +2 -0
- package/dist/docs/scripts/color-pairs.mjs +5 -1
- package/dist/docs/scripts/token-utils.d.mts +5 -1
- package/dist/docs/scripts/token-utils.mjs +44 -4
- package/dist/docs/src/brand/structure-proposal.md +1 -1
- package/dist/docs/src/components/ColorDemo.astro +56 -18
- package/dist/docs/src/components/ElevationDemo.astro +196 -0
- package/dist/docs/src/components/LayoutDemo.astro +1 -1
- package/dist/docs/src/components/MotionDemo.astro +135 -0
- package/dist/docs/src/components/NativeControlsDemo.astro +279 -0
- package/dist/docs/src/components/OpacityDemo.astro +95 -0
- package/dist/docs/src/components/RoleGuides.astro +2 -2
- package/dist/docs/src/components/ShapeDemo.astro +88 -44
- package/dist/docs/src/components/ShapePin.astro +5 -3
- package/dist/docs/src/components/SiteHeader.astro +19 -4
- package/dist/docs/src/components/SystemAreas.astro +1 -1
- package/dist/docs/src/components/TokenTable.astro +16 -1
- package/dist/docs/src/components/TypeDemo.astro +15 -15
- package/dist/docs/src/components/ZIndexDemo.astro +102 -0
- package/dist/docs/src/components/logos/LogoInUse.astro +3 -3
- package/dist/docs/src/content/components/button/accessibility.mdx +41 -8
- package/dist/docs/src/content/components/button/code.mdx +8 -1
- package/dist/docs/src/content/components/button/examples.mdx +23 -4
- package/dist/docs/src/content/components/button/usage.mdx +26 -0
- package/dist/docs/src/content/components/resizable-panel/accessibility.mdx +61 -0
- package/dist/docs/src/content/components/resizable-panel/changelog.mdx +20 -0
- package/dist/docs/src/content/components/resizable-panel/code.mdx +79 -0
- package/dist/docs/src/content/components/resizable-panel/examples.mdx +85 -0
- package/dist/docs/src/content/components/resizable-panel/meta.json +5 -0
- package/dist/docs/src/content/components/resizable-panel/usage.mdx +101 -0
- package/dist/docs/src/content/foundations/guidelines/accessibility/keyboard-and-focus.mdx +75 -0
- package/dist/docs/src/content/foundations/guidelines/accessibility/statement.mdx +45 -0
- package/dist/docs/src/content/foundations/guidelines/accessibility/testing.mdx +58 -0
- package/dist/docs/src/content/foundations/guidelines/accessibility.mdx +100 -11
- package/dist/docs/src/content/foundations/guidelines/content.mdx +11 -2
- package/dist/docs/src/content/foundations/index.mdx +3 -3
- package/dist/docs/src/content/foundations/styles/border.mdx +13 -6
- package/dist/docs/src/content/foundations/styles/color/accessibility.mdx +4 -2
- package/dist/docs/src/content/foundations/styles/color/dark-mode.mdx +2 -2
- package/dist/docs/src/content/foundations/styles/color/index.mdx +14 -2
- package/dist/docs/src/content/foundations/styles/color/palette.mdx +4 -4
- package/dist/docs/src/content/foundations/styles/color/tokens.mdx +2 -2
- package/dist/docs/src/content/foundations/styles/color/usage.mdx +34 -5
- package/dist/docs/src/content/foundations/styles/data-visualization.mdx +150 -6
- package/dist/docs/src/content/foundations/styles/elevation.mdx +72 -3
- package/dist/docs/src/content/foundations/styles/icons/accessibility.mdx +1 -1
- package/dist/docs/src/content/foundations/styles/icons/code.mdx +6 -18
- package/dist/docs/src/content/foundations/styles/icons/index.mdx +2 -2
- package/dist/docs/src/content/foundations/styles/icons/usage.mdx +13 -8
- package/dist/docs/src/content/foundations/styles/interaction-states.mdx +82 -9
- package/dist/docs/src/content/foundations/styles/layout/app-frame.mdx +12 -4
- package/dist/docs/src/content/foundations/styles/layout/breakpoints.mdx +10 -7
- package/dist/docs/src/content/foundations/styles/layout/grid.mdx +4 -2
- package/dist/docs/src/content/foundations/styles/layout/index.mdx +3 -3
- package/dist/docs/src/content/foundations/styles/layout/overlays.mdx +28 -37
- package/dist/docs/src/content/foundations/styles/layout/page-widths.mdx +4 -4
- package/dist/docs/src/content/foundations/styles/logos/downloads-and-terms.mdx +7 -7
- package/dist/docs/src/content/foundations/styles/logos/index.mdx +13 -2
- package/dist/docs/src/content/foundations/styles/logos/placement-and-containers.mdx +4 -2
- package/dist/docs/src/content/foundations/styles/logos/product-logos.mdx +2 -2
- package/dist/docs/src/content/foundations/styles/logos/using-the-logo.mdx +3 -1
- package/dist/docs/src/content/foundations/styles/motion.mdx +131 -3
- package/dist/docs/src/content/foundations/styles/opacity.mdx +49 -5
- package/dist/docs/src/content/foundations/styles/radius.mdx +63 -15
- package/dist/docs/src/content/foundations/styles/scrollbars.mdx +176 -0
- package/dist/docs/src/content/foundations/styles/size-and-density.mdx +23 -6
- package/dist/docs/src/content/foundations/styles/spacing.mdx +17 -3
- package/dist/docs/src/content/foundations/styles/typography/code.mdx +5 -3
- package/dist/docs/src/content/foundations/styles/typography/index.mdx +13 -3
- package/dist/docs/src/content/foundations/styles/typography/usage.mdx +5 -3
- package/dist/docs/src/content/foundations/styles/typography/vietnamese.mdx +2 -2
- package/dist/docs/src/content/foundations/styles/z-index.mdx +67 -5
- package/dist/docs/src/content/foundations/tokens/all-tokens.mdx +11 -0
- package/dist/docs/src/content/foundations/tokens/index.mdx +17 -9
- package/dist/docs/src/content/get-started/design.mdx +1 -1
- package/dist/docs/src/content/get-started/develop.mdx +2 -6
- package/dist/docs/src/content/get-started/index.mdx +1 -1
- package/dist/docs/src/content/release-phases/index.mdx +1 -1
- package/dist/docs/src/content/tools/ant-design-vue-theme.mdx +571 -19
- package/dist/docs/src/content/tools/application-content.mdx +176 -0
- package/dist/docs/src/content/tools/editors.mdx +271 -0
- package/dist/docs/src/content/tools/eslint.mdx +1 -1
- package/dist/docs/src/content/tools/index.mdx +2 -2
- package/dist/docs/src/content/tools/mermaid.mdx +190 -0
- package/dist/docs/src/content/tools/vueflow.mdx +179 -0
- package/dist/docs/src/content-vi/foundations/guidelines/accessibility/keyboard-and-focus.mdx +75 -0
- package/dist/docs/src/content-vi/foundations/guidelines/accessibility/statement.mdx +45 -0
- package/dist/docs/src/content-vi/foundations/guidelines/accessibility/testing.mdx +58 -0
- package/dist/docs/src/content-vi/foundations/guidelines/accessibility.mdx +108 -0
- package/dist/docs/src/content-vi/foundations/guidelines/content.mdx +34 -0
- package/dist/docs/src/content-vi/foundations/index.mdx +9 -0
- package/dist/docs/src/content-vi/foundations/styles/border.mdx +12 -6
- package/dist/docs/src/content-vi/foundations/styles/color/accessibility.mdx +4 -2
- package/dist/docs/src/content-vi/foundations/styles/color/dark-mode.mdx +2 -2
- package/dist/docs/src/content-vi/foundations/styles/color/index.mdx +14 -2
- package/dist/docs/src/content-vi/foundations/styles/color/palette.mdx +5 -5
- package/dist/docs/src/content-vi/foundations/styles/color/tokens.mdx +2 -2
- package/dist/docs/src/content-vi/foundations/styles/color/usage.mdx +34 -5
- package/dist/docs/src/content-vi/foundations/styles/data-visualization.mdx +75 -6
- package/dist/docs/src/content-vi/foundations/styles/elevation.mdx +81 -0
- package/dist/docs/src/content-vi/foundations/styles/icons/accessibility.mdx +1 -1
- package/dist/docs/src/content-vi/foundations/styles/icons/code.mdx +6 -18
- package/dist/docs/src/content-vi/foundations/styles/icons/index.mdx +2 -2
- package/dist/docs/src/content-vi/foundations/styles/icons/usage.mdx +13 -8
- package/dist/docs/src/content-vi/foundations/styles/interaction-states.mdx +22 -8
- package/dist/docs/src/content-vi/foundations/styles/layout/app-frame.mdx +13 -1
- package/dist/docs/src/content-vi/foundations/styles/layout/breakpoints.mdx +10 -7
- package/dist/docs/src/content-vi/foundations/styles/layout/grid.mdx +4 -2
- package/dist/docs/src/content-vi/foundations/styles/layout/index.mdx +3 -3
- package/dist/docs/src/content-vi/foundations/styles/layout/overlays.mdx +36 -0
- package/dist/docs/src/content-vi/foundations/styles/layout/page-widths.mdx +5 -1
- package/dist/docs/src/content-vi/foundations/styles/logos/downloads-and-terms.mdx +7 -7
- package/dist/docs/src/content-vi/foundations/styles/logos/index.mdx +13 -2
- package/dist/docs/src/content-vi/foundations/styles/logos/placement-and-containers.mdx +4 -2
- package/dist/docs/src/content-vi/foundations/styles/logos/product-logos.mdx +2 -2
- package/dist/docs/src/content-vi/foundations/styles/logos/using-the-logo.mdx +3 -1
- package/dist/docs/src/content-vi/foundations/styles/motion.mdx +139 -0
- package/dist/docs/src/content-vi/foundations/styles/opacity.mdx +49 -5
- package/dist/docs/src/content-vi/foundations/styles/radius.mdx +63 -15
- package/dist/docs/src/content-vi/foundations/styles/size-and-density.mdx +23 -6
- package/dist/docs/src/content-vi/foundations/styles/spacing.mdx +17 -3
- package/dist/docs/src/content-vi/foundations/styles/typography/code.mdx +5 -3
- package/dist/docs/src/content-vi/foundations/styles/typography/index.mdx +14 -4
- package/dist/docs/src/content-vi/foundations/styles/typography/usage.mdx +4 -2
- package/dist/docs/src/content-vi/foundations/styles/typography/vietnamese.mdx +2 -2
- package/dist/docs/src/content-vi/foundations/styles/z-index.mdx +67 -5
- package/dist/docs/src/content-vi/foundations/tokens/all-tokens.mdx +47 -0
- package/dist/docs/src/content-vi/foundations/tokens/index.mdx +35 -0
- package/dist/docs/src/lib/i18n.ts +0 -1
- package/dist/docs/src/lib/token-descriptions-vi.ts +81 -14
- package/dist/docs/src/lib/tokens.ts +3 -0
- package/dist/docs/src/styles/chrome.css +21 -14
- package/dist/docs/src/styles/color.css +50 -53
- package/dist/docs/src/styles/docs.css +37 -55
- package/dist/docs/src/styles/elevation.css +83 -0
- package/dist/docs/src/styles/global.css +21 -10
- package/dist/docs/src/styles/icons.css +20 -23
- package/dist/docs/src/styles/kit.css +116 -0
- package/dist/docs/src/styles/layout.css +8 -13
- package/dist/docs/src/styles/motion.css +34 -0
- package/dist/docs/src/styles/opacity.css +43 -0
- package/dist/docs/src/styles/scrollbars.css +74 -0
- package/dist/docs/src/styles/shapes.css +35 -29
- package/dist/docs/src/styles/tokens.css +1663 -4
- package/dist/docs/src/styles/tokens.js +538 -4
- package/dist/docs/src/styles/typography.css +8 -11
- package/dist/docs/src/styles/zindex.css +59 -0
- package/dist/docs/tokens/border.json +1 -1
- package/dist/docs/tokens/color.json +75 -4
- package/dist/docs/tokens/content.json +24 -0
- package/dist/docs/tokens/diagram.json +54 -0
- package/dist/docs/tokens/editor.json +129 -0
- package/dist/docs/tokens/elevation.json +15 -5
- package/dist/docs/tokens/flow.json +497 -0
- package/dist/docs/tokens/layout.json +4 -0
- package/dist/docs/tokens/motion.json +37 -5
- package/dist/docs/tokens/opacity.json +9 -0
- package/dist/docs/tokens/radius.json +52 -8
- package/dist/docs/tokens/resize.json +79 -0
- package/dist/docs/tokens/scrollbar.json +40 -0
- package/dist/docs/tokens/size.json +7 -1
- package/dist/docs/tokens/spacing.json +35 -5
- package/dist/docs/tokens/switch.json +280 -0
- package/dist/docs/tokens/typography.json +5 -0
- package/dist/docs/tokens/visualization.json +123 -0
- package/dist/docs/tokens/z-index.json +49 -0
- package/dist/index.js +703 -321
- package/package.json +1 -1
|
@@ -9,32 +9,99 @@ export const tokenDescriptionsVi: Record<string, string> = {
|
|
|
9
9
|
'size.control.default': '32 px. Chiều cao của nút, ô nhập, select, segmented control và tab ở mọi chỗ còn lại: form, header, thanh công cụ. Padding ngang space.150.',
|
|
10
10
|
'size.control.large': '40 px. Chiều cao control ở trang đăng nhập và onboarding. Có thể dùng cho thao tác chính trên màn hình cảm ứng.',
|
|
11
11
|
'size.target.minimum': '24 px. Vùng nhỏ nhất phản hồi khi bấm hoặc chạm (WCAG 2.2 SC 2.5.8). Mọi control và nút icon đều có cỡ ít nhất bằng mức này.',
|
|
12
|
-
'size.target.touch': '44 px. Vùng phản hồi khi chạm trên màn hình cảm ứng. Mở rộng vùng bấm quanh control nhỏ hơn; chiều cao
|
|
12
|
+
'size.target.touch': '44 px. Vùng phản hồi khi chạm trên màn hình cảm ứng. Mở rộng vùng bấm quanh control nhỏ hơn và giữ nguyên cỡ nhìn thấy; dòng trong danh sách và menu thì tăng chiều cao lên mức này.',
|
|
13
13
|
'space.0': '0. Các phần tử dính liền, như các nút trong một segmented group.',
|
|
14
14
|
'space.025': '2 px. Badge trên icon, chấm trạng thái cạnh chữ. Không dùng giữa các control hay làm padding.',
|
|
15
|
-
'space.050': '4 px. Giữa icon và chữ 14 px; giữa tiêu đề và mô t
|
|
15
|
+
'space.050': '4 px. Giữa icon và chữ 14 px; giữa tiêu đề và mô tả; trên và dưới chữ của tooltip và của ô bảng gọn.',
|
|
16
16
|
'space.075': '6 px. Chỉ dùng bên trong component: trên và dưới nhãn của control 32 px, và hai bên tooltip. Không dùng cho bố cục, khoảng cách giữa các phần hay padding của card.',
|
|
17
|
-
'space.100': '8 px. Giữa icon và chữ 16 px; giữa các nút; giữa nhãn và ô nhập; padding ngang của control 24 px.',
|
|
18
|
-
'space.150': '12 px. Padding ngang của control 32 px, như ô nhập và nút.',
|
|
17
|
+
'space.100': '8 px. Giữa icon và chữ 16 px; giữa các nút; giữa nhãn và ô nhập; padding ngang của control 24 px; trên và dưới chữ trong ô bảng.',
|
|
18
|
+
'space.150': '12 px. Padding ngang của control 32 px, như ô nhập và nút, và của ô bảng.',
|
|
19
19
|
'space.200': '16 px. Giữa các phần tử liên quan: ô nhập, mục danh sách, card. Lề trang và gutter lưới dưới 768 px.',
|
|
20
20
|
'space.250': '20 px. Giữa tiêu đề phần và nội dung của nó. Mép của logo và icon menu bên.',
|
|
21
|
-
'space.300': '24 px. Bên trong card, panel và dialog. Lề trang và gutter lưới từ 768 px.',
|
|
21
|
+
'space.300': '24 px. Bên trong card, panel và dialog. Giữa các tab. Lề trang và gutter lưới từ 768 px.',
|
|
22
22
|
'space.400': '32 px. Giữa các nhóm, như các phần của form. Lề trang từ 1440 px.',
|
|
23
23
|
'space.500': '40 px. Quanh trạng thái trống.',
|
|
24
24
|
'space.600': '48 px. Giữa các phần của trang.',
|
|
25
25
|
'space.800': '64 px. Giữa các phần lớn của một trang dài. Độ rộng menu bên khi thu gọn.',
|
|
26
26
|
'space.1000': '80 px. Phía trên và dưới trang đăng nhập và onboarding. Hiếm khi dùng.',
|
|
27
|
-
'radius.0': '0.
|
|
28
|
-
'radius.025': '2 px.
|
|
29
|
-
'radius.050': '4 px.
|
|
30
|
-
'radius.075': '6 px.
|
|
31
|
-
'radius.100': '8 px.
|
|
32
|
-
'radius.150': '12 px.
|
|
33
|
-
'radius.200': '16 px.
|
|
34
|
-
'radius.full': 'Viên thuốc và hình tròn. Avatar, switch và chip
|
|
27
|
+
'radius.0': '0. Cạnh chạm mép màn hình: header của trang, bảng tràn hết chiều ngang và panel chạy sát mép.',
|
|
28
|
+
'radius.025': '2 px. Chi tiết nhỏ: badge, checkbox và phím tắt; nội dung không có vai trò khi quy tắc lồng nhau cho ra 2 px.',
|
|
29
|
+
'radius.050': '4 px. Button, ô nhập, vùng nhập nhiều dòng, select, khung và mục menu, tag, nhãn trạng thái, ngày và giờ; phần lồng khi quy tắc bo góc cho ra 4 px.',
|
|
30
|
+
'radius.075': '6 px. Mục điều hướng bên cạnh và nội dung không có vai trò khi quy tắc lồng nhau cho ra 6 px. Button, ô nhập và select thông thường dùng radius.control (4 px).',
|
|
31
|
+
'radius.100': '8 px. Card, alert và banner, khung trong trang, popover, tooltip, bề mặt popup select, toast và nhóm control có padding 4 px. Khung menu giữ 4 px.',
|
|
32
|
+
'radius.150': '12 px. Dialog, drawer, khung chứa cả trang, bảng có khung riêng và nhóm control có padding 8 px.',
|
|
33
|
+
'radius.200': '16 px. Chưa có vai trò component; giữ lại trong thang số.',
|
|
34
|
+
'radius.full': 'Viên thuốc và hình tròn. Avatar và UI về người dùng, switch và chip.',
|
|
35
|
+
'elevation.shadow.raised': 'Card, kể cả card chỉ để xem nội dung, và card đang được kéo thả. Ở dark mode bóng đậm hơn.',
|
|
36
|
+
'elevation.shadow.overlay': 'Dropdown, menu, popover, danh sách xổ xuống của select và toast. Dùng kèm nền color.surface.overlay.',
|
|
37
|
+
'elevation.shadow.modal': 'Dialog, drawer và sheet toàn màn hình nằm trên lớp phủ mờ. Dùng kèm nền color.surface.overlay.',
|
|
38
|
+
'color.surface.overlay': 'Nền của menu, popover, danh sách xổ xuống, toast, dialog và drawer. Ở dark mode sáng hơn nền card (color.surface) một bậc, để người dùng thấy chúng nằm trên card.',
|
|
39
|
+
'color.surface.overlay.hover': 'Mục trong menu hoặc danh sách khi rê chuột qua.',
|
|
40
|
+
'color.surface.overlay.pressed': 'Mục trong menu hoặc danh sách khi đang nhấn.',
|
|
41
|
+
'color.surface.overlay.selected': 'Mục đang được chọn trong menu hoặc danh sách. Luôn kèm thêm một dấu hiệu khác như dấu check hoặc chữ đậm.',
|
|
42
|
+
'color.surface.overlay.selected.hover': 'Mục đang được chọn khi rê chuột qua. Ở dark mode giữ graphite 5 (bằng màu đang chọn), vì graphite 6 làm chữ phụ và viền không đủ tương phản; dấu check cho biết mục đang được chọn.',
|
|
43
|
+
'z-index.sticky': 'Header của bảng và thanh công cụ dính lại khi cuộn trang.',
|
|
44
|
+
'z-index.navigation': 'Header của app và menu bên trái.',
|
|
45
|
+
'z-index.overlay': 'Dropdown, menu, popover và danh sách xổ xuống của select.',
|
|
46
|
+
'z-index.modal': 'Dialog, drawer và lớp phủ mờ phía sau chúng.',
|
|
47
|
+
'z-index.spotlight': 'Tour hướng dẫn và vùng làm nổi bật khi onboarding, nằm trên dialog.',
|
|
48
|
+
'z-index.tooltip': 'Tooltip, nằm trên mọi thành phần người dùng thao tác được.',
|
|
49
|
+
'z-index.toast': 'Toast và skip link: luôn nằm trên cùng.',
|
|
50
|
+
'opacity.disabled': 'Ảnh, logo, avatar và hình minh hoạ nằm trong thứ đang bị tắt. Không dùng cho button, ô nhập, chữ hay icon: chúng dùng token màu disabled.',
|
|
35
51
|
'border.width.default': '1 px. Ô nhập, button phụ, card, bảng và đường phân cách.',
|
|
36
52
|
'border.width.selected': '2 px. Thanh dưới tab đang chọn hoặc cạnh mục side nav đang chọn, và viền card đang chọn. Đi cùng color.border.selected.',
|
|
37
53
|
'border.width.focused': '2 px. Focus ring. Đi cùng color.border.focus và state.focus.offset.',
|
|
38
|
-
'border.width.accent': '4 px. Thanh trạng thái hoặc nhấn mạnh ở một cạnh:
|
|
54
|
+
'border.width.accent': '4 px. Thanh trạng thái hoặc nhấn mạnh ở một cạnh: dòng bị lỗi, callout và trích dẫn. Đi cùng màu viền trạng thái hoặc màu brand.',
|
|
39
55
|
'state.focus.offset': '2 px. Khoảng giữa control và focus ring. Ring vẽ ra ngoài; trong khung cắt mất ring (mục menu, ô bảng, tab trong vùng cuộn) thì dùng giá trị âm.',
|
|
56
|
+
'motion.duration.instant': '0 ms. Đổi ngay lập tức. Khi người dùng bật giảm chuyển động, mọi thời lượng đều thành giá trị này.',
|
|
57
|
+
'motion.duration.fast': '100 ms. Hover, nhấn, đổi màu; đóng tooltip, menu, toast; thả vật đang kéo.',
|
|
58
|
+
'motion.duration.default': '200 ms. Mở tooltip, menu, popover, toast; thanh chỉ báo tab, núm switch, accordion, thanh điều hướng bên; đóng dialog và drawer.',
|
|
59
|
+
'motion.duration.slow': '300 ms. Mở dialog và drawer; đóng sheet toàn màn hình.',
|
|
60
|
+
'motion.duration.slower': '400 ms. Mở sheet toàn màn hình và các bề mặt lớn khác.',
|
|
61
|
+
'motion.duration.slowest': '600 ms. Khoảnh khắc nhấn mạnh hiếm gặp, người dùng chỉ thấy một lần, như hoàn tất onboarding. Không dùng cho control hằng ngày.',
|
|
62
|
+
'motion.easing.standard': 'Tăng tốc rồi giảm tốc. Thứ di chuyển ngay trong màn hình, và thay đổi do hệ thống tự chạy.',
|
|
63
|
+
'motion.easing.enter': 'Nhanh lúc đầu rồi chậm dần đến khi dừng. Thứ đi vào màn hình: menu, dialog, drawer, toast.',
|
|
64
|
+
'motion.easing.exit': 'Chậm lúc đầu rồi tăng tốc. Thứ rời khỏi màn hình. Dùng thời lượng ngắn hơn lúc vào một bậc.',
|
|
65
|
+
'motion.easing.linear': 'Tốc độ đều. Mờ dần, đổi màu, thanh tiến trình và spinner.',
|
|
66
|
+
'motion.easing.emphasized': 'Đi gần hết quãng đường ngay, rồi chậm rãi vào chỗ. Chỉ cho khoảnh khắc nhấn mạnh hiếm gặp, đi cùng motion.duration.slowest.',
|
|
67
|
+
// Tầng 2: token theo nhóm (family). Trỏ về thang ở tầng 1.
|
|
68
|
+
'space.control.x': 'Lề ngang của control 32 px: nút, ô nhập, select.',
|
|
69
|
+
'space.control.x.small': 'Lề ngang của control 24 px.',
|
|
70
|
+
'space.control.x.large': 'Lề ngang của control 40 px ở trang đăng nhập và onboarding.',
|
|
71
|
+
'space.control.gap': 'Giữa icon và chữ trong một control.',
|
|
72
|
+
'space.item.x': 'Lề ngang của item trong menu, danh sách và thanh điều hướng bên.',
|
|
73
|
+
'space.overlay': 'Bên trong menu, select và popover, quanh các item. Popup select và popover 8 px có góc lồng 4 px với padding 4 px; khung và mục menu đều giữ vai trò 4 px.',
|
|
74
|
+
'space.overlay.offset': 'Giữa menu, popover hoặc tooltip và phần tử đã mở nó.',
|
|
75
|
+
'space.card': 'Bên trong card và panel.',
|
|
76
|
+
'space.modal': 'Bên trong dialog và drawer.',
|
|
77
|
+
'space.modal.gap': 'Giữa tiêu đề, nội dung và nút của dialog hoặc drawer.',
|
|
78
|
+
'space.table.cell.x': 'Lề ngang của ô bảng.',
|
|
79
|
+
'space.table.cell.y': 'Lề trên và dưới của ô bảng.',
|
|
80
|
+
'space.stack': 'Giữa các mục liên quan xếp theo cột: field trong form, item trong danh sách, card.',
|
|
81
|
+
'space.stack.group': 'Giữa các nhóm xếp theo cột, như các phần của một form.',
|
|
82
|
+
'radius.control': '4 px ở root gốc 16 px. Button, ô nhập, select và khung ghép của chúng. Mục điều hướng bên cạnh giữ radius.075 (6 px).',
|
|
83
|
+
'radius.control.small': '4 px. Control 24 px: button nhỏ và field đi kèm; cùng độ bo với control thông thường.',
|
|
84
|
+
'radius.item': '4 px. Mục trong menu và danh sách. Trong bề mặt nổi 8 px, space.overlay tạo góc lồng 4 px; khung menu 4 px vẫn giữ mục menu 4 px.',
|
|
85
|
+
'radius.card': 'Card, alert, banner và khung trong trang.',
|
|
86
|
+
'radius.overlay': '8 px. Bề mặt nổi: popover, tooltip, danh sách của select và toast. Khung menu dùng riêng radius.050 (4 px).',
|
|
87
|
+
'radius.modal': 'Dialog, drawer và khung chứa cả trang.',
|
|
88
|
+
'radius.pill': 'Avatar, switch và chip.',
|
|
89
|
+
'color.background.primary': 'Hành động chính: nút chính. Trỏ tới background.neutral.bold, nên muốn đổi màu chính chỉ cần sửa một chỗ ở đây.',
|
|
90
|
+
'color.background.primary.hover': 'Hành động chính khi hover.',
|
|
91
|
+
'color.background.primary.pressed': 'Hành động chính khi nhấn.',
|
|
92
|
+
'motion.keyframe.offset.enter': '8 px. Quãng menu, popover hoặc toast trượt khi đi vào.',
|
|
93
|
+
'motion.keyframe.offset.exit': '4 px. Quãng trượt khi rời đi.',
|
|
94
|
+
'motion.keyframe.scale': 'Tỉ lệ dialog phóng lên từ đó khi mở, và thu về khi đóng.',
|
|
95
|
+
'motion.keyframe.slide': 'Drawer, panel bên và sheet toàn màn hình trượt hết chiều rộng hoặc chiều cao của chính nó.',
|
|
96
|
+
'motion.control': 'Hover, nhấn và đổi màu của nút, ô nhập và các control khác.',
|
|
97
|
+
'motion.indicator': 'Thanh chỉ báo tab, núm switch và các chỉ báo trượt sang chỗ mới.',
|
|
98
|
+
'motion.expand': 'Accordion, cây thư mục và thanh điều hướng bên mở và đóng tại chỗ.',
|
|
99
|
+
'motion.overlay.enter': 'Tooltip, menu, select, popover và toast đi vào. Mờ dần và trượt motion.keyframe.offset.enter.',
|
|
100
|
+
'motion.overlay.exit': 'Tooltip, menu, select, popover và toast rời đi. Mờ dần và trượt motion.keyframe.offset.exit.',
|
|
101
|
+
'motion.modal.enter': 'Dialog, drawer và panel bên mở ra. Dialog phóng từ motion.keyframe.scale; drawer trượt motion.keyframe.slide.',
|
|
102
|
+
'motion.modal.exit': 'Dialog, drawer và panel bên đóng lại.',
|
|
103
|
+
'motion.sheet.enter': 'Sheet toàn màn hình và các bề mặt lớn khác đi vào.',
|
|
104
|
+
'motion.sheet.exit': 'Sheet toàn màn hình và các bề mặt lớn khác rời đi.',
|
|
105
|
+
'motion.drop': 'Vật đang kéo được thả vào chỗ, hoặc quay về khi hủy kéo.',
|
|
106
|
+
'motion.emphasized': 'Khoảnh khắc nhấn mạnh hiếm gặp mà người dùng chỉ thấy một lần, như hoàn tất onboarding.',
|
|
40
107
|
};
|
|
@@ -13,6 +13,8 @@ export interface Token {
|
|
|
13
13
|
vi?: string;
|
|
14
14
|
viResolved?: string;
|
|
15
15
|
description: string;
|
|
16
|
+
/** Tier 2 family (control, item, card, overlay, modal, stack, table.cell...), when the token belongs to one. */
|
|
17
|
+
family?: string;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
const files = import.meta.glob<Record<string, unknown>>('/tokens/*.json', { eager: true, import: 'default' });
|
|
@@ -44,6 +46,7 @@ export const tokens: Token[] = raw.map((token) => {
|
|
|
44
46
|
vi: token.vi,
|
|
45
47
|
viResolved: token.vi ? resolveValue(token.vi, byName) : undefined,
|
|
46
48
|
description: token.description,
|
|
49
|
+
family: token.family,
|
|
47
50
|
};
|
|
48
51
|
});
|
|
49
52
|
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
:root[data-theme="dark"] { background: var(--c-bg); }
|
|
38
38
|
body.docs { color: var(--c-ink); background: var(--c-bg); }
|
|
39
39
|
|
|
40
|
-
.site-header { position: sticky; z-index:
|
|
40
|
+
.site-header { position: sticky; z-index: var(--bh-z-index-navigation); top: 0; container-type: inline-size; box-sizing: content-box; height: var(--header-h); border-bottom: 1px solid var(--c-line); background: var(--c-bg); }
|
|
41
41
|
/* The logo sits 20 px from the window edge, in line with the side navigation icons and labels
|
|
42
42
|
(8 px inset + 12 px item padding); the tools end at the page margin. */
|
|
43
43
|
.header-inner { position: relative; display: flex; align-items: center; gap: var(--bh-space-150); height: 100%; padding: 0 var(--page-margin) 0 var(--bh-space-250); }
|
|
@@ -46,6 +46,13 @@ body.docs { color: var(--c-ink); background: var(--c-bg); }
|
|
|
46
46
|
icon with 2 px above and below (room for the "g"), centred in the 48 px header. */
|
|
47
47
|
.header-brand { display: flex; flex: none; text-decoration: none; }
|
|
48
48
|
.header-logo-img { display: block; width: auto; height: 28px; }
|
|
49
|
+
/* Below 360 px the header would scroll sideways at 320 px (WCAG 1.4.10 Reflow, which is also a
|
|
50
|
+
1280 px window at 400% zoom). The lockup shrinks to 24 px, still above its 100 px minimum width.
|
|
51
|
+
A logo size, not a control height, so it is not a size.control token. */
|
|
52
|
+
@media (max-width: 359.98px) {
|
|
53
|
+
.header-logo-img { max-height: 24px; }
|
|
54
|
+
.header-inner { padding-left: var(--bh-space-150); }
|
|
55
|
+
}
|
|
49
56
|
|
|
50
57
|
/* Theme: draw the light or the dark artwork. */
|
|
51
58
|
.logo-dark { display: none !important; }
|
|
@@ -59,39 +66,39 @@ body.docs { color: var(--c-ink); background: var(--c-bg); }
|
|
|
59
66
|
.header-nav a { position: relative; display: flex; align-items: center; color: var(--c-muted); text-decoration: none; white-space: nowrap; font: var(--bh-font-label-default); }
|
|
60
67
|
.header-nav a:hover { color: var(--c-ink); }
|
|
61
68
|
.header-nav a[aria-current='page'] { color: var(--c-ink); }
|
|
62
|
-
.header-nav a[aria-current='page']::after { content: ''; position: absolute; inset: auto 0 -1px; height:
|
|
69
|
+
.header-nav a[aria-current='page']::after { content: ''; position: absolute; inset: auto 0 -1px; height: var(--bh-border-width-selected); background: var(--c-gold); }
|
|
63
70
|
|
|
64
71
|
.header-tools { display: flex; align-items: center; gap: var(--bh-space-100); margin-left: auto; }
|
|
65
72
|
|
|
66
|
-
.icon-button {
|
|
73
|
+
.icon-button { list-style: none; }
|
|
67
74
|
.icon-button:hover { background: var(--c-hover); }
|
|
68
75
|
.icon-button::-webkit-details-marker { display: none; }
|
|
69
76
|
.theme-sun { display: none; }
|
|
70
77
|
:root[data-theme='dark'] .theme-sun { display: block; }
|
|
71
78
|
:root[data-theme='dark'] .theme-moon { display: none; }
|
|
72
79
|
|
|
73
|
-
.search { position: relative; display: none; align-items: center; width: 240px; height:
|
|
74
|
-
.search:focus-within { border-color: var(--
|
|
75
|
-
.search-icon { flex: none; margin-left: calc(var(--bh-space-150) -
|
|
80
|
+
.search { position: relative; display: none; align-items: center; width: 240px; height: var(--bh-size-control-default); border: var(--bh-border-width-default) solid var(--bh-color-border-bold); border-radius: var(--bh-radius-control); background: var(--bh-color-surface); }
|
|
81
|
+
.search:focus-within { border-color: var(--bh-color-border-focus); }
|
|
82
|
+
.search-icon { flex: none; margin-left: calc(var(--bh-space-150) - var(--bh-border-width-default)); color: var(--bh-color-icon-subtle); } /* 12 px from the outer edge, border included */
|
|
76
83
|
.search input { flex: 1; min-width: 0; height: 100%; padding: 0 var(--bh-space-100) 0 var(--bh-space-050); border: 0; outline: 0; color: var(--c-ink); background: transparent; font: var(--bh-font-body-default); }
|
|
77
|
-
.search input::placeholder { color: var(--
|
|
84
|
+
.search input::placeholder { color: var(--bh-color-text-subtlest); }
|
|
78
85
|
.search input::-webkit-search-cancel-button { display: none; }
|
|
79
|
-
.search-hint { margin-right: calc(var(--bh-space-100) -
|
|
86
|
+
.search-hint { margin-right: calc(var(--bh-space-100) - var(--bh-border-width-default)); padding: 0 var(--bh-space-050); border: 1px solid var(--c-line); border-radius: var(--bh-radius-025); color: var(--c-muted); background: var(--c-bg); white-space: nowrap; font: var(--bh-font-label-small); }
|
|
80
87
|
.search:focus-within .search-hint { display: none; }
|
|
81
|
-
.search-results { position: absolute; z-index:
|
|
88
|
+
.search-results { position: absolute; z-index: var(--bh-z-index-overlay); top: calc(100% + var(--bh-space-050)); right: 0; width: 360px; max-width: calc(100vw - 2 * var(--page-margin)); margin: 0; padding: var(--bh-space-050); border-radius: var(--bh-radius-100); background: var(--bh-color-surface-overlay); box-shadow: var(--c-shadow); list-style: none; }
|
|
82
89
|
.search-results a { display: grid; gap: var(--bh-space-050); padding: var(--bh-space-100) var(--bh-space-150); border-radius: var(--bh-radius-050); color: var(--c-ink); text-decoration: none; }
|
|
83
90
|
.search-results b { font: var(--bh-font-label-default); }
|
|
84
91
|
.search-results span { color: var(--c-muted); font: var(--bh-font-body-small); }
|
|
85
|
-
.search-results [aria-selected='true'] a, .search-results a:hover { background: var(--
|
|
92
|
+
.search-results [aria-selected='true'] a, .search-results a:hover { background: var(--bh-color-surface-overlay-hover); }
|
|
86
93
|
.search-empty { padding: var(--bh-space-100) var(--bh-space-150); color: var(--c-muted); font: var(--bh-font-body-default); }
|
|
87
94
|
.search-open { display: inline-grid; }
|
|
88
95
|
|
|
89
96
|
.header-menu { position: relative; display: block; }
|
|
90
|
-
.header-menu nav { position: absolute; top: calc(100% + var(--bh-space-050)); right: 0; display: grid; gap: var(--bh-space-050); width: 220px; padding: var(--bh-space-
|
|
97
|
+
.header-menu nav { position: absolute; top: calc(100% + var(--bh-space-050)); right: 0; display: grid; gap: var(--bh-space-050); width: 220px; padding: var(--bh-space-050); border-radius: var(--bh-radius-050); background: var(--bh-color-surface-overlay); box-shadow: var(--c-shadow); }
|
|
91
98
|
.header-menu nav a { display: flex; align-items: center; min-height: var(--bh-size-control-default); padding: 0 var(--bh-space-150); border-radius: var(--bh-radius-050); color: var(--c-ink); text-decoration: none; font: var(--bh-font-label-default); }
|
|
92
|
-
.header-menu nav a:hover { background: var(--
|
|
93
|
-
.header-menu nav a[aria-current='page'] { background:
|
|
94
|
-
.header-menu nav a[aria-current='page']:hover { background: var(--
|
|
99
|
+
.header-menu nav a:hover { background: var(--bh-color-surface-overlay-hover); }
|
|
100
|
+
.header-menu nav a[aria-current='page'] { background: var(--bh-color-surface-overlay-selected); box-shadow: inset var(--bh-border-width-selected) 0 0 var(--c-gold); }
|
|
101
|
+
.header-menu nav a[aria-current='page']:hover { background: var(--bh-color-surface-overlay-selected-hover); }
|
|
95
102
|
|
|
96
103
|
/* Footer: one 48 px line, on the same edges as the header. Muted until hover, so it never
|
|
97
104
|
competes with the page. */
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/* Brand */
|
|
7
7
|
.c-brand { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); }
|
|
8
|
-
.c-brand-card { display: grid; grid-template-rows: auto 1fr; margin: 0; border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
8
|
+
.c-brand-card { display: grid; grid-template-rows: auto 1fr; margin: 0; border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); overflow: hidden; }
|
|
9
9
|
.c-brand-chip { display: flex; align-items: flex-end; height: 120px; padding: var(--bh-space-200); font: var(--bh-font-heading-small); }
|
|
10
10
|
.c-brand-card.is-yellow .c-brand-chip { color: var(--bh-color-text-on-brand); }
|
|
11
11
|
.c-brand-card.is-graphite .c-brand-chip { color: var(--bh-color-brand-white); }
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
.prose .c-scale-table { width: 100%; min-width: 640px; table-layout: fixed; margin: 0; }
|
|
23
23
|
.prose .c-scale-table th, .prose .c-scale-table td { padding: var(--bh-space-050) var(--bh-space-025); border: 0; text-align: center; vertical-align: top; }
|
|
24
24
|
.prose .c-scale-table th[scope='row'] { width: 48px; text-align: left; }
|
|
25
|
-
.c-chip { display: block; height:
|
|
25
|
+
.c-chip { display: block; height: var(--bh-space-500); margin-bottom: var(--bh-space-050); border-radius: var(--bh-radius-050); box-shadow: inset 0 0 0 var(--bh-border-width-default) var(--bh-color-border); }
|
|
26
26
|
.c-scale-table .c-num { color: var(--c-muted); font: var(--bh-font-body-small); font-variant-numeric: tabular-nums; }
|
|
27
27
|
.prose .c-steps { display: flex; flex-wrap: wrap; gap: var(--bh-space-050) var(--bh-space-250); margin: 0; padding: 0; list-style: none; color: var(--c-muted); font: var(--bh-font-body-small); }
|
|
28
28
|
.prose .c-steps li { margin: 0; }
|
|
@@ -31,29 +31,33 @@
|
|
|
31
31
|
/* Role and status tables */
|
|
32
32
|
.c-cell { display: inline-flex; align-items: center; gap: var(--bh-space-100); white-space: nowrap; }
|
|
33
33
|
.c-cell > .c-num { align-self: baseline; font: var(--bh-font-code-default); }
|
|
34
|
-
.c-dot { flex: none; width: 16px; height: 16px; border-radius: var(--bh-radius-050); box-shadow: inset 0 0 0
|
|
34
|
+
.c-dot { flex: none; width: 16px; height: 16px; border-radius: var(--bh-radius-050); box-shadow: inset 0 0 0 var(--bh-border-width-default) var(--bh-color-border); }
|
|
35
35
|
.c-check { display: block; color: var(--c-muted); font: var(--bh-font-body-small); font-variant-numeric: tabular-nums; }
|
|
36
36
|
.c-from { color: var(--c-muted); font: var(--bh-font-body-small); }
|
|
37
37
|
.prose .c-status td.c-num { font: var(--bh-font-body-small); font-variant-numeric: tabular-nums; }
|
|
38
38
|
|
|
39
39
|
/* Actions */
|
|
40
40
|
.c-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); }
|
|
41
|
-
.c-action { margin: 0; border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
41
|
+
.c-action { margin: 0; border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); overflow: hidden; }
|
|
42
42
|
.c-action-stage { display: grid; place-items: center; height: 96px; background: var(--bh-color-surface-subtle); }
|
|
43
43
|
.c-action figcaption { display: grid; gap: var(--bh-space-050); padding: var(--bh-space-200); color: var(--c-muted); font: var(--bh-font-body-default); }
|
|
44
44
|
.c-action figcaption code { color: var(--c-ink); }
|
|
45
|
-
.c-button { display: inline-flex; align-items: center; height: 32px; padding: 0 var(--bh-space-150); border-radius: var(--bh-radius-100); font: var(--bh-font-label-default); }
|
|
46
|
-
.c-button.is-primary { color: var(--bh-color-text-inverse); background: var(--bh-color-background-neutral-bold); }
|
|
47
|
-
.c-button.is-danger { color: var(--bh-color-text-on-bold); background: var(--bh-color-background-danger-bold); }
|
|
48
45
|
@container prose (min-width: 640px) { .c-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
49
46
|
|
|
50
47
|
/* Labels */
|
|
51
48
|
.c-labels { display: grid; gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); }
|
|
52
|
-
.c-label-set { margin: 0; padding: var(--bh-space-250); border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
49
|
+
.c-label-set { margin: 0; padding: var(--bh-space-250); border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); }
|
|
53
50
|
.c-label-set figcaption { margin-bottom: var(--bh-space-150); color: var(--c-muted); font: var(--bh-font-body-default); }
|
|
54
51
|
.c-label-set figcaption b { color: var(--c-ink); }
|
|
55
52
|
.c-label-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bh-space-100); }
|
|
56
53
|
.c-label-row + .c-label-row { margin-top: var(--bh-space-150); }
|
|
54
|
+
/* Label, tag or chip: the three side by side, each in its own frame. */
|
|
55
|
+
.c-ltc { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); }
|
|
56
|
+
.c-ltc-note { margin: var(--bh-space-150) 0 0; color: var(--c-muted); font: var(--bh-font-body-small); }
|
|
57
|
+
.c-chip { display: inline-flex; align-items: center; gap: var(--bh-space-050); box-sizing: border-box; height: var(--bh-size-control-small); padding: 0 var(--bh-space-100); border: var(--bh-border-width-default) solid var(--bh-color-border-bold); border-radius: var(--bh-radius-full); color: var(--bh-color-text); background: var(--bh-color-surface); white-space: nowrap; font: var(--bh-font-label-small); }
|
|
58
|
+
.c-chip > svg { color: var(--bh-color-icon-subtle); }
|
|
59
|
+
.c-chip.is-on { border-color: var(--bh-color-border-selected); background: var(--bh-color-background-selected); }
|
|
60
|
+
.c-chip.is-on > svg { color: var(--bh-color-icon); }
|
|
57
61
|
|
|
58
62
|
/* Token reference */
|
|
59
63
|
.c-tokens > p { margin: 0 0 var(--bh-space-150); }
|
|
@@ -72,7 +76,7 @@
|
|
|
72
76
|
|
|
73
77
|
/* Do / Don't */
|
|
74
78
|
.c-dd { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); }
|
|
75
|
-
.c-dd-panel { margin: 0; border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
79
|
+
.c-dd-panel { margin: 0; border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); overflow: hidden; }
|
|
76
80
|
.c-dd-panel figcaption { padding: var(--bh-space-100) var(--bh-space-200); border-bottom: 2px solid; font: var(--bh-font-label-default); }
|
|
77
81
|
.c-dd-panel.is-do figcaption { border-color: var(--bh-color-border-success); color: var(--bh-color-text-success); }
|
|
78
82
|
.c-dd-panel.is-dont figcaption { border-color: var(--bh-color-border-danger); color: var(--bh-color-text-danger); }
|
|
@@ -80,18 +84,18 @@
|
|
|
80
84
|
.c-dd-panel p { margin: 0; padding: var(--bh-space-150) var(--bh-space-200); color: var(--c-muted); font: var(--bh-font-body-default); }
|
|
81
85
|
.c-dd-row { display: inline-flex; flex-wrap: wrap; gap: var(--bh-space-100); }
|
|
82
86
|
.c-dd-code { font: var(--bh-font-code-default); }
|
|
83
|
-
.c-dd-tabs { display: flex; gap: var(--bh-space-
|
|
87
|
+
.c-dd-tabs { display: flex; gap: var(--bh-space-300); border-bottom: var(--bh-border-width-default) solid var(--bh-color-border); }
|
|
84
88
|
.c-dd-tab { padding: var(--bh-space-100) 0; color: var(--bh-color-text-subtle); font: var(--bh-font-label-default); }
|
|
85
|
-
.c-dd-tab.is-current { color: var(--bh-color-text); box-shadow: inset 0 -
|
|
89
|
+
.c-dd-tab.is-current { color: var(--bh-color-text); box-shadow: inset 0 calc(-1 * var(--bh-border-width-selected)) 0 var(--bh-color-border-selected); }
|
|
86
90
|
/* The Don't examples show colours used wrongly on purpose, so they read the scale directly. */
|
|
87
91
|
.c-dd-yellow-text { color: var(--bh-color-brand-yellow); font: var(--bh-font-label-default); text-decoration: underline; }
|
|
88
|
-
.c-dd-yellow-button { display: inline-flex; align-items: center; padding: var(--bh-space-100) var(--bh-space-200); border-radius: var(--bh-radius-
|
|
92
|
+
.c-dd-yellow-button { display: inline-flex; align-items: center; padding: var(--bh-space-100) var(--bh-space-200); border-radius: var(--bh-radius-control); color: var(--bh-color-brand-white); background: var(--bh-color-brand-yellow); font: var(--bh-font-label-default); }
|
|
89
93
|
.c-dd-dot { width: 12px; height: 12px; border-radius: var(--bh-radius-full); background: var(--bh-color-red-9); }
|
|
90
94
|
@container prose (min-width: 640px) { .c-dd { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
91
95
|
|
|
92
96
|
/* Annotated example */
|
|
93
97
|
.c-ex { margin: 0 0 var(--bh-space-300); }
|
|
94
|
-
.c-ex-card { border: 1px solid var(--bh-color-border); border-radius: var(--bh-radius-
|
|
98
|
+
.c-ex-card { border: 1px solid var(--bh-color-border); border-radius: var(--bh-radius-100); background: var(--bh-color-surface); overflow: hidden; }
|
|
95
99
|
.c-ex-head { display: flex; align-items: center; justify-content: space-between; gap: var(--bh-space-150); padding: var(--bh-space-200); border-bottom: 1px solid var(--bh-color-border); }
|
|
96
100
|
.c-ex-title { color: var(--bh-color-text); font: var(--bh-font-heading-small); }
|
|
97
101
|
.c-ex-row { display: flex; align-items: center; justify-content: space-between; gap: var(--bh-space-150); padding: var(--bh-space-150) var(--bh-space-200); border-bottom: 1px solid var(--bh-color-border); }
|
|
@@ -99,7 +103,7 @@
|
|
|
99
103
|
.c-ex-row.is-selected { background: var(--bh-color-background-selected); box-shadow: inset var(--bh-border-width-selected) 0 0 var(--bh-color-border-selected); }
|
|
100
104
|
.c-ex-name { display: block; color: var(--bh-color-text); font: var(--bh-font-heading-xsmall); }
|
|
101
105
|
.c-ex-meta { color: var(--bh-color-text-subtlest); font: var(--bh-font-body-small); }
|
|
102
|
-
.c-ex-link { color: var(--bh-color-link); }
|
|
106
|
+
.c-ex-link, .prose .c-ex-link { color: var(--bh-color-link); } /* .prose a would use the page's link colour, not the example's theme */
|
|
103
107
|
.c-ex-n { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: var(--bh-space-050); border-radius: var(--bh-radius-full); color: var(--bh-color-text-inverse); background: var(--bh-color-surface-inverse); font: var(--bh-font-label-small); vertical-align: middle; }
|
|
104
108
|
.c-ex figcaption { margin-top: var(--bh-space-150); }
|
|
105
109
|
.prose .c-ex-legend { margin: 0; color: var(--c-muted); font: var(--bh-font-body-default); }
|
|
@@ -109,15 +113,15 @@
|
|
|
109
113
|
.c-dd-fill small { font: var(--bh-font-body-small); }
|
|
110
114
|
.c-dd-fill.is-wrong small { color: var(--bh-color-red-7); }
|
|
111
115
|
.c-dd-fill.is-wrong { color: var(--bh-color-red-12); }
|
|
112
|
-
.c-dd-yellow-label { display: inline-flex; align-items: center; height: 20px; padding: 0 var(--bh-space-075); border: 1px solid var(--bh-color-brand-yellow); border-radius: var(--bh-radius-
|
|
116
|
+
.c-dd-yellow-label { display: inline-flex; align-items: center; height: 20px; padding: 0 var(--bh-space-075); border: 1px solid var(--bh-color-brand-yellow); border-radius: var(--bh-radius-050); color: var(--bh-color-yellow-9); font: var(--bh-font-label-small); }
|
|
113
117
|
|
|
114
118
|
/* Balance bar */
|
|
115
119
|
.c-balance { margin: 0 0 var(--bh-space-300); }
|
|
116
|
-
.c-balance-bar { display: flex; height:
|
|
120
|
+
.c-balance-bar { display: flex; height: var(--bh-space-500); overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); }
|
|
117
121
|
.c-balance figcaption { margin-top: var(--bh-space-100); color: var(--c-muted); font: var(--bh-font-body-default); }
|
|
118
122
|
|
|
119
123
|
/* Token name anatomy */
|
|
120
|
-
.c-anat { display: grid; gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); padding: var(--bh-space-250); border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
124
|
+
.c-anat { display: grid; gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); padding: var(--bh-space-250); border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); }
|
|
121
125
|
.c-anat-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--bh-space-025); }
|
|
122
126
|
.c-anat-part { display: grid; justify-items: center; gap: var(--bh-space-050); }
|
|
123
127
|
.c-anat-part code { padding: var(--bh-space-050) var(--bh-space-100); border-radius: var(--bh-radius-050); font: var(--bh-font-code-default); }
|
|
@@ -134,17 +138,16 @@
|
|
|
134
138
|
.c-surf { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); }
|
|
135
139
|
.c-surf figure { margin: 0; }
|
|
136
140
|
.c-surf figcaption { margin-top: var(--bh-space-100); color: var(--c-muted); font: var(--bh-font-body-default); }
|
|
137
|
-
.c-surf-page { position: relative; display: grid; grid-template-columns: 42% 1fr; gap: var(--bh-space-150); min-height: 180px; padding: var(--bh-space-300) var(--bh-space-150) var(--bh-space-150); border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
141
|
+
.c-surf-page { position: relative; display: grid; grid-template-columns: 42% 1fr; gap: var(--bh-space-150); min-height: 180px; padding: var(--bh-space-300) var(--bh-space-150) var(--bh-space-150); border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); background: var(--bh-color-surface-page); }
|
|
138
142
|
.c-surf-page > .c-tag { position: absolute; top: 6px; left: 12px; }
|
|
139
143
|
.c-surf-side { padding: var(--bh-space-100); border-radius: var(--bh-radius-100); background: var(--bh-color-surface-subtle); }
|
|
140
|
-
.c-surf-card { position: relative; display: flex; flex-wrap: wrap; align-content: flex-start; gap: var(--bh-space-050);
|
|
141
|
-
.c-surf-tip { position: absolute; right: 8px; bottom: 8px; padding: var(--bh-space-050) var(--bh-space-100); border-radius: var(--bh-radius-
|
|
142
|
-
.c-tag { display: inline-block; padding:
|
|
144
|
+
.c-surf-card { position: relative; display: flex; flex-wrap: wrap; align-content: flex-start; gap: var(--bh-space-050); }
|
|
145
|
+
.c-surf-tip { position: absolute; right: 8px; bottom: 8px; padding: var(--bh-space-050) var(--bh-space-100); border-radius: var(--bh-radius-overlay); color: var(--bh-color-text-inverse); background: var(--bh-color-surface-inverse); font: var(--bh-font-body-small); }
|
|
146
|
+
.c-tag { display: inline-block; padding: 0 var(--bh-space-075); border-radius: var(--bh-radius-050); color: var(--bh-color-text-subtle); background: var(--bh-color-background-neutral); font: var(--bh-font-code-default); }
|
|
143
147
|
.c-tag.is-on-dark { color: var(--bh-color-text-inverse); background: var(--bh-color-surface-inverse); }
|
|
144
148
|
.c-surf-page.is-dimmed { display: grid; place-items: center; grid-template-columns: 1fr; padding: var(--bh-space-500) var(--bh-space-150) var(--bh-space-200); overflow: hidden; }
|
|
145
149
|
.c-surf-scrim { position: absolute; inset: 0; padding: var(--bh-space-075) var(--bh-space-150); background: var(--bh-color-surface-scrim); }
|
|
146
|
-
.c-surf-dialog { position: relative;
|
|
147
|
-
.c-surf-dialog b { color: var(--bh-color-text); font: var(--bh-font-heading-xsmall); }
|
|
150
|
+
.c-surf-dialog { position: relative; max-width: 20rem; }
|
|
148
151
|
@container prose (min-width: 640px) { .c-surf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
149
152
|
|
|
150
153
|
/* States */
|
|
@@ -153,24 +156,15 @@
|
|
|
153
156
|
.prose .c-states th[scope='row'] { text-align: left; }
|
|
154
157
|
.c-focus { outline: var(--bh-border-width-focused) solid var(--bh-color-border-focus); outline-offset: var(--bh-state-focus-offset); }
|
|
155
158
|
.c-disabled { border-color: var(--bh-color-border-disabled) !important; color: var(--bh-color-text-disabled) !important; background: var(--bh-color-background-disabled) !important; }
|
|
156
|
-
.c-state-row { display: block; min-width: 88px; padding: var(--bh-space-100) var(--bh-space-150); border-radius: var(--bh-radius-
|
|
157
|
-
.c-state-row.is-selected { background:
|
|
159
|
+
.c-state-row { display: block; min-width: 88px; padding: var(--bh-space-100) var(--bh-space-150); border-radius: var(--bh-radius-075); color: var(--bh-color-text); text-align: left; white-space: nowrap; font: var(--bh-font-body-default); }
|
|
160
|
+
.c-state-row.is-selected { background: var(--bh-color-background-selected); box-shadow: inset var(--bh-border-width-selected) 0 0 var(--bh-color-border-selected); }
|
|
158
161
|
|
|
159
162
|
/* Banners */
|
|
160
163
|
.c-banners { display: grid; gap: var(--bh-space-100); margin: 0 0 var(--bh-space-300); }
|
|
161
|
-
.c-banner { display: flex; align-items: center; gap: var(--bh-space-100); padding: calc(var(--bh-space-100) - 1px) calc(var(--bh-space-150) - 1px); border: 1px solid; border-radius: var(--bh-radius-100); color: var(--bh-color-text); font: var(--bh-font-body-default); }
|
|
162
164
|
.c-banner-icon { display: inline-flex; }
|
|
163
|
-
.c-banner.is-info { border-color: var(--bh-color-border-info-subtle); background: var(--bh-color-background-info-subtle); }
|
|
164
|
-
.c-banner.is-info .c-banner-icon { color: var(--bh-color-icon-info); }
|
|
165
|
-
.c-banner.is-success { border-color: var(--bh-color-border-success-subtle); background: var(--bh-color-background-success-subtle); }
|
|
166
|
-
.c-banner.is-success .c-banner-icon { color: var(--bh-color-icon-success); }
|
|
167
|
-
.c-banner.is-warning { border-color: var(--bh-color-border-warning-subtle); background: var(--bh-color-background-warning-subtle); }
|
|
168
|
-
.c-banner.is-warning .c-banner-icon { color: var(--bh-color-icon-warning); }
|
|
169
|
-
.c-banner.is-danger { border-color: var(--bh-color-border-danger-subtle); background: var(--bh-color-background-danger-subtle); }
|
|
170
|
-
.c-banner.is-danger .c-banner-icon { color: var(--bh-color-icon-danger); }
|
|
171
165
|
|
|
172
166
|
/* Step jobs */
|
|
173
|
-
.c-steps-ill { display: grid; gap: var(--bh-space-150); margin: 0 0 var(--bh-space-300); padding: var(--bh-space-200); border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
167
|
+
.c-steps-ill { display: grid; gap: var(--bh-space-150); margin: 0 0 var(--bh-space-300); padding: var(--bh-space-200); border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); }
|
|
174
168
|
/* Twelve steps always fit the column: on narrow columns the scale name goes on its own line. */
|
|
175
169
|
.c-steps-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; gap: var(--bh-space-050); }
|
|
176
170
|
.c-steps-row > b { grid-column: 1 / -1; }
|
|
@@ -178,23 +172,26 @@
|
|
|
178
172
|
.c-steps-row > b { align-self: center; font: var(--bh-font-label-default); }
|
|
179
173
|
.c-step-cell { display: grid; justify-items: center; gap: var(--bh-space-050); }
|
|
180
174
|
.c-step-cell small { color: var(--c-muted); font: var(--bh-font-body-small); }
|
|
181
|
-
.c-step-bg { width: 100%; height:
|
|
182
|
-
.c-step-pill, .c-step-fill { display: grid; place-items: center; overflow: hidden; width: 100%; height:
|
|
183
|
-
|
|
184
|
-
.c-step-
|
|
185
|
-
.c-step-
|
|
175
|
+
.c-step-bg { width: 100%; height: var(--bh-size-control-default); border: 1px solid var(--c-line); border-radius: var(--bh-radius-050); }
|
|
176
|
+
.c-step-pill, .c-step-fill { display: grid; place-items: center; overflow: hidden; width: 100%; height: var(--bh-size-control-default); border-radius: var(--bh-radius-075); color: var(--bh-color-text); font: var(--bh-font-label-small); }
|
|
177
|
+
/* Text on a solid step: the ink that meets 4.5:1 on that step in each theme (ColorDemo picks it). */
|
|
178
|
+
.c-step-fill { color: var(--fill-ink-light, var(--bh-color-text-on-bold)); }
|
|
179
|
+
:root[data-theme='dark'] .c-step-fill { color: var(--fill-ink-dark, var(--bh-color-text-on-bold)); }
|
|
180
|
+
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .c-step-fill { color: var(--fill-ink-dark, var(--bh-color-text-on-bold)); } }
|
|
181
|
+
.c-step-line { width: 100%; height: var(--bh-size-control-default); border: 2px solid; border-radius: var(--bh-radius-075); }
|
|
182
|
+
.c-step-text { display: grid; place-items: center; height: var(--bh-size-control-default); font: var(--bh-font-heading-small); }
|
|
186
183
|
.c-steps-ill figcaption { color: var(--c-muted); font: var(--bh-font-body-small); }
|
|
187
184
|
|
|
188
185
|
/* Themes */
|
|
189
186
|
.c-themes { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); }
|
|
190
187
|
.c-themes figure { margin: 0; }
|
|
191
|
-
.c-theme-stage { padding: var(--bh-space-200); border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
188
|
+
.c-theme-stage { padding: var(--bh-space-200); border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); }
|
|
192
189
|
.c-themes figcaption { margin-top: var(--bh-space-100); color: var(--c-muted); font: var(--bh-font-body-default); }
|
|
193
190
|
@container prose (min-width: 640px) { .c-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
194
191
|
|
|
195
192
|
/* Contrast samples */
|
|
196
193
|
.c-contrast { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-150); margin: 0 0 var(--bh-space-300); }
|
|
197
|
-
.c-contrast figure { margin: 0; border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
194
|
+
.c-contrast figure { margin: 0; border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); overflow: hidden; }
|
|
198
195
|
.c-contrast-chip { display: grid; place-items: center; height: 72px; font: var(--bh-font-label-default); }
|
|
199
196
|
.c-contrast-box { width: 20px; height: 20px; border: 1px solid; border-radius: var(--bh-radius-050); background: var(--bh-color-surface); }
|
|
200
197
|
.c-contrast figcaption { padding: var(--bh-space-100) var(--bh-space-150); color: var(--c-muted); font: var(--bh-font-body-small); }
|
|
@@ -209,7 +206,7 @@
|
|
|
209
206
|
|
|
210
207
|
/* Palette: large swatches, one column per scale, light and dark */
|
|
211
208
|
.c-pal-set { display: grid; gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); }
|
|
212
|
-
.c-pal { margin: 0; padding: var(--bh-space-200); border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
209
|
+
.c-pal { margin: 0; padding: var(--bh-space-200); border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); }
|
|
213
210
|
.c-pal figcaption { margin: 0 0 var(--bh-space-150); font: var(--bh-font-heading-xsmall); }
|
|
214
211
|
.c-pal-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--bh-space-100); }
|
|
215
212
|
.c-pal-col { display: grid; gap: var(--bh-space-025); }
|
|
@@ -217,14 +214,14 @@
|
|
|
217
214
|
.c-pal-sw { display: flex; justify-content: space-between; align-items: center; gap: var(--bh-space-050); min-height: 36px; padding: 0 var(--bh-space-100); border-radius: var(--bh-radius-050); font: var(--bh-font-body-small); }
|
|
218
215
|
.c-pal-sw:first-of-type { border-radius: var(--bh-radius-100) var(--bh-radius-100) var(--bh-radius-050) var(--bh-radius-050); }
|
|
219
216
|
.c-pal-sw:last-of-type { border-radius: var(--bh-radius-050) var(--bh-radius-050) var(--bh-radius-100) var(--bh-radius-100); }
|
|
220
|
-
.c-pal-sw .c-num { font: var(--bh-font-label-small); font-family: var(--bh-font-family-mono);
|
|
217
|
+
.c-pal-sw .c-num { font: var(--bh-font-label-small); font-family: var(--bh-font-family-mono); }
|
|
221
218
|
.c-pal-sw em { margin-left: var(--bh-space-050); font-style: normal; font-weight: var(--bh-font-weight-semibold); text-transform: lowercase; }
|
|
222
|
-
.c-pal.is-light .c-pal-sw:is(:nth-of-type(1), :nth-of-type(2)) { box-shadow: inset 0 0 0
|
|
219
|
+
.c-pal.is-light .c-pal-sw:is(:nth-of-type(1), :nth-of-type(2)) { box-shadow: inset 0 0 0 var(--bh-border-width-default) var(--bh-color-border); }
|
|
223
220
|
@container prose (width < 640px) { .c-pal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--bh-space-200); } }
|
|
224
221
|
|
|
225
222
|
/* Ramps on the overview */
|
|
226
223
|
.c-ramps { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); }
|
|
227
|
-
.c-ramp-card { display: grid; gap: var(--bh-space-075); margin: 0; padding: var(--bh-space-300); border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
224
|
+
.c-ramp-card { display: grid; gap: var(--bh-space-075); margin: 0; padding: var(--bh-space-300); border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); }
|
|
228
225
|
.c-ramp { display: grid; grid-template-columns: repeat(12, 1fr); height: 22px; overflow: hidden; border-radius: var(--bh-radius-050); }
|
|
229
226
|
.c-ramp-card figcaption { margin-top: var(--bh-space-100); font: var(--bh-font-body-small); }
|
|
230
227
|
@container prose (min-width: 640px) { .c-ramps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
@@ -237,18 +234,18 @@
|
|
|
237
234
|
.c-roles td { vertical-align: top; overflow-wrap: anywhere; }
|
|
238
235
|
.c-roles .c-check { margin-top: var(--bh-space-050); }
|
|
239
236
|
@container prose (width < 560px) { .c-roles { table-layout: auto; } .c-roles .c-spec { display: inline-grid; margin: 0 var(--bh-space-100) 0 0; vertical-align: middle; } .c-roles .c-num { display: inline; } }
|
|
240
|
-
.c-spec { display: grid; place-items: center; width: 72px; height: 44px; margin-bottom: var(--bh-space-075); border-radius: var(--bh-radius-050); box-shadow: inset 0 0 0
|
|
237
|
+
.c-spec { display: grid; place-items: center; width: 72px; height: 44px; margin-bottom: var(--bh-space-075); border-radius: var(--bh-radius-050); box-shadow: inset 0 0 0 var(--bh-border-width-default) var(--bh-color-border); font: var(--bh-font-heading-small); }
|
|
241
238
|
.c-spec.is-border { box-shadow: none; }
|
|
242
239
|
.c-spec-fill { width: 52px; height: 28px; border-radius: var(--bh-radius-050); background: var(--fill); box-shadow: inset 0 0 0 1px var(--edge); }
|
|
243
240
|
.c-roles .c-num { display: block; font: var(--bh-font-code-default); }
|
|
244
241
|
|
|
245
242
|
/* Pairing cards */
|
|
246
243
|
.c-pairs { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); }
|
|
247
|
-
.c-pair { margin: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
244
|
+
.c-pair { margin: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); }
|
|
248
245
|
.c-pair-stage { display: flex; flex-wrap: wrap; align-content: flex-start; gap: var(--bh-space-050) var(--bh-space-150); min-height: 96px; padding: var(--bh-space-200); font: var(--bh-font-body-default); }
|
|
249
246
|
.c-pair-text { font: var(--bh-font-code-default); }
|
|
250
247
|
.c-pair-marks { display: flex; flex-basis: 100%; gap: var(--bh-space-100); margin-top: var(--bh-space-050); }
|
|
251
|
-
.c-pair-mark { display: grid; place-items: center; width:
|
|
248
|
+
.c-pair-mark { display: grid; place-items: center; width: var(--bh-space-300); height: var(--bh-space-300); border-radius: var(--bh-radius-050); }
|
|
252
249
|
.c-pair figcaption { padding: var(--bh-space-150) var(--bh-space-200); border-top: 1px solid var(--c-line); font: var(--bh-font-body-small); }
|
|
253
250
|
.c-pair figcaption b { margin-right: var(--bh-space-050); }
|
|
254
251
|
.c-pair figcaption .c-from { display: block; margin-top: var(--bh-space-050); }
|
|
@@ -260,11 +257,11 @@
|
|
|
260
257
|
.c-state-key b { color: var(--c-ink); font-weight: var(--bh-font-weight-semibold); }
|
|
261
258
|
|
|
262
259
|
/* Emphasis */
|
|
263
|
-
.c-emph { margin: 0 0 var(--bh-space-300); padding: var(--bh-space-200); border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
260
|
+
.c-emph { margin: 0 0 var(--bh-space-300); padding: var(--bh-space-200); border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); }
|
|
264
261
|
.c-emph-grid { display: grid; grid-template-columns: 80px repeat(3, minmax(0, 1fr)); gap: var(--bh-space-100); align-items: center; font: var(--bh-font-body-small); }
|
|
265
|
-
.c-emph-fill { display: flex; align-items: center; min-height:
|
|
262
|
+
.c-emph-fill { display: flex; align-items: center; min-height: var(--bh-space-500); padding: 0 var(--bh-space-150); border-radius: var(--bh-radius-100); font: var(--bh-font-body-default); overflow-wrap: anywhere; }
|
|
266
263
|
.c-emph-none { color: var(--c-muted); text-align: center; }
|
|
267
264
|
.c-emph figcaption { margin-top: var(--bh-space-150); color: var(--c-muted); font: var(--bh-font-body-default); }
|
|
268
|
-
.c-emph-fill { box-shadow: inset 0 0 0
|
|
269
|
-
.c-status .c-dot { width:
|
|
265
|
+
.c-emph-fill { box-shadow: inset 0 0 0 var(--bh-border-width-default) var(--bh-color-border); }
|
|
266
|
+
.c-status .c-dot { width: var(--bh-space-400); height: var(--bh-space-400); border-radius: var(--bh-radius-050); }
|
|
270
267
|
.c-pair-warn { margin-left: var(--bh-space-025); color: var(--c-ink); font-family: var(--bh-font-family-sans); }
|