Skip to content
This repository was archived by the owner on Jul 19, 2021. It is now read-only.
This repository was archived by the owner on Jul 19, 2021. It is now read-only.

Allow settings_schema.json to be divided into multiple files #467

@t-kelly

Description

@t-kelly

Problem

settings_schema.json is used to defined global settings for an entire theme. It can grow to be pretty pretty large (~600 lines in Narrative), and hard to manage.

Solution

I propose we allow settings_schema.json to be broken up into multiple files so that it can be managed easier. The most straight-forward way of doing this would be to generate a settings_schema.json file from a settings_schema.js file. This file could look something like:

src/config/settings_schema.js

import info from './info';
import typography from './typography';
import colors from './colors';
import social from './social';

export default [
  info,
  colors,
  typography,
  social
];

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions