Commit Graph

82 Commits

Author SHA1 Message Date
陈帅
bd236a78a1
chore: add theme color meta (#31872) 2021-08-23 10:46:56 +08:00
afc163
aa7888cf4e chore: remove unused code 2021-08-19 12:04:07 +08:00
Yoki
d2ef1198f5
docs: improve theme switch experience (#31816)
* feat: 优化暗色主题模式下刷新白屏且延迟切换的问题,优化主题路由自动切换逻辑

* feat: 添加系统主题color-scheme, 在暗色模式下滚动条等系统控件也变为暗色主题

* feat: remove logic about localstorage theme, query theme from url search
2021-08-17 13:15:20 +08:00
二货机器人
e8314b23d2
chore: Thanks @yesmeck & @ycjcl868 (#30618) 2021-05-21 18:58:22 +08:00
afc163
75e79a384b chore: change cdn url
close #29311
2021-05-06 10:34:10 +08:00
Tom Xu
b5dc079228
chore: improve code style (#27266) 2020-10-21 10:35:06 +08:00
二货机器人
77c5adbe4d
feat: New Tabs (#24552)
* init style

* support size

* editable

* add shadow

* update demo

* fix nest style

* update rtl

* update snapshot

* bump

* fix hover

* fix test case

* fix style lint

* clean up

* updat docs

* add onTabScroll

* upgrade rc-dropdown

* update snapshot

* clean snapshot

* clean up

Co-authored-by: afc163 <afc163@gmail.com>
2020-05-30 18:28:25 +08:00
Rustin
bf89677383
Revert "fix: set codesandbox referrer to no-referrer (#22688)" (#22795)
This reverts commit c806a836
2020-04-01 11:11:59 +08:00
Rustin
c806a836e5
fix: set codesandbox referrer to no-referrer (#22688)
* fix: set referrer to no-referrer

* fix: use <a> replace form

* refactoring: remove useless code

* fix: refine css issue
2020-03-28 15:16:39 +08:00
信鑫-King
f88f383be6
fix: dark site in Form and iframe change (#20573)
* fix: suggestion dark bg

* fix: demo use autoComplete="off"

* feat: support iframe theme change

* fix: iframe dark theme

* upd: test snapshot

* fix: lint

* fix: lint

* tweak: use theme-switcher to handle iframe and parent

* feat: support iframe theme change

* fix: dark shadow

* fix: layout style

* fix: dark site style

* fix: snapshot
2020-01-02 17:54:11 +08:00
ycjcl868
0c272cb675 feat: prefetch speed up dark.css load 2019-12-26 16:33:17 +08:00
偏右
8501b708ea refactor: 📦 smaller bundlesize limit (#20356)
* 📦 samller bundlesize limit

* 🗑️ remove React static PropTypes

* 🗑️ remove react-lifecycles-compat

* 🗑️ remove matchMedia polyfill

* 🗑️ remove Transfer buggy lazy prop

* 🗑️ remove enquire.js dep

* 🗑️ remove Transfer lazy related code and fix ci

* 🗑️ remove used dom-closest

*  replace dom-scroll-into-view to scroll-into-view for bundle size

*  fix eslint

* 🆙 upgrade browserslist

*  fix test cases

* 🗑️ remove @ant-design/create-react-context

* 🆙 upgrade @ant-design/bisheng-plugin

* 🆙 upgrade rc-slider

*  fix ci

* 🆙 upgrade rc-tabs and rc-mentions

* 📦 scroll-into-view -> scroll-into-view-if-needed

* remove unused devDep

* docs: 📝 update instruction about IE9/10

* 📦 reduce css bundle size by drop IE9/10 support

* 🆙 upgrade rc-upload

* 🗑️ drop unused swing motion css

*  update upload snapshots

* 📦 lift css bundlesize limit to 55kb
2019-12-23 18:33:08 +08:00
信鑫-King
0a09b3b008 tweak: site title unescape 2019-10-01 23:18:15 +08:00
ycjcl868
30dd9a3b0e feat: helmet seo 2019-09-08 15:15:51 +08:00
ycjcl868
5dd132340e feat: better seo 2019-09-08 15:15:51 +08:00
afc163
60e7fa3c73 Migrate to react-intl 3 2019-08-08 18:16:18 +08:00
信鑫-King
4a3cf8d6e7 💄 site prerender support title (#17961) 2019-07-30 11:00:08 +08:00
afc163
6ffef83939
fix polyfill.min.js 2019-06-21 17:11:00 +08:00
afc163
d65fdac58a
use polyfill service 2019-06-21 12:29:05 +08:00
afc163
9e478a4273
📝 optimize site info 2019-05-08 16:27:37 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
ycjcl868
4a2b661f1f 🐛 static hash 2019-04-09 20:19:45 +08:00
ycjcl868
fc88336bdb 💄 site static js use contentHash 2019-04-09 17:29:11 +08:00
afc163
18d070d2d4
🆙 upgrade es6-shim version 2019-03-18 15:34:33 +08:00
afc163
5de5f4c458 🐛 Fix errors in lgtm.com
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
2019-01-28 14:02:32 +08:00
afc163
e139e57cfe
📝 remove unused common.js in site 2019-01-14 18:16:56 +08:00
afc163
3a25ef8d14
💄 Fix lgtm alerts
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
2018-12-22 17:40:25 +08:00
afc163
c1908e78e5 📈 site: fix ga event 2018-11-13 15:24:12 +08:00
afc163
d13187ba1e site: tweak script and style tags order 2018-08-20 17:08:07 +08:00
afc163
55d43eb13b site: move script to body bottom 2018-08-17 22:29:36 +08:00
afc163
799c7be17e Fix site error in IE10/11 which don't support conditional comments 2018-08-12 00:04:58 +08:00
afc163
0587804fb1 Fix kcard.alipay.com issue, close #11349 2018-08-02 17:00:39 +08:00
afc163
0f73b5d3f7 site: upgrade analytics code 2018-05-21 23:27:26 +08:00
afc163
14beee1fe1 site: add baidu tongji 2018-05-21 22:58:12 +08:00
Zohaib Ijaz
df7ef9a833 site: Repalced generateColorLess script with antd-theme-generator
* Repalced generateColorLess script with antd-theme-generator which allows to dynamically change theme for all color variables

* Updated antd-theme-generator version

* Updated Ant styles directory path
2018-05-18 12:01:32 +08:00
afc163
1abe1517d8 Add deer tracking code 2018-03-26 15:35:39 +08:00
愚指导
2548a4bcf9 add polyfill for ie (#9444) 2018-03-02 11:49:56 +08:00
afc163
336c3613e8 site: fix navigator.language undefined 2017-12-13 20:04:09 +08:00
ddcat1115
5458c6a40c fix style and favicon 2017-12-01 11:25:13 +08:00
afc163
f7a8d02f09 update home page style, close #8238 2017-11-30 21:38:48 +08:00
ddcat1115
04a00e6e14 update logo 2017-11-28 11:18:18 +08:00
afc163
1e1baf01f6 remove react extenals 2017-11-21 15:49:17 +08:00
偏右
0ffccf8b0f Provide a debug way of preact compatibility (#7670)
* try preact

* Add start:preact to scripts

* fix webpack.config.js
2017-09-20 14:57:48 +08:00
Wei Zhu
ed2303a5da Change primary color in browser (#7516) 2017-09-18 17:31:48 +08:00
afc163
5f938a6818 update template.html 2017-09-15 21:40:13 +08:00
paranoidjk
a73d0504ca site: dev use uncompressed bundle. close #7383 (#7472) 2017-09-06 09:19:35 +08:00
afc163
031aa14090 Add Hotjar Tracking Code 2017-04-12 21:17:04 +08:00
Benjy Cui
57674fc778 site: fix site in IE9, ref: #5526 2017-03-29 15:31:01 +08:00
paranoidjk
c8fdf3ebac site: fix safari language check (#5245) 2017-03-10 10:06:27 +08:00
afc163
47f2aab529 site: fix compatibility 2017-03-05 20:13:54 +08:00