Download packages/ui/src/components/icon.css from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 670 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/eb1202c08d0fcc3e89b18b16bcc802e692e97016/packages/ui/src/components/icon.css
- Command line
-
hf download hf://SaylorTwift/opencode@eb1202c08d0fcc3e89b18b16bcc802e692e97016/packages/ui/src/components/icon.css
-
curl -L -o icon.css https://huggingface.co/SaylorTwift/opencode/resolve/eb1202c08d0fcc3e89b18b16bcc802e692e97016/packages/ui/src/components/icon.css
670 Bytes
| [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); | |
| &[data-size="small"] { | |
| width: 16px; | |
| height: 16px; | |
| } | |
| &[data-size="normal"] { | |
| width: 20px; | |
| height: 20px; | |
| } | |
| &[data-size="medium"] { | |
| width: 24px; | |
| height: 24px; | |
| } | |
| &[data-size="large"] { | |
| width: 24px; | |
| height: 24px; | |
| } | |
| [data-slot="icon-svg"] { | |
| width: 100%; | |
| height: auto; | |
| } | |
| } | |
| :dir(rtl) [data-component="icon"][data-directional] [data-slot="icon-svg"], | |
| :dir(rtl) [data-slot="menu-v2-item-chevron"] { | |
| transform: scaleX(-1); | |
| } | |