Skip to content

Commit

Permalink
update UI version fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ksopyla committed Oct 19, 2024
1 parent 2b4ad2c commit e0c4128
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
6 changes: 3 additions & 3 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "PromptSail"
version = "0.1.0"
description = "Prompt Sail - prompt management and monitoring tool"
name = "PromptSail-backend"
version = "0.5.4"
description = "Prompt Sail - LLM governance, monitoring and analysis system"
authors = ["Przemysław Górecki <przemyslaw.gorecki@gmail.com>, Krzysztof Sopyła <krzysztof.sopyla@gmail.com>"]

[tool.poetry.dependencies]
Expand Down
10 changes: 5 additions & 5 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "prompt-sail-web",
"name": "promptsail-ui",
"private": true,
"version": "0.0.0",
"version": "0.5.4",
"type": "module",
"scripts": {
"start": "vite",
Expand Down Expand Up @@ -32,7 +32,7 @@
"react-svg": "^16.1.32",
"react-syntax-highlighter": "^15.5.0",
"recharts": "^2.13.0-alpha.4",
"sass": "^1.69.5",
"sass": "^1.80.3",
"slugify": "^1.6.6",
"trendline": "^1.0.0",
"yup": "^1.3.2"
Expand Down
17 changes: 9 additions & 8 deletions ui/src/index.sass
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
@use 'sass:map'
@use './func'
@use './components/Sign/styles'

@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap')
@import url('https://fonts.googleapis.com/css2?family=Unica+One&display=swap')

Expand All @@ -6,20 +10,17 @@ body
overflow: hidden
font-family: 'Roboto Flex'

@import './func.sass'

@tailwind base
@tailwind components
@tailwind utilities

@import './components/Sign/styles'

$headers:("fontSize1": 38, "fontSize2": 30, "fontSize3": 24, "fontSize4": 20, "fontSize5": 16, "lineHeight1": 1.21053, "lineHeight2": 1.26667, "lineHeight3": 1.33333, "lineHeight4": 1.40, "lineHeight5": 1.5)

@for $i from 1 through 5
.h#{$i}
font-size: #{map-get($headers, "fontSize#{$i}")} + px !important
line-height: #{map-get($headers, "lineHeight#{$i}")} !important
h#{$i}
font-size: map.get($headers, "fontSize#{$i}") + px !important
line-height: map.get($headers, "lineHeight#{$i}") !important
font-weight: map.get($headers, "fontWeight#{$i}") !important

.ant-table-body
overflow-y: hidden !important
Expand Down Expand Up @@ -75,4 +76,4 @@ div
.ant-table-tbody td
padding-left: 8px !important
padding-right: 8px !important


0 comments on commit e0c4128

Please sign in to comment.