summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/icon.css
diff options
context:
space:
mode:
authorAaron Iker <[email protected]>2026-01-30 18:57:49 +0100
committerGitHub <[email protected]>2026-01-30 17:57:49 +0000
commit20619a6a26ec0cfc2707b7ed13387715e9f9cdaa (patch)
tree50b8aa69da65642789c3fa92f65034a9dd1361df /packages/ui/src/components/icon.css
parent1bbe84ed8d0eceb96af06b971690ebd0b0213580 (diff)
downloadopencode-20619a6a26ec0cfc2707b7ed13387715e9f9cdaa.tar.gz
opencode-20619a6a26ec0cfc2707b7ed13387715e9f9cdaa.zip
feat: Transitions, spacing, scroll fade, prompt area update (#11168)
Co-authored-by: Github Action <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: aaroniker <[email protected]>
Diffstat (limited to 'packages/ui/src/components/icon.css')
-rw-r--r--packages/ui/src/components/icon.css54
1 files changed, 27 insertions, 27 deletions
diff --git a/packages/ui/src/components/icon.css b/packages/ui/src/components/icon.css
index a2ebee30b..dd760ccbc 100644
--- a/packages/ui/src/components/icon.css
+++ b/packages/ui/src/components/icon.css
@@ -1,34 +1,34 @@
[data-component="icon"] {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- flex-shrink: 0;
- /* resize: both; */
- aspect-ratio: 1/1;
- color: var(--icon-base);
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ flex-shrink: 0;
+ /* resize: both; */
+ aspect-ratio: 1 / 1;
+ color: var(--icon-base);
- &[data-size="small"] {
- width: 16px;
- height: 16px;
- }
+ &[data-size="small"] {
+ width: 16px;
+ height: 16px;
+ }
- &[data-size="normal"] {
- width: 20px;
- height: 20px;
- }
+ &[data-size="normal"] {
+ width: 20px;
+ height: 20px;
+ }
- &[data-size="medium"] {
- width: 24px;
- height: 24px;
- }
+ &[data-size="medium"] {
+ width: 24px;
+ height: 24px;
+ }
- &[data-size="large"] {
- width: 24px;
- height: 24px;
- }
+ &[data-size="large"] {
+ width: 24px;
+ height: 24px;
+ }
- [data-slot="icon-svg"] {
- width: 100%;
- height: auto;
- }
+ [data-slot="icon-svg"] {
+ width: 100%;
+ height: auto;
+ }
}