Download wp-calypso/packages/design-picker/src/utils/global-styles.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 216 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/design-picker/src/utils/global-styles.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/packages/design-picker/src/utils/global-styles.ts
-
curl -L -o global-styles.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/design-picker/src/utils/global-styles.ts
216 Bytes
| import { DEFAULT_GLOBAL_STYLES_VARIATION_SLUG } from '../constants'; | |
| export function isDefaultGlobalStylesVariationSlug( slug?: string ): boolean { | |
| return ! slug || slug === DEFAULT_GLOBAL_STYLES_VARIATION_SLUG; | |
| } | |