1
+ @use " ../theme" ;
2
+
3
+ .statesGrid {
4
+ display : flex ;
5
+ flex-direction : column ;
6
+ gap : theme .spacing (4 );
7
+ max-width : 600px ;
8
+ }
9
+
10
+ .stateRow {
11
+ display : grid ;
12
+ grid-template-columns : 250px 1fr ;
13
+ align-items : center ;
14
+ gap : theme .spacing (4 );
15
+ }
16
+
17
+ .description {
18
+ font-size : theme .font-size (" sm" );
19
+ color : theme .color (" muted" );
20
+ }
21
+
22
+ .controlledContainer {
23
+ display : flex ;
24
+ flex-direction : column ;
25
+ gap : theme .spacing (4 );
26
+ max-width : 400px ;
27
+
28
+ > p {
29
+ margin : 0 ;
30
+ font-size : theme .font-size (" sm" );
31
+ color : theme .color (" paragraph" );
32
+ }
33
+ }
34
+
35
+ .settingsList {
36
+ display : flex ;
37
+ flex-direction : column ;
38
+ gap : theme .spacing (4 );
39
+ max-width : 600px ;
40
+ }
41
+
42
+ .settingItem {
43
+ display : flex ;
44
+ flex-direction : column ;
45
+ gap : theme .spacing (1 );
46
+ padding-bottom : theme .spacing (4 );
47
+ border-bottom : 1px solid theme .color (" border" );
48
+
49
+ & :last-child {
50
+ border-bottom : none ;
51
+ }
52
+ }
53
+
54
+ .settingDescription {
55
+ font-size : theme .font-size (" sm" );
56
+ color : theme .color (" muted" );
57
+ margin-left : theme .spacing (11 ); // Align with switch content
58
+ }
59
+
60
+ .featureFlags {
61
+ display : flex ;
62
+ flex-direction : column ;
63
+ gap : theme .spacing (4 );
64
+ max-width : 500px ;
65
+
66
+ > h3 {
67
+ margin : 0 ;
68
+ font-size : theme .font-size (" lg" );
69
+ font-weight : 600 ;
70
+ color : theme .color (" heading" );
71
+ }
72
+ }
73
+
74
+ .flagItem {
75
+ padding : theme .spacing (3 );
76
+ background-color : theme .color (" background" , " secondary" );
77
+ border-radius : theme .border-radius (" md" );
78
+ }
79
+
80
+ .permissionsList {
81
+ display : flex ;
82
+ flex-direction : column ;
83
+ gap : theme .spacing (4 );
84
+ max-width : 500px ;
85
+
86
+ > h3 {
87
+ margin : 0 ;
88
+ font-size : theme .font-size (" lg" );
89
+ font-weight : 600 ;
90
+ color : theme .color (" heading" );
91
+ }
92
+ }
93
+
94
+ .permissionItem {
95
+ display : flex ;
96
+ align-items : center ;
97
+ gap : theme .spacing (3 );
98
+ padding : theme .spacing (2 ) 0 ;
99
+ }
100
+
101
+ .lockedBadge {
102
+ font-size : theme .font-size (" xs" );
103
+ padding : theme .spacing (1 ) theme .spacing (2 );
104
+ background-color : theme .color (" states" , " warning" , " background" );
105
+ color : theme .color (" states" , " warning" , " normal" );
106
+ border-radius : theme .border-radius (" sm" );
107
+ font-weight : 500 ;
108
+ }
109
+
110
+ .customLabels {
111
+ display : flex ;
112
+ flex-direction : column ;
113
+ gap : theme .spacing (4 );
114
+ max-width : 400px ;
115
+ }
116
+
117
+ .dynamicLabel {
118
+ display : inline-flex ;
119
+ align-items : center ;
120
+ gap : theme .spacing (2 );
121
+ }
122
+
123
+ .errorExample {
124
+ display : flex ;
125
+ flex-direction : column ;
126
+ gap : theme .spacing (3 );
127
+ max-width : 500px ;
128
+ }
129
+
130
+ .errorMessage {
131
+ padding : theme .spacing (3 );
132
+ background-color : theme .color (" states" , " error" , " background" );
133
+ color : theme .color (" states" , " error" , " base" );
134
+ border-radius : theme .border-radius (" md" );
135
+ font-size : theme .font-size (" sm" );
136
+ display : flex ;
137
+ align-items : center ;
138
+ gap : theme .spacing (2 );
139
+ }
0 commit comments