├── theme ├── static │ ├── style.js │ ├── style │ │ ├── index.tsx │ │ ├── style │ │ │ ├── index.tsx │ │ │ ├── themes │ │ │ │ └── index.less │ │ │ ├── index.less │ │ │ ├── v2-compatible-reset.tsx │ │ │ ├── core │ │ │ │ ├── index.less │ │ │ │ ├── iconfont.less │ │ │ │ └── motion.less │ │ │ ├── mixins │ │ │ │ ├── size.less │ │ │ │ ├── index.less │ │ │ │ ├── clearfix.less │ │ │ │ ├── reset.less │ │ │ │ ├── operation-unit.less │ │ │ │ ├── compatibility.less │ │ │ │ ├── motion.less │ │ │ │ └── iconfont.less │ │ │ └── v2-compatible-reset.less │ │ ├── themes │ │ │ └── index.less │ │ ├── v2-compatible-reset.tsx │ │ ├── index.less │ │ ├── core │ │ │ ├── index.less │ │ │ ├── iconfont.less │ │ │ └── motion.less │ │ ├── mixins │ │ │ ├── size.less │ │ │ ├── index.less │ │ │ ├── clearfix.less │ │ │ ├── reset.less │ │ │ ├── operation-unit.less │ │ │ ├── compatibility.less │ │ │ ├── motion.less │ │ │ └── iconfont.less │ │ └── v2-compatible-reset.less │ ├── favicon.ico │ ├── favicon.png │ ├── img │ │ ├── 一致性.png │ │ ├── 信噪比.png │ │ ├── img1.png │ │ ├── img2.png │ │ ├── img3.png │ │ ├── img4.png │ │ ├── item.png │ │ ├── 业务优先.png │ │ ├── 容错机制.png │ │ ├── 清晰明了.png │ │ ├── 灵活易用.png │ │ ├── 高效操作.png │ │ └── banner.png │ ├── iconfont │ │ ├── iconfont.eot │ │ ├── iconfont.ttf │ │ ├── iconfont.woff │ │ └── iconfont.woff2 │ ├── theme.less │ ├── nprogress.less │ ├── docsearch.less │ ├── new-version-info-modal.less │ ├── index.less │ ├── not-found.less │ └── motion.less ├── dt-theme │ ├── dark │ │ ├── tab.less │ │ ├── drawer.less │ │ ├── card.less │ │ ├── comm.less │ │ ├── list.less │ │ ├── message.less │ │ ├── modal.less │ │ ├── tree.less │ │ ├── descriptions.less │ │ ├── notification.less │ │ ├── collapse.less │ │ ├── upload.less │ │ ├── index.less │ │ └── popover.less │ ├── index.less │ └── default │ │ ├── message.less │ │ ├── menu.less │ │ ├── dropdown.less │ │ ├── radio.less │ │ ├── comm.less │ │ ├── breadcrumb.less │ │ ├── drawer.less │ │ ├── reset.less │ │ ├── input-number.less │ │ ├── list.less │ │ ├── alert.less │ │ ├── popover.less │ │ ├── treeselect.less │ │ ├── card.less │ │ └── checkbox.less ├── template │ ├── NotFound.jsx │ ├── Content │ │ ├── PrevAndNext.jsx │ │ └── index.jsx │ └── Layout │ │ └── Footer.jsx └── utils │ └── index.js ├── .eslintignore ├── .prettierignore ├── .eslintrc.js ├── .prettierrc.js ├── .gitignore ├── release.md ├── .stylelintignore ├── types └── moment.ts ├── components ├── index.js ├── rate │ ├── index.zh-CN.md │ └── demo │ │ ├── disabled.md │ │ └── basic.md ├── step │ ├── index.zh-CN.md │ └── demo │ │ ├── simple.md │ │ ├── error.md │ │ ├── small-size.md │ │ ├── vertical.md │ │ ├── vertical-small.md │ │ ├── icon.md │ │ ├── customized-progress-dot.md │ │ ├── progress-dot.md │ │ └── clickable.md ├── tree │ └── index.zh-CN.md ├── list │ ├── index.zh-CN.md │ └── demo │ │ ├── card.md │ │ └── basic.md ├── popconfirm │ ├── index.zh-CN.md │ └── demo │ │ └── basic.md ├── calendar │ └── calend.js ├── empty │ ├── demo │ │ └── basic.md │ └── index.zh-CN.md ├── datepicker │ ├── dtpicker.js │ ├── index.zh-CN.md │ └── demo │ │ ├── disabled.md │ │ ├── shadow.md │ │ ├── basic.md │ │ └── light.md ├── others │ └── index.zh-CN.md ├── message │ ├── index.zh-CN.md │ └── demo │ │ └── basic.md ├── dropdown │ ├── index.zh-CN.md │ └── demo │ │ └── basic.md ├── input │ ├── demo │ │ ├── textarea.md │ │ ├── password-input.md │ │ ├── size.md │ │ ├── shadow.md │ │ ├── basic.md │ │ ├── light.md │ │ ├── unit-input.md │ │ └── presuffix.md │ └── index.zh-CN.md ├── timepicker │ ├── demo │ │ ├── disabled.md │ │ ├── basic.md │ │ ├── size.md │ │ ├── shadow.md │ │ └── light.md │ ├── tmpicker.jsx │ └── index.zh-CN.md ├── checkbox │ ├── index.zh-CN.md │ └── demo │ │ ├── disabled.md │ │ ├── basic.md │ │ └── layout.md ├── form │ └── index.zh-CN.md ├── tag │ ├── index.zh-CN.md │ └── demo │ │ ├── basic.md │ │ ├── disabled.md │ │ ├── icon.md │ │ ├── controlled.md │ │ └── color.md ├── breadcrumb │ ├── index.zh-CN.md │ └── demo │ │ ├── basic.md │ │ └── tooltip.md ├── radio │ ├── index.zh-CN.md │ └── demo │ │ └── shadow.md ├── pagination │ ├── demo │ │ ├── simple.md │ │ ├── full.md │ │ ├── size.md │ │ └── basic.md │ └── index.zh-CN.md ├── button │ ├── demo │ │ ├── size.md │ │ ├── basic.md │ │ ├── ghost.md │ │ ├── disabled.md │ │ ├── loading.md │ │ ├── onlyIcon.md │ │ ├── danger.md │ │ └── icon.md │ └── index.zh-CN.md ├── upload │ ├── index.zh-CN.md │ └── demo │ │ └── basic.md ├── alert │ ├── index.zh-CN.md │ └── demo │ │ ├── basic.md │ │ └── icon.md ├── input-number │ ├── demo │ │ ├── basic.md │ │ └── size.md │ └── index.zh-CN.md ├── cascader │ ├── index.zh-CN.md │ └── demo │ │ ├── select.md │ │ └── basic.md ├── treeselect │ └── index.zh-CN.md ├── descriptions │ ├── index.zh-CN.md │ └── demo │ │ └── basic.md ├── tooltip │ ├── demo │ │ └── basic.md │ └── index.zh-CN.md ├── popover │ ├── index.zh-CN.md │ └── demo │ │ └── basic.md ├── drawer │ └── index.zh-CN.md ├── collapse │ ├── index.zh-CN.md │ └── demo │ │ ├── card.md │ │ ├── basic.md │ │ ├── ghost.md │ │ └── light.md ├── card │ ├── demo │ │ ├── basic.md │ │ └── grid-card.md │ └── index.zh-CN.md ├── tab │ ├── demo │ │ ├── disabled.md │ │ ├── card.md │ │ ├── icon.md │ │ ├── slide-vertical.md │ │ └── light.md │ └── index.zh-CN.md ├── notification │ ├── index.zh-CN.md │ └── demo │ │ ├── closeAll.md │ │ ├── basic.md │ │ └── btn.md ├── steps │ └── index.zh-CN.md ├── transfer │ └── index.zh-CN.md ├── modal │ ├── index.zh-CN.md │ └── demo │ │ ├── largeTitle.md │ │ ├── size.md │ │ └── basic.md ├── select │ ├── demo │ │ ├── size.md │ │ ├── shadow.md │ │ ├── light.md │ │ ├── basic.md │ │ ├── multiply.md │ │ └── search.md │ └── index.zh-CN.md ├── icon │ └── index.zh-CN.md ├── table │ └── demo │ │ ├── empty.md │ │ └── empty-top.md └── layout │ └── index.zh-CN.md ├── cup.config.js ├── custom-icons ├── iconfont-svgs │ ├── MoreOutlined.svg │ ├── EllipsisOutlined.svg │ ├── MinusOutlined.svg │ ├── UpOutlined.svg │ ├── DownOutlined.svg │ ├── LeftOutlined.svg │ ├── RightOutlined.svg │ ├── CheckOutlined.svg │ ├── CaretDownFilled.svg │ ├── CaretRightFilled.svg │ ├── CaretUpFilled.svg │ ├── MinusCircleFilled.svg │ ├── SwapRightOutlined.svg │ ├── CollapseCaretRightFilled.svg │ ├── CloseOutlined.svg │ ├── MinusCircleOutlined.svg │ ├── PlusOutlined.svg │ ├── FilterFilled.svg │ ├── DoubleLeftOutlined.svg │ ├── DoubleRightOutlined.svg │ ├── MenuFoldOutlined.svg │ ├── MenuUnfoldOutlined.svg │ ├── HomeOutlined.svg │ ├── BarsOutlined.svg │ ├── PlusCircleOutlined.svg │ ├── EditOutlined.svg │ ├── ReloadOutlined.svg │ ├── ClockCircleOutlined.svg │ ├── CheckCircleOutlined.svg │ ├── ExclamationCircleOutlined.svg │ ├── UserOutlined.svg │ ├── SearchOutlined.svg │ ├── WarningFilled.svg │ ├── LayoutOutlined.svg │ ├── PlusCircleFilled.svg │ ├── CheckCircleFilled.svg │ ├── ZoomOutOutlined.svg │ ├── ExclamationCircleFilled.svg │ ├── MessageOutlined.svg │ ├── MinusSquareOutlined.svg │ ├── DeleteOutlined.svg │ ├── UploadOutlined.svg │ ├── DownloadOutlined.svg │ ├── ZoomInOutlined.svg │ ├── ImportOutlined.svg │ ├── CloseCircleFilled.svg │ ├── PaperClipOutlined.svg │ ├── EyeOutlined.svg │ ├── StarFilled.svg │ ├── PlusSquareOutlined.svg │ ├── QuestionCircleFilled.svg │ ├── SwapOutlined.svg │ ├── QuestionCircleOutlined.svg │ ├── DragOutlined.svg │ └── ExportOutlined.svg └── generate │ ├── rate.js │ ├── formSpecial.js │ └── special.js ├── .stylelintrc.js ├── scripts ├── publish.sh ├── changelog.sh └── release.sh ├── default.conf ├── README.md └── README_zh.md /theme/static/style.js: -------------------------------------------------------------------------------- 1 | import './index.less'; 2 | -------------------------------------------------------------------------------- /theme/dt-theme/dark/tab.less: -------------------------------------------------------------------------------- 1 | @import "../const.less"; 2 | -------------------------------------------------------------------------------- /theme/static/style/index.tsx: -------------------------------------------------------------------------------- 1 | import './index.less'; 2 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | **/iconfont*/* 4 | -------------------------------------------------------------------------------- /theme/dt-theme/index.less: -------------------------------------------------------------------------------- 1 | @import "./default/index.less"; 2 | -------------------------------------------------------------------------------- /theme/static/style/style/index.tsx: -------------------------------------------------------------------------------- 1 | import './index.less'; 2 | -------------------------------------------------------------------------------- /theme/static/style/themes/index.less: -------------------------------------------------------------------------------- 1 | @import "./default.less"; 2 | -------------------------------------------------------------------------------- /theme/static/style/style/themes/index.less: -------------------------------------------------------------------------------- 1 | @import "./default.less"; 2 | -------------------------------------------------------------------------------- /theme/static/style/v2-compatible-reset.tsx: -------------------------------------------------------------------------------- 1 | import './v2-compatible-reset.less'; 2 | -------------------------------------------------------------------------------- /theme/static/style/index.less: -------------------------------------------------------------------------------- 1 | @import "./themes/index"; 2 | @import "./core/index"; 3 | -------------------------------------------------------------------------------- /theme/static/style/style/index.less: -------------------------------------------------------------------------------- 1 | @import "./themes/index"; 2 | @import "./core/index"; 3 | -------------------------------------------------------------------------------- /theme/static/style/style/v2-compatible-reset.tsx: -------------------------------------------------------------------------------- 1 | import './v2-compatible-reset.less'; 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | 4 | *.md 5 | # custom-icons/ 6 | **/iconfont*/* 7 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: [require.resolve('ko-lint-config/.eslintrc')], 3 | }; 4 | -------------------------------------------------------------------------------- /theme/dt-theme/default/message.less: -------------------------------------------------------------------------------- 1 | @import "../const.less"; 2 | 3 | .ant-message { 4 | top: 88px; 5 | } 6 | -------------------------------------------------------------------------------- /theme/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/favicon.ico -------------------------------------------------------------------------------- /theme/static/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/favicon.png -------------------------------------------------------------------------------- /theme/static/img/一致性.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/img/一致性.png -------------------------------------------------------------------------------- /theme/static/img/信噪比.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/img/信噪比.png -------------------------------------------------------------------------------- /theme/dt-theme/dark/drawer.less: -------------------------------------------------------------------------------- 1 | @import "../const.less"; 2 | 3 | .ant-drawer-body { 4 | color: @whiteBF; 5 | } 6 | -------------------------------------------------------------------------------- /theme/static/img/img1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/img/img1.png -------------------------------------------------------------------------------- /theme/static/img/img2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/img/img2.png -------------------------------------------------------------------------------- /theme/static/img/img3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/img/img3.png -------------------------------------------------------------------------------- /theme/static/img/img4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/img/img4.png -------------------------------------------------------------------------------- /theme/static/img/item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/img/item.png -------------------------------------------------------------------------------- /theme/static/img/业务优先.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/img/业务优先.png -------------------------------------------------------------------------------- /theme/static/img/容错机制.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/img/容错机制.png -------------------------------------------------------------------------------- /theme/static/img/清晰明了.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/img/清晰明了.png -------------------------------------------------------------------------------- /theme/static/img/灵活易用.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/img/灵活易用.png -------------------------------------------------------------------------------- /theme/static/img/高效操作.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/img/高效操作.png -------------------------------------------------------------------------------- /theme/static/img/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/img/banner.png -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | const prettier = require('ko-lint-config/.prettierrc'); 2 | 3 | module.exports = { 4 | ...prettier, 5 | }; 6 | -------------------------------------------------------------------------------- /theme/static/style/core/index.less: -------------------------------------------------------------------------------- 1 | @import "../mixins/index"; 2 | @import "base"; 3 | @import "iconfont"; 4 | @import "motion"; 5 | -------------------------------------------------------------------------------- /theme/static/iconfont/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/iconfont/iconfont.eot -------------------------------------------------------------------------------- /theme/static/iconfont/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/iconfont/iconfont.ttf -------------------------------------------------------------------------------- /theme/static/style/style/core/index.less: -------------------------------------------------------------------------------- 1 | @import "../mixins/index"; 2 | @import "base"; 3 | @import "iconfont"; 4 | @import "motion"; 5 | -------------------------------------------------------------------------------- /theme/static/iconfont/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/iconfont/iconfont.woff -------------------------------------------------------------------------------- /theme/static/iconfont/iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DTStack/ant-design-dtinsight-theme/HEAD/theme/static/iconfont/iconfont.woff2 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | _site 3 | /lib 4 | /es 5 | /dist 6 | .DS_Store 7 | npm-debug.log 8 | .history 9 | yarn-error.log 10 | .idea -------------------------------------------------------------------------------- /release.md: -------------------------------------------------------------------------------- 1 | # ant-design-dtinsight-theme 2 | 3 | ``` bash 4 | npm run release 5 | npm publish --registry https://registry.npmjs.org/ 6 | ``` 7 | -------------------------------------------------------------------------------- /theme/dt-theme/dark/card.less: -------------------------------------------------------------------------------- 1 | @import "../const.less"; 2 | 3 | .dt-card-light-bg { 4 | .ant-card, &.ant-card { 5 | background-color: @blue1; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /theme/static/theme.less: -------------------------------------------------------------------------------- 1 | @site-heading-color: #0d1a26; 2 | 3 | @site-text-color: #314659; 4 | 5 | @site-text-color-secondary: #697b8c; 6 | 7 | @site-border-color-split: #ebedf0; 8 | -------------------------------------------------------------------------------- /theme/dt-theme/dark/comm.less: -------------------------------------------------------------------------------- 1 | // 除组件外的一些 共有样式 2 | 3 | // 自定义 scrollbar 样式 4 | .dt-scrollbar-base { 5 | &::-webkit-scrollbar-thumb { 6 | background: @whiteBF; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /.stylelintignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | bower_components/ 4 | .cache-loader/ 5 | .DS_Store 6 | .idea/ 7 | .env 8 | .vscode 9 | .history 10 | *.log 11 | **/iconfont*/* 12 | tinyColor.less 13 | -------------------------------------------------------------------------------- /types/moment.ts: -------------------------------------------------------------------------------- 1 | // import moment from 'dayjs'; 2 | // import { RcFile } from 'antd/lib/upload'; 3 | 4 | // export interface RcFileWithModifyTime extends RcFile { 5 | // modifyTime: moment; 6 | // } 7 | -------------------------------------------------------------------------------- /components/index.js: -------------------------------------------------------------------------------- 1 | export { default as DatePicker } from './datepicker/dtpicker'; 2 | export { default as Calendar } from './calendar/calend'; 3 | export { default as TimePicker } from './timepicker/tmpicker'; 4 | -------------------------------------------------------------------------------- /components/rate/index.zh-CN.md: -------------------------------------------------------------------------------- 1 | --- 2 | category: Components 3 | subtitle: 评分 4 | type: 数据录入 5 | title: Rate 6 | --- 7 | 8 | 评分组件,由实底的星星组成。 9 | 10 | ## 使用场景 11 | - 对评价进行展示 12 | - 对事物进行快速的评级操作 13 | 14 | 15 | -------------------------------------------------------------------------------- /theme/static/style/mixins/size.less: -------------------------------------------------------------------------------- 1 | // Sizing shortcuts 2 | 3 | .size(@width; @height) { 4 | width: @width; 5 | height: @height; 6 | } 7 | 8 | .square(@size) { 9 | .size(@size; @size); 10 | } 11 | -------------------------------------------------------------------------------- /theme/static/style/style/mixins/size.less: -------------------------------------------------------------------------------- 1 | // Sizing shortcuts 2 | 3 | .size(@width; @height) { 4 | width: @width; 5 | height: @height; 6 | } 7 | 8 | .square(@size) { 9 | .size(@size; @size); 10 | } 11 | -------------------------------------------------------------------------------- /components/step/index.zh-CN.md: -------------------------------------------------------------------------------- 1 | --- 2 | category: Components 3 | type: 导航 4 | title: Step 5 | subtitle: 步骤条 6 | cols: 1 7 | --- 8 | 9 | 引导用户按照流程完成任务的导航条。 10 | 11 | 12 | ## 何时使用 13 | 14 | 当任务复杂或者存在先后关系时,将其分解成一系列步骤,从而简化任务。 -------------------------------------------------------------------------------- /components/tree/index.zh-CN.md: -------------------------------------------------------------------------------- 1 | --- 2 | category: Components 3 | type: 数据展示 4 | title: Tree 5 | subtitle: 树形控件 6 | --- 7 | 8 | 多层次的结构列表。 9 | 10 | ## 何时使用 11 | 12 | - 文件夹、组织架构、生物分类、国家地区等等,世间万物的大多数结构都是树形结构; 13 | - 使用 `树控件` 可以完整展现其中的层级关系,并具有展开收起选择等交互功能; 14 | -------------------------------------------------------------------------------- /components/list/index.zh-CN.md: -------------------------------------------------------------------------------- 1 | --- 2 | category: Components 3 | subtitle: 列表 4 | type: 数据展示 5 | title: List 6 | cols: 1 7 | --- 8 | 9 | 列表是一组文本或图文,其中可以包含图标按钮或文字按钮,用来聚合同类型的内容。 10 | 11 | ## 何时使用 12 | 13 | 聚合同类信息内容,方便快速浏览和查询; 14 | 用于信息的罗列,可承载文字、列表、图片、段落等; 15 | 16 | -------------------------------------------------------------------------------- /components/popconfirm/index.zh-CN.md: -------------------------------------------------------------------------------- 1 | --- 2 | category: Components 3 | subtitle: 气泡确认框 4 | type: 反馈 5 | title: Popconfirm 6 | --- 7 | 8 | 点击元素,弹出气泡式的确认框。 9 | 10 | ## 何时使用 11 | 12 | 目标元素的操作需要用户进一步的确认时,在目标元素附近弹出浮层提示,询问用户。 13 | 14 | 和 `confirm` 弹出的全屏居中模态对话框相比,交互形式更轻量。 -------------------------------------------------------------------------------- /theme/dt-theme/dark/list.less: -------------------------------------------------------------------------------- 1 | @import "../const.less"; 2 | 3 | .ant-list { 4 | .ant-list-bordered, .ant-list-item .ant-list-split, .ant-list-item { 5 | background: @blue2; 6 | border-bottom: 1px solid @blue4; 7 | } 8 | background: @blue2; 9 | } 10 | -------------------------------------------------------------------------------- /theme/static/style/mixins/index.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------------------------------- 3 | @import "size"; 4 | @import "compatibility"; 5 | @import "clearfix"; 6 | @import "iconfont"; 7 | @import "motion"; 8 | @import "reset"; 9 | @import "operation-unit"; 10 | -------------------------------------------------------------------------------- /theme/dt-theme/dark/message.less: -------------------------------------------------------------------------------- 1 | @import "../const.less"; 2 | 3 | .ant-message-notice-content { 4 | box-shadow: 0 2px 8px 0 #06070A; 5 | height: 40px; 6 | font-size: 14px; 7 | color: @whiteBF; 8 | .anticon { 9 | font-size: 16px; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /theme/static/style/style/mixins/index.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------------------------------- 3 | @import "size"; 4 | @import "compatibility"; 5 | @import "clearfix"; 6 | @import "iconfont"; 7 | @import "motion"; 8 | @import "reset"; 9 | @import "operation-unit"; 10 | -------------------------------------------------------------------------------- /components/calendar/calend.js: -------------------------------------------------------------------------------- 1 | import dayjsGenerateConfig from 'rc-picker/lib/generate/dayjs'; 2 | import generateCalendar from 'antd/lib/calendar/generateCalendar'; 3 | import 'antd/lib/calendar/style'; 4 | 5 | const Calendar = generateCalendar(dayjsGenerateConfig); 6 | 7 | export default Calendar; 8 | -------------------------------------------------------------------------------- /theme/static/style/mixins/clearfix.less: -------------------------------------------------------------------------------- 1 | // mixins for clearfix 2 | // ------------------------ 3 | .clearfix() { 4 | zoom: 1; 5 | &::before, 6 | &::after { 7 | display: table; 8 | content: ""; 9 | } 10 | &::after { 11 | clear: both; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /components/empty/demo/basic.md: -------------------------------------------------------------------------------- 1 | --- 2 | order: 0 3 | title: 4 | zh-CN: 基本 5 | en-US: Basic 6 | --- 7 | 8 | ## zh-CN 9 | 10 | 简单的展示。 11 | 12 | ## en-US 13 | 14 | Simplest Usage. 15 | 16 | ```jsx 17 | import { Empty } from 'antd'; 18 | 19 | ReactDOM.render(, mountNode); 20 | ``` 21 | -------------------------------------------------------------------------------- /theme/static/style/style/mixins/clearfix.less: -------------------------------------------------------------------------------- 1 | // mixins for clearfix 2 | // ------------------------ 3 | .clearfix() { 4 | zoom: 1; 5 | &::before, 6 | &::after { 7 | display: table; 8 | content: ""; 9 | } 10 | &::after { 11 | clear: both; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /components/datepicker/dtpicker.js: -------------------------------------------------------------------------------- 1 | import dayjsGenerateConfig from 'rc-picker/lib/generate/dayjs'; 2 | import generatePicker from 'antd/lib/date-picker/generatePicker'; 3 | import 'antd/lib/date-picker/style/index'; 4 | 5 | const DatePicker = generatePicker(dayjsGenerateConfig); 6 | 7 | export default DatePicker; 8 | -------------------------------------------------------------------------------- /components/others/index.zh-CN.md: -------------------------------------------------------------------------------- 1 | --- 2 | category: Components 3 | cols: 1 4 | type: 其他 5 | title: Others 6 | subtitle: 其他 7 | --- 8 | 9 | 不同产品中可以共用的一些样式。 10 | 11 | ## API 12 | 13 | |类名 |说明 |使用示例 | 14 | |---------|---------|---------| 15 | |.dt-scrollbar-base | 自定义滚动条样式,一般用于美化 Windows 中滚动条样式 | 自定义滚动条样式 | 16 | -------------------------------------------------------------------------------- /components/message/index.zh-CN.md: -------------------------------------------------------------------------------- 1 | --- 2 | category: Components 3 | cols: 1 4 | type: 反馈 5 | title: Message 6 | subtitle: 全局提示 7 | --- 8 | 9 | 全局展示操作反馈信息。 10 | 11 | ## 设计规范 12 | 13 | 不同主题,背景色不一致,默认主题背景色为 #FFFFFF,暗黑主题背景色为 #1D1F2E。 14 | 15 | ## 何时使用 16 | 17 | - 可提供成功、警告和错误等反馈信息。 18 | - 顶部居中显示并自动消失,是一种不打断用户操作的轻量级提示方式。 19 | 20 | -------------------------------------------------------------------------------- /theme/static/nprogress.less: -------------------------------------------------------------------------------- 1 | #nprogress { 2 | .bar { 3 | background: @primary-color; 4 | } 5 | .peg { 6 | box-shadow: 0 0 10px @primary-color, 0 0 5px @primary-color; 7 | } 8 | .spinner-icon { 9 | border-top-color: @primary-color; 10 | border-left-color: @primary-color; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /components/dropdown/index.zh-CN.md: -------------------------------------------------------------------------------- 1 | --- 2 | category: Components 3 | type: 导航 4 | title: Dropdown 5 | subtitle: 下拉菜单 6 | --- 7 | 8 | 向下弹出的列表。 9 | 10 | ## 设计规范 11 | 12 | - 上下间距8px; 13 | 14 | ## 何时使用 15 | 16 | 当页面上的操作命令过多时,用此组件可以收纳操作元素。点击或移入触点,会出现一个下拉菜单。可在列表中进行选择,并执行相应的命令。 17 | 18 | - 用于收罗一组命令操作。 19 | - Select 用于选择,而 Dropdown 是命令集合。 20 | 21 | -------------------------------------------------------------------------------- /components/input/demo/textarea.md: -------------------------------------------------------------------------------- 1 | --- 2 | order: 5 3 | title: 4 | zh-CN: 文本域 5 | --- 6 | 7 | ## zh-CN 8 | 9 | 文本域,可拖动 10 | 11 | ```jsx 12 | import { Input } from 'antd'; 13 | const { TextArea } = Input; 14 | 15 | ReactDOM.render( 16 |