<?php

namespace Tests\Feature\Admin;

use Tests\TestCase;

class TamaguiThemeTest extends TestCase
{
    public function test_admin_theme_tokens_reference_new_fonts_and_palette(): void
    {
        $config = file_get_contents(base_path('tamagui.config.ts'));
        $styles = file_get_contents(base_path('resources/css/app.css'));

        $this->assertIsString($config);
        $this->assertIsString($styles);
        $this->assertStringContainsString("family: 'Manrope'", $config);
        $this->assertStringContainsString("family: 'Fraunces'", $config);
        $this->assertStringContainsString("primary: '#FF5A5F'", $config);
        $this->assertStringContainsString("background: '#FFF8F5'", $config);
        $this->assertStringContainsString("background: '#171219'", $config);
        $this->assertStringContainsString('.admin-fade-up', $styles);
    }
}
