Skip to content

Commit

Permalink
Update tutorial-creating-your-custom-theme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
romw314 authored Dec 6, 2023
1 parent d6b5350 commit fa266f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial-creating-your-custom-theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ Your child should be an object and should have these childs:
Child name | Type | Required | Description
-------------- | ------ | -------- | -----------
`fullName` | String | Yes | The full name of the theme.
`availability` | Object | No | Set the `monthSeason` child to an array of month names in which the theme should be available (for seasonal themes), e.g. `["January", "February"]`.
`bodyStyle` | Object | No | You can set the `backgroundColor` and the `color` childs to [one of these values](https://www.w3schools.com/colors/colors_names.asp) to adjust the background color and text color.
`style` | Object | No | You can set the `opacity` child to numbers from 0 to 1 make the game darker or lighter.
`images` | String | No | If you want to use your own images for pieces, don't set this. Otherwise, set this to `%-default-@.png`.
`square` | Object | No | Sets the square colors. See below.
`availability` | Object | No | Set the `monthSeason` child to an array of month names in which the theme should be available (for seasonal themes), e.g. `["January", "February"]`.

The `square` child of your theme object should have two childs: `lightColor` and `darkColor`

Expand Down

1 comment on commit fa266f9

@vercel
Copy link

@vercel vercel bot commented on fa266f9 Dec 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

chess-no-25-docs – ./

chess-no-25-docs-git-master-romw314.vercel.app
chess-no-25-docs.vercel.app
chess-no-25-docs-romw314.vercel.app

Please sign in to comment.