用axentix制作一个drupal主题

问题描述 投票:0回答:0

我找不到带有 axentix 的入门 drupal 主题,所以我想知道制作一个的方法。 我认为 twig 可以为元素添加类提供很多帮助,但是如何自定义/覆盖样式细节呢?例如,向视图提供的元素添加类。

全局来看,哪个架构比较适合将axentix的CCS/JS文件加入到drupal主题中? 我考虑创建一个带有基本选项的入门主题,包括 axentix 作为布局管理器。

像这样在库文件中:

axentix-cdn:
  remote: useaxentix.com
  version: 2.2.1
  license:
    name: MIT
    url:  https://github.com/axentix/axentix/blob/v2/LICENSE
    gpl-compatible: true
  css:
    theme:
      'https://cdn.jsdelivr.net/npm/[email protected]/dist/axentix.min.css':
        type: external
        minified: true

'https://cdn.jsdelivr.net/npm/[email protected]/dist/axentix.min.js':
      type: external,
      minified: true

谢谢你的提示

twig themes drupal-9
© www.soinside.com 2019 - 2024. All rights reserved.