Skip to content

Commit

Permalink
add litera theme
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschubek committed Jan 11, 2024
1 parent cf35641 commit e54936f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
11 changes: 11 additions & 0 deletions docs/docs/configuration/themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@ Right-click on the images and select "Open image in new tab" to see the full siz
</TabItem>
</Tabs>

## `litera`

<Tabs>
<TabItem value="light" label="Light" default>
<Image img={require("../../static/img/litera_light.png")} />
</TabItem>
<TabItem value="dark" label="Dark">
<Image img={require("../../static/img/litera_dark.png")} />
</TabItem>
</Tabs>

## `cerulean`

<Tabs>
Expand Down
Binary file added docs/static/img/litera_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/static/img/litera_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion src/index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

define('VERSION', '1.3.3');
define('VERSION', '1.4.0');

define('PUBLIC_FOLDER', __DIR__ . '/public');

Expand Down Expand Up @@ -155,6 +155,8 @@ public function __toString(): string
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/united/bootstrap.min.css" rel="stylesheet">
$[ifeq env:THEME yeti]$
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/yeti/bootstrap.min.css" rel="stylesheet">
$[ifeq env:THEME litera]$
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/litera/bootstrap.min.css" rel="stylesheet">
$[else]$
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/cosmo/bootstrap.min.css" rel="stylesheet">
$[end]$
Expand Down

0 comments on commit e54936f

Please sign in to comment.