@raxium/themes 0.1.3 → 0.1.5
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/dist/razer/index.css +17 -16
- package/package.json +1 -1
- package/src/razer/preset.css +11 -10
package/dist/razer/index.css
CHANGED
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
--text-2xs--line-height: 1.25;
|
|
104
104
|
--font-rob-bold: Roboto-Bold, var(--font-sans);
|
|
105
105
|
--font-rz-bold: RazerF5-Bold, var(--font-sans);
|
|
106
|
-
--outline: 2px solid
|
|
106
|
+
--outline: 2px solid transparent;
|
|
107
107
|
--disabled-opacity: var(--opacity-50, 0.5);
|
|
108
108
|
--color-rui-parimary: var(--color-rz-green);
|
|
109
109
|
--color-rui-toggle-text: var(--color-h88);
|
|
@@ -115,6 +115,7 @@
|
|
|
115
115
|
--color-rui-warning: var(--color-rz-orange);
|
|
116
116
|
--color-rui-close: var(--color-h88);
|
|
117
117
|
--color-rui-close-hover: var(--color-hff);
|
|
118
|
+
--shadow-rui-outline: 0 0 0 1px oklch(76.87% 0.2343 141.32);
|
|
118
119
|
}
|
|
119
120
|
}
|
|
120
121
|
@layer base {
|
|
@@ -1650,7 +1651,7 @@
|
|
|
1650
1651
|
}
|
|
1651
1652
|
}
|
|
1652
1653
|
.md\:max-w-\[80vw\] {
|
|
1653
|
-
@media (width >=
|
|
1654
|
+
@media (width >= 1440px) {
|
|
1654
1655
|
max-width: 80vw;
|
|
1655
1656
|
}
|
|
1656
1657
|
}
|
|
@@ -1758,7 +1759,7 @@
|
|
|
1758
1759
|
}
|
|
1759
1760
|
*:focus-visible {
|
|
1760
1761
|
outline: var(--outline);
|
|
1761
|
-
|
|
1762
|
+
box-shadow: var(--shadow-rui-outline);
|
|
1762
1763
|
}
|
|
1763
1764
|
}
|
|
1764
1765
|
@layer components {
|
|
@@ -2467,28 +2468,28 @@
|
|
|
2467
2468
|
&[data-theme-bordered] {
|
|
2468
2469
|
border-color: var(--color-h00);
|
|
2469
2470
|
}
|
|
2470
|
-
&:where([data-theme-surface=dark]
|
|
2471
|
+
&:where([data-theme-surface=dark]) {
|
|
2471
2472
|
&[data-theme-bordered] {
|
|
2472
2473
|
border-color: var(--color-h33);
|
|
2473
2474
|
}
|
|
2474
2475
|
}
|
|
2475
|
-
&:where([data-theme-surface=razer]
|
|
2476
|
+
&:where([data-theme-surface=razer]) {
|
|
2476
2477
|
border-color: var(--color-h00);
|
|
2477
2478
|
}
|
|
2478
2479
|
}
|
|
2479
2480
|
.rui-tooltip-content, .rui-tooltip-content-inner {
|
|
2480
2481
|
background-color: var(--color-hff);
|
|
2481
2482
|
color: var(--color-h00);
|
|
2482
|
-
&:where([data-theme-surface=dark]
|
|
2483
|
+
&:where([data-theme-surface=dark]) {
|
|
2483
2484
|
background-color: var(--color-h00);
|
|
2484
2485
|
}
|
|
2485
|
-
&:where([data-theme-surface=dark]
|
|
2486
|
+
&:where([data-theme-surface=dark]) {
|
|
2486
2487
|
color: var(--color-hff);
|
|
2487
2488
|
}
|
|
2488
|
-
&:where([data-theme-surface=razer]
|
|
2489
|
+
&:where([data-theme-surface=razer]) {
|
|
2489
2490
|
background-color: var(--color-rz-green);
|
|
2490
2491
|
}
|
|
2491
|
-
&:where([data-theme-surface=razer]
|
|
2492
|
+
&:where([data-theme-surface=razer]) {
|
|
2492
2493
|
color: var(--color-h00);
|
|
2493
2494
|
}
|
|
2494
2495
|
}
|
|
@@ -2609,7 +2610,7 @@
|
|
|
2609
2610
|
&[data-theme-bordered] {
|
|
2610
2611
|
border-color: var(--color-h00);
|
|
2611
2612
|
}
|
|
2612
|
-
&:where([data-theme-surface=dark]
|
|
2613
|
+
&:where([data-theme-surface=dark]) {
|
|
2613
2614
|
&[data-theme-bordered] {
|
|
2614
2615
|
border-color: var(--color-h33);
|
|
2615
2616
|
}
|
|
@@ -2618,10 +2619,10 @@
|
|
|
2618
2619
|
.rui-hover-card-content, .rui-hover-card-content-inner {
|
|
2619
2620
|
background-color: var(--color-hff);
|
|
2620
2621
|
color: var(--color-h00);
|
|
2621
|
-
&:where([data-theme-surface=dark]
|
|
2622
|
+
&:where([data-theme-surface=dark]) {
|
|
2622
2623
|
background-color: var(--color-h00);
|
|
2623
2624
|
}
|
|
2624
|
-
&:where([data-theme-surface=dark]
|
|
2625
|
+
&:where([data-theme-surface=dark]) {
|
|
2625
2626
|
color: var(--color-hff);
|
|
2626
2627
|
}
|
|
2627
2628
|
}
|
|
@@ -2634,7 +2635,7 @@
|
|
|
2634
2635
|
&[data-theme-bordered] {
|
|
2635
2636
|
border-color: var(--color-h00);
|
|
2636
2637
|
}
|
|
2637
|
-
&:where([data-theme-surface=dark]
|
|
2638
|
+
&:where([data-theme-surface=dark]) {
|
|
2638
2639
|
&[data-theme-bordered] {
|
|
2639
2640
|
border-color: var(--color-h33);
|
|
2640
2641
|
}
|
|
@@ -2643,10 +2644,10 @@
|
|
|
2643
2644
|
.rui-popover-content, .rui-popover-content-inner {
|
|
2644
2645
|
background-color: var(--color-hff);
|
|
2645
2646
|
color: var(--color-h00);
|
|
2646
|
-
&:where([data-theme-surface=dark]
|
|
2647
|
+
&:where([data-theme-surface=dark]) {
|
|
2647
2648
|
background-color: var(--color-h00);
|
|
2648
2649
|
}
|
|
2649
|
-
&:where([data-theme-surface=dark]
|
|
2650
|
+
&:where([data-theme-surface=dark]) {
|
|
2650
2651
|
color: var(--color-hff);
|
|
2651
2652
|
}
|
|
2652
2653
|
}
|
|
@@ -2657,7 +2658,7 @@
|
|
|
2657
2658
|
color: var(--color-h00);
|
|
2658
2659
|
}
|
|
2659
2660
|
}
|
|
2660
|
-
&:where([data-theme-surface=dark]
|
|
2661
|
+
&:where([data-theme-surface=dark]) {
|
|
2661
2662
|
&:hover {
|
|
2662
2663
|
@media (hover: hover) {
|
|
2663
2664
|
color: var(--color-rui-close-hover);
|
package/package.json
CHANGED
package/src/razer/preset.css
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
@custom-variant skin-razer (&:where(html[data-theme-skin=razer], html[data-theme-skin=razer] *));
|
|
4
4
|
|
|
5
|
-
@custom-variant surface-dark (&:where([data-theme-surface=dark]
|
|
6
|
-
@custom-variant surface-light (&:where([data-theme-surface=light]
|
|
7
|
-
@custom-variant surface-razer (&:where([data-theme-surface=razer]
|
|
5
|
+
@custom-variant surface-dark (&:where([data-theme-surface=dark]));
|
|
6
|
+
@custom-variant surface-light (&:where([data-theme-surface=light]));
|
|
7
|
+
@custom-variant surface-razer (&:where([data-theme-surface=razer]));
|
|
8
8
|
|
|
9
9
|
@custom-variant success (&:where([data-type=success], [data-type=success] *));
|
|
10
10
|
@custom-variant error (&:where([data-type=error], [data-type=error] *));
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
--spacing: 0.25rem;
|
|
20
20
|
|
|
21
21
|
/* Breakpoints */
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
25
|
-
--
|
|
26
|
-
--
|
|
22
|
+
--breakpoint-sm: 1024px;
|
|
23
|
+
--breakpoint-md: 1440px;
|
|
24
|
+
--breakpoint-lg: 1920px;
|
|
25
|
+
--breakpoint-xl: 2560px;
|
|
26
|
+
--breakpoint-2xl: 3840px;
|
|
27
27
|
|
|
28
28
|
/* Colors */
|
|
29
29
|
--color-*: initial;
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
--radius-lg: calc(var(--radius) + 0.25rem); /* 6px */
|
|
120
120
|
|
|
121
121
|
/* Other */
|
|
122
|
-
--outline: 2px solid
|
|
122
|
+
--outline: 2px solid transparent;
|
|
123
123
|
--disabled-opacity: var(--opacity-50, 0.5);
|
|
124
124
|
|
|
125
125
|
/* RUI Theme*/
|
|
@@ -147,6 +147,7 @@
|
|
|
147
147
|
|
|
148
148
|
--shadow-rui-popper: 0 0.25rem 0.375rem 0 oklch(0% 0 0 / 80%);
|
|
149
149
|
--shadow-rui-popper-top: 0 -0.25rem 0.375rem 0 oklch(0% 0 0 / 80%);
|
|
150
|
+
--shadow-rui-outline: 0 0 0 1px oklch(76.87% 0.2343 141.32)
|
|
150
151
|
}
|
|
151
152
|
|
|
152
153
|
@theme inline {
|
|
@@ -170,7 +171,7 @@
|
|
|
170
171
|
|
|
171
172
|
*:focus-visible {
|
|
172
173
|
outline: var(--outline);
|
|
173
|
-
|
|
174
|
+
box-shadow: var(--shadow-rui-outline);
|
|
174
175
|
}
|
|
175
176
|
}
|
|
176
177
|
|