first commit
This commit is contained in:
commit
db5762abd4
687 files changed
+171307
No files matched your search
@@ -0,0 +1,37 @@
|
||||
import { definePreset } from "@primeuix/themes";
|
||||
import Aura from "@primeuix/themes/aura";
|
||||
import locale from "./locale.zh-CN.json";
|
||||
|
||||
// Use the MIT theme package, with the console's blue/slate/zinc palette.
|
||||
const preset = definePreset(Aura, {
|
||||
semantic: {
|
||||
primary: Object.fromEntries(
|
||||
[50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950].map((shade) => [
|
||||
shade,
|
||||
`{blue.${shade}}`,
|
||||
]),
|
||||
),
|
||||
colorScheme: {
|
||||
light: {
|
||||
surface: Object.fromEntries(
|
||||
[0, 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950].map(
|
||||
(shade) => [shade, shade === 0 ? "#ffffff" : `{slate.${shade}}`],
|
||||
),
|
||||
),
|
||||
},
|
||||
dark: {
|
||||
surface: Object.fromEntries(
|
||||
[0, 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950].map(
|
||||
(shade) => [shade, shade === 0 ? "#ffffff" : `{zinc.${shade}}`],
|
||||
),
|
||||
),
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export default {
|
||||
ripple: true,
|
||||
locale,
|
||||
theme: { preset, options: { darkModeSelector: ".app-dark" } },
|
||||
};
|
||||
Reference in new issue
Block a user