Skip to content

Commit

Permalink
feat: add vscode themes support (early stage wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
kewinzaq1 committed Dec 27, 2024
1 parent 3838dc8 commit 49a999c
Show file tree
Hide file tree
Showing 9 changed files with 108 additions and 265 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
border: 0px solid transparent;
border-radius: 18px;
gap: 5px;
background-color: var(--swm-device-select-background);
background-color: var(--swm-device-select-trigger);
color: var(--swm-device-select-trigger-text);
user-select: none;
width: var(--swm-device-select-width);
Expand Down Expand Up @@ -48,6 +48,7 @@
border-radius: 18px 18px 0 0;
padding-top: 4px;
max-height: var(--radix-select-content-available-height);
box-shadow: var(--swm-backdrop-shadow);
}

.device-select-viewport {
Expand Down Expand Up @@ -127,6 +128,7 @@
}
.device-select-rich-item-icon-selected {
background-color: var(--swm-device-icon-background-selected);
color: var(--swm-device-icon-selected);
}

.device-select-label {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.dropdown-arrow {
color: var(--swm-button);
color: var(--swm-icon-button);
position: absolute;
left: 0;
right: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
border: 0px solid transparent;
border-radius: 10px;
color: var(--swm-button);
background-color: var(--swm-button-background);
transition: all 200ms 0ms ease-in-out;
user-select: none;
gap: 8px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
background: none;
border: 0px solid transparent;
border-radius: 36px;
color: var(--swm-button);
color: var(--swm-icon-button);
transition: all 200ms 0ms ease-in-out;
flex-shrink: 0;
}
Expand All @@ -22,12 +22,13 @@
}

.icon-button:hover {
background-color: var(--swm-button-hover);
color: var(--swm-icon-button-hover);
background-color: var(--swm-icon-button-hover-background);
}

.icon-button:active {
color: var(--swm-button-active);
background-color: var(--swm-button-active-background);
color: var(--swm-icon-button-active);
background-color: var(--swm-icon-button-active-background);
transform: scale(0.9);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ button {
width: 8px;
height: 8px;
border-radius: 50%;
background-color: var(--swm-popover-background);
background-color: var(--swm-button-background);
}

.radio-group-label {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
.matches-container {
height: 200px;
overflow: auto;
border: 2px solid var(--deep-link-history-border);
border: 2px solid var(--swm-button-background);
border-radius: 4px;
display: flex;
flex-direction: column;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
.switch-root {
width: var(--switch-width);
height: var(--switch-height);
background-color: var(--swm-switch-root-disabled);
background-color: var(--swm-switch-root-background);
border-radius: 9999px;
position: relative;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.switch-root[data-state="checked"] {
background-color: var(--navy-light-60);
background-color: var(--swm-button-background);
}

.switch-thumb {
Expand Down
Loading

0 comments on commit 49a999c

Please sign in to comment.