Skip to content

Commit

Permalink
add iota theme
Browse files Browse the repository at this point in the history
  • Loading branch information
huhn511 committed Jun 1, 2021
1 parent a5fd30b commit d8a3629
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
46 changes: 46 additions & 0 deletions src/theme/css/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,56 @@
--page-padding: 15px;
--content-max-width: 750px;
--menu-bar-height: 50px;

--primary: rgb(1, 155, 140);
--secondary: rgb(15, 193, 183);
--text: rgb(19, 31, 55)

}

/* Themes */

.ei_iota {
--bg: #ffffff;
--fg: #4f4f4f;

--sidebar-bg: #fff;
--sidebar-fg: var(--text);;
--sidebar-non-existant: #5c6773;
--sidebar-active: var(--secondary);
--sidebar-spacer: var(--secondary);

--scrollbar: #cccccc;

--icons: #4f4f4f;
--icons-hover: var(--primary);

--links: var(--secondary);

--inline-code-color: var(--text);

--theme-popup-bg: #fafafa;
--theme-popup-border: #cccccc;
--theme-hover: #e6e6e6;

--quote-bg: #f1f1f1;
--quote-fg: var(--secondary);
--quote-border: var(--secondary);

--table-border-color: #019792;
--table-header-bg: #ffffff;
--table-alternate-bg: #ffffff;

--searchbar-border-color: #ffffff;
--searchbar-bg: #ffffff;
--searchbar-fg: #fff;
--searchbar-shadow-color: #cccccc;
--searchresults-header-fg: var(--secondary);
--searchresults-border-color: #ffffff;
--searchresults-li-bg: var(--secondary);
--search-mark-bg: var(--primary);
}

.ayu {
--bg: hsl(210, 25%, 8%);
--fg: #c5c5c5;
Expand Down
1 change: 1 addition & 0 deletions src/theme/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
<i class="fa fa-paint-brush"></i>
</button>
<ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
<li role="none"><button role="menuitem" class="theme" id="ei_iota">{{ theme_option "ei-IOTA" }}</button></li>
<li role="none"><button role="menuitem" class="theme" id="light">{{ theme_option "Light" }}</button></li>
<li role="none"><button role="menuitem" class="theme" id="rust">{{ theme_option "Rust" }}</button></li>
<li role="none"><button role="menuitem" class="theme" id="coal">{{ theme_option "Coal" }}</button></li>
Expand Down

0 comments on commit d8a3629

Please sign in to comment.