Home
last modified time | relevance | path

Searched full:theme (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/third_party/rust/rust/tests/rustdoc-gui/
Dtheme-change.goml1 // Ensures that the theme change is working as expected.
3 set-local-storage: {"rustdoc-use-system-theme": "false", "rustdoc-theme": "dark"}
11 wait-for: "#theme-ayu"
12 click: "#theme-ayu"
13 // should be the ayu theme so let's check the color.
15 assert-local-storage: { "rustdoc-theme": "ayu" }
16 click: "#theme-light"
17 // should be the light theme so let's check the color.
19 assert-local-storage: { "rustdoc-theme": "light" }
20 click: "#theme-dark"
[all …]
Dsettings.goml38 set-local-storage: {"rustdoc-theme": "dark", "rustdoc-use-system-theme": "false"}
43 // We check that the "Use system theme" is disabled.
44 assert-property: ("#theme-system-preference", {"checked": "false"})
45 // Meaning that only the "theme" menu is showing up.
46 assert: "#theme.setting-line:not(.hidden)"
47 assert: "#preferred-dark-theme.setting-line.hidden"
48 assert: "#preferred-light-theme.setting-line.hidden"
50 // We check that the correct theme is selected.
51 assert-property: ("#theme .setting-radio-choices #theme-dark", {"checked": "true"})
57 "#theme-dark",
[all …]
Dtheme-defaults.goml1 // Ensure that the theme picker always starts with the actual defaults.
4 wait-for: "#theme-system-preference"
5 assert: "#theme-system-preference:checked"
6 assert: "#preferred-light-theme-light:checked"
7 assert: "#preferred-dark-theme-dark:checked"
8 assert-false: "#preferred-dark-theme-ayu:checked"
10 // Test legacy migration from old theme setup without system-preference matching.
13 "rustdoc-preferred-light-theme": null,
14 "rustdoc-preferred-dark-theme": null,
15 "rustdoc-use-system-theme": null,
[all …]
Drust-logo.goml6 (theme, filter),
10 // Changing theme.
11 set-local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
16 // Changing theme (since it's local files, the local storage works by folder).
17 set-local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
22 // Changing theme on the new page (again...).
23 set-local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
35 "theme": "ayu",
45 "theme": "dark",
55 "theme": "light",
Dtheme-in-history.goml1 // Ensures that the theme is working when going back in history.
3 // Set the theme to dark.
5 "rustdoc-theme": "dark",
6 "rustdoc-use-system-theme": "false",
11 assert-local-storage: { "rustdoc-theme": "dark" }
16 // We change the theme to "light".
17 click: "#theme-light"
19 assert-local-storage: { "rustdoc-theme": "light" }
25 // Check that the current theme is still "light".
27 assert-local-storage: { "rustdoc-theme": "light" }
Dscrape-examples-color.goml7 (theme, highlight, highlight_focus, help_border, help_color, help_hover_border,
10 set-local-storage: { "rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false", }
35 "theme": "ayu",
44 "theme": "dark",
53 "theme": "light",
67 (theme, background_color_start, background_color_end),
69 set-local-storage: { "rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false", }
83 "theme": "ayu",
88 "theme": "dark",
93 "theme": "light",
Dsearch-error.goml7 (theme, error_background),
9 // Setting the theme.
10 set-local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
22 "theme": "ayu",
29 "theme": "dark",
36 "theme": "light",
Danchors.goml5 …(theme, main_color, title_color, main_heading_color, main_heading_type_color, src_link_color, side…
11 // Setting the theme.
12 set-local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
52 // Since we changed page, we need to set the theme again.
53 set-local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
77 "theme": "ayu",
89 "theme": "dark",
101 "theme": "light",
Dsearch-no-result.goml7 (theme, link, link_hover),
9 // Changing theme.
10 set-local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
23 "theme": "ayu",
28 "theme": "dark",
33 "theme": "light",
Dtarget.goml10 (theme, background, border),
12 set-local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
22 "theme": "ayu",
27 "theme": "dark",
32 "theme": "light",
Dunsafe-fn.goml14 // `theme` is the theme being tested.
16 (theme, color),
18 // Set the theme.
19 set-local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
Dstab-badge.goml6 (theme, background, color),
8 set-local-storage: {"rustdoc-use-system-theme": "false", "rustdoc-theme": |theme|}
28 "theme": "ayu",
33 "theme": "dark",
38 "theme": "light",
Ddocblock-code-block-line-number.goml13 (theme, color),
17 "rustdoc-theme": |theme|,
18 "rustdoc-use-system-theme": "false",
21 // We reload to make the line numbers appear and change theme.
39 "theme": "ayu",
43 "theme": "dark",
47 "theme": "light",
Dscrape-examples-toggle.goml8 (theme, toggle_line_color, toggle_line_hover_color),
10 set-local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
30 "theme": "ayu",
35 "theme": "dark",
40 "theme": "light",
Drun-on-hover.goml10 (theme, color, background, hover_color, hover_background),
12 set-local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
35 "theme": "ayu",
42 "theme": "dark",
49 "theme": "light",
Dsearch-tab.goml7 (theme, background, background_selected, background_hover, border_bottom,
11 // Setting the theme.
12 set-local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
42 "theme": "ayu",
54 "theme": "dark",
66 "theme": "light",
/third_party/rust/rust/src/librustdoc/html/static/js/
Dstorage.js29 const localStoredTheme = getSettingValue("theme");
117 // saved theme, no need to save it.
119 updateLocalStorage("theme", newThemeName);
125 newHref = getVar("static-root-path") + getVar("theme-" + newThemeName + "-css");
143 * Update the current theme to match whatever the current combination of
144 * * the preference for using the system theme
145 * (if this is the case, the value of preferred-light-theme, if the
146 * system theme is light, otherwise if dark, the value of
147 * preferred-dark-theme.)
148 * * the preferred theme
[all …]
Dsettings.js12 if (settingName === "theme") {
14 updateLocalStorage("use-system-theme", useSystem);
19 case "theme":
20 case "preferred-dark-theme":
21 case "preferred-light-theme":
36 removeClass(document.getElementById("preferred-light-theme"), "hidden");
37 removeClass(document.getElementById("preferred-dark-theme"), "hidden");
41 addClass(document.getElementById("preferred-light-theme"), "hidden");
42 addClass(document.getElementById("preferred-dark-theme"), "hidden");
46 const useSystem = getSettingValue("use-system-theme");
[all …]
/third_party/rust/rust/src/doc/rustdoc/src/
Dcommand-line-arguments.md223 ## `--default-theme`: set the default theme
228 $ rustdoc src/lib.rs --default-theme=ayu
231 Sets the default theme (for users whose browser has not remembered a
232 previous theme selection from the on-page theme picker).
234 The supplied value should be the lowercase version of the theme name.
235 The set of available themes can be seen in the theme picker in the
240 requested theme does not exist, the builtin default (currently
336 of the `theme.css` file.
362 ## `--theme`: add a theme to the documentation output
367 $ rustdoc src/lib.rs --theme /path/to/your/custom-theme.css
[all …]
/third_party/python/Lib/tkinter/test/test_ttk/
Dtest_style.py111 for theme in self.style.theme_names():
112 if theme != curr_theme:
113 new_theme = theme
114 self.style.theme_use(theme)
117 # just one theme available, can't go on with tests
131 for theme in self.style.theme_names():
132 self.style.theme_use(theme)
137 with self.subTest(theme=theme, name=name):
139 print('configure', theme, name, default)
140 if (theme in ('vista', 'xpnative')
[all …]
/third_party/vk-gl-cts/android/openglcts/
DAndroidManifest.xml10 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
23 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
38 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
53 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
68 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
83 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
98 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
/third_party/rust/rust/src/tools/clippy/util/gh-pages/
Dindex.html32 background: var(--theme-popup-bg);
33 border: 1px solid var(--theme-popup-border);
37 background-color: var(--theme-popup-border);
57 background-color: var(--theme-hover);
63 border-color: var(--theme-popup-border);
73 border-color: var(--theme-popup-border);
158 border: 1px solid var(--theme-popup-border);
165 border-top: 1px solid var(--theme-popup-border);
181 border-top: 1px solid var(--theme-popup-border);
190 border-left: 1px solid var(--theme-popup-border);
[all …]
/third_party/python/Lib/idlelib/
Dconfigdialog.py75 # Each theme element key is its display name.
475 concerned. Any theme can be used as the base for a new custom
476 theme, stored in .idlerc/config-highlight.cfg.
478 Function load_theme_cfg() initializes tk variables and theme
480 for the current theme. Radiobuttons builtin_theme_on and
482 current set of colors are from a builtin or custom theme.
487 Function paint_theme_sample() applies the colors from the theme
500 paint_theme_sample() (theme is changed or load_cfg is called), and
504 a custom theme from idleConf.userCfg['highlight'] and changes.
506 get_new_theme_name() and create_new() to save a custom theme
[all …]
/third_party/protobuf/hpb_generator/tests/
Dtest_generated.cc47 using ::hpb_unittest::protos::theme;
687 EXPECT_EQ(false, ::hpb::HasExtension(&model, theme)); in TEST()
692 EXPECT_EQ(false, ::hpb::HasExtension(model.recursive_child(), theme)); in TEST()
697 EXPECT_EQ(false, ::hpb::HasExtension(&model, theme)); in TEST()
698 ::hpb::ClearExtension(&model, theme); in TEST()
699 EXPECT_EQ(false, ::hpb::HasExtension(&model, theme)); in TEST()
705 ::hpb::ClearExtension(recursive_child, theme); in TEST()
706 EXPECT_EQ(false, ::hpb::HasExtension(recursive_child, theme)); in TEST()
717 EXPECT_EQ(false, ::hpb::HasExtension(&model, theme)); in TEST()
719 ::hpb::SetExtension(&model, theme, std::move(extension1)).ok()); in TEST()
[all …]
/third_party/typescript/tests/baselines/reference/
DimportUsedInGenericImportResolves.symbols12 export declare const theme: { a: string }
13 >theme : Symbol(theme, Decl(test2.d.ts, 0, 20))
17 export const a: import("./test1").T<typeof import("./test2").theme> = null as any;
20 >theme : Symbol(theme, Decl(test2.d.ts, 0, 20))

12345678910>>...12