Skip to content

Commit f1271e3

Browse files
committed
Update: CustomProperties component for root styles
1 parent d037705 commit f1271e3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/CustomProperties/CustomProperties.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import { computed } from 'vue';
1212
import type { ColorScheme } from '@shopify/polaris-tokens';
1313
import { DEFAULT_COLOR_SCHEME } from './utils';
1414
15-
import '@shopify/polaris-tokens/scss/styles.scss';
16-
1715
interface CustomPropertiesProps {
1816
/** Determines what color scheme is applied to child content. */
1917
colorScheme?: ColorScheme;
@@ -33,3 +31,7 @@ const styles = computed(() => ({
3331
...props.style,
3432
}));
3533
</script>
34+
35+
<style lang="scss">
36+
@import '@shopify/polaris-tokens/scss/styles.scss';
37+
</style>

0 commit comments

Comments
 (0)