schon/storefront/app/components/skeletons/cards/brand.vue
Alexandr SaVBaD Waltz 556354a44d feat(storefront): overhaul theming system and unify SCSS variables
Revamped the theming system with new SCSS variables for consistent styling across light and dark themes. Replaced static color values with dynamic variables for maintainability and improved theme adaptability. Updated components and layouts to use the new variables.

- Moved theme plugin logic for optimized handling of theme cookies and attributes.
- Enhanced `useThemes` composable for simplified client-side updates and SSR support.
- Replaced redundant SCSS color definitions with centralized variables.
- Improved page structure by introducing `ui-title` for reusable section headers.
- Unified transitions and border-radius for consistent design language.

Breaking Changes:
Theming system restructured—migrate to `$main`, `$primary`, and related variables for SCSS colors. Remove usage of `--color-*` variables in templates and styles.
2026-03-01 20:16:05 +03:00

48 lines
No EOL
793 B
Vue

<template>
<el-skeleton
class="sk"
animated
>
<template #template>
<el-skeleton-item
variant="image"
class="sk__image"
/>
<el-skeleton-item
variant="p"
class="sk__name"
/>
</template>
</el-skeleton>
</template>
<script setup lang="ts">
const props = defineProps<{
isList?: boolean;
}>();
</script>
<style lang="scss" scoped>
.sk {
width: 100%;
background-color: $skeleton;
border-radius: $default_border_radius;
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
border: 1px solid $border;
padding: 23px;
&__image {
width: 100%;
height: 233px;
border-radius: $less_border_radius;
}
&__name {
width: 100%;
height: 20px;
}
}
</style>