Skip to content

Commit

Permalink
style: theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Dogtiti committed Dec 28, 2024
1 parent 4775c2d commit c90bd95
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/styles/themes/coral.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/* 珊瑚橙主题 */
@mixin coral-light {
--primary: rgb(255, 127, 80);
--second: rgba(255, 127, 80, 0.1);
--second: rgb(253, 246, 243);
--hover-color: rgb(255, 248, 245);
--bar-color: rgba(255, 127, 80, 0.1);
}

@mixin coral-dark {
--primary: rgb(255, 147, 100);
--second: rgba(255, 147, 100, 0.1);
--second: rgb(46, 42, 41);
--hover-color: rgb(38, 35, 34);
--bar-color: rgba(255, 147, 100, 0.1);
}
4 changes: 2 additions & 2 deletions app/styles/themes/mint.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/* 薄荷绿主题 */
@mixin mint-light {
--primary: rgb(22, 177, 155);
--second: rgba(22, 177, 155, 0.1);
--second: rgb(242, 249, 247);
--hover-color: rgb(245, 250, 248);
--bar-color: rgba(22, 177, 155, 0.1);
}

@mixin mint-dark {
--primary: rgb(42, 197, 175);
--second: rgba(42, 197, 175, 0.1);
--second: rgb(41, 46, 45);
--hover-color: rgb(36, 38, 37);
--bar-color: rgba(42, 197, 175, 0.1);
}
4 changes: 2 additions & 2 deletions app/styles/themes/purple.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/* 深邃紫主题 */
@mixin purple-light {
--primary: rgb(125, 95, 255);
--second: rgba(125, 95, 255, 0.1);
--second: rgb(245, 244, 252);
--hover-color: rgb(247, 245, 255);
--bar-color: rgba(125, 95, 255, 0.1);
}

@mixin purple-dark {
--primary: rgb(145, 115, 255);
--second: rgba(145, 115, 255, 0.1);
--second: rgb(43, 41, 46);
--hover-color: rgb(37, 35, 38);
--bar-color: rgba(145, 115, 255, 0.1);
}
2 changes: 1 addition & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ console.log("[Next] build mode", mode);
const disableChunk = !!process.env.DISABLE_CHUNK || mode === "export";
console.log("[Next] build with chunk: ", !disableChunk);

const theme = process.env.THEME_COLOR ?? "coral";
const theme = process.env.THEME_COLOR ?? "mint";
console.log("[Next] build with theme: ", theme);

/** @type {import('next').NextConfig} */
Expand Down

0 comments on commit c90bd95

Please sign in to comment.