refactor(xray): collapse RoutingTab dark forks into AntD CSS variables

- .criterion-more bg light/dark fork → var(--ant-color-fill-tertiary)
- .xray-page.is-dark .rule-card and .criterion-chip overrides removed;
  the rules already use --bg-card and --ant-color-fill-tertiary that
  adapt to the theme on their own.
This commit is contained in:
MHSanaei 2026-05-25 13:22:35 +02:00
parent 5b10e9141f
commit a654c7c199
No known key found for this signature in database
GPG key ID: 7E4060F2FBE5AB7A

View file

@ -78,11 +78,7 @@
font-size: 11px;
padding: 0 5px;
border-radius: 8px;
background: rgba(0, 0, 0, 0.06);
}
.xray-page.is-dark .criterion-more {
background: rgba(255, 255, 255, 0.1);
background: var(--ant-color-fill-tertiary);
}
.criterion-empty {
@ -222,11 +218,3 @@
opacity: 0.4;
}
.xray-page.is-dark .rule-card {
background: rgba(255, 255, 255, 0.04);
border-color: rgba(255, 255, 255, 0.08);
}
.xray-page.is-dark .criterion-chip {
background: rgba(255, 255, 255, 0.06);
}