Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
61c26874df | ||
|
|
6d7a217eb7 | ||
|
|
c216dcc5a1 | ||
|
|
1e22cf3df5 | ||
|
|
a0c1801460 | ||
|
|
17ce9422ae | ||
|
|
80401dad36 | ||
|
|
cfc4a805a4 | ||
|
|
312843246a | ||
|
|
6c7f8fb743 | ||
|
|
f2b0e6ea74 | ||
|
|
ffa2b6a06d | ||
|
|
d2b39efb4b | ||
|
|
9f3f714077 | ||
|
|
5d560e6092 | ||
|
|
ea50f64021 | ||
|
|
6b0af26855 | ||
|
|
0662e26630 | ||
|
|
004ad26a2c | ||
|
|
aaca0d55f3 | ||
|
|
bdfad5d747 | ||
|
|
89ae584526 | ||
|
|
4c2d9fe71d | ||
|
|
1c2b2cdd43 | ||
|
|
665a544e67 | ||
|
|
9025e0e06a | ||
|
|
b6d072271d | ||
|
|
9dd3e8faea | ||
|
|
bdbd2f8d71 | ||
|
|
ee2f8cc448 | ||
|
|
b7ff95e5d4 | ||
|
|
17aca9f729 | ||
|
|
9b6f3ae55b | ||
|
|
82f1feaa26 | ||
|
|
374b0432c3 | ||
|
|
595b6541da | ||
|
|
11896dcd9f | ||
|
|
77deeb9ef0 | ||
|
|
550cb61f28 | ||
|
|
42367e2ae6 | ||
|
|
db7c71a650 | ||
|
|
2129482287 | ||
|
|
a9e3832b27 | ||
|
|
e7ac50ed44 | ||
|
|
8dcd1335dd | ||
|
|
9b3c88702b | ||
|
|
923d00c59a | ||
|
|
8ed3fdbd70 | ||
|
|
e77a63f580 | ||
|
|
9de71b766d | ||
|
|
7156864da9 | ||
|
|
22f24d901d | ||
|
|
3006176027 | ||
|
|
1fe4ce1bba | ||
|
|
8390d7b8ee | ||
|
|
6924d35497 | ||
|
|
f4d8c5817c | ||
|
|
38d7530362 | ||
|
|
7fb4a0bb03 | ||
|
|
df5b04eb09 | ||
|
|
65381675c5 | ||
|
|
6848870cb1 | ||
|
|
26f5dd0a18 | ||
|
|
205930db2e | ||
|
|
2120419c69 | ||
|
|
5f893088a5 | ||
|
|
862125e60c | ||
|
|
fbab988cfb | ||
|
|
1490a48d2d | ||
|
|
761c939249 | ||
|
|
a67069e692 | ||
|
|
ba5747fb01 | ||
|
|
6b5eced0ba | ||
|
|
a1d1dfad6c | ||
|
|
518b5b4ea9 | ||
|
|
fdd4cc0e8d |
+1
-1
Submodule cinny updated: 3be37c5d09...9b3956d85f
@@ -2,6 +2,11 @@
|
||||
"dependencies": {
|
||||
"@capacitor/app": "8.0.1",
|
||||
"@capacitor/browser": "8.0.1",
|
||||
"@capacitor/status-bar": "8.0.1"
|
||||
"@capacitor/status-bar": "8.0.1",
|
||||
"@tauri-apps/plugin-dialog": "2.7.1",
|
||||
"@tauri-apps/plugin-notification": "2.3.3",
|
||||
"@tauri-apps/plugin-opener": "2",
|
||||
"@tauri-apps/plugin-process": "2.3.1",
|
||||
"@tauri-apps/plugin-updater": "2.10.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,10 @@ export function PageRoot({ nav, children }: PageRootProps) {
|
||||
// Master list routes: only the channel/space list is interactive.
|
||||
// Never mount the detail/underlay stack here — an empty detail layer would
|
||||
// sit above the list with pointer-events and freeze taps (DM → space bug).
|
||||
if (compact && showCompactMaster) {
|
||||
// When nav is empty there is no master list to protect, so fall through to the
|
||||
// detail branch. Settings is a modal, not a route: opening it from /home keeps
|
||||
// the pathname a list route while Settings passes nav as undefined on mobile.
|
||||
if (compact && showCompactMaster && nav) {
|
||||
return (
|
||||
<Box grow="Yes" className={ContainerColor({ variant: 'Background' })}>
|
||||
{nav}
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
import { ComplexStyleRule } from '@vanilla-extract/css';
|
||||
import { RecipeVariants, recipe } from '@vanilla-extract/recipes';
|
||||
import { ContainerColor as TContainerColor, DefaultReset, color, config } from 'folds';
|
||||
|
||||
const getVariant = (variant: TContainerColor): ComplexStyleRule => ({
|
||||
vars: {
|
||||
backgroundColor: color[variant].Container,
|
||||
borderColor: color[variant].ContainerLine,
|
||||
outlineColor: color[variant].ContainerLine,
|
||||
},
|
||||
selectors: {
|
||||
// DefaultReset sets `color: inherit` with the same specificity as this rule,
|
||||
// so which one wins depends on stylesheet order. In the Android build the
|
||||
// ContainerColor chunk is emitted before folds' reset, so the theme color
|
||||
// loses and text falls back to the initial color. Raise specificity so the
|
||||
// theme color wins regardless of order.
|
||||
'&[class]': {
|
||||
color: color[variant].OnContainer,
|
||||
},
|
||||
'button&[aria-pressed=true]': {
|
||||
backgroundColor: color[variant].ContainerActive,
|
||||
},
|
||||
'button&:hover, &:focus-visible': {
|
||||
backgroundColor: color[variant].ContainerHover,
|
||||
},
|
||||
'button&:active': {
|
||||
backgroundColor: color[variant].ContainerActive,
|
||||
},
|
||||
'button&[disabled]': {
|
||||
opacity: config.opacity.Disabled,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export const ContainerColor = recipe({
|
||||
base: [DefaultReset],
|
||||
variants: {
|
||||
variant: {
|
||||
Background: getVariant('Background'),
|
||||
Surface: getVariant('Surface'),
|
||||
SurfaceVariant: getVariant('SurfaceVariant'),
|
||||
Primary: getVariant('Primary'),
|
||||
Secondary: getVariant('Secondary'),
|
||||
Success: getVariant('Success'),
|
||||
Warning: getVariant('Warning'),
|
||||
Critical: getVariant('Critical'),
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
variant: 'Surface',
|
||||
},
|
||||
});
|
||||
|
||||
export type ContainerColorVariants = RecipeVariants<typeof ContainerColor>;
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "paarrot",
|
||||
"version": "4.11.196",
|
||||
"version": "4.11.234",
|
||||
"description": "Paarrot - A Matrix client based on Cinny",
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
|
||||
Reference in New Issue
Block a user