cu-system/cu_starterkit_theme 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cu-system/cu_starterkit_theme

Composer 安装命令:

composer require cu-system/cu_starterkit_theme

包简介

Drupal 10 base install theme for University of Colorado

README 文档

README

The Starter Kit theme for Drupal is an implementation and adaptation of standard CU System design principles and patterns.

Requirements

This theme is part of the CU System Profile and requires the modules and configuration from that to install correclty.

Configuration

Head to Appearance and clicking bootstrap5 settings.

Subtheme

  • Enable theme.
  • Head to /admin/appearance/settings/cu_starterkit_theme.
  • Scroll down to Subtheme section.
  • Name your subtheme and click Create.

Development and patching

  • Install development dependencies by running npm install
  • To lint SASS files run npm run lint:sass (it will fail build if lint fails)
  • To lint JS files run npm run lint:js (it will fail build if lint fails)
  • To compile SASS run sass scss/style.scss css/style.css (requires SASS compiler)
  • To compile SASS for CKEditor5 run sass scss/ck5style.scss css/ck5style.css
  • To compile JS: run npm run build:js
  • optional: create symlink from cu_starterkit_theme repo folder to a local Drupal installation to simplify development ln -s /path/to/cu_starterkit_theme /path/to/local-drupal-site/web/themes/custom

Updating

The CU Starter Kit Theme was created for Drupal 10 using the starterkit_theme generator and Bootstrap5. Additional information on generating themes can be found in the Starterkit documentation.

The theme will be maintained up-to-date with Drupal core's starterkit_theme theme according to the documentation for Tracking upstream changes.

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2023-09-18