Skip to content

Commit

Permalink
Heavier fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
ericnewcomer committed Apr 11, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent b8ca217 commit 33b0655
Showing 13 changed files with 29 additions and 39 deletions.
5 changes: 1 addition & 4 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -25,9 +25,7 @@
-->
<title>Nyaruka Flow Editor</title>
<style>
html input {
font-weight: 300;
}
html input {}

html.dragging * {
user-select: none;
@@ -164,7 +162,6 @@
--dropdown-shadow: rgb(0 0 0 / 30%) 0px 0px 60px, rgb(0 0 0 / 12%) 0px 6px 12px;

font-size: var(--font-size);
font-weight: 300;
font-family: var(--font-family);

--button-y: 6px;
1 change: 1 addition & 0 deletions src/components/flow/actions/action/Action.module.scss
Original file line number Diff line number Diff line change
@@ -24,6 +24,7 @@
}

.body {
box-sizing: content-box;
line-height: 1.4em;
word-wrap: break-word;
width: auto;
3 changes: 1 addition & 2 deletions src/components/form/checkbox/CheckboxElement.module.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.label {
display: inline-block;
position: inherit;
font-weight: 300;
cursor: pointer;
}

@@ -19,4 +18,4 @@
.description_solo {
display: inline-block;
margin-left: 8px;
}
}
5 changes: 1 addition & 4 deletions src/components/form/textinput/TextInputElement.module.scss
Original file line number Diff line number Diff line change
@@ -10,8 +10,7 @@
--temba-textinput-font-size: 12px !important;
}

.normal {
}
.normal {}

.option_list {
overflow-y: auto;
@@ -26,7 +25,6 @@
.option_summary {
font-size: 12px;
padding: 3px 0;
font-weight: 300;

p {
margin: 0px !important;
@@ -172,7 +170,6 @@
color: $gray !important;
font-family: 'Roboto', sans-serif;
font-size: 14px !important;
font-weight: 300 !important;
border: 1px solid $light_gray;
box-sizing: border-box !important;
width: 100%;
19 changes: 9 additions & 10 deletions src/components/index.module.scss
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
.editor {
position: relative;
font-family: 'Roboto', sans-serif;
font-weight: 300;
color: $text_color; // height: 100vh;
// height: 100%;
// width: 100%;
@@ -17,17 +16,17 @@
.editor {
$color_1: rgba(0, 0, 0, 0.02);
$color_2: rgba(0, 0, 0, 0.01);
background: repeating-linear-gradient(
-60deg,
$color_1,
$color_1 3px,
$color_2 3px,
$color_2 6px
); // background: rgba(200, 200, 200, .3);
background: repeating-linear-gradient(-60deg,
$color_1,
$color_1 3px,
$color_2 3px,
$color_2 6px); // background: rgba(200, 200, 200, .3);
}

:global {
svg path {
stroke: $translation_connector !important;

&.jtk-arrow {
fill: $translation_connector !important;
}
@@ -66,6 +65,6 @@

.saving {
z-index: $z_saving;
opacity:1;
opacity: 1;
top: 2em;
}
}
3 changes: 1 addition & 2 deletions src/components/modal/Modal.scss
Original file line number Diff line number Diff line change
@@ -2,9 +2,8 @@

.modal {
font-family: "Roboto", sans-serif;
font-weight: 300;
color: #777;
font-size: 12px;
border: 5px solid rgba(0, 0, 0, 0.05);
border-radius: $curvature + 5px;
}
}
3 changes: 1 addition & 2 deletions src/components/nodeeditor/NodeEditor.scss
Original file line number Diff line number Diff line change
@@ -19,7 +19,6 @@ $inner_spacing: 15px;
.node_editor {
padding: 20px;
font-size: 14px;
font-weight: 300;
line-height: 15px;
box-sizing: border-box;
}
@@ -48,4 +47,4 @@ $inner_spacing: 15px;

.save_as {
padding: 15px 15px 0px 15px;
}
}
1 change: 1 addition & 0 deletions src/components/poptab/PopTab.module.scss
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@

.tab_wrapper {
.tab {
box-sizing: content-box;
position: absolute;

top: 140px;
4 changes: 2 additions & 2 deletions src/components/revisions/RevisionExplorer.module.scss
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ $revision_color: $purple;
.explorer_wrapper {
transition: 0.2s ease-in-out;
color: $light_gray_2;
font-weight: 300;

.explorer {
width: 250px;
overflow: hidden;
@@ -89,4 +89,4 @@ $revision_color: $purple;
}
}
}
}
}
1 change: 0 additions & 1 deletion src/components/simulator/LogEvent.module.scss
Original file line number Diff line number Diff line change
@@ -148,7 +148,6 @@
.webhook_details {
unicode-bidi: embed;
font-family: 'Roboto Mono', sans-serif;
font-weight: 300;
font-size: 11px;
line-height: 13px;
overflow-y: auto;
8 changes: 4 additions & 4 deletions src/components/simulator/Simulator.module.scss
Original file line number Diff line number Diff line change
@@ -184,9 +184,9 @@ $reset_color: #666;
padding: 10px;
overflow-y: auto;
overflow-x: hidden;
font-weight: 300;
position: relative;
transition: height 0.3s linear;
box-sizing: content-box;
}

.controls {
@@ -205,12 +205,12 @@ $reset_color: #666;
border: none;
}

box-sizing: content-box !important;
border-radius: 4px;
border: none;
outline: none;
box-shadow: none;
font-size: 12px !important;
font-weight: 300;
height: 13px;
width: 195px;
padding: 6px 8px;
@@ -224,10 +224,10 @@ $reset_color: #666;
.show_attachments_button {
display: inline-block;
vertical-align: sub;
padding: 0px 5px;
padding: 0px;
position: absolute;
top: 11px;
right: 8px;
right: 2px;
cursor: pointer;


9 changes: 7 additions & 2 deletions src/components/sticky/Sticky.module.scss
Original file line number Diff line number Diff line change
@@ -14,15 +14,19 @@
.yellow {
@include color-choice($sticky_yellow);
}

.blue {
@include color-choice($sticky_blue);
}

.purple {
@include color-choice($sticky_purple);
}

.gray {
@include color-choice($sticky_gray);
}

.green {
@include color-choice($sticky_green);
}
@@ -95,6 +99,7 @@
.remove_button {
color: $removal_confirmation;
}

textarea.title {
visibility: hidden;
}
@@ -113,6 +118,7 @@
background: rgba(0, 0, 0, 0.05);

position: relative;

&:hover {
.remove_button {
visibility: visible;
@@ -172,12 +178,11 @@
background: none;
resize: none !important;
color: $text_color;
font-weight: 300;
font-size: 12px;
width: 154px;
height: inherit;
cursor: pointer;
}
}
}
}
}
6 changes: 0 additions & 6 deletions src/global.module.scss
Original file line number Diff line number Diff line change
@@ -8,12 +8,6 @@

:global {
body {
margin: 0;
font-family: 'Roboto', sans-serif;
font-weight: 300;
font-size: 14px;
color: #777;

#editor-container {
height: 100%;
width: 100%;

0 comments on commit 33b0655

Please sign in to comment.