Skip to content

Commit 369bbc2

Browse files
committed
theme presets
1 parent 064db2b commit 369bbc2

File tree

3 files changed

+65
-8
lines changed

3 files changed

+65
-8
lines changed

README.md

+10-7
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,25 @@ A basic authentication starter kit using [Laravel](https://laravel.com/docs/mast
3434

3535
This starter kit provides a collection of custom theme presets to choose from, built using the powerful **PrimeVue V4** theming system. It leverages styled mode and custom design token values to create flexible and cohesive UI designs.
3636

37-
### Prebuilt Theme Presets
37+
### Provided Theme Presets
3838

39-
The prebuilt theme presets are located in the `/resources/js/theme` directory. Each preset offers a distinct visual style:
40-
41-
- **noir**
42-
A minimal, monochromatic theme that serves as the default style.
39+
The theme presets are located in the `/resources/js/theme` directory. Each preset offers a distinct visual style:
4340

4441
- **bootstrap**
45-
Emulates the familiar look and feel of [Bootstrap](https://getbootstrap.com/).
42+
Emulates the look and feel of [Bootstrap](https://getbootstrap.com/).
4643

4744
- **breeze**
48-
Captures the aesthetic of [Laravel Breeze](https://github.com/laravel/breeze).
45+
Captures the aesthetic of [Laravel Breeze](https://github.com/laravel/breeze). (R.I.P. :pray:)
4946

5047
- **enterprise**
5148
Provides a clean, no-nonsense corporate design.
5249

50+
- **noir**
51+
A minimal & clean monochromatic style that serves as the default theme.
52+
53+
- **warm**
54+
A boxy design with a warmer color pallette.
55+
5356
### Customizing Your Own Theme
5457

5558
Creating your own theme preset is simple. You can:

resources/js/theme/enterprise-preset.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Preset from '@primeuix/themes/nora';
1+
import Preset from '@primeuix/themes/material';
22
import { definePreset } from '@primeuix/themes';
33

44
const customThemePreset = definePreset(Preset, {

resources/js/theme/warm-preset.js

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
import Preset from '@primeuix/themes/nora';
2+
import { definePreset } from '@primeuix/themes';
3+
4+
const customThemePreset = definePreset(Preset, {
5+
semantic: {
6+
primary: {
7+
50: '{orange.50}',
8+
100: '{orange.100}',
9+
200: '{orange.200}',
10+
300: '{orange.300}',
11+
400: '{orange.400}',
12+
500: '{orange.500}',
13+
600: '{orange.600}',
14+
700: '{orange.700}',
15+
800: '{orange.800}',
16+
900: '{orange.900}',
17+
950: '{orange.950}',
18+
},
19+
colorScheme: {
20+
light: {
21+
surface: {
22+
50: '{stone.50}',
23+
100: '{stone.100}',
24+
200: '{stone.200}',
25+
300: '{stone.300}',
26+
400: '{stone.400}',
27+
500: '{stone.500}',
28+
600: '{stone.600}',
29+
700: '{stone.700}',
30+
800: '{stone.800}',
31+
900: '{stone.900}',
32+
950: '{stone.950}',
33+
},
34+
},
35+
dark: {
36+
surface: {
37+
50: '{stone.50}',
38+
100: '{stone.100}',
39+
200: '{stone.200}',
40+
300: '{stone.300}',
41+
400: '{stone.400}',
42+
500: '{stone.500}',
43+
600: '{stone.600}',
44+
700: '{stone.700}',
45+
800: '{stone.800}',
46+
900: '{stone.900}',
47+
950: '{stone.950}',
48+
},
49+
},
50+
},
51+
},
52+
});
53+
54+
export default customThemePreset;

0 commit comments

Comments
 (0)