Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion playground/src/app.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
*,:before,:after { box-sizing: border-box; }
html,body { margin: 0; padding: 0; min-height: 100vh; }

/* El root debe ocupar viewport completo para que fillMaxSize funcione */
html, body, #app {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
}

body { font-family: Inter, system-ui, sans-serif; }
4 changes: 2 additions & 2 deletions playground/src/screens/BoxPlayground.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
<Surface modifier={Modifier.size(110).background(ColorScheme.Secondary).clip({ toCssBorderRadius: () => '16px' }).padding(12)}>
<Text color="onSecondary" textStyle="labelSmall">Medio</Text>
</Surface>
<Surface modifier={Modifier.size(60).background(ColorScheme.Tertiary).clip({ toCssBorderRadius: () => '16px' }).padding(8)}>
<Text color="onTertiary" textStyle="labelSmall">Top</Text>
<Surface modifier={Modifier.size(60).background(ColorScheme.Outline).clip({ toCssBorderRadius: () => '16px' }).padding(8)}>
<Text color="onSurface" textStyle="labelSmall">Top</Text>
</Surface>
</Box>
</Surface>
Expand Down
2 changes: 1 addition & 1 deletion playground/src/screens/ColumnPlayground.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
>
<Surface modifier={Modifier.size(80).background(ColorScheme.Primary).clip({ toCssBorderRadius: () => '12px' })} />
<Surface modifier={Modifier.size(60).background(ColorScheme.Secondary).clip({ toCssBorderRadius: () => '12px' })} />
<Surface modifier={Modifier.size(100).background(ColorScheme.Tertiary).clip({ toCssBorderRadius: () => '12px' })} />
<Surface modifier={Modifier.size(100).background(ColorScheme.Outline).clip({ toCssBorderRadius: () => '12px' })} />
</Column>
</Surface>
</Column>
Expand Down