cosmos-docusaurus-theme 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
7
7
 
8
8
  ---
9
9
 
10
+ ## [1.1.2] — 2026-03-10
11
+
12
+ ### Added
13
+
14
+ - `.state-ok`, `.state-warn`, `.state-crit`, `.state-unknown` — aliases for projects
15
+ that use `.state-*` naming convention (identical colors to `.status-*`)
16
+
10
17
  ## [1.1.1] — 2026-03-09
11
18
 
12
19
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cosmos-docusaurus-theme",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "A clean, dark-first Docusaurus CSS theme based on TailAdmin design system with Outfit typography",
5
5
  "keywords": [
6
6
  "docusaurus",
package/src/css/theme.css CHANGED
@@ -652,3 +652,24 @@ code {
652
652
  color: #6b7280; /* neutral gray-500 */
653
653
  font-weight: 600;
654
654
  }
655
+
656
+ /* Aliases for projects that use .state-* naming (e.g. Rackscope docs) */
657
+ .state-ok {
658
+ color: #12b76a;
659
+ font-weight: 600;
660
+ }
661
+
662
+ .state-warn {
663
+ color: #f79009;
664
+ font-weight: 600;
665
+ }
666
+
667
+ .state-crit {
668
+ color: #f04438;
669
+ font-weight: 600;
670
+ }
671
+
672
+ .state-unknown {
673
+ color: #6b7280;
674
+ font-weight: 600;
675
+ }