feat: 添加bbs前端

This commit is contained in:
橙子
2023-02-19 23:50:42 +08:00
parent 380f728de2
commit 2f654a1772
102 changed files with 33042 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
import colors from 'vuetify/lib/util/colors'
export default {
white: '#1E1E1E',
grey: {
lighten5: '#363636'
}
}
// const color = {
// primary: '#1976D2',
// secondary: '#424242',
// accent: '#82B1FF',
// error: '#FF5252',
// info: '#2196F3',
// success: '#4CAF50',
// warning: '#FFC107',
// }
// export default color

View File

@@ -0,0 +1,19 @@
import colors from 'vuetify/lib/util/colors'
import store from "../../store/index"
// export default {
// primary: {
// base: colors.primary.base,
// darken1: colors.primary.base1
// },
// secondary: colors.secondary,
// // 所有的键将生成主题样式,
// // 这里我们添加一个自定义的 `tertiary` 颜色
// tertiary: colors.tertiary
// }
const color = {
// cyan: '#FF9900',
// blue: '#663300'
};
export default color

View File

@@ -0,0 +1,21 @@
import Vue from 'vue'
import Vuetify from 'vuetify/lib'
import light from './theme/light'
import dark from './theme/dark'
import 'typeface-roboto/index.css' // 引入本地的Roboto字体资源
import '@mdi/font/css/materialdesignicons.css' // 引入本地的Material Design Icons资源
Vue.use(Vuetify)
import en from 'vuetify/lib/locale/en';
import zhHans from 'vuetify/lib/locale/zh-Hans';
import ja from 'vuetify/lib/locale/ja';
export default new Vuetify({
lang: {
locales: { en, zhHans, ja },
current: 'zhHans',
},
theme: {
themes: { light, dark },
},
})