Skip to content

Commit

Permalink
+2
Browse files Browse the repository at this point in the history
  • Loading branch information
jin committed Nov 3, 2023
1 parent 9d1ccf6 commit be31e62
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 30 deletions.
12 changes: 0 additions & 12 deletions theme/demo/demo.view.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
25 changes: 8 additions & 17 deletions theme/demo/demo.view.tree
Original file line number Diff line number Diff line change
Expand Up @@ -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 /
Expand All @@ -47,4 +39,3 @@ $mol_theme_demo_case $mol_scroll
<= Special $mol_button_copy title \$mol_theme.special
^ inner
inner /
Placeholder null
2 changes: 1 addition & 1 deletion theme/demo/demo.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

}
Expand Down

0 comments on commit be31e62

Please sign in to comment.