feat(frontend): default site theme to Amber instead of Classic
New visitors (no saved lv_theme) now get the Amber accent; reconciled the static CSS accent, demo scene colors and console greeting to match so there is no blue/emerald flash before the theme provider applies. Updated the default-theme assertions in the theme tests.
This commit is contained in:
parent
8a758754dd
commit
3f679b83f6
8 changed files with 16 additions and 12 deletions
|
|
@ -2,7 +2,7 @@ import { LOGO_ART } from './art.generated'
|
|||
|
||||
export function printConsoleGreeting(lang: string): void {
|
||||
const ru = lang.startsWith('ru')
|
||||
console.log(`%c${LOGO_ART}`, 'color:#34d399;font-family:monospace;font-weight:bold')
|
||||
console.log(`%c${LOGO_ART}`, 'color:#e69a43;font-family:monospace;font-weight:bold')
|
||||
console.log(
|
||||
`%c${ru ? 'Открыл DevTools? Значит, тебе тут рады.' : 'Opened DevTools? You are welcome here.'}`,
|
||||
'color:#eef5f3;font-size:13px',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue