| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- $primary-color: #e1251b !default;
- $normal-color: #848484 !default;
- $link-color: $primary-color !default;
- $link-hover-color: mix($link-color, #000, 80%) !default;
- $title-color: #323232 !default;
- $text-color: #646464 !default;
- $light-color: #f6f6f6 !default;
- $dark-color: #dadada !default;
- // jdl 主要色值
- // ---- 主色调color ----
- $primary-color-jd-red: $primary-color !default; // 京东红,主要用于对外C端产品。
- $primary-color-jc-blue: #3c6ef0 !default; // 京牛蓝,主要用于对内B端产品。
- // ---- 辅助color ----
- $assist-color-green: #26a872 !default; // 常用于成功信息/成功icon,或者卡片标签
- $assist-color-orange: #ff6e4c !default; // 常用于警告信息/警告icon,或者卡片标签
- $assist-color-yellow: #ffba12 !default; // 常用于提示信息/提示icon,或者卡片标签
- $assist-color-blue: #2ca6e1 !default; // 冷链蓝,主要用于京东冷链相关产品,也可以用于卡片标签或页面其他元素
- $assist-color-purple: #6236ff !default;
- $assist-color-gray: #7c7a8a !default; // 常用于卡片标签或页面其他元素
- $assist-color-light-gray: #d9d9d9 !default; // 常用于弱标签背景色
- // ---- 文本color ----
- $text-black-1: #323232 !default; // 重要文字颜色,用于Narbar等大标题
- $text-black-2: #646464 !default; // 普通文字颜色,用于段落、表单标题、列表内容等
- $text-black-3: #969696 !default; // 辅助文字,用于次要信息
- $text-black-4: #c8c8c8 !default; // 一般文字,用于提示性文字
- $text-jd-red: $primary-color !default; // 用于报错文字颜色
- // ---- 背景/分割线color ----
- $body-background-color: #f7f7f7 !default; // 用于页面整体背景
- $split-line-color: #e6e6e6 !default; // 用于分割线,按钮描边,1px
- $disabled-bg-color: #dcdcdc !default; // 用于按钮置灰
- // ---- 常用字号 ----
- $font-size-title-large: 20px; // 用于标题类文字
- $font-size-title-normal: 18px; // 用于全局操作类文字
- $font-size-body-large: 17px; // 常用字号,用于需要强调的文字信息
- $font-size-body-normal: 16px; // 最常用的正文字号
- $font-size-body-small: 14px; // 常用字号,用于较弱的文字信息
- $font-size-display-large: 14px; // 常用于辅助说明文字
- $font-size-display-normal: 13px; // 常用字号,用于解释信息
- $font-size-display-small: 12px; // 常用于标签信息展示
- $disabled-bg-1: #f1f1f1;
- $disabled-border: #dedede;
- // ---- base ----
- $body-background: #f6f6f6 !default;
- $mask-bg: rgba(0, 0, 0, 0.5) !default;
- $font-family: PingHei, 'Lucida Grande', 'Lucida Sans Unicode', STHeiti, Helvetica, Arial, Verdana, 'sans-serif', 'PingHei-light', SimHei, 'Droid Sans' !default;
- $font-size-base: 14px !default;
- $font-size-small: 12px !default;
- $font-size-large: 16px !default;
- $line-height-base: 1.5 !default;
- $border-radius-base: 8px !default;
- $border-radius-small: 3px !default;
- $border-radius-large: 50px !default;
- // ---- Animation ----
- $animation-duration: 0.25s !default;
- $transition-duration: 0.2s !default;
- $transition-duration-fast: 0.2s !default;
- $transition-duration-slow: 0.4s !default;
- $animation-timing-fun: cubic-bezier(0.55, 0.085, 0.68, 0.53) !default;
- $ease-in-out: cubic-bezier(0.445, 0.05, 0.55, 0.95);
- $ease-out: cubic-bezier(0.895, 0.03, 0.685, 0.22);
- // ---- Border color ----
- $border-color-base: $dark-color !default;
- $border-color-dark: #ababab !default;
- $border-width-base: 1px !default;
- $border-style-base: solid !default;
- $border-color-active: $primary-color !default;
- // ---- Disabled ----
- $disabled-color: #f6f6f6 !default;
- $disabled-bg: #dadada !default;
- $disabled-primary-bg: #eb8a7e !default;
- // ---- Shadow ----
- $shadow-color: rgba(0, 0, 0, 0.15) !default;
- $shadow-up: 0 -2px 8px $shadow-color !default;
- $shadow-down: 0 2px 8px $shadow-color !default;
- $shadow-left: -2px 0 8px $shadow-color !default;
- $shadow-right: 2px 0 8px $shadow-color !default;
- $shadow-base: $shadow-down !default;
- // ---- Buttons ----
- $btn-font-weight: normal !default;
- $btn-border-radius-base: 4px !default;
- $btn-border-radius-small: 3px !default;
- $btn-border-radius-large: 50px !default;
- $btn-height-small: 28px !default;
- $btn-height-middle: 40px !default;
- $btn-height-big: 48px !default;
- $btn-icon-height-small: 12px !default;
- $btn-icon-height-big: 16px !default;
- $btn-menu-icon-height: 20px !default;
- $btn-menu-height: 50px !default;
- $btn-primary-color: #fff !default;
- $btn-primary-bg: $primary-color !default;
- $btn-gradient-color: #fff !default;
- $btn-gradient-start-color: #ff4f18;
- $btn-gradient-end-color: #f20000;
- $btn-gradient-bg: $primary-color-jd-red !default;
- $btn-gradient-active-bg: linear-gradient(315deg, darken($btn-gradient-start-color, 10%) 0%, darken($btn-gradient-end-color, 10%) 100%) !default;
- $btn-default-color: $normal-color !default;
- $btn-default-bg: #fff !default;
- $btn-default-border: $border-color-dark !default;
- $btn-active-color: #fff !default;
- $btn-active-bg: $primary-color !default;
- $btn-active-border: $primary-color !default;
- $btn-disable-color: $disabled-bg-color !default;
- $btn-disable-bg: $disabled-bg-color !default;
- $btn-disable-border: $disabled-color !default;
- $btn-icon-margin: 5px;
- $btn-label-light-bg: rgba(240, 37, 15, 0.05);
- $font-size-big: 18px;
- $font-size-middle: 15px;
- $font-size-small: 13px;
- // ---- z-index ----
- $zindex-mask: 9998 !default;
- $zindex-actionsheet: 10001 !default;
- $zindex-dialog: 10000 !default;
- $zindex-picker: 10050 !default;
- // ---- Assets path ----
- $assetsPath: '../../assets' !default;
- // ---- Stepper ----
- $stepper-color: #333 !default;
- $stepperbar-width: 11px !default;
- $stepperbar-color: #333 !default;
- // ---- Tag ----
- $tag-height-small: 20px !default;
- $tag-height-middle: 22px !default;
- $tag-height-big: 24px !default;
- $tag-border-radius: 2px !default;
- $tag-border-radius-circle: 10px !default;
- // ---- Badge ----
- $badge-font-size: 11px !default;
- $badge-font-color: #fff !default;
- // ---- ActionSheet ----
- $as-border-color: rgba(230, 230, 230, 1) !default;
- $as-disable-color: $text-black-4 !default;
- $as-base-color: $text-black-1 !default;
- $as-desc-color: $text-black-3 !default;
- $as-confirm-btn-bg: $primary-color-jd-red;
- $as-confirm-btn-color: #fff !default;
- $as-base-bg-color: #fff !default;
- $as-base-font-size: 15px !default;
- $as-desc-font-size: 14px !default;
|