Skip to content

Commit 2308e7d

Browse files
authored
Create rp-variables.css
1 parent 23172c5 commit 2308e7d

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

rp-variables.css

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
.rp-theme-variables {
2+
/* global */
3+
--rp-font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
4+
--rp-primary-color: #34affc;
5+
--rp-border-radius: 4px;
6+
--rp-text-color: #1c2024;
7+
--rp-outline-color: #34affc;
8+
--rp-font-size: 16px;
9+
/* dropdown mask */
10+
--rp-drop-mask-background-color: #fafafa;
11+
/* icon */
12+
--rp-icon-disabled: #c6ccd2;
13+
--rp-icon-font-size: calc(var(--rp-font-size) * 1.25);
14+
/* toolbar */
15+
--rp-toolbar-background: #e2e6e9;
16+
--rp-toolbar-border-color: #c6ccd2;
17+
--rp-toolbar-padding: .25rem;;
18+
--rp-toolbar-gap: 0.25rem;
19+
--rp-toolbar-size: 48px;
20+
/* sidebar */
21+
--rp-sidebar-width: 48px;
22+
/* thumbnail */
23+
--rp-thumbnail-border-color: #e2e6e9;
24+
--rp-thumbnail-background-color: #ffffff;
25+
--rp-thumbnail-active-color: #00000033;
26+
--rp-thumbnail-padding-y: 16px;
27+
/* button */
28+
--rp-button-hover-background: #0000001a;
29+
--rp-button-padding: 4px;
30+
/* input */
31+
--rp-input-padding: 8px;
32+
--rp-input-border-radius: 6px;
33+
--rp-input-background-color: #ffffff;
34+
--rp-input-placeholder-color: #C6CCD2;
35+
/* pages */
36+
--rp-pages-background-color: #ffffff;
37+
38+
--rp-annotation-layer__link-hover-background: rgba(255, 255, 0, 0.2);
39+
/* dropdown */
40+
--rp-dropdown-background-color: #f1f2f4;
41+
--rp-dropdown-padding: 4px;
42+
--rp-dropdown-hover-background-color: #0000001a;
43+
--rp-dropdown-separator-color: #e2e6e9;
44+
--rp-dropdown-separator-margin: 4px;
45+
--rp-dropdown-padding-menu-item: 8px;
46+
--rp-dropdown-font-size: calc(var(--rp-font-size) * 0.875);
47+
--rp-search-tool-dropdown-padding: 8px;
48+
/* dialog */
49+
--rp-overlay-background-color: #000000cc;
50+
--rp-dialog-background-color: #f1f2f4;
51+
--rp-properties-divider-color: #e2e6e9;
52+
--rp-properties-divider-margin: 16px;
53+
--rp-property-item-gap: 12px;
54+
--rp-dialog-title-color: #1c2024;
55+
--rp-property-item-label-color: #596673;
56+
--rp-property-close-icon-size: calc(var(--rp-font-size) * 1.25);
57+
--rp-property-item-font-size: calc(var(--rp-font-size) * 0.875);
58+
--rp-property-item-font-weight: 400;
59+
--rp-dialog-title-font-size: calc(var(--rp-font-size) * 1.125);
60+
--rp-dialog-title-font-weight: 600;
61+
--rp-menu-item-icon-size: 16px;
62+
/* Drop zone */
63+
--rp-drop-zone-border: #c6ccd2;
64+
--rp-drop-zone-font-color: #8c99a6;
65+
--rp-drop-zone-font-size: calc(var(--rp-font-size) * 1.125);
66+
--rp-drop-zone-background-color: #fafafa;
67+
/* checkbox */
68+
--rp-checkbox-border-radius: 4px;
69+
--rp-checkbox-border-color: #E2E6E9;
70+
/* highlight */
71+
--rp-highlight-background-color: rgba(255, 255, 0, 1);
72+
--vpv-text-layer-highlight-border-radius: var(--rp-border-radius);
73+
--rp-current-highlight-background-color: rgba(255, 0, 0, 1);
74+
/* tooltip */
75+
--rp-tooltip-background-color: #1C2024;
76+
}

0 commit comments

Comments
 (0)