Files
f1den 29d10ce4cf Тема магазина по макету Figma
Каталог, карточка товара, корзина, оформление заказа и блог на WooCommerce.

Стили разложены по слоям: токены из Figma, база, компоненты, страницы,
брейкпоинты. Цвета, типографика, радиусы и отступы взяты из Variables и
текстовых стилей макета, ниже по слоям хардкода нет.

Иконки — Phosphor, вставляются инлайном как SVG, символами ничего не рисуется.
Стили WooCommerce отключены, вёрстка своя, !important не используется.
2026-07-30 22:38:49 +03:00

30 lines
937 B
PHP

<?php
/**
* Theme bootstrap.
*
* Behaviour lives in `inc/`, one module per concern. This file only defines
* the version constant and loads those modules in dependency order.
*
* @package VyatkaShop
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'VYATKA_SHOP_VERSION', (string) wp_get_theme()->get( 'Version' ) );
$vyatka_shop_modules = array(
'icons', // Inline SVG component; assets.php shares it with the script.
'setup', // Theme supports, menus, customizer.
'urls', // Host-agnostic URL handling for the showcase deployment.
'template-tags', // Shared render helpers.
'assets', // Stylesheet layers and scripts.
'woocommerce', // Catalog, checkout and the in-place cart endpoint.
);
foreach ( $vyatka_shop_modules as $vyatka_shop_module ) {
require_once get_template_directory() . '/inc/' . $vyatka_shop_module . '.php';
}
unset( $vyatka_shop_modules, $vyatka_shop_module );