Files
grimmory/frontend/src/app/shared/layout/theme-palette-extend.spec.ts
T
Alex 55a6343f65 refactor(frontend): decouple app shell from PrimeNG layout system (#307)
* refactor(layout): decouple shell from PrimeNG

* fix(frontend): review fixes for layout decoupling

- Rewrite layout service spec to match new API surface
- Remove dead ToastModule import from AppLayoutComponent
- Add missing type="button" to profile and logout buttons
- Add missing i18n keys to all non-English locales

* chore(frontend): Layout shell consistency

* chore(frontend): shell and routing improvements

* chore(frontend): remove stray shimmer effect

* chore(frontend): code cleanup

* chore(ui): Fix navitem types consistency

* chore(frontend): simplify layout structure + imports

* chore(frontend): remove empty files

* chore(frontend): Menu component cleanup

* chore(frontend): remove nav translation layer

* chore(frontend): revert stray artwork change

* chore(frontend): revert author animation tweak

* chore(frontend): review fixes

* fix(frontend): restore topbar template after rebase conflict
2026-04-22 17:26:57 -04:00

17 lines
589 B
TypeScript

import Aura from '@primeuix/themes/aura';
import {describe, expect, it} from 'vitest';
import ExtendedAura from './theme-palette-extend';
describe('theme-palette-extend', () => {
it('extends Aura with the custom primitive palettes', () => {
const primitive = Aura.primitive as Record<string, Record<string, string>>;
expect(ExtendedAura).toBe(Aura);
expect(primitive).toBeTruthy();
expect(primitive['coralSunset']['500']).toBe('#ef7550');
expect(primitive['skyBlue']['700']).toBe('#2e88e6');
expect(primitive['dustyNeutral']['950']).toBe('#2f2821');
});
});