From c75027743ea7c3ecc2d0885f01d11d2ad78679a3 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期五, 23 十月 2026 14:23:26 +0800 Subject: [PATCH] Merge branch 'yxh' of http://116.62.18.175:6699/r/~yxh/opo-web --- src/assets/styles/element-variables.scss | 68 ++++++++++++++++++++++++++------- 1 files changed, 53 insertions(+), 15 deletions(-) diff --git a/src/assets/styles/element-variables.scss b/src/assets/styles/element-variables.scss index 8b7a48e..39da0fb 100644 --- a/src/assets/styles/element-variables.scss +++ b/src/assets/styles/element-variables.scss @@ -1,23 +1,61 @@ /** -* I think element-ui's default theme color is too light for long-term use. -* So I modified the default color and you can modify it to your liking. -**/ + * Element UI 涓婚鍙橀噺锛堢紪璇戞湡锛� + * ------------------------------------------------------------ + * 鍝佺墝涓昏壊锛氬彇鑷� src/assets/logo/OPO_Logo.png 鍦嗙幆闈� #0E768F + * 鍗遍櫓鑹诧細 鍙栬嚜鍚屽浘蹇冨舰鐜孩 #CD1D4E锛堢櫧瀛楀姣斿害 5.41锛屼紭浜庡師 #F56C6C 鐨� 3.4锛� + * + * 璇存槑锛氳繖閲屽喅瀹�"缂栬瘧杩� CSS 鐨勯粯璁ょ毊鑲�"锛� + * 杩愯鏃舵崲鑲ょ敱 assets/styles/theme-runtime.scss + utils/theme.js 璐熻矗锛� + * 浜岃�呴�氳繃 CSS 鍙橀噺 --opo-primary* 琛旀帴銆� + */ -/* theme color */ -$--color-primary: #1890ff; -$--color-success: #13ce66; -$--color-warning: #ffba00; -$--color-danger: #ff4949; -// $--color-info: #1E1E1E; +/* ---------- 涓婚鑹� ---------- */ +$--color-primary: #0E768F; +$--color-success: #67C23A; +$--color-warning: #E6A23C; +$--color-danger: #CD1D4E; +$--color-info: #909399; + +/* ---------- 鏂囧瓧 ---------- */ +$--color-text-primary: #1F2937; +$--color-text-regular: #4B5563; +$--color-text-secondary: #6B7280; +$--color-text-placeholder: #9CA3AF; + +/* ---------- 杈规 ---------- */ +$--border-color-base: #E5E7EB; +$--border-color-light: #F0F2F5; +$--border-color-lighter: #F5F7FA; +$--border-color-extra-light: #FAFBFC; + +/* ---------- 鑳屾櫙 ---------- */ +$--background-color-base: #F5F7FA; + +/* ---------- 鍦嗚 ---------- */ +$--border-radius-base: 4px; +$--border-radius-small: 2px; + +/* ---------- 瀛楀彿锛�2026-10-22 鏁翠綋涓婅皟涓�鍙凤級 ---------- */ +$--font-size-extra-large: 22px; +$--font-size-large: 20px; +$--font-size-medium: 18px; +$--font-size-base: 16px; +$--font-size-small: 14px; +$--font-size-extra-small: 13px; + +/* 鎸夐挳瀛楀彿榛樿鍦ㄥ皬灏哄閲岃纭紪鐮佹垚 12px锛屼竴骞朵笂璋� */ +$--button-font-size: 16px; +$--button-medium-font-size: 16px; +$--button-small-font-size: 14px; +$--button-mini-font-size: 14px; + +/* 渚ц竟鏍忚彍鍗曞瓧鍙凤紙2026-10-22 鐢� 18px 鍥炶皟涓�鍙凤級 */ +$--menu-item-font-size: 16px; $--button-font-weight: 400; -// $--color-text-regular: #1f2d3d; - -$--border-color-light: #dfe4ed; -$--border-color-lighter: #e6ebf5; - -$--table-border:1px solid#dfe6ec; +/* ---------- 琛ㄦ牸 ---------- */ +$--table-border: 1px solid #E5E7EB; /* icon font path, required */ $--font-path: '~element-ui/lib/theme-chalk/fonts'; -- Gitblit v1.9.3