variables.scss 6.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. $color-typography_default-text-default: var(--semi-color-text-0); // 默认文本颜色
  2. $color-typography_secondary-text-default: var(--semi-color-text-1); // 稍次要文本颜色
  3. $color-typography_tertiary-text-default: var(--semi-color-text-2); // 次要文本颜色
  4. $color-typography_quaternary-text-default: var(--semi-color-text-3); // 最次要文本颜色
  5. $color-typography_warning-text-default: var(--semi-color-warning); // 警告文本颜色
  6. $color-typography_danger-text-default: var(--semi-color-danger); // 错误文本颜色
  7. $color-typography_success-text-default: var(--semi-color-success); // 成功文本颜色
  8. $color-typography_disabled-text-default: var(--semi-color-disabled-text); // 禁用文本颜色
  9. $color-typography_mark-bg-default: var(--semi-color-primary-light-default); // 标记文本颜色
  10. $color-typography_code-bg-default: var(--semi-color-fill-1); // 代码文本背景颜色
  11. $color-typography_code-text-default: var(--semi-color-text-2); // 代码文本颜色
  12. $color-typography_link-text-default: var(--semi-color-link); // 链接文本颜色 - 默认
  13. $color-typography_link-text-visited: var(--semi-color-link-visited); // 链接文本颜色 - 已访问
  14. $color-typography_link-text-hover: var(--semi-color-link-hover); // 链接文本颜色 - 悬浮
  15. $color-typography_link-text-active: var(--semi-color-link-active); // 链接文本颜色 - 激活
  16. $color-typography_link-text-disabled: var(--semi-color-link); // 链接文本颜色 - 禁用
  17. $color-typography_copied-text-success: var(--semi-color-text-2); // 可复制文本颜色
  18. $color-typography_copied-icon-success: var(--semi-color-success); // 可复制文本复制成功图标颜色
  19. $color-typography_code-border-default: var(--semi-color-border); // 代码文本描边颜色
  20. $font-typography_title-fontWeight: $font-weight-bold; // 标题文本字重
  21. $font-typography_link-fontWeight: $font-weight-bold; // 链接文本字重
  22. $font-typography_strong-fontWeight: $font-weight-bold; // 强调文本字重
  23. $font-typography_paragraph_extended-lineHeight: 24px; // 宽松行距段落文本行高
  24. $font-typography_normalText-regular-fontWeight: $font-weight-regular; // normal text 字重 - 正常
  25. $font-typography_smallText-regular-fontWeight: $font-weight-regular; // small text 字重 - 正常
  26. $font-typography_normalParagraph-regular-fontWeight: $font-weight-regular; // normal paragraph 字重 - 正常
  27. $font-typography_smallParagraph-regular-fontWeight: $font-weight-regular; // small paragraph 字重 - 正常
  28. $font-typography_title1-fontWeight: $font-typography_title-fontWeight; // 一级标题文本字重
  29. $font-typography_title2-fontWeight: $font-typography_title-fontWeight; // 二级标题文本字重
  30. $font-typography_title3-fontWeight: $font-typography_title-fontWeight; // 三级标题文本字重
  31. $font-typography_title4-fontWeight: $font-typography_title-fontWeight; // 四级标题文本字重
  32. $font-typography_title5-fontWeight: $font-typography_title-fontWeight; // 五级标题文本字重
  33. $font-typography_title6-fontWeight: $font-typography_title-fontWeight; // 六级标题文本字重
  34. $font-typography_title1-light-fontWeight: 200; // 一级标题文本字重 - 细
  35. $font-typography_title2-light-fontWeight: 200; // 二级标题文本字重 - 细
  36. $font-typography_title3-light-fontWeight: 200; // 三级标题文本字重 - 细
  37. $font-typography_title4-light-fontWeight: 200; // 四级标题文本字重 - 细
  38. $font-typography_title5-light-fontWeight: 200; // 五级标题文本字重 - 细
  39. $font-typography_title6-light-fontWeight: 200; // 六级标题文本字重 - 细
  40. $font-typography_title1-regular-fontWeight: 400; // 一级标题文本字重 - 正常
  41. $font-typography_title2-regular-fontWeight: 400; // 二级标题文本字重 - 正常
  42. $font-typography_title3-regular-fontWeight: 400; // 三级标题文本字重 - 正常
  43. $font-typography_title4-regular-fontWeight: 400; // 四级标题文本字重 - 正常
  44. $font-typography_title5-regular-fontWeight: 400; // 五级标题文本字重 - 正常
  45. $font-typography_title6-regular-fontWeight: 400; // 六级标题文本字重 - 正常
  46. $font-typography_title1-medium-fontWeight: 500; // 一级标题文本字重 - 中等
  47. $font-typography_title2-medium-fontWeight: 500; // 二级标题文本字重 - 中等
  48. $font-typography_title3-medium-fontWeight: 500; // 三级标题文本字重 - 中等
  49. $font-typography_title4-medium-fontWeight: 500; // 四级标题文本字重 - 中等
  50. $font-typography_title5-medium-fontWeight: 500; // 五级标题文本字重 - 中等
  51. $font-typography_title6-medium-fontWeight: 500; // 六级标题文本字重 - 中等
  52. $font-typography_title1-semibold-fontWeight: 600; // 一级标题文本字重 - 半粗
  53. $font-typography_title2-semibold-fontWeight: 600; // 二级标题文本字重 - 半粗
  54. $font-typography_title3-semibold-fontWeight: 600; // 三级标题文本字重 - 半粗
  55. $font-typography_title4-semibold-fontWeight: 600; // 三级标题文本字重 - 半粗
  56. $font-typography_title5-semibold-fontWeight: 600; // 三级标题文本字重 - 半粗
  57. $font-typography_title6-semibold-fontWeight: 600; // 三级标题文本字重 - 半粗
  58. $font-typography_title1-bold-fontWeight: 700; // 一级标题文本字重 - 粗
  59. $font-typography_title2-bold-fontWeight: 700; // 二级标题文本字重 - 粗
  60. $font-typography_title3-bold-fontWeight: 700; // 三级标题文本字重 - 粗
  61. $font-typography_title4-bold-fontWeight: 700; // 三级标题文本字重 - 粗
  62. $font-typography_title5-bold-fontWeight: 700; // 三级标题文本字重 - 粗
  63. $font-typography_title6-bold-fontWeight: 700; // 三级标题文本字重 - 粗
  64. $spacing-typography_iconPrefix-marginRight: 4px; // 带前缀文本图标右侧外边距
  65. $spacing-typography_expandText-marginLeft: 8px; // 支持展开文本展开按钮左侧外边距
  66. $spacing-typography_copyIcon-marginLeft: 4px; // 可复制文本复制图标左侧外边距
  67. $spacing-typography_copyIcon-padding: 0; // 可复制文本复制图标内边距
  68. $spacing-typography_title_h1-margin: 0; // 一级标题外边距
  69. $spacing-typography_title_h2-margin: 0; // 二级标题外边距
  70. $spacing-typography_title_h3-margin: 0; // 三级标题外边距
  71. $spacing-typography_title_h4-margin: 0; // 四级标题外边距
  72. $spacing-typography_title_h5-margin: 0; // 五级标题外边距
  73. $spacing-typography_title_h6-margin: 0; // 六级标题外边距
  74. $spacing-typography_title_paragraph-margin: 0; // 段落外边距
  75. $width-typography_code-border: 1px; // 代码文本描边宽度
  76. $width-typography_link-border: 1px; // 链接文本下划线宽度
  77. $radius-typography_code: 2px; // 代码文本圆角