主题库实现方法和装置

By creating a shared theme library and component library, the theme styles of multiple projects are decoupled and isolated, reducing the workload of modifying theme styles, improving development efficiency, and supporting the reuse and sharing of theme libraries across multiple projects, thus solving the high cost problem of multi-project theme style management in existing technologies.

CN118113661BActive Publication Date: 2026-07-17BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
Filing Date
2022-11-29
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In existing technologies, managing theme styles for multiple projects requires modifying common files for each project, which leads to a sharp increase in the workload of modifications and file management costs.

Method used

Create a shared theme library, which includes multiple theme folders, each corresponding to a project. By importing the theme folder and component library of the target project, and using theme style configuration values ​​to replace variables in the project and component code, the project and theme styles are decoupled and isolated.

Benefits of technology

It reduces the workload of modifying theme styles, improves development efficiency, and supports the reuse and sharing of theme libraries across multiple projects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118113661B_ABST
    Figure CN118113661B_ABST
Patent Text Reader

Abstract

本发明公开了一种主题库实现方法和装置,涉及计算机技术领域。该方法的一具体实施方式包括:创建应用在多个项目的主题库,主题库包括多个主题文件夹,多个主题文件夹与多个项目一一对应,每一主题文件夹中含有对应项目的主题样式文件,主题样式文件中含有主题样式变量和对应的主题样式配置值;响应于执行目标项目的开发,在目标项目中根据主题库的名称和目标项目所对应的目标主题文件夹的描述信息引入目标主题文件夹,并在目标项目中引入预先载入主题库的组件库;依据组件库中的组件搭建目标项目页面,利用目标主题文件夹中的主题样式配置值替换组件代码和目标项目代码中相应的主题样式变量。该实施方式能够减少各项目主题样式修改的工作量。
Need to check novelty before this filing date? Find Prior Art