feat: implement theme customization and user preferences
- Added support for user-selected themes, allowing users to customize the appearance of the application. - Introduced a new `temaPreferido` field in the user schema to store the preferred theme. - Updated various components to apply the selected theme dynamically based on user preferences. - Enhanced the UI to include a theme selection interface, enabling users to preview and save their theme choices. - Implemented a polyfill for BlobBuilder to ensure compatibility across browsers, improving the functionality of the application.
This commit is contained in:
@@ -552,6 +552,7 @@ export default defineSchema({
|
||||
ultimaAtividade: v.optional(v.number()), // timestamp
|
||||
notificacoesAtivadas: v.optional(v.boolean()),
|
||||
somNotificacao: v.optional(v.boolean()),
|
||||
temaPreferido: v.optional(v.string()), // tema de aparência escolhido pelo usuário
|
||||
})
|
||||
.index("by_email", ["email"])
|
||||
.index("by_role", ["roleId"])
|
||||
|
||||
Reference in New Issue
Block a user