This commit is contained in:
Jordan Vidrine
2025-02-24 15:59:49 -06:00
parent 247c98b0a4
commit 478926952e
18 changed files with 153 additions and 1 deletions
+14 -1
View File
@@ -9,5 +9,18 @@
"maximum_discourse_version": null,
"assets": {},
"modifiers": {},
"color_schemes": {}
"color_schemes": {
"next_gen": {
"primary": "1A1A1A",
"secondary": "F5F8FF",
"header_background": "F5F8FF",
"tertiary": "595bca"
},
"next_gen_dark": {
"primary": "F5F8FF",
"secondary": "1A1A1A",
"header_background": "1A1A1A",
"tertiary": "595bca"
}
}
}
View File
+15
View File
@@ -0,0 +1,15 @@
@import "variables";
@import "header";
@import "sidebar";
@import "main";
@import "topic-cards";
@import "search-banner";
@import "nav-pills";
@import "buttons";
.list-controls .combo-box .combo-box-header,
.select-kit.is-expanded .select-kit-body,
.discourse-post-event .discourse-post-event-widget {
background-color: light-dark(#ffffff, #000000);
border-radius: var(--d-input-border-radius);
}
View File
View File
@@ -0,0 +1,5 @@
import { apiInitializer } from "discourse/lib/api";
export default apiInitializer("1.8.0", (/* api */) => {
// console.log("hello world from api initializer!");
});
View File
View File
+7
View File
@@ -0,0 +1,7 @@
#create-topic.btn {
background-color: var(--accent-color);
color: var(--accent-text-color);
svg {
color: var(--accent-text-color);
}
}
+3
View File
@@ -0,0 +1,3 @@
.d-header {
box-shadow: none;
}
+30
View File
@@ -0,0 +1,30 @@
#main-outlet-wrapper #main-outlet {
margin-top: 20px;
height: 85vh;
overflow: scroll;
padding: 16px 24px;
width: calc(100% - 48px);
max-width: 1000px;
background: radial-gradient(
600px 600px at 50% 75%,
rgba(188, 241, 238, 0.2),
rgba(255, 255, 255, 0.2)
),
radial-gradient(
600px 600px at 75% 50%,
rgba(162, 165, 225, 0.2),
rgba(255, 255, 255, 0)
);
background-color: light-dark(#ffffff, #000000);
border-radius: var(--d-border-radius-large);
border: 1px solid var(--primary-low);
box-shadow: 0 10px 24px 4px #e2e8f8, 0 0 0 2px #e2e8f8;
}
.archetype-regular #main-outlet-wrapper #main-outlet {
background: light-dark(#ffffff, #000000);
}
body.has-full-page-chat #main-outlet-wrapper #main-outlet {
max-width: 1000px;
}
+14
View File
@@ -0,0 +1,14 @@
.nav-pills > li > a:hover,
.nav-pills > li button:hover {
background: transparent;
color: var(--accent-color);
&::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
right: 0;
height: var(--d-nav-underline-height);
background: var(--accent-color);
}
}
+47
View File
@@ -0,0 +1,47 @@
.custom-search-banner-wrap {
display: grid;
grid-template-rows: 0.33fr 0.33fr 0.33fr;
grid-template-columns: 0.5fr 0.5fr;
grid-column-gap: 1em;
grid-row-gap: 0.5em;
border-bottom: 1px solid var(--primary-300);
padding: 2.5em 0 2.5em;
margin-bottom: 2.5em;
--search-color: #595bca;
h1 {
grid-column: 1/2;
grid-row: 1/-1;
padding: 0 1em;
text-align: left;
align-self: center;
margin: 0;
font-weight: 400;
color: #350c73;
}
.search-menu {
grid-column: 2/3;
grid-row: 1/-1;
width: 100%;
align-self: center;
}
p {
display: none;
}
.search-input {
background: light-dark(#ffffff, #1f1f1f);
border: 1px solid oklch(from var(--search-color) 80% calc(c * 2.5) h);
box-shadow: 0 4px 10px rgba(52, 6, 121, 15%);
}
.search-menu .search-input:focus-within,
.search-menu-container .search-input:focus-within {
border: 1px solid var(--search-color);
outline: 2px solid var(--search-color);
}
.search-menu .d-icon,
.search-menu .searching .d-icon {
color: var(--search-color);
}
.results {
background: light-dark(#ffffff, #1f1f1f);
}
}
+3
View File
@@ -0,0 +1,3 @@
.sidebar-wrapper .sidebar-container {
border-right: none;
}
+7
View File
@@ -0,0 +1,7 @@
.topic-list-item {
background: light-dark(#ffffff, #1f1f1f);
&:hover {
background: light-dark(#fcfcfc, #161616);
}
border: 1px solid #cedde3;
}
+8
View File
@@ -0,0 +1,8 @@
:root {
--d-border-radius-large: 20px;
--d-border-radius: 8px;
--d-input-border-radius: 8px;
--accent-color: #595bca;
--accent-text-color: #ffffff;
--d-nav-color--active: var(--accent-color);
}
View File
View File