File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " CCEditor" ,
33 "private" : true ,
4- "version" : " 1.0.0 " ,
4+ "version" : " 1.0.3 " ,
55 "type" : " module" ,
66 "scripts" : {
77 "dev" : " vite" ,
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ import { createBlackImage } from "../tools/images";
5858import { ToolTab } from "./tabs/ToolTab" ;
5959import { useGlobalPaste } from "./useGlobalPaste" ;
6060import { StartPanel } from "./StartPanel/StartPanel" ;
61+ import pkgJson from "../../package.json" ;
6162
6263function getDefaultFormData ( ) {
6364 return {
@@ -352,7 +353,9 @@ export function App() {
352353 < Text weight = "bold" size = { 500 } >
353354 🎭
354355 </ Text >
355- < Text className = { styles . appName } > CC Editor</ Text >
356+ < Text className = { styles . appName } >
357+ CC Editor < small > v{ pkgJson . version } </ small >
358+ </ Text >
356359 </ div >
357360 < div className = { styles . headerRight } >
358361 < LangSwitch />
Original file line number Diff line number Diff line change @@ -32,6 +32,11 @@ export const useStyles = makeStyles({
3232 appName : {
3333 fontSize : tokens . fontSizeHero700 ,
3434 fontWeight : tokens . fontWeightSemibold ,
35+
36+ "& small" : {
37+ fontSize : tokens . fontSizeBase300 ,
38+ fontWeight : tokens . fontWeightRegular ,
39+ } ,
3540 } ,
3641 mainContent : {
3742 padding : tokens . spacingHorizontalXXL ,
You can’t perform that action at this time.
0 commit comments