Download wp-calypso/packages/components/styles/wp-button-override.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 682 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/components/styles/wp-button-override.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/packages/components/styles/wp-button-override.scss
-
curl -L -o wp-button-override.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/components/styles/wp-button-override.scss
682 Bytes
| @use './_wp-components-theme-variables' as theme; | |
| @import '@wordpress/base-styles/colors'; | |
| @import '@wordpress/base-styles/variables'; | |
| .a8c-components-wp-button { | |
| &.is-secondary:not(:disabled, [aria-disabled="true"], [aria-pressed="true"]) { | |
| box-shadow: inset 0 0 0 $border-width theme.$components-color-gray-300; | |
| &:not(.is-destructive) { | |
| color: theme.$components-color-foreground; | |
| } | |
| &:hover:not(:disabled, [aria-disabled="true"], :focus) { | |
| color: theme.$components-color-accent; | |
| box-shadow: inset 0 0 0 $border-width theme.$components-color-gray-300; | |
| } | |
| &:active, | |
| &:active:hover { | |
| background-color: theme.$components-color-background; | |
| } | |
| } | |
| } | |