Skip to content

Commit ce436a3

Browse files
authored
Merge pull request #20 from aha-develop/DEVELOP-144-58-official-develop-extensions
DEVELOP-144-58: Official develop extensions
2 parents afd600b + 60f2461 commit ce436a3

2 files changed

Lines changed: 23 additions & 23 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@aha-develop/github",
33
"description": "GitHub integration",
4-
"version": "1.1.1",
4+
"version": "1.2.0",
55
"author": "Aha! (support@aha.io)",
66
"repository": {
77
"type": "git",

src/components/Styles.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import React from "react";
2-
import css from "../lib/css";
1+
import React from 'react';
2+
import css from '../lib/css';
33

44
export const Styles = () => {
55
return (
@@ -31,16 +31,16 @@ export const Styles = () => {
3131
text-transform: capitalize;
3232
}
3333
.pr-state-open {
34-
color: #4f8f0e;
35-
background-color: #e5f3d6;
34+
color: var(--theme-green-text);
35+
background-color: var(--theme-green-background);
3636
}
3737
.pr-state-merged {
3838
color: #463159;
3939
background-color: #e5dced;
4040
}
4141
.pr-state-closed {
42-
color: #992e0b;
43-
background-color: #fae7e1;
42+
color: var(--theme-red-text);
43+
background-color: var(--theme-red-background);
4444
}
4545
.pr-state-draft {
4646
color: #0b0b0b;
@@ -57,16 +57,16 @@ export const Styles = () => {
5757
}
5858
5959
.approved .pr-reviews-icon {
60-
color: var(--aha-green-700);
60+
color: var(--theme-green-text);
6161
}
6262
6363
.changes_requested .pr-reviews-icon {
64-
color: var(--aha-red-700);
64+
color: var(--theme-red-text);
6565
}
6666
6767
.pr-reviews-tooltip {
68-
border: 1px solid #e8e8e8;
69-
background: white;
68+
border: 1px solid var(--theme-primary-border);
69+
background: var(--theme-primary-background);
7070
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.08);
7171
z-index: 1000;
7272
font-size: 12px;
@@ -82,8 +82,8 @@ export const Styles = () => {
8282
.pr-checks {
8383
font-size: 12px;
8484
z-index: 1000;
85-
background: white;
86-
border: 1px solid #e8e8e8;
85+
background: var(--theme-primary-background);
86+
border: 1px solid var(--theme-primary-border);
8787
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.08);
8888
border-radius: 4px;
8989
padding: 15px;
@@ -98,7 +98,7 @@ export const Styles = () => {
9898
}
9999
100100
.pr-count {
101-
color: #999;
101+
color: var(--theme-tertiary-text);
102102
}
103103
104104
.hidden {
@@ -135,16 +135,16 @@ export const Styles = () => {
135135
color: var(--aha-green-600);
136136
}
137137
.sections {
138-
background-color: var(--aha-gray-100);
138+
background-color: var(--theme-secondary-background);
139139
display: flex;
140140
padding: 16px;
141141
gap: 18px;
142142
flex-wrap: wrap;
143143
}
144144
145145
.sections section {
146-
background: white;
147-
border: 1px solid #e1e1e1;
146+
background: var(--theme-primary-background);
147+
border: 1px solid var(--theme-primary-border);
148148
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.08);
149149
border-radius: 4px;
150150
min-height: 100px;
@@ -156,15 +156,15 @@ export const Styles = () => {
156156
}
157157
158158
.sections h2 {
159-
border-bottom: 1px solid var(--aha-gray-400);
159+
border-bottom: 1px solid var(--theme-primary-border);
160160
padding: 15px 21px;
161161
margin: 0;
162162
163163
font-style: normal;
164164
font-weight: 600;
165165
font-size: 18px;
166166
line-height: 18px;
167-
color: #000000;
167+
color: var(--theme-primary-text);
168168
}
169169
170170
.sections .subsection {
@@ -180,7 +180,7 @@ export const Styles = () => {
180180
181181
.record-table--feature-link {
182182
font-size: 90%;
183-
color: var(--aha-gray-700);
183+
color: var(--theme-tertiary-text);
184184
padding-left: 5px;
185185
}
186186
@@ -189,14 +189,14 @@ export const Styles = () => {
189189
display: inline-block;
190190
width: 6px;
191191
height: 6px;
192-
border-left: 1px solid var(--aha-gray-700);
193-
border-bottom: 1px solid var(--aha-gray-700);
192+
border-left: 1px solid var(--theme-tertiary-text);
193+
border-bottom: 1px solid var(--theme-tertiary-text);
194194
position: relative;
195195
top: 2px;
196196
}
197197
198198
.record-table--feature-link a {
199-
color: var(--aha-gray-700);
199+
color: var(--theme-tertiary-text);
200200
}
201201
`}
202202
</style>

0 commit comments

Comments
 (0)