+
Desktop
+
+
+
+
+ Normal
+ Radius: 24, padding: 24/20
+
+
+
+
+
+
+
+
+
+ Compact
+ Radius: 16, padding: 20/16
+
+
+
+
+
+
+
+
+
iOS/Android
+
+
+
+
+ Normal
+ Radius: 24, padding: 20/16
+
+
+
+
+
+
+
+
+
+ Compact
+ Radius: 16, padding: 16/14
+
+
+
+
+
+
diff --git a/projects/demo/src/modules/experimental/card/examples/19/index.ts b/projects/demo/src/modules/experimental/card/examples/19/index.ts
new file mode 100644
index 0000000000000..df458873acfd7
--- /dev/null
+++ b/projects/demo/src/modules/experimental/card/examples/19/index.ts
@@ -0,0 +1,11 @@
+import {Component} from '@angular/core';
+import {changeDetection} from '@demo/emulate/change-detection';
+import {encapsulation} from '@demo/emulate/encapsulation';
+
+@Component({
+ selector: 'tui-card-example-19',
+ templateUrl: './index.html',
+ encapsulation,
+ changeDetection,
+})
+export class TuiCardExample19 {}
diff --git a/projects/demo/src/modules/experimental/card/examples/5/index.less b/projects/demo/src/modules/experimental/card/examples/5/index.less
index 994070ff005da..659262ce86738 100644
--- a/projects/demo/src/modules/experimental/card/examples/5/index.less
+++ b/projects/demo/src/modules/experimental/card/examples/5/index.less
@@ -9,12 +9,12 @@
color: #333;
}
-.money {
+.money[tuiSurface] {
background: #ffdd2d;
color: #333;
}
-.poster {
+.poster[tuiSurface] {
background: rgb(88, 192, 190);
padding: 0.75rem;
color: #fff;
@@ -34,7 +34,7 @@
}
}
-.fly {
+.fly[tuiSurface] {
background: rgb(101, 174, 234);
padding: 0.75rem;
color: #fff;
@@ -50,8 +50,8 @@
}
}
-.google,
-.microsoft {
+.google[tuiSurface],
+.microsoft[tuiSurface] {
padding: 0.75rem;
background: var(--tui-base-02);
height: 8rem;
@@ -62,7 +62,7 @@
}
}
-.google {
+.google[tuiSurface] {
[tuiSubtitle] {
color: red;
}
@@ -72,7 +72,7 @@
}
}
-.microsoft {
+.microsoft[tuiSurface] {
[tuiSubtitle] {
color: #00b92d;
}
diff --git a/projects/demo/src/modules/experimental/card/examples/7/index.less b/projects/demo/src/modules/experimental/card/examples/7/index.less
index 57c9b8a4fe8ab..1b720d2235e64 100644
--- a/projects/demo/src/modules/experimental/card/examples/7/index.less
+++ b/projects/demo/src/modules/experimental/card/examples/7/index.less
@@ -5,7 +5,7 @@
gap: 1rem;
}
-.surface {
+.surface[tuiSurface] {
height: 6.5rem;
width: 6.5rem;
padding: 0.75rem;
diff --git a/projects/demo/src/modules/experimental/card/examples/8/index.html b/projects/demo/src/modules/experimental/card/examples/8/index.html
new file mode 100644
index 0000000000000..28db44b053ca1
--- /dev/null
+++ b/projects/demo/src/modules/experimental/card/examples/8/index.html
@@ -0,0 +1,93 @@
+