Ver código fonte

style: add config for CSS and SCSS

version-14
Ankush Menat 2 anos atrás
committed by Ankush Menat
pai
commit
2c36874554
3 arquivos alterados com 9 adições e 9 exclusões
  1. +1
    -1
      .editorconfig
  2. +4
    -4
      frappe/public/scss/common/css_variables.scss
  3. +4
    -4
      frappe/public/scss/desk/dark.scss

+ 1
- 1
.editorconfig Ver arquivo

@@ -9,6 +9,6 @@ trim_trailing_whitespace = true
charset = utf-8

# python, js indentation settings
[{*.py,*.js,*.vue}]
[{*.py,*.js,*.vue,*.css,*.scss,*.html}]
indent_style = tab
indent_size = 4

+ 4
- 4
frappe/public/scss/common/css_variables.scss Ver arquivo

@@ -134,7 +134,7 @@ $input-height: 28px !default;

--shadow-xs: rgba(0, 0, 0, 0.05) 0px 0.5px 0px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px, rgba(0, 0, 0, 0.05) 0px 2px 4px 0px;
--shadow-sm: 0px 1px 2px rgba(25, 39, 52, 0.05), 0px 0px 4px rgba(25, 39, 52, 0.1);
--shadow-base: 0px 4px 8px rgba(25, 39, 52, 0.06), 0px 0px 4px rgba(25, 39, 52, 0.12);
--shadow-base: 0px 4px 8px rgba(25, 39, 52, 0.06), 0px 0px 4px rgba(25, 39, 52, 0.12);
--shadow-md: 0px 8px 14px rgba(25, 39, 52, 0.08), 0px 2px 6px rgba(25, 39, 52, 0.04);
--shadow-lg: 0px 18px 22px rgba(25, 39, 52, 0.1), 0px 1px 10px rgba(0, 0, 0, 0.06), 0px 0.5px 5px rgba(25, 39, 52, 0.04);

@@ -262,9 +262,9 @@ $input-height: 28px !default;
--checkbox-focus-shadow: 0 0 0 2px var(--gray-300);
--checkbox-gradient: linear-gradient(180deg, #4AC3F8 -124.51%, var(--primary) 100%);

// "diff" colors
--diff-added: var(--green-100);
--diff-removed: var(--red-100);
// "diff" colors
--diff-added: var(--green-100);
--diff-removed: var(--red-100);

--right-arrow-svg: url("data: image/svg+xml;utf8, <svg width='6' height='8' viewBox='0 0 6 8' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M1.25 7.5L4.75 4L1.25 0.5' stroke='%231F272E' stroke-linecap='round' stroke-linejoin='round'/></svg>");
--left-arrow-svg: url("data: image/svg+xml;utf8, <svg width='6' height='8' viewBox='0 0 6 8' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M7.5 9.5L4 6l3.5-3.5' stroke='%231F272E' stroke-linecap='round' stroke-linejoin='round'></path></svg>");


+ 4
- 4
frappe/public/scss/desk/dark.scss Ver arquivo

@@ -91,11 +91,11 @@

--highlight-shadow: 1px 1px 10px var(--blue-900), 0px 0px 4px var(--blue-500);

--shadow-base: 0px 4px 8px rgba(114, 176, 233, 0.06), 0px 0px 4px rgba(112, 172, 228, 0.12);
--shadow-base: 0px 4px 8px rgba(114, 176, 233, 0.06), 0px 0px 4px rgba(112, 172, 228, 0.12);

// "diff" colors
--diff-added: var(--green-800);
--diff-removed: var(--red-800);
// "diff" colors
--diff-added: var(--green-800);
--diff-removed: var(--red-800);

// input
--input-disabled-bg: none;


Carregando…
Cancelar
Salvar