I am trying to port a Drupal 7 theme to Drupal 8. I am in the process of changing the .info file to a .info.yml file, but am not sure what to do with some of the properties. 

My current .info.yml file looks like this (all I did was just convert the syntax). 

name: Theme
type: theme
description: 'My custom theme'
core: 8.x
engine: twig
screenshot: screenshot.png
base theme: omega

regions:
    page_top: 
    page_bottom:
    content:
    other stuff:

zones:
    user:
    branding:
    header:
    preface:
    content:
    postscript:
    footer:

css:
    global.css:
        name:
        description:
        options:
            weight:

stylesheets:
    all:
        -some css files from my cs folder

scripts:
    -some scripts from my js folder

grids:
    theme_default:
        name:
        layouts:
            wide:
            normal:
            narrow:
        columns:
            full:
            24:
            16:
            12:

settings:
    a ton of settings:

version: "8.x"
core: "8.x"
project: "omega"

I know that the css, js, and scripts should now be written by creating appropriate libraries. However, some of the other properties, such as grids and settings, don't seem to be valid keys, as described here: https://www.drupal.org/docs/8/theming-drupal-8/defining-a-theme-with-an-infoyml-file. Should I just leave this as is, or is there a special way to deal with those properties?

Comments

vm’s picture

suggest reviewing a theme that includes grids, and settings. Perhaps bootstrap or adaptive theme. Review their info.yml