0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-23 05:01:23 -05:00

♻️ Fix some css errors

This commit is contained in:
Eva Marco 2025-01-22 15:45:01 +01:00
parent 482cb26b1a
commit a667256be9
4 changed files with 8 additions and 27 deletions

View file

@ -19,20 +19,7 @@
}
.labeled-input-error {
border: 1px solid var(--status-color-error-500) !important;
}
.button {
@extend .button-primary;
}
.action-button {
@extend .button-tertiary;
height: $s-32;
width: $s-28;
svg {
@extend .button-icon;
}
border: $s-1 solid var(--status-color-error-500) !important;
}
.dropdown {

View file

@ -175,7 +175,7 @@
}
.sets-list-wrapper {
border: 1px solid color-mix(in hsl, var(--color-foreground-secondary) 30%, transparent);
border: $s-1 solid color-mix(in hsl, var(--color-foreground-secondary) 30%, transparent);
border-radius: $s-8;
overflow-y: auto;
}

View file

@ -29,10 +29,9 @@
(mf/defc menu-entry
{::mf/props :obj}
[{:keys [title value on-click]}]
[:li
{:class (stl/css :context-menu-item)
:data-value value
:on-click on-click}
[:li {:class (stl/css :context-menu-item)
:data-value value
:on-click on-click}
[:span {:class (stl/css :title)} title]])
(mf/defc menu

View file

@ -4,6 +4,7 @@
//
// Copyright (c) KALEIDOS INC
@use "../../ds/typography.scss" as t;
@import "refactor/common-refactor.scss";
.token-set-context-menu {
@ -21,14 +22,11 @@
background-color: var(--menu-background-color);
max-height: 100vh;
overflow-y: auto;
li {
@include bodySmallTypography;
color: var(--menu-foreground-color);
}
}
.context-menu-item {
@include t.use-typography("body-small");
color: var(--menu-foreground-color);
display: flex;
align-items: center;
height: $s-28;
@ -39,8 +37,5 @@
&:hover {
background-color: var(--menu-background-color-hover);
.title {
color: var(--menu-foreground-color-hover);
}
}
}