前端开源初始化提交

This commit is contained in:
hukdoesn
2025-06-30 11:57:32 +08:00
parent 00090a0aca
commit fa52e9e571
50 changed files with 12349 additions and 12 deletions

View File

@@ -0,0 +1,125 @@
/* 定义自定义PingFang字体 - 强制使用项目中的字体文件 */
@font-face {
font-family: 'PingFangCustom';
src: url('../font/PingFang.ttc') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'PingFangCustom';
src: url('../font/PingFang.ttc') format('truetype');
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'PingFangCustom';
src: url('../font/PingFang.ttc') format('truetype');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'PingFangCustom';
src: url('../font/PingFang.ttc') format('truetype');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'PingFangCustom';
src: url('../font/PingFang.ttc') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
* {
font-family: 'PingFangCustom', Arial, sans-serif !important;
}
body, html {
font-family: 'PingFangCustom', Arial, sans-serif !important;
margin: 0;
padding: 0;
}
:root {
font-family: 'PingFangCustom', Arial, sans-serif !important;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.ant-typography,
.ant-btn,
.ant-input,
.ant-select,
.ant-table,
.ant-menu,
.ant-dropdown,
.ant-modal,
.ant-message,
.ant-notification,
.ant-form,
.ant-card,
.ant-tabs,
.ant-breadcrumb,
.ant-pagination,
.ant-steps,
.ant-tree,
.ant-list,
.ant-drawer,
.ant-popover,
.ant-tooltip,
.ant-alert,
.ant-badge,
.ant-tag,
.ant-progress,
.ant-spin,
.ant-switch,
.ant-radio,
.ant-checkbox,
.ant-rate,
.ant-slider,
.ant-upload,
.ant-calendar,
.ant-date-picker,
.ant-time-picker,
.ant-config-provider,
.ant-app {
font-family: 'PingFangCustom', Arial, sans-serif !important;
}
[class*="ant-"] {
font-family: 'PingFangCustom', Arial, sans-serif !important;
}
input, textarea, select, button {
font-family: 'PingFangCustom', Arial, sans-serif !important;
}
.ant-input,
.ant-input-affix-wrapper,
.ant-input-number,
.ant-select-selector,
.ant-cascader-picker,
.ant-picker,
.ant-mentions,
.ant-checkbox-wrapper,
.ant-radio-wrapper {
font-family: 'PingFangCustom', Arial, sans-serif !important;
}

View File

@@ -0,0 +1,43 @@
/* global.css */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

View File

Binary file not shown.

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

1
web/src/assets/vue.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="37.07" height="36" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 198"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg>

After

Width:  |  Height:  |  Size: 496 B