mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-01-20 17:51:40 +03:00
67 lines
2.7 KiB
SCSS
67 lines
2.7 KiB
SCSS
@import "@vuepress/plugin-palette/palette";
|
|
@import "_color";
|
|
$MQMobile: 719px;
|
|
$contentClass: ".theme-default-content";
|
|
|
|
html[theme="dark"] {
|
|
--accentColor: #{$accentDarkColor};
|
|
--textColor: #{$textDarkColor};
|
|
--borderColor: #{$borderDarkColor};
|
|
--codeBgColor: #{$codeBgDarkColor};
|
|
--arrowBgColor: #{$arrowBgDarkColor};
|
|
--tipColor: #{$tipDarkColor};
|
|
--tipBackgroundColor: #{$tipBackgroundDarkColor};
|
|
--warningColor: #{$warningDarkColor};
|
|
--dangerColor: #{$dangerDarkColor};
|
|
--badgeTipColor: #{$badgeTipDarkColor};
|
|
--badgeWarningColor: #{$badgeWarningDarkColor};
|
|
--badgeDangerColor: #{$badgeDangerDarkColor};
|
|
--backgroundColor: #{$backgroundDarkColor};
|
|
--kbdBackgroundColor: #{$kbdBackgroundDarkColor};
|
|
--kbdBorderColor: #{$kbdBorderDarkColor};
|
|
--tableBorderColor: #{$tableBorderDarkColor};
|
|
--tableBackgroundColor: #{$tableBackgroundDarkColor};
|
|
--metaItemColor: #{$metaItemDarkColor};
|
|
--dangerBgDarkColor: #{$dangerBgDarkColor};
|
|
--warningBgDarkColor: #{$warningBgDarkColor};
|
|
--miniCodeBgColor: #{$miniCodeBgDarkColor};
|
|
|
|
--textColorLighten10: #{lighten($textDarkColor, 7%)};
|
|
--textColorLighten25: #{lighten($textDarkColor, 10%)};
|
|
--textColorLighten40: #{lighten($textDarkColor, 15%)};
|
|
--accentColorLighten8: #{lighten($accentDarkColor, 8%)};
|
|
--accentColorLighten10: #{lighten($accentDarkColor, 10%)};
|
|
--accentColorLighten30: #{lighten($accentDarkColor, 30%)};
|
|
}
|
|
|
|
html {
|
|
--accentColor: #{$accentLightColor};
|
|
--textColor: #{$textLightColor};
|
|
--borderColor: #{$borderLightColor};
|
|
--codeBgColor: #{$codeBgLightColor};
|
|
--arrowBgColor: #{$arrowBgLightColor};
|
|
--tipColor: #{$tipLightColor};
|
|
--tipBackgroundColor: #{$tipBackgroundLightColor};
|
|
--warningColor: #{$warningLightColor};
|
|
--dangerColor: #{$dangerLightColor};
|
|
--badgeTipColor: #{$badgeTipLightColor};
|
|
--badgeWarningColor: #{$badgeWarningLightColor};
|
|
--badgeDangerColor: #{$badgeDangerLightColor};
|
|
--backgroundColor: #{$backgroundLightColor};
|
|
--kbdBackgroundColor: #{$kbdBackgroundLightColor};
|
|
--kbdBorderColor: #{$kbdBorderLightColor};
|
|
--tableBorderColor: #{$tableBorderLightColor};
|
|
--tableBackgroundColor: #{$tableBackgroundLightColor};
|
|
--metaItemColor: #{$metaItemLightColor};
|
|
--dangerBgDarkColor: #{$dangerBgLightColor};
|
|
--warningBgDarkColor: #{$warningBgLightColor};
|
|
--miniCodeBgColor: #{$miniCodeBgLightColor};
|
|
|
|
--textColorLighten10: #{lighten($textLightColor, 10%)};
|
|
--textColorLighten25: #{lighten($textLightColor, 20%)};
|
|
--textColorLighten40: #{lighten($textLightColor, 30%)};
|
|
--accentColorLighten8: #{lighten($accentLightColor, 8%)};
|
|
--accentColorLighten10: #{lighten($accentLightColor, 12%)};
|
|
--accentColorLighten30: #{lighten($accentLightColor, 30%)};
|
|
}
|