68 lines
2.0 KiB
Markdown
68 lines
2.0 KiB
Markdown
---
|
|
name: EunivTools
|
|
description: 石墨工作台。网页自己顶着产品名,版面是居中登录卡和左侧导航。
|
|
colors:
|
|
ground: "#0D1117"
|
|
panel: "#161A22"
|
|
elevated: "#1B212B"
|
|
text: "#E6EDF3"
|
|
muted: "#9AA4AE"
|
|
line: "#262C36"
|
|
accent: "#79C0FF"
|
|
primary: "#1F6FEB"
|
|
primary-hover: "#388BFD"
|
|
danger: "#F85149"
|
|
day-ground: "#F6F8FA"
|
|
day-panel: "#FFFFFF"
|
|
day-text: "#0D1117"
|
|
day-muted: "#57606A"
|
|
day-line: "#D0D7DE"
|
|
day-accent: "#0969DA"
|
|
day-primary-pressed: "#1158C7"
|
|
day-danger: "#CF222E"
|
|
typography:
|
|
body:
|
|
fontFamily: "Segoe UI, Microsoft YaHei, sans-serif"
|
|
fontSize: "14px"
|
|
fontWeight: 400
|
|
lineHeight: 1.5
|
|
letterSpacing: "normal"
|
|
title:
|
|
fontFamily: "Segoe UI, Microsoft YaHei, sans-serif"
|
|
fontSize: "22px"
|
|
fontWeight: 650
|
|
lineHeight: 1.3
|
|
letterSpacing: "-0.03em"
|
|
rounded:
|
|
sm: "4px"
|
|
spacing:
|
|
sm: "8px"
|
|
md: "16px"
|
|
lg: "28px"
|
|
components:
|
|
button-primary:
|
|
backgroundColor: "{colors.primary}"
|
|
textColor: "#FFFFFF"
|
|
rounded: "{rounded.sm}"
|
|
padding: "8px 16px"
|
|
button-destructive:
|
|
backgroundColor: "transparent"
|
|
textColor: "{colors.danger}"
|
|
rounded: "{rounded.sm}"
|
|
padding: "8px 12px"
|
|
---
|
|
|
|
# Design
|
|
|
|
视觉方案在 `web/src/shared/theme.ts`。`graphite` 是默认,`day` 是同一套缝和按钮的日间。颜色写进 CSS 变量,Naive UI 的主色、面板和菜单跟着变。
|
|
|
|
## 结构
|
|
|
|
未登录时,画面中央是一张登录卡,右上角切换日夜。登录后,左侧 220px 可折叠导航:顶部是线框 E 和 EunivTools,中间是菜单,底部是工号、主题和退出。退出是下拉菜单,里面有「退出当前系统」和「注销当前账号」。
|
|
|
|
这是网页,侧栏必须自己放图标和标题。版面参考居中登录卡和左导航,不照搬其它产品的功能页。日间主题使用 `#1158C7` 和 `#CF222E`。
|
|
|
|
## 签名
|
|
|
|
选中的菜单项只有一条强调色左边线,没有色块。退出在主题切换旁边,用下拉菜单而不是单个图标。
|