Compare commits
5 Commits
main
...
f715c54b8b
Author | SHA1 | Date | |
---|---|---|---|
f715c54b8b | |||
910f435080 | |||
ce2e975d10 | |||
a8bb351e2f | |||
98be4851e7 |
23
about.json
23
about.json
@@ -1,36 +1,23 @@
|
|||||||
{
|
{
|
||||||
"name": "Air Theme",
|
"name": "OrcasHub Theme",
|
||||||
"about_url": null,
|
"about_url": null,
|
||||||
"license_url": null,
|
"license_url": null,
|
||||||
"components": [
|
"components": [
|
||||||
"https://github.com/jordanvidrine/discourse-category-group-boxes.git",
|
"https://github.com/jordanvidrine/discourse-category-group-boxes.git",
|
||||||
"https://github.com/discourse/discourse-clickable-topic.git",
|
"https://github.com/discourse/discourse-clickable-topic.git"
|
||||||
"https://github.com/discourse/discourse-search-banner.git"
|
|
||||||
],
|
],
|
||||||
"modifiers": {
|
"modifiers": {
|
||||||
"serialize_topic_excerpts": true
|
"serialize_topic_excerpts": true
|
||||||
},
|
},
|
||||||
"color_schemes": {
|
"color_schemes": {
|
||||||
"air-light": {
|
"OrcasHub": {
|
||||||
"primary": "1c1c1c",
|
"primary": "1c1c1c",
|
||||||
"secondary": "f9fcff",
|
"secondary": "f9fcff",
|
||||||
"tertiary": "3877e5",
|
"tertiary": "3877e5",
|
||||||
"quaternary": "7e8b93",
|
"quaternary": "7e8b93",
|
||||||
"header_background": "f9fcff",
|
"header_background": "374151",
|
||||||
"header_primary": "122b43",
|
|
||||||
"highlight": "e6cb37",
|
|
||||||
"danger": "d05454",
|
|
||||||
"success": "71bd9f",
|
|
||||||
"love": "c16ad7"
|
|
||||||
},
|
|
||||||
"air-dark": {
|
|
||||||
"primary": "e0e0e0",
|
|
||||||
"secondary": "2d2d2d",
|
|
||||||
"tertiary": "9a5cfd",
|
|
||||||
"quaternary": "71bd9f",
|
|
||||||
"header_background": "202020",
|
|
||||||
"header_primary": "e0e0e0",
|
"header_primary": "e0e0e0",
|
||||||
"highlight": "9a5cfd",
|
"highlight": "e6cb37",
|
||||||
"danger": "d05454",
|
"danger": "d05454",
|
||||||
"success": "71bd9f",
|
"success": "71bd9f",
|
||||||
"love": "c16ad7"
|
"love": "c16ad7"
|
||||||
|
@@ -216,7 +216,7 @@ div.ac-wrap {
|
|||||||
|
|
||||||
.btn:not(.themes-tab):not(.components-tab),
|
.btn:not(.themes-tab):not(.components-tab),
|
||||||
.select-kit.dropdown-select-box .dropdown-select-box-header {
|
.select-kit.dropdown-select-box .dropdown-select-box-header {
|
||||||
border-radius: 8px;
|
border-radius: .375rem;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -255,26 +255,13 @@ html {
|
|||||||
),
|
),
|
||||||
linear-gradient(0deg, var(--secondary) 100%, var(--secondary) 100%);
|
linear-gradient(0deg, var(--secondary) 100%, var(--secondary) 100%);
|
||||||
}
|
}
|
||||||
.background-container {
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
height: 100vh;
|
|
||||||
width: 100vw;
|
|
||||||
background: linear-gradient(
|
|
||||||
90deg,
|
|
||||||
var(--tertiary-hover) 0%,
|
|
||||||
var(--tertiary) 100%
|
|
||||||
);
|
|
||||||
clip-path: ellipse(148% 70% at 91% -14%);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html body #main-outlet {
|
html body #main-outlet {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
margin-bottom: 50px;
|
margin-bottom: 50px;
|
||||||
background: var(--secondary);
|
background: var(--secondary);
|
||||||
border-radius: 1em;
|
border-radius: .5rem;
|
||||||
padding: 3em 3em 5%;
|
padding: 3em 3em 5%;
|
||||||
max-width: 1150px;
|
max-width: 1150px;
|
||||||
.archetype-regular & {
|
.archetype-regular & {
|
||||||
@@ -349,7 +336,7 @@ html body #main-outlet {
|
|||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
background-color: var(--secondary);
|
background-color: var(--secondary);
|
||||||
border: 1px solid rgba(var(--primary-rgb), 0.2);
|
border: 1px solid rgba(var(--primary-rgb), 0.2);
|
||||||
border-radius: 1em;
|
border-radius: .5rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
transition: box-shadow 100ms ease-in-out;
|
transition: box-shadow 100ms ease-in-out;
|
||||||
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.05);
|
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.05);
|
||||||
@@ -454,7 +441,7 @@ html body #main-outlet {
|
|||||||
.avatar {
|
.avatar {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
border-radius: 8px;
|
border-radius: .375rem;
|
||||||
}
|
}
|
||||||
a.latest {
|
a.latest {
|
||||||
.avatar {
|
.avatar {
|
||||||
@@ -513,9 +500,6 @@ html body #main-outlet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.published-page {
|
.published-page {
|
||||||
.background-container {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
&::before {
|
&::before {
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
90deg,
|
90deg,
|
||||||
|
@@ -1 +0,0 @@
|
|||||||
<div class="background-container"></div>
|
|
@@ -7,7 +7,7 @@ export default {
|
|||||||
initialize() {
|
initialize() {
|
||||||
withPluginApi("0.8.14", (api) => {
|
withPluginApi("0.8.14", (api) => {
|
||||||
api.modifyClass("component:edit-category-general", {
|
api.modifyClass("component:edit-category-general", {
|
||||||
pluginId: "discourse-air",
|
pluginId: "orcashub-discourse-theme",
|
||||||
|
|
||||||
didInsertElement() {
|
didInsertElement() {
|
||||||
this._super(...arguments);
|
this._super(...arguments);
|
||||||
|
@@ -2,7 +2,7 @@ import { apiInitializer } from "discourse/lib/api";
|
|||||||
|
|
||||||
export default apiInitializer("0.8", (api) => {
|
export default apiInitializer("0.8", (api) => {
|
||||||
api.modifyClass("component:topic-list-item", {
|
api.modifyClass("component:topic-list-item", {
|
||||||
pluginId: "discourse-air",
|
pluginId: "orcashub-discourse-theme",
|
||||||
expandPinned: true,
|
expandPinned: true,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "discourse-air",
|
"name": "orcashub-discourse-theme",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"repository": "https://github.com/discourse/discourse-air",
|
"repository": "https://git.grosinger.net/tgrosinger/orcashub-discourse-theme",
|
||||||
"author": "Jordan Vidrine",
|
"author": "Jordan Vidrine",
|
||||||
"license": "GPL-2.0-or-later",
|
"license": "GPL-2.0-or-later",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
.sidebar-wrapper {
|
.sidebar-wrapper {
|
||||||
margin: 30px 0 50px;
|
margin: 30px 0 50px;
|
||||||
background-color: var(--secondary);
|
background-color: var(--secondary);
|
||||||
border-radius: 1em;
|
border-radius: .5rem;
|
||||||
top: calc(var(--header-offset) + 30px);
|
top: calc(var(--header-offset) + 30px);
|
||||||
height: calc(100vh - (var(--header-offset) + 80px));
|
height: calc(100vh - (var(--header-offset) + 80px));
|
||||||
@include box-shadow;
|
@include box-shadow;
|
||||||
|
Reference in New Issue
Block a user