Skip to content

Commit cf57efb

Browse files
committed
add tama theme
1 parent 4c90621 commit cf57efb

File tree

2 files changed

+81
-0
lines changed

2 files changed

+81
-0
lines changed

src/styles/color-themes.scss

+80
Original file line numberDiff line numberDiff line change
@@ -1721,3 +1721,83 @@ html[data-theme='cherry-blossom'] {
17211721
}
17221722
}
17231723
}
1724+
1725+
html[data-theme="tama"] {
1726+
// Main colors
1727+
--primary: #ffffffe6;
1728+
--background: #0b1021;
1729+
--background-darker: #181c3a;
1730+
--background-darker-transparent: #181c3ad4;
1731+
--background-grey-transparent: #6b6c73c6;
1732+
1733+
// Typography
1734+
--font-headings: 'Segoe UI', 'Ariel', 'sans-serif';
1735+
--font-body: 'Segoe UI', 'Ariel', 'sans-serif';
1736+
1737+
// Items
1738+
--item-background: var(--background-darker-transparent);
1739+
--item-background-hover: var(--background-grey-transparent);
1740+
--item-shadow: 1px 1px 2px #130f23;
1741+
--item-hover-shadow: 2px 2px 4px #130f23;
1742+
1743+
// Sections
1744+
--item-group-heading-text-color: var(--white);
1745+
--item-group-heading-text-color-hover: var(--primary);
1746+
--item-group-shadow: none;
1747+
--item-group-background: none;
1748+
--item-group-outer-background: none;
1749+
1750+
// Remove background from certain components
1751+
div.home, div.options-outer, div.options-container, section.filter-container,
1752+
section.settings-outer, div.show-hide-container.hide-btn, div.show-hide-container.show-btn {
1753+
background: none;
1754+
}
1755+
1756+
// Style overides
1757+
label.lbl-toggle h3 { font-size: 1.3rem; font-weight: bold; }
1758+
.content-inner { border-top: 1px dashed var(--primary); }
1759+
.item.size-large .tile-title p.description { height: 3rem; }
1760+
.is-collapsed {
1761+
background: var(--item-background);
1762+
box-shadow: var(--item-shadow);
1763+
&:hover {
1764+
background: var(--item-background-hover);
1765+
box-shadow: var(--item-hover-shadow);
1766+
}
1767+
}
1768+
1769+
// Background Image
1770+
body {
1771+
//update the query terms after the '?', to customize for images you want
1772+
background: url('https://source.unsplash.com/random/1920x1080/?dark,calm,nature,background');
1773+
background-color: var(--background-darker);
1774+
background-size: cover;
1775+
}
1776+
header, footer, form.normal { background-color: var(--background-darker-transparent); }
1777+
1778+
// large tile spacing adjustment
1779+
.there-are-items:has(.item-wrapper.wrap-size-large) { padding-top: .25rem; }
1780+
.item-wrapper.wrap-size-large { margin: 0rem .5rem .5rem 0rem; }
1781+
.item.size-large .tile-title { padding: 0rem 0rem 0rem .7rem; }
1782+
1783+
// Hide open method icon
1784+
.opening-method-icon { opacity: 0; }
1785+
1786+
// Widget tile style
1787+
.widget-base {
1788+
background-color: var(--background-darker-transparent);
1789+
margin: .5rem .5rem 1rem .5rem;
1790+
padding: 0;
1791+
border: 1px solid var(--outline-color);
1792+
border-radius: var(--curve-factor);
1793+
box-shadow: var(--item-shadow);
1794+
}
1795+
.widget-base button.action-btn { margin-top: .3rem; margin-right: .5rem; }
1796+
.widget-wrap { padding: 1.4rem .8rem .8rem .8rem; }
1797+
1798+
// Grow effect for tile-icon <img> & <i> on hover over Item tiles
1799+
.item:hover .item-icon img, .item:hover .item-icon i{
1800+
transition: all .35s ease-in-out;
1801+
transform: scale(1.22);
1802+
}
1803+
}

src/utils/defaults.js

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ module.exports = {
8484
'high-contrast-light',
8585
'adventure-basic',
8686
'basic',
87+
'tama',
8788
],
8889
/* Default color options for the theme configurator swatches */
8990
swatches: [

0 commit comments

Comments
 (0)