Skip to content

Commit b61c69b

Browse files
committed
Updated color schemes for JWT decoder
1 parent 9916aee commit b61c69b

File tree

3 files changed

+29
-25
lines changed

3 files changed

+29
-25
lines changed

src/wwwroot/css/site.css

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -115,48 +115,50 @@ a.navbar-brand .icon-banner {
115115
text-wrap: auto;
116116
}
117117
.jwt-decoder-container .jwt-decoded.jwt-header {
118-
border: 4px solid rgb(253.5223880597, 157.4776119403, 157.4776119403);
118+
border: 4px solid #c586c0;
119119
}
120120
.jwt-decoder-container .jwt-decoded.jwt-payload {
121-
border: 4px solid #46ec88;
121+
border: 4px solid #4ec9b0;
122122
}
123123
.jwt-decoder-container .jwt-decoded.jwt-signature {
124-
border: 4px solid rgb(245.7438016529, 201.7768595041, 124.2561983471);
124+
border: 4px solid #d16969;
125+
color: #dcdcaa !important;
126+
overflow-wrap: anywhere;
125127
}
126128
.jwt-decoder-container .jwt-input-editable {
127129
word-wrap: anywhere;
128130
}
129131
.jwt-decoder-container .jwt-input-editable .text-danger {
130-
color: rgb(253.5223880597, 157.4776119403, 157.4776119403) !important;
132+
color: #c586c0 !important;
131133
}
132134
.jwt-decoder-container .jwt-input-editable .text-success {
133-
color: #46ec88 !important;
135+
color: #4ec9b0 !important;
134136
}
135137
.jwt-decoder-container .jwt-input-editable .text-warning {
136-
color: rgb(245.7438016529, 201.7768595041, 124.2561983471) !important;
138+
color: #d16969 !important;
137139
}
138140
.jwt-decoder-container .json-content, .jwt-decoder-container .jwt-input-editable {
139141
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
140142
font-size: 1em;
141143
}
142144
.jwt-decoder-container .json-content {
143-
color: #eee !important;
145+
color: #dcdcaa !important;
144146
}
145147
.jwt-decoder-container .json-content .json-key {
146-
color: gold !important;
148+
color: #9cdcfe !important;
147149
}
148150
.jwt-decoder-container .json-content .json-boolean, .jwt-decoder-container .json-content .json-number {
149-
color: cyan !important;
151+
color: #b5cea8 !important;
150152
}
151153
.jwt-decoder-container .json-content .json-string {
152-
color: coral !important;
154+
color: #ce9178 !important;
153155
}
154156
.jwt-decoder-container .json-content .json-explanation {
155-
color: springgreen !important;
157+
color: #6a9955 !important;
156158
font-style: italic;
157159
}
158160
.jwt-decoder-container .json-content .json-structure {
159-
color: #eee !important;
161+
color: #dcdcaa !important;
160162
}
161163
.jwt-decoder-container .jwt-signature {
162164
font-size: 1em;

src/wwwroot/css/site.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/wwwroot/css/site.scss

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -129,31 +129,33 @@ a.navbar-brand {
129129
text-wrap: auto;
130130

131131
&.jwt-header {
132-
border: 4px solid lighten(#fc3939, 20%);
132+
border: 4px solid #c586c0;
133133
}
134134

135135
&.jwt-payload {
136-
border: 4px solid lighten(#13b955, 20%);
136+
border: 4px solid #4ec9b0;
137137
}
138138

139139
&.jwt-signature {
140-
border: 4px solid lighten(#efa31d, 20%);
140+
border: 4px solid #d16969;
141+
color: #dcdcaa !important;
142+
overflow-wrap: anywhere;
141143
}
142144
}
143145

144146
.jwt-input-editable {
145147
word-wrap: anywhere;
146148

147149
.text-danger {
148-
color: lighten(#fc3939, 20%) !important;
150+
color: #c586c0 !important;
149151
}
150152

151153
.text-success {
152-
color: lighten(#13b955, 20%) !important;
154+
color: #4ec9b0 !important;
153155
}
154156

155157
.text-warning {
156-
color: lighten(#efa31d, 20%) !important;
158+
color: #d16969 !important;
157159
}
158160
}
159161

@@ -163,27 +165,27 @@ a.navbar-brand {
163165
}
164166

165167
.json-content {
166-
color: #eee !important;
168+
color: #dcdcaa !important;
167169

168170
.json-key {
169-
color: gold !important;
171+
color: #9cdcfe !important;
170172
}
171173

172174
.json-boolean, .json-number {
173-
color: cyan !important;
175+
color: #b5cea8 !important;
174176
}
175177

176178
.json-string {
177-
color: coral !important;
179+
color: #ce9178 !important;
178180
}
179181

180182
.json-explanation {
181-
color: springgreen !important;
183+
color: #6a9955 !important;
182184
font-style: italic;
183185
}
184186

185187
.json-structure {
186-
color: #eee !important;
188+
color: #dcdcaa !important;
187189
}
188190
}
189191

0 commit comments

Comments
 (0)