From be31e62658c7e3379ebc33be6ee43a8eea6437fe Mon Sep 17 00:00:00 2001 From: jin Date: Fri, 3 Nov 2023 21:49:26 +0300 Subject: [PATCH] +2 --- theme/demo/demo.view.css.ts | 12 ------------ theme/demo/demo.view.tree | 25 ++++++++----------------- theme/demo/demo.view.ts | 2 +- 3 files changed, 9 insertions(+), 30 deletions(-) diff --git a/theme/demo/demo.view.css.ts b/theme/demo/demo.view.css.ts index c59598a01b1..831d9938d99 100644 --- a/theme/demo/demo.view.css.ts +++ b/theme/demo/demo.view.css.ts @@ -2,18 +2,6 @@ namespace $.$$ { $mol_style_define( $mol_theme_demo_case, { - box: { - shadow: [{ - x: 0, - y: 0, - blur: 0, - spread: `1px`, - color: $mol_theme.line, - }] - }, - border: { - radius: $mol_gap.round, - }, flex: { direction: `row`, shrink: 0, diff --git a/theme/demo/demo.view.tree b/theme/demo/demo.view.tree index 98a080222a3..139a0a7a866 100644 --- a/theme/demo/demo.view.tree +++ b/theme/demo/demo.view.tree @@ -6,28 +6,20 @@ $mol_theme_demo $mol_example_large value? <=> hue? 240 precision_change 15 <= Scroll $mol_scroll sub / - <= Cases $mol_list rows / - <= Case_dark $mol_theme_demo_cases - theme \$mol_theme_dark - <= Case_light $mol_theme_demo_cases - theme \$mol_theme_light + <= Cases $mol_theme_demo_case + title <= theme \Current light + inner / + <= Base $mol_theme_demo_case theme \$mol_theme_base + <= Accent $mol_theme_demo_case theme \$mol_theme_accent + <= Current $mol_theme_demo_case theme \$mol_theme_current + <= Special $mol_theme_demo_case theme \$mol_theme_special tags / \theme \skin aspects / \Type/Color -$mol_theme_demo_cases $mol_row - sub / - <= Default $mol_theme_demo_case - title <= theme \ - inner / - <= Base $mol_theme_demo_case theme \$mol_theme_base - <= Accent $mol_theme_demo_case theme \$mol_theme_accent - <= Current $mol_theme_demo_case theme \$mol_theme_current - <= Special $mol_theme_demo_case theme \$mol_theme_special - -$mol_theme_demo_case $mol_scroll +$mol_theme_demo_case $mol_view title <= theme \ sub / <= Self $mol_list rows / @@ -47,4 +39,3 @@ $mol_theme_demo_case $mol_scroll <= Special $mol_button_copy title \$mol_theme.special ^ inner inner / - Placeholder null diff --git a/theme/demo/demo.view.ts b/theme/demo/demo.view.ts index 5878e3b95fc..434ce9b0b0c 100644 --- a/theme/demo/demo.view.ts +++ b/theme/demo/demo.view.ts @@ -11,7 +11,7 @@ namespace $.$$ { export class $mol_theme_demo_case extends $.$mol_theme_demo_case { theme_code() { - return '\ttheme \\' + this.title() + return this.title() } }