-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementImprovements to current APIImprovements to current API
Description
All CSS variables should be applied to :root so they can be easily overrided in CSS without requiring to create a custom theme in JS.
Currently:
<script setup lang="ts">
import { Notification, NotificationProgress, Notivue, NotivueSwipe, lightTheme } from 'notivue';
const theme: NotivueTheme = {
...lightTheme,
'--nv-radius': '2rem',
};
</script>But it would be better like this:
:root {
--nv-radius: '2rem',
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementImprovements to current APIImprovements to current API