diff --git a/app.vue b/app.vue index 1208384..1c15109 100644 --- a/app.vue +++ b/app.vue @@ -2,7 +2,9 @@ - diff --git a/nuxt.config.ts b/nuxt.config.ts index 31a746c..19eee34 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,6 +1,62 @@ import { definePreset } from '@primevue/themes'; import Aura from '@primevue/themes/aura'; +const text = { + color: '#000', + hoverColor: '#000', + mutedColor: '#000', + hoverMutedColor: '#000' +} +const content = { + background: '{orange.0}', + hoverBackground: '{orange.100}', + borderColor: '{orange.200}', + color: '#000', + hoverColor: '#000' +} + +const base = { + 50: '{orange.50}', + 100: '{orange.100}', + 200: '{orange.200}', + 300: '{orange.300}', + 400: '{orange.400}', + 500: '{orange.500}', + 600: '{orange.600}', + 700: '{orange.700}', + 800: '{orange.800}', + 900: '{orange.900}', + 950: '{orange.950}' +} + + +const button = { + root: { + text: { secondary: { color: '#000', }, }, + primary: { + background: '{orange.100}', + hoverBackground: '{orange.100}', + activeBackground: '{orange.100}', + borderColor: '#000', + hoverBorderColor: '#000', + activeBorderColor: '#000', + color: '#000', + hoverColor: '#000', + activeColor: '#000', + focusRing: { + color: '{primary.color}', + shadow: 'none' + } + }, + }, +} + +const panel = { + background: '#fdba744d', + borderRadius: 0, + color: '#000', +} + const RustLangESPreset = definePreset(Aura, { primitive: { borderRadius: { @@ -13,18 +69,18 @@ const RustLangESPreset = definePreset(Aura, { }, }, semantic: { - primary: { - 50: '{orange.50}', - 100: '{orange.100}', - 200: '{orange.200}', - 300: '{orange.300}', - 400: '{orange.400}', - 500: '{orange.500}', - 600: '{orange.600}', - 700: '{orange.700}', - 800: '{orange.800}', - 900: '{orange.900}', - 950: '{orange.950}' + primary: base, + }, + colorScheme: { + light: { + text, + content, + surface: base, + }, + dark: { + text, + content, + surface: base, }, }, components: { @@ -35,33 +91,18 @@ const RustLangESPreset = definePreset(Aura, { color: '#000', }, }, + datepicker: { + panel, + header: panel, + selectMonth: { color: '#000', }, + selectYear: { color: '#000', }, + weekDay: { color: '#000', }, + date: { color: '#000', }, + }, button: { - border: { radius: 0, }, - primary: { - color: '#000', - background: '{orange.100}', - hover: { background: '{orange.100}' } - }, colorScheme: { - light: { - root: { - primary: { - background: '{orange.100}', - hoverBackground: '{orange.100}', - activeBackground: '{orange.100}', - borderColor: '{primary.color}', - hoverBorderColor: '{primary.hover.color}', - activeBorderColor: '{primary.active.color}', - color: '#000', - hoverColor: '#000', - activeColor: '#000', - focusRing: { - color: '{primary.color}', - shadow: 'none' - } - }, - }, - }, + dark: button, + light: button, }, }, }, diff --git a/pages/form/[id].vue b/pages/form/[id].vue index 12569d4..7ade188 100644 --- a/pages/form/[id].vue +++ b/pages/form/[id].vue @@ -2,9 +2,27 @@