-
Notifications
You must be signed in to change notification settings - Fork 7
System default dark mode #92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
6947c24
5679112
9a4be94
6f309f2
3a2fbac
156b110
9bffee2
7323820
634f266
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| /* | ||
| * Copyright 2021-Present The Serverless Workflow Specification Authors | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
|
|
||
| .headingContent { | ||
| color: #000000; | ||
| background-color: #F8F8F8; | ||
| margin: 0; | ||
| padding: 1%; | ||
| } | ||
|
|
||
| @media (prefers-color-scheme: dark) { | ||
| .headingContent { | ||
| color: #F8F8F8; | ||
| background-color: #141414; | ||
| margin: 0; | ||
| padding: 1%; | ||
| } | ||
| } | ||
|
Comment on lines
+17
to
+31
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,3 +23,10 @@ | |
| --xy-background-pattern-color: #ccc; | ||
| background-color: #E5E4E2; | ||
| } | ||
|
|
||
| @media (prefers-color-scheme: dark) { | ||
| .diagram-background{ | ||
| --xy-background-pattern-color: inherit; | ||
| background-color: inherit; | ||
| } | ||
|
kumaradityaraj marked this conversation as resolved.
|
||
| } | ||
|
Comment on lines
+27
to
+32
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| /* | ||
| * Copyright 2021-Present The Serverless Workflow Specification Authors | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
|
|
||
| export type ColorMode = "light" | "dark" | "system"; | ||
|
kumaradityaraj marked this conversation as resolved.
|
||
Uh oh!
There was an error while loading. Please reload this page.