Skip to content

Commit d74f3e6

Browse files
committed
feat: support configurable max width for main content container
1 parent 29aa405 commit d74f3e6

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

.dev/src/media/main.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
--background-start: oklch(0.968 0.007 247.896);
1616
--background-mid: oklch(0.968 0.007 247.896);
1717
--background-end: oklch(0.968 0.007 247.896);
18+
1819
--base-text: oklch(0.208 0.042 265.755);
1920

2021
--progress-start: oklch(0.68 0.11 233);
@@ -61,12 +62,14 @@
6162
--font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
6263

6364
--spacing: 0.25rem;
65+
--container-max-width: 80rem;
6466
}
6567

6668
[data-darkmode="true"] {
6769
--background-start: oklch(0.2077 0.0398 265.75);
6870
--background-mid: oklch(0.3861 0.059 188.42);
6971
--background-end: oklch(0.4318 0.0865 166.91);
72+
7073
--base-text: oklch(0.968 0.007 247.896);
7174

7275
--progress-start: oklch(0.4318 0.0865 166.91);
@@ -117,6 +120,8 @@
117120
--color-aurora-mid: var(--background-mid);
118121
--color-aurora-end: var(--background-end);
119122

123+
--color-base-text: var(--base-text);
124+
120125
--color-progress-start: var(--progress-start);
121126
--color-progress-end: var(--progress-end);
122127

@@ -148,7 +153,6 @@
148153
--color-default-text: var(--default-text);
149154

150155
--color-header-bg: var(--header-bg);
151-
--color-base-text: var(--base-text);
152156
--color-header-border: var(--header-border);
153157
--color-header-interactive: var(--header-interactive);
154158

@@ -162,6 +166,7 @@
162166
--font-mono: var(--font-mono);
163167

164168
--spacing: var(--spacing);
169+
--container-max-width: var(--container-max-width);
165170
}
166171

167172
@layer base {
@@ -396,7 +401,7 @@
396401
}
397402

398403
#maincontent {
399-
@apply mx-auto min-h-[calc(100vh-4rem)] w-23/24 max-w-7xl px-4 max-md:w-full max-md:px-3;
404+
@apply max-w-max-width mx-auto min-h-[calc(100vh-4rem)] w-23/24 px-4 max-md:w-full max-md:px-3;
400405

401406
#view {
402407
@apply md:border-view-border/30 md:bg-view-bg md:hover:border-view-border/50 mx-0 w-full p-0 shadow-none transition-all duration-300 empty:hidden md:rounded-4xl md:border md:p-6 md:shadow-xl md:hover:shadow-2xl;

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ include $(TOPDIR)/rules.mk
88
LUCI_TITLE:=Aurora Theme (A modern browser theme built with Vite and Tailwind CSS)
99
LUCI_DEPENDS:=+luci-base
1010

11-
PKG_VERSION:=0.10.1
12-
PKG_RELEASE:=20260123
11+
PKG_VERSION:=0.10.2
12+
PKG_RELEASE:=20260124
1313
PKG_LICENSE:=Apache-2.0
1414

1515
LUCI_MINIFY_CSS:=

htdocs/luci-static/aurora/main.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)